1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libbde 20210605.
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='libbde'
592PACKAGE_TARNAME='libbde'
593PACKAGE_VERSION='20210605'
594PACKAGE_STRING='libbde 20210605'
595PACKAGE_BUGREPORT='joachim.metz@gmail.com'
596PACKAGE_URL=''
597
598ac_unique_file="include/libbde.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
642libbde_spec_tools_build_requires
643libbde_spec_requires
644LIB_FUZZING_ENGINE
645HAVE_LIB_FUZZING_ENGINE_FALSE
646HAVE_LIB_FUZZING_ENGINE_TRUE
647LIBBDE_DLL_IMPORT
648LIBBDE_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_libcaes_spec_build_requires
702ax_libcaes_spec_requires
703ax_libcaes_pc_libs_private
704LIBCAES_LIBADD
705LIBCAES_CPPFLAGS
706HAVE_LOCAL_LIBCAES_FALSE
707HAVE_LOCAL_LIBCAES_TRUE
708HAVE_LOCAL_LIBCAES
709HAVE_LIBCAES
710libcaes_LIBS
711libcaes_CFLAGS
712ax_libhmac_spec_build_requires
713ax_libhmac_spec_requires
714ax_libhmac_pc_libs_private
715LIBHMAC_LIBADD
716LIBHMAC_CPPFLAGS
717HAVE_LOCAL_LIBHMAC_FALSE
718HAVE_LOCAL_LIBHMAC_TRUE
719HAVE_LOCAL_LIBHMAC
720ax_libcrypto_spec_build_requires
721ax_libcrypto_spec_requires
722ax_libcrypto_pc_libs_private
723LIBCRYPTO_LIBADD
724LIBCRYPTO_CPPFLAGS
725LIBDL_LIBADD
726HAVE_OPENSSL_EVP_H
727openssl_LIBS
728openssl_CFLAGS
729HAVE_LIBHMAC
730libhmac_LIBS
731libhmac_CFLAGS
732ax_libfvalue_spec_build_requires
733ax_libfvalue_spec_requires
734ax_libfvalue_pc_libs_private
735LIBFVALUE_LIBADD
736LIBFVALUE_CPPFLAGS
737HAVE_LOCAL_LIBFVALUE_FALSE
738HAVE_LOCAL_LIBFVALUE_TRUE
739HAVE_LOCAL_LIBFVALUE
740HAVE_LIBFVALUE
741libfvalue_LIBS
742libfvalue_CFLAGS
743ax_libfguid_spec_build_requires
744ax_libfguid_spec_requires
745ax_libfguid_pc_libs_private
746LIBFGUID_LIBADD
747LIBFGUID_CPPFLAGS
748HAVE_LOCAL_LIBFGUID_FALSE
749HAVE_LOCAL_LIBFGUID_TRUE
750HAVE_LOCAL_LIBFGUID
751HAVE_LIBFGUID
752libfguid_LIBS
753libfguid_CFLAGS
754ax_libfdatetime_spec_build_requires
755ax_libfdatetime_spec_requires
756ax_libfdatetime_pc_libs_private
757LIBFDATETIME_LIBADD
758LIBFDATETIME_CPPFLAGS
759HAVE_LOCAL_LIBFDATETIME_FALSE
760HAVE_LOCAL_LIBFDATETIME_TRUE
761HAVE_LOCAL_LIBFDATETIME
762HAVE_LIBFDATETIME
763libfdatetime_LIBS
764libfdatetime_CFLAGS
765ax_libfdata_spec_build_requires
766ax_libfdata_spec_requires
767ax_libfdata_pc_libs_private
768LIBFDATA_LIBADD
769LIBFDATA_CPPFLAGS
770HAVE_LOCAL_LIBFDATA_FALSE
771HAVE_LOCAL_LIBFDATA_TRUE
772HAVE_LOCAL_LIBFDATA
773HAVE_LIBFDATA
774libfdata_LIBS
775libfdata_CFLAGS
776ax_libfcache_spec_build_requires
777ax_libfcache_spec_requires
778ax_libfcache_pc_libs_private
779LIBFCACHE_LIBADD
780LIBFCACHE_CPPFLAGS
781HAVE_LOCAL_LIBFCACHE_FALSE
782HAVE_LOCAL_LIBFCACHE_TRUE
783HAVE_LOCAL_LIBFCACHE
784HAVE_LIBFCACHE
785libfcache_LIBS
786libfcache_CFLAGS
787ax_libbfio_spec_build_requires
788ax_libbfio_spec_requires
789ax_libbfio_pc_libs_private
790LIBBFIO_LIBADD
791LIBBFIO_CPPFLAGS
792HAVE_LOCAL_LIBBFIO_FALSE
793HAVE_LOCAL_LIBBFIO_TRUE
794HAVE_LOCAL_LIBBFIO
795HAVE_LIBBFIO
796libbfio_LIBS
797libbfio_CFLAGS
798ax_libcpath_spec_build_requires
799ax_libcpath_spec_requires
800ax_libcpath_pc_libs_private
801LIBCPATH_LIBADD
802LIBCPATH_CPPFLAGS
803HAVE_LOCAL_LIBCPATH_FALSE
804HAVE_LOCAL_LIBCPATH_TRUE
805HAVE_LOCAL_LIBCPATH
806HAVE_LIBCPATH
807libcpath_LIBS
808libcpath_CFLAGS
809ax_libcfile_spec_build_requires
810ax_libcfile_spec_requires
811ax_libcfile_pc_libs_private
812LIBCFILE_LIBADD
813LIBCFILE_CPPFLAGS
814HAVE_LOCAL_LIBCFILE_FALSE
815HAVE_LOCAL_LIBCFILE_TRUE
816HAVE_LOCAL_LIBCFILE
817HAVE_LIBCFILE
818libcfile_LIBS
819libcfile_CFLAGS
820ax_libuna_spec_build_requires
821ax_libuna_spec_requires
822ax_libuna_pc_libs_private
823LIBUNA_LIBADD
824LIBUNA_CPPFLAGS
825HAVE_LOCAL_LIBUNA_FALSE
826HAVE_LOCAL_LIBUNA_TRUE
827HAVE_LOCAL_LIBUNA
828HAVE_LIBUNA
829libuna_LIBS
830libuna_CFLAGS
831ax_libcsplit_spec_build_requires
832ax_libcsplit_spec_requires
833ax_libcsplit_pc_libs_private
834LIBCSPLIT_LIBADD
835LIBCSPLIT_CPPFLAGS
836HAVE_LOCAL_LIBCSPLIT_FALSE
837HAVE_LOCAL_LIBCSPLIT_TRUE
838HAVE_LOCAL_LIBCSPLIT
839HAVE_LIBCSPLIT
840libcsplit_LIBS
841libcsplit_CFLAGS
842ax_libcnotify_spec_build_requires
843ax_libcnotify_spec_requires
844ax_libcnotify_pc_libs_private
845LIBCNOTIFY_LIBADD
846LIBCNOTIFY_CPPFLAGS
847HAVE_LOCAL_LIBCNOTIFY_FALSE
848HAVE_LOCAL_LIBCNOTIFY_TRUE
849HAVE_LOCAL_LIBCNOTIFY
850HAVE_LIBCNOTIFY
851libcnotify_LIBS
852libcnotify_CFLAGS
853ax_libclocale_spec_build_requires
854ax_libclocale_spec_requires
855ax_libclocale_pc_libs_private
856LIBCLOCALE_LIBADD
857LIBCLOCALE_CPPFLAGS
858HAVE_LOCAL_LIBCLOCALE_FALSE
859HAVE_LOCAL_LIBCLOCALE_TRUE
860HAVE_LOCAL_LIBCLOCALE
861HAVE_LIBCLOCALE
862libclocale_LIBS
863libclocale_CFLAGS
864ax_libcdata_spec_build_requires
865ax_libcdata_spec_requires
866ax_libcdata_pc_libs_private
867LIBCDATA_LIBADD
868LIBCDATA_CPPFLAGS
869HAVE_LOCAL_LIBCDATA_FALSE
870HAVE_LOCAL_LIBCDATA_TRUE
871HAVE_LOCAL_LIBCDATA
872HAVE_LIBCDATA
873libcdata_LIBS
874libcdata_CFLAGS
875ax_libcthreads_spec_build_requires
876ax_libcthreads_spec_requires
877ax_libcthreads_pc_libs_private
878HAVE_MULTI_THREAD_SUPPORT
879LIBCTHREADS_LIBADD
880LIBCTHREADS_CPPFLAGS
881HAVE_LOCAL_LIBCTHREADS_FALSE
882HAVE_LOCAL_LIBCTHREADS_TRUE
883HAVE_LOCAL_LIBCTHREADS
884ax_pthread_pc_libs_private
885PTHREAD_LIBADD
886PTHREAD_CPPFLAGS
887HAVE_PTHREAD
888HAVE_LIBCTHREADS
889libcthreads_LIBS
890libcthreads_CFLAGS
891ax_libcerror_spec_build_requires
892ax_libcerror_spec_requires
893ax_libcerror_pc_libs_private
894LIBCERROR_LIBADD
895LIBCERROR_CPPFLAGS
896HAVE_LOCAL_LIBCERROR_FALSE
897HAVE_LOCAL_LIBCERROR_TRUE
898HAVE_LOCAL_LIBCERROR
899HAVE_LIBCERROR
900libcerror_LIBS
901libcerror_CFLAGS
902PKG_CONFIG_LIBDIR
903PKG_CONFIG_PATH
904PKG_CONFIG
905HAVE_OFF64_T
906HAVE_SSIZE64_T
907HAVE_SIZE64_T
908HAVE_SSIZE32_T
909HAVE_SIZE32_T
910HAVE_WCHAR_H
911HAVE_STDINT_H
912HAVE_INTTYPES_H
913HAVE_SYS_TYPES_H
914HAVE_WIDE_CHARACTER_TYPE
915STATIC_LDFLAGS
916POSUB
917LTLIBINTL
918LIBINTL
919INTLLIBS
920LTLIBICONV
921LIBICONV
922INTL_MACOSX_LIBS
923XGETTEXT_EXTRA_OPTIONS
924MSGMERGE
925XGETTEXT_015
926XGETTEXT
927GMSGFMT_015
928MSGFMT_015
929GMSGFMT
930MSGFMT
931GETTEXT_MACRO_VERSION
932USE_NLS
933PKGCONFIG
934LIBTOOL_DEPS
935CXXCPP
936LT_SYS_LIBRARY_PATH
937OTOOL64
938OTOOL
939LIPO
940NMEDIT
941DSYMUTIL
942MANIFEST_TOOL
943RANLIB
944ac_ct_AR
945AR
946LN_S
947NM
948ac_ct_DUMPBIN
949DUMPBIN
950LD
951FGREP
952SED
953LIBTOOL
954am__fastdepCXX_FALSE
955am__fastdepCXX_TRUE
956CXXDEPMODE
957ac_ct_CXX
958CXXFLAGS
959CXX
960EGREP
961GREP
962CPP
963am__fastdepCC_FALSE
964am__fastdepCC_TRUE
965CCDEPMODE
966am__nodep
967AMDEPBACKSLASH
968AMDEP_FALSE
969AMDEP_TRUE
970am__include
971DEPDIR
972OBJEXT
973EXEEXT
974ac_ct_CC
975CPPFLAGS
976LDFLAGS
977CFLAGS
978CC
979OBJDUMP
980DLLTOOL
981AS
982host_os
983host_vendor
984host_cpu
985host
986build_os
987build_vendor
988build_cpu
989build
990AM_BACKSLASH
991AM_DEFAULT_VERBOSITY
992AM_DEFAULT_V
993AM_V
994am__untar
995am__tar
996AMTAR
997am__leading_dot
998SET_MAKE
999AWK
1000mkdir_p
1001MKDIR_P
1002INSTALL_STRIP_PROGRAM
1003STRIP
1004install_sh
1005MAKEINFO
1006AUTOHEADER
1007AUTOMAKE
1008AUTOCONF
1009ACLOCAL
1010VERSION
1011PACKAGE
1012CYGPATH_W
1013am__isrc
1014INSTALL_DATA
1015INSTALL_SCRIPT
1016INSTALL_PROGRAM
1017target_alias
1018host_alias
1019build_alias
1020LIBS
1021ECHO_T
1022ECHO_N
1023ECHO_C
1024DEFS
1025mandir
1026localedir
1027libdir
1028psdir
1029pdfdir
1030dvidir
1031htmldir
1032infodir
1033docdir
1034oldincludedir
1035includedir
1036runstatedir
1037localstatedir
1038sharedstatedir
1039sysconfdir
1040datadir
1041datarootdir
1042libexecdir
1043sbindir
1044bindir
1045program_transform_name
1046prefix
1047exec_prefix
1048PACKAGE_URL
1049PACKAGE_BUGREPORT
1050PACKAGE_STRING
1051PACKAGE_VERSION
1052PACKAGE_TARNAME
1053PACKAGE_NAME
1054PATH_SEPARATOR
1055SHELL
1056am__quote'
1057ac_subst_files=''
1058ac_user_opts='
1059enable_option_checking
1060enable_silent_rules
1061enable_dependency_tracking
1062enable_shared
1063enable_static
1064with_pic
1065enable_fast_install
1066with_aix_soname
1067with_gnu_ld
1068with_sysroot
1069enable_libtool_lock
1070enable_nls
1071enable_rpath
1072with_libiconv_prefix
1073with_libintl_prefix
1074enable_largefile
1075enable_shared_libs
1076enable_static_executables
1077enable_winapi
1078enable_wide_character_type
1079enable_verbose_output
1080enable_debug_output
1081with_libcerror
1082enable_multi_threading_support
1083with_libcthreads
1084with_pthread
1085with_libcdata
1086with_libclocale
1087with_libcnotify
1088with_libcsplit
1089with_libuna
1090with_libcfile
1091with_libcpath
1092with_libbfio
1093with_libfcache
1094with_libfdata
1095with_libfdatetime
1096with_libfguid
1097with_libfvalue
1098with_libhmac
1099with_openssl
1100enable_openssl_evp_cipher
1101enable_openssl_evp_md
1102with_libcaes
1103with_pyprefix
1104enable_python
1105with_pythondir
1106enable_python2
1107with_pythondir2
1108enable_python3
1109with_pythondir3
1110with_libfuse
1111'
1112      ac_precious_vars='build_alias
1113host_alias
1114target_alias
1115CC
1116CFLAGS
1117LDFLAGS
1118LIBS
1119CPPFLAGS
1120CPP
1121CXX
1122CXXFLAGS
1123CCC
1124LT_SYS_LIBRARY_PATH
1125CXXCPP
1126PKG_CONFIG
1127PKG_CONFIG_PATH
1128PKG_CONFIG_LIBDIR
1129libcerror_CFLAGS
1130libcerror_LIBS
1131libcthreads_CFLAGS
1132libcthreads_LIBS
1133libcdata_CFLAGS
1134libcdata_LIBS
1135libclocale_CFLAGS
1136libclocale_LIBS
1137libcnotify_CFLAGS
1138libcnotify_LIBS
1139libcsplit_CFLAGS
1140libcsplit_LIBS
1141libuna_CFLAGS
1142libuna_LIBS
1143libcfile_CFLAGS
1144libcfile_LIBS
1145libcpath_CFLAGS
1146libcpath_LIBS
1147libbfio_CFLAGS
1148libbfio_LIBS
1149libfcache_CFLAGS
1150libfcache_LIBS
1151libfdata_CFLAGS
1152libfdata_LIBS
1153libfdatetime_CFLAGS
1154libfdatetime_LIBS
1155libfguid_CFLAGS
1156libfguid_LIBS
1157libfvalue_CFLAGS
1158libfvalue_LIBS
1159libhmac_CFLAGS
1160libhmac_LIBS
1161openssl_CFLAGS
1162openssl_LIBS
1163libcaes_CFLAGS
1164libcaes_LIBS
1165fuse_CFLAGS
1166fuse_LIBS'
1167
1168
1169# Initialize some variables set by options.
1170ac_init_help=
1171ac_init_version=false
1172ac_unrecognized_opts=
1173ac_unrecognized_sep=
1174# The variables have the same names as the options, with
1175# dashes changed to underlines.
1176cache_file=/dev/null
1177exec_prefix=NONE
1178no_create=
1179no_recursion=
1180prefix=NONE
1181program_prefix=NONE
1182program_suffix=NONE
1183program_transform_name=s,x,x,
1184silent=
1185site=
1186srcdir=
1187verbose=
1188x_includes=NONE
1189x_libraries=NONE
1190
1191# Installation directory options.
1192# These are left unexpanded so users can "make install exec_prefix=/foo"
1193# and all the variables that are supposed to be based on exec_prefix
1194# by default will actually change.
1195# Use braces instead of parens because sh, perl, etc. also accept them.
1196# (The list follows the same order as the GNU Coding Standards.)
1197bindir='${exec_prefix}/bin'
1198sbindir='${exec_prefix}/sbin'
1199libexecdir='${exec_prefix}/libexec'
1200datarootdir='${prefix}/share'
1201datadir='${datarootdir}'
1202sysconfdir='${prefix}/etc'
1203sharedstatedir='${prefix}/com'
1204localstatedir='${prefix}/var'
1205runstatedir='${localstatedir}/run'
1206includedir='${prefix}/include'
1207oldincludedir='/usr/include'
1208docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1209infodir='${datarootdir}/info'
1210htmldir='${docdir}'
1211dvidir='${docdir}'
1212pdfdir='${docdir}'
1213psdir='${docdir}'
1214libdir='${exec_prefix}/lib'
1215localedir='${datarootdir}/locale'
1216mandir='${datarootdir}/man'
1217
1218ac_prev=
1219ac_dashdash=
1220for ac_option
1221do
1222  # If the previous option needs an argument, assign it.
1223  if test -n "$ac_prev"; then
1224    eval $ac_prev=\$ac_option
1225    ac_prev=
1226    continue
1227  fi
1228
1229  case $ac_option in
1230  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1231  *=)   ac_optarg= ;;
1232  *)    ac_optarg=yes ;;
1233  esac
1234
1235  # Accept the important Cygnus configure options, so we can diagnose typos.
1236
1237  case $ac_dashdash$ac_option in
1238  --)
1239    ac_dashdash=yes ;;
1240
1241  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1242    ac_prev=bindir ;;
1243  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1244    bindir=$ac_optarg ;;
1245
1246  -build | --build | --buil | --bui | --bu)
1247    ac_prev=build_alias ;;
1248  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1249    build_alias=$ac_optarg ;;
1250
1251  -cache-file | --cache-file | --cache-fil | --cache-fi \
1252  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1253    ac_prev=cache_file ;;
1254  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1255  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1256    cache_file=$ac_optarg ;;
1257
1258  --config-cache | -C)
1259    cache_file=config.cache ;;
1260
1261  -datadir | --datadir | --datadi | --datad)
1262    ac_prev=datadir ;;
1263  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1264    datadir=$ac_optarg ;;
1265
1266  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1267  | --dataroo | --dataro | --datar)
1268    ac_prev=datarootdir ;;
1269  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1270  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1271    datarootdir=$ac_optarg ;;
1272
1273  -disable-* | --disable-*)
1274    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1275    # Reject names that are not valid shell variable names.
1276    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277      as_fn_error $? "invalid feature name: $ac_useropt"
1278    ac_useropt_orig=$ac_useropt
1279    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280    case $ac_user_opts in
1281      *"
1282"enable_$ac_useropt"
1283"*) ;;
1284      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1285	 ac_unrecognized_sep=', ';;
1286    esac
1287    eval enable_$ac_useropt=no ;;
1288
1289  -docdir | --docdir | --docdi | --doc | --do)
1290    ac_prev=docdir ;;
1291  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1292    docdir=$ac_optarg ;;
1293
1294  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1295    ac_prev=dvidir ;;
1296  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1297    dvidir=$ac_optarg ;;
1298
1299  -enable-* | --enable-*)
1300    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1301    # Reject names that are not valid shell variable names.
1302    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1303      as_fn_error $? "invalid feature name: $ac_useropt"
1304    ac_useropt_orig=$ac_useropt
1305    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306    case $ac_user_opts in
1307      *"
1308"enable_$ac_useropt"
1309"*) ;;
1310      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1311	 ac_unrecognized_sep=', ';;
1312    esac
1313    eval enable_$ac_useropt=\$ac_optarg ;;
1314
1315  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1316  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1317  | --exec | --exe | --ex)
1318    ac_prev=exec_prefix ;;
1319  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1320  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1321  | --exec=* | --exe=* | --ex=*)
1322    exec_prefix=$ac_optarg ;;
1323
1324  -gas | --gas | --ga | --g)
1325    # Obsolete; use --with-gas.
1326    with_gas=yes ;;
1327
1328  -help | --help | --hel | --he | -h)
1329    ac_init_help=long ;;
1330  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1331    ac_init_help=recursive ;;
1332  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1333    ac_init_help=short ;;
1334
1335  -host | --host | --hos | --ho)
1336    ac_prev=host_alias ;;
1337  -host=* | --host=* | --hos=* | --ho=*)
1338    host_alias=$ac_optarg ;;
1339
1340  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1341    ac_prev=htmldir ;;
1342  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1343  | --ht=*)
1344    htmldir=$ac_optarg ;;
1345
1346  -includedir | --includedir | --includedi | --included | --include \
1347  | --includ | --inclu | --incl | --inc)
1348    ac_prev=includedir ;;
1349  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1350  | --includ=* | --inclu=* | --incl=* | --inc=*)
1351    includedir=$ac_optarg ;;
1352
1353  -infodir | --infodir | --infodi | --infod | --info | --inf)
1354    ac_prev=infodir ;;
1355  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1356    infodir=$ac_optarg ;;
1357
1358  -libdir | --libdir | --libdi | --libd)
1359    ac_prev=libdir ;;
1360  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1361    libdir=$ac_optarg ;;
1362
1363  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1364  | --libexe | --libex | --libe)
1365    ac_prev=libexecdir ;;
1366  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1367  | --libexe=* | --libex=* | --libe=*)
1368    libexecdir=$ac_optarg ;;
1369
1370  -localedir | --localedir | --localedi | --localed | --locale)
1371    ac_prev=localedir ;;
1372  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1373    localedir=$ac_optarg ;;
1374
1375  -localstatedir | --localstatedir | --localstatedi | --localstated \
1376  | --localstate | --localstat | --localsta | --localst | --locals)
1377    ac_prev=localstatedir ;;
1378  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1379  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1380    localstatedir=$ac_optarg ;;
1381
1382  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1383    ac_prev=mandir ;;
1384  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1385    mandir=$ac_optarg ;;
1386
1387  -nfp | --nfp | --nf)
1388    # Obsolete; use --without-fp.
1389    with_fp=no ;;
1390
1391  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1392  | --no-cr | --no-c | -n)
1393    no_create=yes ;;
1394
1395  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1396  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1397    no_recursion=yes ;;
1398
1399  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1400  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1401  | --oldin | --oldi | --old | --ol | --o)
1402    ac_prev=oldincludedir ;;
1403  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1404  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1405  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1406    oldincludedir=$ac_optarg ;;
1407
1408  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1409    ac_prev=prefix ;;
1410  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1411    prefix=$ac_optarg ;;
1412
1413  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1414  | --program-pre | --program-pr | --program-p)
1415    ac_prev=program_prefix ;;
1416  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1417  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1418    program_prefix=$ac_optarg ;;
1419
1420  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1421  | --program-suf | --program-su | --program-s)
1422    ac_prev=program_suffix ;;
1423  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1424  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1425    program_suffix=$ac_optarg ;;
1426
1427  -program-transform-name | --program-transform-name \
1428  | --program-transform-nam | --program-transform-na \
1429  | --program-transform-n | --program-transform- \
1430  | --program-transform | --program-transfor \
1431  | --program-transfo | --program-transf \
1432  | --program-trans | --program-tran \
1433  | --progr-tra | --program-tr | --program-t)
1434    ac_prev=program_transform_name ;;
1435  -program-transform-name=* | --program-transform-name=* \
1436  | --program-transform-nam=* | --program-transform-na=* \
1437  | --program-transform-n=* | --program-transform-=* \
1438  | --program-transform=* | --program-transfor=* \
1439  | --program-transfo=* | --program-transf=* \
1440  | --program-trans=* | --program-tran=* \
1441  | --progr-tra=* | --program-tr=* | --program-t=*)
1442    program_transform_name=$ac_optarg ;;
1443
1444  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1445    ac_prev=pdfdir ;;
1446  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1447    pdfdir=$ac_optarg ;;
1448
1449  -psdir | --psdir | --psdi | --psd | --ps)
1450    ac_prev=psdir ;;
1451  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1452    psdir=$ac_optarg ;;
1453
1454  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455  | -silent | --silent | --silen | --sile | --sil)
1456    silent=yes ;;
1457
1458  -runstatedir | --runstatedir | --runstatedi | --runstated \
1459  | --runstate | --runstat | --runsta | --runst | --runs \
1460  | --run | --ru | --r)
1461    ac_prev=runstatedir ;;
1462  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1463  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1464  | --run=* | --ru=* | --r=*)
1465    runstatedir=$ac_optarg ;;
1466
1467  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1468    ac_prev=sbindir ;;
1469  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1470  | --sbi=* | --sb=*)
1471    sbindir=$ac_optarg ;;
1472
1473  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1474  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1475  | --sharedst | --shareds | --shared | --share | --shar \
1476  | --sha | --sh)
1477    ac_prev=sharedstatedir ;;
1478  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1479  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1480  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1481  | --sha=* | --sh=*)
1482    sharedstatedir=$ac_optarg ;;
1483
1484  -site | --site | --sit)
1485    ac_prev=site ;;
1486  -site=* | --site=* | --sit=*)
1487    site=$ac_optarg ;;
1488
1489  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1490    ac_prev=srcdir ;;
1491  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1492    srcdir=$ac_optarg ;;
1493
1494  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1495  | --syscon | --sysco | --sysc | --sys | --sy)
1496    ac_prev=sysconfdir ;;
1497  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1498  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1499    sysconfdir=$ac_optarg ;;
1500
1501  -target | --target | --targe | --targ | --tar | --ta | --t)
1502    ac_prev=target_alias ;;
1503  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1504    target_alias=$ac_optarg ;;
1505
1506  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1507    verbose=yes ;;
1508
1509  -version | --version | --versio | --versi | --vers | -V)
1510    ac_init_version=: ;;
1511
1512  -with-* | --with-*)
1513    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1514    # Reject names that are not valid shell variable names.
1515    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1516      as_fn_error $? "invalid package name: $ac_useropt"
1517    ac_useropt_orig=$ac_useropt
1518    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1519    case $ac_user_opts in
1520      *"
1521"with_$ac_useropt"
1522"*) ;;
1523      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1524	 ac_unrecognized_sep=', ';;
1525    esac
1526    eval with_$ac_useropt=\$ac_optarg ;;
1527
1528  -without-* | --without-*)
1529    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1530    # Reject names that are not valid shell variable names.
1531    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1532      as_fn_error $? "invalid package name: $ac_useropt"
1533    ac_useropt_orig=$ac_useropt
1534    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1535    case $ac_user_opts in
1536      *"
1537"with_$ac_useropt"
1538"*) ;;
1539      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1540	 ac_unrecognized_sep=', ';;
1541    esac
1542    eval with_$ac_useropt=no ;;
1543
1544  --x)
1545    # Obsolete; use --with-x.
1546    with_x=yes ;;
1547
1548  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1549  | --x-incl | --x-inc | --x-in | --x-i)
1550    ac_prev=x_includes ;;
1551  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1552  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1553    x_includes=$ac_optarg ;;
1554
1555  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1556  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1557    ac_prev=x_libraries ;;
1558  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1559  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1560    x_libraries=$ac_optarg ;;
1561
1562  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1563Try \`$0 --help' for more information"
1564    ;;
1565
1566  *=*)
1567    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1568    # Reject names that are not valid shell variable names.
1569    case $ac_envvar in #(
1570      '' | [0-9]* | *[!_$as_cr_alnum]* )
1571      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1572    esac
1573    eval $ac_envvar=\$ac_optarg
1574    export $ac_envvar ;;
1575
1576  *)
1577    # FIXME: should be removed in autoconf 3.0.
1578    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1579    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1580      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1581    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1582    ;;
1583
1584  esac
1585done
1586
1587if test -n "$ac_prev"; then
1588  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1589  as_fn_error $? "missing argument to $ac_option"
1590fi
1591
1592if test -n "$ac_unrecognized_opts"; then
1593  case $enable_option_checking in
1594    no) ;;
1595    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1596    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1597  esac
1598fi
1599
1600# Check all directory arguments for consistency.
1601for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1602		datadir sysconfdir sharedstatedir localstatedir includedir \
1603		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1604		libdir localedir mandir runstatedir
1605do
1606  eval ac_val=\$$ac_var
1607  # Remove trailing slashes.
1608  case $ac_val in
1609    */ )
1610      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1611      eval $ac_var=\$ac_val;;
1612  esac
1613  # Be sure to have absolute directory names.
1614  case $ac_val in
1615    [\\/$]* | ?:[\\/]* )  continue;;
1616    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1617  esac
1618  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1619done
1620
1621# There might be people who depend on the old broken behavior: `$host'
1622# used to hold the argument of --host etc.
1623# FIXME: To remove some day.
1624build=$build_alias
1625host=$host_alias
1626target=$target_alias
1627
1628# FIXME: To remove some day.
1629if test "x$host_alias" != x; then
1630  if test "x$build_alias" = x; then
1631    cross_compiling=maybe
1632  elif test "x$build_alias" != "x$host_alias"; then
1633    cross_compiling=yes
1634  fi
1635fi
1636
1637ac_tool_prefix=
1638test -n "$host_alias" && ac_tool_prefix=$host_alias-
1639
1640test "$silent" = yes && exec 6>/dev/null
1641
1642
1643ac_pwd=`pwd` && test -n "$ac_pwd" &&
1644ac_ls_di=`ls -di .` &&
1645ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1646  as_fn_error $? "working directory cannot be determined"
1647test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1648  as_fn_error $? "pwd does not report name of working directory"
1649
1650
1651# Find the source files, if location was not specified.
1652if test -z "$srcdir"; then
1653  ac_srcdir_defaulted=yes
1654  # Try the directory containing this script, then the parent directory.
1655  ac_confdir=`$as_dirname -- "$as_myself" ||
1656$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1657	 X"$as_myself" : 'X\(//\)[^/]' \| \
1658	 X"$as_myself" : 'X\(//\)$' \| \
1659	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1660$as_echo X"$as_myself" |
1661    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1662	    s//\1/
1663	    q
1664	  }
1665	  /^X\(\/\/\)[^/].*/{
1666	    s//\1/
1667	    q
1668	  }
1669	  /^X\(\/\/\)$/{
1670	    s//\1/
1671	    q
1672	  }
1673	  /^X\(\/\).*/{
1674	    s//\1/
1675	    q
1676	  }
1677	  s/.*/./; q'`
1678  srcdir=$ac_confdir
1679  if test ! -r "$srcdir/$ac_unique_file"; then
1680    srcdir=..
1681  fi
1682else
1683  ac_srcdir_defaulted=no
1684fi
1685if test ! -r "$srcdir/$ac_unique_file"; then
1686  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1687  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1688fi
1689ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1690ac_abs_confdir=`(
1691	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1692	pwd)`
1693# When building in place, set srcdir=.
1694if test "$ac_abs_confdir" = "$ac_pwd"; then
1695  srcdir=.
1696fi
1697# Remove unnecessary trailing slashes from srcdir.
1698# Double slashes in file names in object file debugging info
1699# mess up M-x gdb in Emacs.
1700case $srcdir in
1701*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1702esac
1703for ac_var in $ac_precious_vars; do
1704  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1705  eval ac_env_${ac_var}_value=\$${ac_var}
1706  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1707  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1708done
1709
1710#
1711# Report the --help message.
1712#
1713if test "$ac_init_help" = "long"; then
1714  # Omit some internal or obsolete options to make the list less imposing.
1715  # This message is too long to be a string in the A/UX 3.1 sh.
1716  cat <<_ACEOF
1717\`configure' configures libbde 20210605 to adapt to many kinds of systems.
1718
1719Usage: $0 [OPTION]... [VAR=VALUE]...
1720
1721To assign environment variables (e.g., CC, CFLAGS...), specify them as
1722VAR=VALUE.  See below for descriptions of some of the useful variables.
1723
1724Defaults for the options are specified in brackets.
1725
1726Configuration:
1727  -h, --help              display this help and exit
1728      --help=short        display options specific to this package
1729      --help=recursive    display the short help of all the included packages
1730  -V, --version           display version information and exit
1731  -q, --quiet, --silent   do not print \`checking ...' messages
1732      --cache-file=FILE   cache test results in FILE [disabled]
1733  -C, --config-cache      alias for \`--cache-file=config.cache'
1734  -n, --no-create         do not create output files
1735      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1736
1737Installation directories:
1738  --prefix=PREFIX         install architecture-independent files in PREFIX
1739                          [$ac_default_prefix]
1740  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1741                          [PREFIX]
1742
1743By default, \`make install' will install all the files in
1744\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1745an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1746for instance \`--prefix=\$HOME'.
1747
1748For better control, use the options below.
1749
1750Fine tuning of the installation directories:
1751  --bindir=DIR            user executables [EPREFIX/bin]
1752  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1753  --libexecdir=DIR        program executables [EPREFIX/libexec]
1754  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1755  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1756  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1757  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1758  --libdir=DIR            object code libraries [EPREFIX/lib]
1759  --includedir=DIR        C header files [PREFIX/include]
1760  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1761  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1762  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1763  --infodir=DIR           info documentation [DATAROOTDIR/info]
1764  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1765  --mandir=DIR            man documentation [DATAROOTDIR/man]
1766  --docdir=DIR            documentation root [DATAROOTDIR/doc/libbde]
1767  --htmldir=DIR           html documentation [DOCDIR]
1768  --dvidir=DIR            dvi documentation [DOCDIR]
1769  --pdfdir=DIR            pdf documentation [DOCDIR]
1770  --psdir=DIR             ps documentation [DOCDIR]
1771_ACEOF
1772
1773  cat <<\_ACEOF
1774
1775Program names:
1776  --program-prefix=PREFIX            prepend PREFIX to installed program names
1777  --program-suffix=SUFFIX            append SUFFIX to installed program names
1778  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1779
1780System types:
1781  --build=BUILD     configure for building on BUILD [guessed]
1782  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1783_ACEOF
1784fi
1785
1786if test -n "$ac_init_help"; then
1787  case $ac_init_help in
1788     short | recursive ) echo "Configuration of libbde 20210605:";;
1789   esac
1790  cat <<\_ACEOF
1791
1792Optional Features:
1793  --disable-option-checking  ignore unrecognized --enable/--with options
1794  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1795  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1796  --enable-silent-rules   less verbose build output (undo: "make V=1")
1797  --disable-silent-rules  verbose build output (undo: "make V=0")
1798  --enable-dependency-tracking
1799                          do not reject slow dependency extractors
1800  --disable-dependency-tracking
1801                          speeds up one-time build
1802  --enable-shared[=PKGS]  build shared libraries [default=yes]
1803  --enable-static[=PKGS]  build static libraries [default=yes]
1804  --enable-fast-install[=PKGS]
1805                          optimize for fast installation [default=yes]
1806  --disable-libtool-lock  avoid locking (might break parallel builds)
1807  --disable-nls           do not use Native Language Support
1808  --disable-rpath         do not hardcode runtime library paths
1809  --disable-largefile     omit support for large files
1810  --disable-shared-libs   disable shared library support
1811  --enable-static-executables
1812                          build static executables (binaries) [default=no]
1813  --enable-winapi         enable WINAPI support for cross-compilation
1814                          [default=auto-detect]
1815  --enable-wide-character-type
1816                          enable wide character type support [default=no]
1817  --enable-verbose-output enable verbose output [default=no]
1818  --enable-debug-output   enable debug output [default=no]
1819  --enable-multi-threading-support
1820                          enable multi-threading support [default=yes]
1821  --enable-openssl-evp-cipher
1822                          enable OpenSSL EVP CIPHER support, or no to disable
1823                          [default=auto-detect]
1824  --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable
1825                          [default=auto-detect]
1826  --enable-python         build Python bindings [default=no]
1827  --enable-python2        build Python 2 bindings [default=no]
1828  --enable-python3        build Python 3 bindings [default=no]
1829
1830Optional Packages:
1831  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1832  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1833  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1834                          both]
1835  --with-aix-soname=aix|svr4|both
1836                          shared library versioning (aka "SONAME") variant to
1837                          provide on AIX, [default=aix].
1838  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1839  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1840                          compiler's sysroot if not specified).
1841  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1842  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1843  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1844  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1845  --without-libintl-prefix     don't search for libintl in includedir and libdir
1846  --with-libcerror[=DIR]  search for libcerror in includedir and libdir or in
1847                          the specified DIR, or no if to use local version
1848                          [default=auto-detect]
1849  --with-libcthreads[=DIR]
1850                          search for libcthreads in includedir and libdir or
1851                          in the specified DIR, or no if to use local version
1852                          [default=auto-detect]
1853  --with-pthread[=DIR]    search for pthread in includedir and libdir or in
1854                          the specified DIR, or no if not to use pthread
1855                          [default=auto-detect]
1856  --with-libcdata[=DIR]   search for libcdata in includedir and libdir or in
1857                          the specified DIR, or no if to use local version
1858                          [default=auto-detect]
1859  --with-libclocale[=DIR] search for libclocale in includedir and libdir or in
1860                          the specified DIR, or no if to use local version
1861                          [default=auto-detect]
1862  --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in
1863                          the specified DIR, or no if to use local version
1864                          [default=auto-detect]
1865  --with-libcsplit[=DIR]  search for libcsplit in includedir and libdir or in
1866                          the specified DIR, or no if to use local version
1867                          [default=auto-detect]
1868  --with-libuna[=DIR]     search for libuna in includedir and libdir or in the
1869                          specified DIR, or no if to use local version
1870                          [default=auto-detect]
1871  --with-libcfile[=DIR]   search for libcfile in includedir and libdir or in
1872                          the specified DIR, or no if to use local version
1873                          [default=auto-detect]
1874  --with-libcpath[=DIR]   search for libcpath in includedir and libdir or in
1875                          the specified DIR, or no if to use local version
1876                          [default=auto-detect]
1877  --with-libbfio[=DIR]    search for libbfio in includedir and libdir or in
1878                          the specified DIR, or no if to use local version
1879                          [default=auto-detect]
1880  --with-libfcache[=DIR]  search for libfcache in includedir and libdir or in
1881                          the specified DIR, or no if to use local version
1882                          [default=auto-detect]
1883  --with-libfdata[=DIR]   search for libfdata in includedir and libdir or in
1884                          the specified DIR, or no if to use local version
1885                          [default=auto-detect]
1886  --with-libfdatetime[=DIR]
1887                          search for libfdatetime in includedir and libdir or
1888                          in the specified DIR, or no if to use local version
1889                          [default=auto-detect]
1890  --with-libfguid[=DIR]   search for libfguid in includedir and libdir or in
1891                          the specified DIR, or no if to use local version
1892                          [default=auto-detect]
1893  --with-libfvalue[=DIR]  search for libfvalue in includedir and libdir or in
1894                          the specified DIR, or no if to use local version
1895                          [default=auto-detect]
1896  --with-libhmac[=DIR]    search for libhmac in includedir and libdir or in
1897                          the specified DIR, or no if to use local version
1898                          [default=auto-detect]
1899  --with-openssl[=DIR]    search for OpenSSL in includedir and libdir or in
1900                          the specified DIR, or no if not to use OpenSSL
1901                          [default=auto-detect]
1902  --with-libcaes[=DIR]    search for libcaes in includedir and libdir or in
1903                          the specified DIR, or no if to use local version
1904                          [default=auto-detect]
1905  --with-pyprefix[=no]    use `python-config --prefix' to determine the prefix
1906                          of pythondir instead of --prefix [default=no]
1907  --with-pythondir[=no]   use to specify the Python directory (pythondir)
1908                          [default=no]
1909  --with-pythondir2[=no]  use to specify the Python 2 directory (pythondir2)
1910                          [default=no]
1911  --with-pythondir3[=no]  use to specify the Python 3 directory (pythondir3)
1912                          [default=no]
1913  --with-libfuse[=DIR]    search for libfuse in includedir and libdir or in
1914                          the specified DIR, or no if not to use libfuse
1915                          [default=auto-detect]
1916
1917Some influential environment variables:
1918  CC          C compiler command
1919  CFLAGS      C compiler flags
1920  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1921              nonstandard directory <lib dir>
1922  LIBS        libraries to pass to the linker, e.g. -l<library>
1923  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1924              you have headers in a nonstandard directory <include dir>
1925  CPP         C preprocessor
1926  CXX         C++ compiler command
1927  CXXFLAGS    C++ compiler flags
1928  LT_SYS_LIBRARY_PATH
1929              User-defined run-time library search path.
1930  CXXCPP      C++ preprocessor
1931  PKG_CONFIG  path to pkg-config utility
1932  PKG_CONFIG_PATH
1933              directories to add to pkg-config's search path
1934  PKG_CONFIG_LIBDIR
1935              path overriding pkg-config's built-in search path
1936  libcerror_CFLAGS
1937              C compiler flags for libcerror, overriding pkg-config
1938  libcerror_LIBS
1939              linker flags for libcerror, overriding pkg-config
1940  libcthreads_CFLAGS
1941              C compiler flags for libcthreads, overriding pkg-config
1942  libcthreads_LIBS
1943              linker flags for libcthreads, overriding pkg-config
1944  libcdata_CFLAGS
1945              C compiler flags for libcdata, overriding pkg-config
1946  libcdata_LIBS
1947              linker flags for libcdata, overriding pkg-config
1948  libclocale_CFLAGS
1949              C compiler flags for libclocale, overriding pkg-config
1950  libclocale_LIBS
1951              linker flags for libclocale, overriding pkg-config
1952  libcnotify_CFLAGS
1953              C compiler flags for libcnotify, overriding pkg-config
1954  libcnotify_LIBS
1955              linker flags for libcnotify, overriding pkg-config
1956  libcsplit_CFLAGS
1957              C compiler flags for libcsplit, overriding pkg-config
1958  libcsplit_LIBS
1959              linker flags for libcsplit, overriding pkg-config
1960  libuna_CFLAGS
1961              C compiler flags for libuna, overriding pkg-config
1962  libuna_LIBS linker flags for libuna, overriding pkg-config
1963  libcfile_CFLAGS
1964              C compiler flags for libcfile, overriding pkg-config
1965  libcfile_LIBS
1966              linker flags for libcfile, overriding pkg-config
1967  libcpath_CFLAGS
1968              C compiler flags for libcpath, overriding pkg-config
1969  libcpath_LIBS
1970              linker flags for libcpath, overriding pkg-config
1971  libbfio_CFLAGS
1972              C compiler flags for libbfio, overriding pkg-config
1973  libbfio_LIBS
1974              linker flags for libbfio, overriding pkg-config
1975  libfcache_CFLAGS
1976              C compiler flags for libfcache, overriding pkg-config
1977  libfcache_LIBS
1978              linker flags for libfcache, overriding pkg-config
1979  libfdata_CFLAGS
1980              C compiler flags for libfdata, overriding pkg-config
1981  libfdata_LIBS
1982              linker flags for libfdata, overriding pkg-config
1983  libfdatetime_CFLAGS
1984              C compiler flags for libfdatetime, overriding pkg-config
1985  libfdatetime_LIBS
1986              linker flags for libfdatetime, overriding pkg-config
1987  libfguid_CFLAGS
1988              C compiler flags for libfguid, overriding pkg-config
1989  libfguid_LIBS
1990              linker flags for libfguid, overriding pkg-config
1991  libfvalue_CFLAGS
1992              C compiler flags for libfvalue, overriding pkg-config
1993  libfvalue_LIBS
1994              linker flags for libfvalue, overriding pkg-config
1995  libhmac_CFLAGS
1996              C compiler flags for libhmac, overriding pkg-config
1997  libhmac_LIBS
1998              linker flags for libhmac, overriding pkg-config
1999  openssl_CFLAGS
2000              C compiler flags for openssl, overriding pkg-config
2001  openssl_LIBS
2002              linker flags for openssl, overriding pkg-config
2003  libcaes_CFLAGS
2004              C compiler flags for libcaes, overriding pkg-config
2005  libcaes_LIBS
2006              linker flags for libcaes, overriding pkg-config
2007  fuse_CFLAGS C compiler flags for fuse, overriding pkg-config
2008  fuse_LIBS   linker flags for fuse, overriding pkg-config
2009
2010Use these variables to override the choices made by `configure' or to help
2011it to find libraries and programs with nonstandard names/locations.
2012
2013Report bugs to <joachim.metz@gmail.com>.
2014_ACEOF
2015ac_status=$?
2016fi
2017
2018if test "$ac_init_help" = "recursive"; then
2019  # If there are subdirs, report their specific --help.
2020  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2021    test -d "$ac_dir" ||
2022      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2023      continue
2024    ac_builddir=.
2025
2026case "$ac_dir" in
2027.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2028*)
2029  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2030  # A ".." for each directory in $ac_dir_suffix.
2031  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2032  case $ac_top_builddir_sub in
2033  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2034  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2035  esac ;;
2036esac
2037ac_abs_top_builddir=$ac_pwd
2038ac_abs_builddir=$ac_pwd$ac_dir_suffix
2039# for backward compatibility:
2040ac_top_builddir=$ac_top_build_prefix
2041
2042case $srcdir in
2043  .)  # We are building in place.
2044    ac_srcdir=.
2045    ac_top_srcdir=$ac_top_builddir_sub
2046    ac_abs_top_srcdir=$ac_pwd ;;
2047  [\\/]* | ?:[\\/]* )  # Absolute name.
2048    ac_srcdir=$srcdir$ac_dir_suffix;
2049    ac_top_srcdir=$srcdir
2050    ac_abs_top_srcdir=$srcdir ;;
2051  *) # Relative name.
2052    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2053    ac_top_srcdir=$ac_top_build_prefix$srcdir
2054    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2055esac
2056ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2057
2058    cd "$ac_dir" || { ac_status=$?; continue; }
2059    # Check for guested configure.
2060    if test -f "$ac_srcdir/configure.gnu"; then
2061      echo &&
2062      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2063    elif test -f "$ac_srcdir/configure"; then
2064      echo &&
2065      $SHELL "$ac_srcdir/configure" --help=recursive
2066    else
2067      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2068    fi || ac_status=$?
2069    cd "$ac_pwd" || { ac_status=$?; break; }
2070  done
2071fi
2072
2073test -n "$ac_init_help" && exit $ac_status
2074if $ac_init_version; then
2075  cat <<\_ACEOF
2076libbde configure 20210605
2077generated by GNU Autoconf 2.69
2078
2079Copyright (C) 2012 Free Software Foundation, Inc.
2080This configure script is free software; the Free Software Foundation
2081gives unlimited permission to copy, distribute and modify it.
2082_ACEOF
2083  exit
2084fi
2085
2086## ------------------------ ##
2087## Autoconf initialization. ##
2088## ------------------------ ##
2089
2090# ac_fn_c_try_compile LINENO
2091# --------------------------
2092# Try to compile conftest.$ac_ext, and return whether this succeeded.
2093ac_fn_c_try_compile ()
2094{
2095  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096  rm -f conftest.$ac_objext
2097  if { { ac_try="$ac_compile"
2098case "(($ac_try" in
2099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2100  *) ac_try_echo=$ac_try;;
2101esac
2102eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2103$as_echo "$ac_try_echo"; } >&5
2104  (eval "$ac_compile") 2>conftest.err
2105  ac_status=$?
2106  if test -s conftest.err; then
2107    grep -v '^ *+' conftest.err >conftest.er1
2108    cat conftest.er1 >&5
2109    mv -f conftest.er1 conftest.err
2110  fi
2111  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2112  test $ac_status = 0; } && {
2113	 test -z "$ac_c_werror_flag" ||
2114	 test ! -s conftest.err
2115       } && test -s conftest.$ac_objext; then :
2116  ac_retval=0
2117else
2118  $as_echo "$as_me: failed program was:" >&5
2119sed 's/^/| /' conftest.$ac_ext >&5
2120
2121	ac_retval=1
2122fi
2123  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2124  as_fn_set_status $ac_retval
2125
2126} # ac_fn_c_try_compile
2127
2128# ac_fn_c_try_cpp LINENO
2129# ----------------------
2130# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2131ac_fn_c_try_cpp ()
2132{
2133  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2134  if { { ac_try="$ac_cpp conftest.$ac_ext"
2135case "(($ac_try" in
2136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2137  *) ac_try_echo=$ac_try;;
2138esac
2139eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140$as_echo "$ac_try_echo"; } >&5
2141  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2142  ac_status=$?
2143  if test -s conftest.err; then
2144    grep -v '^ *+' conftest.err >conftest.er1
2145    cat conftest.er1 >&5
2146    mv -f conftest.er1 conftest.err
2147  fi
2148  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2149  test $ac_status = 0; } > conftest.i && {
2150	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2151	 test ! -s conftest.err
2152       }; then :
2153  ac_retval=0
2154else
2155  $as_echo "$as_me: failed program was:" >&5
2156sed 's/^/| /' conftest.$ac_ext >&5
2157
2158    ac_retval=1
2159fi
2160  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2161  as_fn_set_status $ac_retval
2162
2163} # ac_fn_c_try_cpp
2164
2165# ac_fn_cxx_try_compile LINENO
2166# ----------------------------
2167# Try to compile conftest.$ac_ext, and return whether this succeeded.
2168ac_fn_cxx_try_compile ()
2169{
2170  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171  rm -f conftest.$ac_objext
2172  if { { ac_try="$ac_compile"
2173case "(($ac_try" in
2174  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2175  *) ac_try_echo=$ac_try;;
2176esac
2177eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2178$as_echo "$ac_try_echo"; } >&5
2179  (eval "$ac_compile") 2>conftest.err
2180  ac_status=$?
2181  if test -s conftest.err; then
2182    grep -v '^ *+' conftest.err >conftest.er1
2183    cat conftest.er1 >&5
2184    mv -f conftest.er1 conftest.err
2185  fi
2186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2187  test $ac_status = 0; } && {
2188	 test -z "$ac_cxx_werror_flag" ||
2189	 test ! -s conftest.err
2190       } && test -s conftest.$ac_objext; then :
2191  ac_retval=0
2192else
2193  $as_echo "$as_me: failed program was:" >&5
2194sed 's/^/| /' conftest.$ac_ext >&5
2195
2196	ac_retval=1
2197fi
2198  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2199  as_fn_set_status $ac_retval
2200
2201} # ac_fn_cxx_try_compile
2202
2203# ac_fn_c_try_link LINENO
2204# -----------------------
2205# Try to link conftest.$ac_ext, and return whether this succeeded.
2206ac_fn_c_try_link ()
2207{
2208  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2209  rm -f conftest.$ac_objext conftest$ac_exeext
2210  if { { ac_try="$ac_link"
2211case "(($ac_try" in
2212  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213  *) ac_try_echo=$ac_try;;
2214esac
2215eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2216$as_echo "$ac_try_echo"; } >&5
2217  (eval "$ac_link") 2>conftest.err
2218  ac_status=$?
2219  if test -s conftest.err; then
2220    grep -v '^ *+' conftest.err >conftest.er1
2221    cat conftest.er1 >&5
2222    mv -f conftest.er1 conftest.err
2223  fi
2224  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2225  test $ac_status = 0; } && {
2226	 test -z "$ac_c_werror_flag" ||
2227	 test ! -s conftest.err
2228       } && test -s conftest$ac_exeext && {
2229	 test "$cross_compiling" = yes ||
2230	 test -x conftest$ac_exeext
2231       }; then :
2232  ac_retval=0
2233else
2234  $as_echo "$as_me: failed program was:" >&5
2235sed 's/^/| /' conftest.$ac_ext >&5
2236
2237	ac_retval=1
2238fi
2239  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2240  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2241  # interfere with the next link command; also delete a directory that is
2242  # left behind by Apple's compiler.  We do this before executing the actions.
2243  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2244  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245  as_fn_set_status $ac_retval
2246
2247} # ac_fn_c_try_link
2248
2249# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2250# -------------------------------------------------------
2251# Tests whether HEADER exists and can be compiled using the include files in
2252# INCLUDES, setting the cache variable VAR accordingly.
2253ac_fn_c_check_header_compile ()
2254{
2255  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257$as_echo_n "checking for $2... " >&6; }
2258if eval \${$3+:} false; then :
2259  $as_echo_n "(cached) " >&6
2260else
2261  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262/* end confdefs.h.  */
2263$4
2264#include <$2>
2265_ACEOF
2266if ac_fn_c_try_compile "$LINENO"; then :
2267  eval "$3=yes"
2268else
2269  eval "$3=no"
2270fi
2271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2272fi
2273eval ac_res=\$$3
2274	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2275$as_echo "$ac_res" >&6; }
2276  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2277
2278} # ac_fn_c_check_header_compile
2279
2280# ac_fn_c_try_run LINENO
2281# ----------------------
2282# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2283# that executables *can* be run.
2284ac_fn_c_try_run ()
2285{
2286  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2287  if { { ac_try="$ac_link"
2288case "(($ac_try" in
2289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2290  *) ac_try_echo=$ac_try;;
2291esac
2292eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2293$as_echo "$ac_try_echo"; } >&5
2294  (eval "$ac_link") 2>&5
2295  ac_status=$?
2296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2298  { { case "(($ac_try" in
2299  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300  *) ac_try_echo=$ac_try;;
2301esac
2302eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303$as_echo "$ac_try_echo"; } >&5
2304  (eval "$ac_try") 2>&5
2305  ac_status=$?
2306  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307  test $ac_status = 0; }; }; then :
2308  ac_retval=0
2309else
2310  $as_echo "$as_me: program exited with status $ac_status" >&5
2311       $as_echo "$as_me: failed program was:" >&5
2312sed 's/^/| /' conftest.$ac_ext >&5
2313
2314       ac_retval=$ac_status
2315fi
2316  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2317  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2318  as_fn_set_status $ac_retval
2319
2320} # ac_fn_c_try_run
2321
2322# ac_fn_c_check_func LINENO FUNC VAR
2323# ----------------------------------
2324# Tests whether FUNC exists, setting the cache variable VAR accordingly
2325ac_fn_c_check_func ()
2326{
2327  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2329$as_echo_n "checking for $2... " >&6; }
2330if eval \${$3+:} false; then :
2331  $as_echo_n "(cached) " >&6
2332else
2333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2334/* end confdefs.h.  */
2335/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2336   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2337#define $2 innocuous_$2
2338
2339/* System header to define __stub macros and hopefully few prototypes,
2340    which can conflict with char $2 (); below.
2341    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2342    <limits.h> exists even on freestanding compilers.  */
2343
2344#ifdef __STDC__
2345# include <limits.h>
2346#else
2347# include <assert.h>
2348#endif
2349
2350#undef $2
2351
2352/* Override any GCC internal prototype to avoid an error.
2353   Use char because int might match the return type of a GCC
2354   builtin and then its argument prototype would still apply.  */
2355#ifdef __cplusplus
2356extern "C"
2357#endif
2358char $2 ();
2359/* The GNU C library defines this for functions which it implements
2360    to always fail with ENOSYS.  Some functions are actually named
2361    something starting with __ and the normal name is an alias.  */
2362#if defined __stub_$2 || defined __stub___$2
2363choke me
2364#endif
2365
2366int
2367main ()
2368{
2369return $2 ();
2370  ;
2371  return 0;
2372}
2373_ACEOF
2374if ac_fn_c_try_link "$LINENO"; then :
2375  eval "$3=yes"
2376else
2377  eval "$3=no"
2378fi
2379rm -f core conftest.err conftest.$ac_objext \
2380    conftest$ac_exeext conftest.$ac_ext
2381fi
2382eval ac_res=\$$3
2383	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2384$as_echo "$ac_res" >&6; }
2385  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2386
2387} # ac_fn_c_check_func
2388
2389# ac_fn_cxx_try_cpp LINENO
2390# ------------------------
2391# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2392ac_fn_cxx_try_cpp ()
2393{
2394  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395  if { { ac_try="$ac_cpp conftest.$ac_ext"
2396case "(($ac_try" in
2397  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398  *) ac_try_echo=$ac_try;;
2399esac
2400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2401$as_echo "$ac_try_echo"; } >&5
2402  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2403  ac_status=$?
2404  if test -s conftest.err; then
2405    grep -v '^ *+' conftest.err >conftest.er1
2406    cat conftest.er1 >&5
2407    mv -f conftest.er1 conftest.err
2408  fi
2409  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410  test $ac_status = 0; } > conftest.i && {
2411	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2412	 test ! -s conftest.err
2413       }; then :
2414  ac_retval=0
2415else
2416  $as_echo "$as_me: failed program was:" >&5
2417sed 's/^/| /' conftest.$ac_ext >&5
2418
2419    ac_retval=1
2420fi
2421  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2422  as_fn_set_status $ac_retval
2423
2424} # ac_fn_cxx_try_cpp
2425
2426# ac_fn_cxx_try_link LINENO
2427# -------------------------
2428# Try to link conftest.$ac_ext, and return whether this succeeded.
2429ac_fn_cxx_try_link ()
2430{
2431  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432  rm -f conftest.$ac_objext conftest$ac_exeext
2433  if { { ac_try="$ac_link"
2434case "(($ac_try" in
2435  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436  *) ac_try_echo=$ac_try;;
2437esac
2438eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2439$as_echo "$ac_try_echo"; } >&5
2440  (eval "$ac_link") 2>conftest.err
2441  ac_status=$?
2442  if test -s conftest.err; then
2443    grep -v '^ *+' conftest.err >conftest.er1
2444    cat conftest.er1 >&5
2445    mv -f conftest.er1 conftest.err
2446  fi
2447  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2448  test $ac_status = 0; } && {
2449	 test -z "$ac_cxx_werror_flag" ||
2450	 test ! -s conftest.err
2451       } && test -s conftest$ac_exeext && {
2452	 test "$cross_compiling" = yes ||
2453	 test -x conftest$ac_exeext
2454       }; then :
2455  ac_retval=0
2456else
2457  $as_echo "$as_me: failed program was:" >&5
2458sed 's/^/| /' conftest.$ac_ext >&5
2459
2460	ac_retval=1
2461fi
2462  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2463  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2464  # interfere with the next link command; also delete a directory that is
2465  # left behind by Apple's compiler.  We do this before executing the actions.
2466  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2467  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2468  as_fn_set_status $ac_retval
2469
2470} # ac_fn_cxx_try_link
2471
2472# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2473# -------------------------------------------------------
2474# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2475# the include files in INCLUDES and setting the cache variable VAR
2476# accordingly.
2477ac_fn_c_check_header_mongrel ()
2478{
2479  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2480  if eval \${$3+:} false; then :
2481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2482$as_echo_n "checking for $2... " >&6; }
2483if eval \${$3+:} false; then :
2484  $as_echo_n "(cached) " >&6
2485fi
2486eval ac_res=\$$3
2487	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2488$as_echo "$ac_res" >&6; }
2489else
2490  # Is the header compilable?
2491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2492$as_echo_n "checking $2 usability... " >&6; }
2493cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494/* end confdefs.h.  */
2495$4
2496#include <$2>
2497_ACEOF
2498if ac_fn_c_try_compile "$LINENO"; then :
2499  ac_header_compiler=yes
2500else
2501  ac_header_compiler=no
2502fi
2503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2505$as_echo "$ac_header_compiler" >&6; }
2506
2507# Is the header present?
2508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2509$as_echo_n "checking $2 presence... " >&6; }
2510cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2511/* end confdefs.h.  */
2512#include <$2>
2513_ACEOF
2514if ac_fn_c_try_cpp "$LINENO"; then :
2515  ac_header_preproc=yes
2516else
2517  ac_header_preproc=no
2518fi
2519rm -f conftest.err conftest.i conftest.$ac_ext
2520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2521$as_echo "$ac_header_preproc" >&6; }
2522
2523# So?  What about this header?
2524case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2525  yes:no: )
2526    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2527$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2528    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2529$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2530    ;;
2531  no:yes:* )
2532    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2533$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2534    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2535$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2536    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2537$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2538    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2539$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2540    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2541$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2542( $as_echo "## ------------------------------------- ##
2543## Report this to joachim.metz@gmail.com ##
2544## ------------------------------------- ##"
2545     ) | sed "s/^/$as_me: WARNING:     /" >&2
2546    ;;
2547esac
2548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2549$as_echo_n "checking for $2... " >&6; }
2550if eval \${$3+:} false; then :
2551  $as_echo_n "(cached) " >&6
2552else
2553  eval "$3=\$ac_header_compiler"
2554fi
2555eval ac_res=\$$3
2556	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2557$as_echo "$ac_res" >&6; }
2558fi
2559  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2560
2561} # ac_fn_c_check_header_mongrel
2562
2563# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2564# -------------------------------------------
2565# Tests whether TYPE exists after having included INCLUDES, setting cache
2566# variable VAR accordingly.
2567ac_fn_c_check_type ()
2568{
2569  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2571$as_echo_n "checking for $2... " >&6; }
2572if eval \${$3+:} false; then :
2573  $as_echo_n "(cached) " >&6
2574else
2575  eval "$3=no"
2576  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2577/* end confdefs.h.  */
2578$4
2579int
2580main ()
2581{
2582if (sizeof ($2))
2583	 return 0;
2584  ;
2585  return 0;
2586}
2587_ACEOF
2588if ac_fn_c_try_compile "$LINENO"; then :
2589  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590/* end confdefs.h.  */
2591$4
2592int
2593main ()
2594{
2595if (sizeof (($2)))
2596	    return 0;
2597  ;
2598  return 0;
2599}
2600_ACEOF
2601if ac_fn_c_try_compile "$LINENO"; then :
2602
2603else
2604  eval "$3=yes"
2605fi
2606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607fi
2608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609fi
2610eval ac_res=\$$3
2611	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2612$as_echo "$ac_res" >&6; }
2613  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614
2615} # ac_fn_c_check_type
2616
2617# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2618# --------------------------------------------
2619# Tries to find the compile-time value of EXPR in a program that includes
2620# INCLUDES, setting VAR accordingly. Returns whether the value could be
2621# computed
2622ac_fn_c_compute_int ()
2623{
2624  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625  if test "$cross_compiling" = yes; then
2626    # Depending upon the size, compute the lo and hi bounds.
2627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628/* end confdefs.h.  */
2629$4
2630int
2631main ()
2632{
2633static int test_array [1 - 2 * !(($2) >= 0)];
2634test_array [0] = 0;
2635return test_array [0];
2636
2637  ;
2638  return 0;
2639}
2640_ACEOF
2641if ac_fn_c_try_compile "$LINENO"; then :
2642  ac_lo=0 ac_mid=0
2643  while :; do
2644    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645/* end confdefs.h.  */
2646$4
2647int
2648main ()
2649{
2650static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2651test_array [0] = 0;
2652return test_array [0];
2653
2654  ;
2655  return 0;
2656}
2657_ACEOF
2658if ac_fn_c_try_compile "$LINENO"; then :
2659  ac_hi=$ac_mid; break
2660else
2661  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2662			if test $ac_lo -le $ac_mid; then
2663			  ac_lo= ac_hi=
2664			  break
2665			fi
2666			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2667fi
2668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2669  done
2670else
2671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672/* end confdefs.h.  */
2673$4
2674int
2675main ()
2676{
2677static int test_array [1 - 2 * !(($2) < 0)];
2678test_array [0] = 0;
2679return test_array [0];
2680
2681  ;
2682  return 0;
2683}
2684_ACEOF
2685if ac_fn_c_try_compile "$LINENO"; then :
2686  ac_hi=-1 ac_mid=-1
2687  while :; do
2688    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689/* end confdefs.h.  */
2690$4
2691int
2692main ()
2693{
2694static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2695test_array [0] = 0;
2696return test_array [0];
2697
2698  ;
2699  return 0;
2700}
2701_ACEOF
2702if ac_fn_c_try_compile "$LINENO"; then :
2703  ac_lo=$ac_mid; break
2704else
2705  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2706			if test $ac_mid -le $ac_hi; then
2707			  ac_lo= ac_hi=
2708			  break
2709			fi
2710			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2711fi
2712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713  done
2714else
2715  ac_lo= ac_hi=
2716fi
2717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718fi
2719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720# Binary search between lo and hi bounds.
2721while test "x$ac_lo" != "x$ac_hi"; do
2722  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2723  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724/* end confdefs.h.  */
2725$4
2726int
2727main ()
2728{
2729static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2730test_array [0] = 0;
2731return test_array [0];
2732
2733  ;
2734  return 0;
2735}
2736_ACEOF
2737if ac_fn_c_try_compile "$LINENO"; then :
2738  ac_hi=$ac_mid
2739else
2740  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2741fi
2742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743done
2744case $ac_lo in #((
2745?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2746'') ac_retval=1 ;;
2747esac
2748  else
2749    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750/* end confdefs.h.  */
2751$4
2752static long int longval () { return $2; }
2753static unsigned long int ulongval () { return $2; }
2754#include <stdio.h>
2755#include <stdlib.h>
2756int
2757main ()
2758{
2759
2760  FILE *f = fopen ("conftest.val", "w");
2761  if (! f)
2762    return 1;
2763  if (($2) < 0)
2764    {
2765      long int i = longval ();
2766      if (i != ($2))
2767	return 1;
2768      fprintf (f, "%ld", i);
2769    }
2770  else
2771    {
2772      unsigned long int i = ulongval ();
2773      if (i != ($2))
2774	return 1;
2775      fprintf (f, "%lu", i);
2776    }
2777  /* Do not output a trailing newline, as this causes \r\n confusion
2778     on some platforms.  */
2779  return ferror (f) || fclose (f) != 0;
2780
2781  ;
2782  return 0;
2783}
2784_ACEOF
2785if ac_fn_c_try_run "$LINENO"; then :
2786  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2787else
2788  ac_retval=1
2789fi
2790rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2791  conftest.$ac_objext conftest.beam conftest.$ac_ext
2792rm -f conftest.val
2793
2794  fi
2795  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796  as_fn_set_status $ac_retval
2797
2798} # ac_fn_c_compute_int
2799
2800# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2801# ---------------------------------------------
2802# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2803# accordingly.
2804ac_fn_c_check_decl ()
2805{
2806  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807  as_decl_name=`echo $2|sed 's/ *(.*//'`
2808  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2810$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2811if eval \${$3+:} false; then :
2812  $as_echo_n "(cached) " >&6
2813else
2814  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815/* end confdefs.h.  */
2816$4
2817int
2818main ()
2819{
2820#ifndef $as_decl_name
2821#ifdef __cplusplus
2822  (void) $as_decl_use;
2823#else
2824  (void) $as_decl_name;
2825#endif
2826#endif
2827
2828  ;
2829  return 0;
2830}
2831_ACEOF
2832if ac_fn_c_try_compile "$LINENO"; then :
2833  eval "$3=yes"
2834else
2835  eval "$3=no"
2836fi
2837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838fi
2839eval ac_res=\$$3
2840	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2841$as_echo "$ac_res" >&6; }
2842  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843
2844} # ac_fn_c_check_decl
2845cat >config.log <<_ACEOF
2846This file contains any messages produced by compilers while
2847running configure, to aid debugging if configure makes a mistake.
2848
2849It was created by libbde $as_me 20210605, which was
2850generated by GNU Autoconf 2.69.  Invocation command line was
2851
2852  $ $0 $@
2853
2854_ACEOF
2855exec 5>>config.log
2856{
2857cat <<_ASUNAME
2858## --------- ##
2859## Platform. ##
2860## --------- ##
2861
2862hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2863uname -m = `(uname -m) 2>/dev/null || echo unknown`
2864uname -r = `(uname -r) 2>/dev/null || echo unknown`
2865uname -s = `(uname -s) 2>/dev/null || echo unknown`
2866uname -v = `(uname -v) 2>/dev/null || echo unknown`
2867
2868/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2869/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2870
2871/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2872/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2873/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2874/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2875/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2876/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2877/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2878
2879_ASUNAME
2880
2881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882for as_dir in $PATH
2883do
2884  IFS=$as_save_IFS
2885  test -z "$as_dir" && as_dir=.
2886    $as_echo "PATH: $as_dir"
2887  done
2888IFS=$as_save_IFS
2889
2890} >&5
2891
2892cat >&5 <<_ACEOF
2893
2894
2895## ----------- ##
2896## Core tests. ##
2897## ----------- ##
2898
2899_ACEOF
2900
2901
2902# Keep a trace of the command line.
2903# Strip out --no-create and --no-recursion so they do not pile up.
2904# Strip out --silent because we don't want to record it for future runs.
2905# Also quote any args containing shell meta-characters.
2906# Make two passes to allow for proper duplicate-argument suppression.
2907ac_configure_args=
2908ac_configure_args0=
2909ac_configure_args1=
2910ac_must_keep_next=false
2911for ac_pass in 1 2
2912do
2913  for ac_arg
2914  do
2915    case $ac_arg in
2916    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2917    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2918    | -silent | --silent | --silen | --sile | --sil)
2919      continue ;;
2920    *\'*)
2921      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2922    esac
2923    case $ac_pass in
2924    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2925    2)
2926      as_fn_append ac_configure_args1 " '$ac_arg'"
2927      if test $ac_must_keep_next = true; then
2928	ac_must_keep_next=false # Got value, back to normal.
2929      else
2930	case $ac_arg in
2931	  *=* | --config-cache | -C | -disable-* | --disable-* \
2932	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2933	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2934	  | -with-* | --with-* | -without-* | --without-* | --x)
2935	    case "$ac_configure_args0 " in
2936	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2937	    esac
2938	    ;;
2939	  -* ) ac_must_keep_next=true ;;
2940	esac
2941      fi
2942      as_fn_append ac_configure_args " '$ac_arg'"
2943      ;;
2944    esac
2945  done
2946done
2947{ ac_configure_args0=; unset ac_configure_args0;}
2948{ ac_configure_args1=; unset ac_configure_args1;}
2949
2950# When interrupted or exit'd, cleanup temporary files, and complete
2951# config.log.  We remove comments because anyway the quotes in there
2952# would cause problems or look ugly.
2953# WARNING: Use '\'' to represent an apostrophe within the trap.
2954# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2955trap 'exit_status=$?
2956  # Save into config.log some information that might help in debugging.
2957  {
2958    echo
2959
2960    $as_echo "## ---------------- ##
2961## Cache variables. ##
2962## ---------------- ##"
2963    echo
2964    # The following way of writing the cache mishandles newlines in values,
2965(
2966  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2967    eval ac_val=\$$ac_var
2968    case $ac_val in #(
2969    *${as_nl}*)
2970      case $ac_var in #(
2971      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2972$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2973      esac
2974      case $ac_var in #(
2975      _ | IFS | as_nl) ;; #(
2976      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2977      *) { eval $ac_var=; unset $ac_var;} ;;
2978      esac ;;
2979    esac
2980  done
2981  (set) 2>&1 |
2982    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2983    *${as_nl}ac_space=\ *)
2984      sed -n \
2985	"s/'\''/'\''\\\\'\'''\''/g;
2986	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2987      ;; #(
2988    *)
2989      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2990      ;;
2991    esac |
2992    sort
2993)
2994    echo
2995
2996    $as_echo "## ----------------- ##
2997## Output variables. ##
2998## ----------------- ##"
2999    echo
3000    for ac_var in $ac_subst_vars
3001    do
3002      eval ac_val=\$$ac_var
3003      case $ac_val in
3004      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3005      esac
3006      $as_echo "$ac_var='\''$ac_val'\''"
3007    done | sort
3008    echo
3009
3010    if test -n "$ac_subst_files"; then
3011      $as_echo "## ------------------- ##
3012## File substitutions. ##
3013## ------------------- ##"
3014      echo
3015      for ac_var in $ac_subst_files
3016      do
3017	eval ac_val=\$$ac_var
3018	case $ac_val in
3019	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3020	esac
3021	$as_echo "$ac_var='\''$ac_val'\''"
3022      done | sort
3023      echo
3024    fi
3025
3026    if test -s confdefs.h; then
3027      $as_echo "## ----------- ##
3028## confdefs.h. ##
3029## ----------- ##"
3030      echo
3031      cat confdefs.h
3032      echo
3033    fi
3034    test "$ac_signal" != 0 &&
3035      $as_echo "$as_me: caught signal $ac_signal"
3036    $as_echo "$as_me: exit $exit_status"
3037  } >&5
3038  rm -f core *.core core.conftest.* &&
3039    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3040    exit $exit_status
3041' 0
3042for ac_signal in 1 2 13 15; do
3043  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3044done
3045ac_signal=0
3046
3047# confdefs.h avoids OS command line length limits that DEFS can exceed.
3048rm -f -r conftest* confdefs.h
3049
3050$as_echo "/* confdefs.h */" > confdefs.h
3051
3052# Predefined preprocessor variables.
3053
3054cat >>confdefs.h <<_ACEOF
3055#define PACKAGE_NAME "$PACKAGE_NAME"
3056_ACEOF
3057
3058cat >>confdefs.h <<_ACEOF
3059#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3060_ACEOF
3061
3062cat >>confdefs.h <<_ACEOF
3063#define PACKAGE_VERSION "$PACKAGE_VERSION"
3064_ACEOF
3065
3066cat >>confdefs.h <<_ACEOF
3067#define PACKAGE_STRING "$PACKAGE_STRING"
3068_ACEOF
3069
3070cat >>confdefs.h <<_ACEOF
3071#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3072_ACEOF
3073
3074cat >>confdefs.h <<_ACEOF
3075#define PACKAGE_URL "$PACKAGE_URL"
3076_ACEOF
3077
3078
3079# Let the site file select an alternate cache file if it wants to.
3080# Prefer an explicitly selected file to automatically selected ones.
3081ac_site_file1=NONE
3082ac_site_file2=NONE
3083if test -n "$CONFIG_SITE"; then
3084  # We do not want a PATH search for config.site.
3085  case $CONFIG_SITE in #((
3086    -*)  ac_site_file1=./$CONFIG_SITE;;
3087    */*) ac_site_file1=$CONFIG_SITE;;
3088    *)   ac_site_file1=./$CONFIG_SITE;;
3089  esac
3090elif test "x$prefix" != xNONE; then
3091  ac_site_file1=$prefix/share/config.site
3092  ac_site_file2=$prefix/etc/config.site
3093else
3094  ac_site_file1=$ac_default_prefix/share/config.site
3095  ac_site_file2=$ac_default_prefix/etc/config.site
3096fi
3097for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3098do
3099  test "x$ac_site_file" = xNONE && continue
3100  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3101    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3102$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3103    sed 's/^/| /' "$ac_site_file" >&5
3104    . "$ac_site_file" \
3105      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107as_fn_error $? "failed to load site script $ac_site_file
3108See \`config.log' for more details" "$LINENO" 5; }
3109  fi
3110done
3111
3112if test -r "$cache_file"; then
3113  # Some versions of bash will fail to source /dev/null (special files
3114  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3115  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3116    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3117$as_echo "$as_me: loading cache $cache_file" >&6;}
3118    case $cache_file in
3119      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3120      *)                      . "./$cache_file";;
3121    esac
3122  fi
3123else
3124  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3125$as_echo "$as_me: creating cache $cache_file" >&6;}
3126  >$cache_file
3127fi
3128
3129gt_needs="$gt_needs "
3130# Check that the precious variables saved in the cache have kept the same
3131# value.
3132ac_cache_corrupted=false
3133for ac_var in $ac_precious_vars; do
3134  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3135  eval ac_new_set=\$ac_env_${ac_var}_set
3136  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3137  eval ac_new_val=\$ac_env_${ac_var}_value
3138  case $ac_old_set,$ac_new_set in
3139    set,)
3140      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3141$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3142      ac_cache_corrupted=: ;;
3143    ,set)
3144      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3145$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3146      ac_cache_corrupted=: ;;
3147    ,);;
3148    *)
3149      if test "x$ac_old_val" != "x$ac_new_val"; then
3150	# differences in whitespace do not lead to failure.
3151	ac_old_val_w=`echo x $ac_old_val`
3152	ac_new_val_w=`echo x $ac_new_val`
3153	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3154	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3155$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3156	  ac_cache_corrupted=:
3157	else
3158	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3159$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3160	  eval $ac_var=\$ac_old_val
3161	fi
3162	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3163$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3164	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3165$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3166      fi;;
3167  esac
3168  # Pass precious variables to config.status.
3169  if test "$ac_new_set" = set; then
3170    case $ac_new_val in
3171    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3172    *) ac_arg=$ac_var=$ac_new_val ;;
3173    esac
3174    case " $ac_configure_args " in
3175      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3176      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3177    esac
3178  fi
3179done
3180if $ac_cache_corrupted; then
3181  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3183  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3184$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3185  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3186fi
3187## -------------------- ##
3188## Main body of script. ##
3189## -------------------- ##
3190
3191ac_ext=c
3192ac_cpp='$CPP $CPPFLAGS'
3193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196
3197
3198
3199
3200
3201am__api_version='1.16'
3202
3203ac_aux_dir=
3204for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3205  if test -f "$ac_dir/install-sh"; then
3206    ac_aux_dir=$ac_dir
3207    ac_install_sh="$ac_aux_dir/install-sh -c"
3208    break
3209  elif test -f "$ac_dir/install.sh"; then
3210    ac_aux_dir=$ac_dir
3211    ac_install_sh="$ac_aux_dir/install.sh -c"
3212    break
3213  elif test -f "$ac_dir/shtool"; then
3214    ac_aux_dir=$ac_dir
3215    ac_install_sh="$ac_aux_dir/shtool install -c"
3216    break
3217  fi
3218done
3219if test -z "$ac_aux_dir"; then
3220  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3221fi
3222
3223# These three variables are undocumented and unsupported,
3224# and are intended to be withdrawn in a future Autoconf release.
3225# They can cause serious problems if a builder's source tree is in a directory
3226# whose full name contains unusual characters.
3227ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3228ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3229ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3230
3231
3232# Find a good install program.  We prefer a C program (faster),
3233# so one script is as good as another.  But avoid the broken or
3234# incompatible versions:
3235# SysV /etc/install, /usr/sbin/install
3236# SunOS /usr/etc/install
3237# IRIX /sbin/install
3238# AIX /bin/install
3239# AmigaOS /C/install, which installs bootblocks on floppy discs
3240# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3241# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3242# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3243# OS/2's system install, which has a completely different semantic
3244# ./install, which can be erroneously created by make from ./install.sh.
3245# Reject install programs that cannot install multiple files.
3246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3247$as_echo_n "checking for a BSD-compatible install... " >&6; }
3248if test -z "$INSTALL"; then
3249if ${ac_cv_path_install+:} false; then :
3250  $as_echo_n "(cached) " >&6
3251else
3252  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253for as_dir in $PATH
3254do
3255  IFS=$as_save_IFS
3256  test -z "$as_dir" && as_dir=.
3257    # Account for people who put trailing slashes in PATH elements.
3258case $as_dir/ in #((
3259  ./ | .// | /[cC]/* | \
3260  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3261  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3262  /usr/ucb/* ) ;;
3263  *)
3264    # OSF1 and SCO ODT 3.0 have their own names for install.
3265    # Don't use installbsd from OSF since it installs stuff as root
3266    # by default.
3267    for ac_prog in ginstall scoinst install; do
3268      for ac_exec_ext in '' $ac_executable_extensions; do
3269	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3270	  if test $ac_prog = install &&
3271	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3272	    # AIX install.  It has an incompatible calling convention.
3273	    :
3274	  elif test $ac_prog = install &&
3275	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3276	    # program-specific install script used by HP pwplus--don't use.
3277	    :
3278	  else
3279	    rm -rf conftest.one conftest.two conftest.dir
3280	    echo one > conftest.one
3281	    echo two > conftest.two
3282	    mkdir conftest.dir
3283	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3284	      test -s conftest.one && test -s conftest.two &&
3285	      test -s conftest.dir/conftest.one &&
3286	      test -s conftest.dir/conftest.two
3287	    then
3288	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3289	      break 3
3290	    fi
3291	  fi
3292	fi
3293      done
3294    done
3295    ;;
3296esac
3297
3298  done
3299IFS=$as_save_IFS
3300
3301rm -rf conftest.one conftest.two conftest.dir
3302
3303fi
3304  if test "${ac_cv_path_install+set}" = set; then
3305    INSTALL=$ac_cv_path_install
3306  else
3307    # As a last resort, use the slow shell script.  Don't cache a
3308    # value for INSTALL within a source directory, because that will
3309    # break other packages using the cache if that directory is
3310    # removed, or if the value is a relative name.
3311    INSTALL=$ac_install_sh
3312  fi
3313fi
3314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3315$as_echo "$INSTALL" >&6; }
3316
3317# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3318# It thinks the first close brace ends the variable substitution.
3319test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3320
3321test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3322
3323test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3324
3325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3326$as_echo_n "checking whether build environment is sane... " >&6; }
3327# Reject unsafe characters in $srcdir or the absolute working directory
3328# name.  Accept space and tab only in the latter.
3329am_lf='
3330'
3331case `pwd` in
3332  *[\\\"\#\$\&\'\`$am_lf]*)
3333    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3334esac
3335case $srcdir in
3336  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3337    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3338esac
3339
3340# Do 'set' in a subshell so we don't clobber the current shell's
3341# arguments.  Must try -L first in case configure is actually a
3342# symlink; some systems play weird games with the mod time of symlinks
3343# (eg FreeBSD returns the mod time of the symlink's containing
3344# directory).
3345if (
3346   am_has_slept=no
3347   for am_try in 1 2; do
3348     echo "timestamp, slept: $am_has_slept" > conftest.file
3349     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3350     if test "$*" = "X"; then
3351	# -L didn't work.
3352	set X `ls -t "$srcdir/configure" conftest.file`
3353     fi
3354     if test "$*" != "X $srcdir/configure conftest.file" \
3355	&& test "$*" != "X conftest.file $srcdir/configure"; then
3356
3357	# If neither matched, then we have a broken ls.  This can happen
3358	# if, for instance, CONFIG_SHELL is bash and it inherits a
3359	# broken ls alias from the environment.  This has actually
3360	# happened.  Such a system could not be considered "sane".
3361	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3362  alias in your environment" "$LINENO" 5
3363     fi
3364     if test "$2" = conftest.file || test $am_try -eq 2; then
3365       break
3366     fi
3367     # Just in case.
3368     sleep 1
3369     am_has_slept=yes
3370   done
3371   test "$2" = conftest.file
3372   )
3373then
3374   # Ok.
3375   :
3376else
3377   as_fn_error $? "newly created file is older than distributed files!
3378Check your system clock" "$LINENO" 5
3379fi
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3381$as_echo "yes" >&6; }
3382# If we didn't sleep, we still need to ensure time stamps of config.status and
3383# generated files are strictly newer.
3384am_sleep_pid=
3385if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3386  ( sleep 1 ) &
3387  am_sleep_pid=$!
3388fi
3389
3390rm -f conftest.file
3391
3392test "$program_prefix" != NONE &&
3393  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3394# Use a double $ so make ignores it.
3395test "$program_suffix" != NONE &&
3396  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3397# Double any \ or $.
3398# By default was `s,x,x', remove it if useless.
3399ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3400program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3401
3402# Expand $ac_aux_dir to an absolute path.
3403am_aux_dir=`cd "$ac_aux_dir" && pwd`
3404
3405if test x"${MISSING+set}" != xset; then
3406  case $am_aux_dir in
3407  *\ * | *\	*)
3408    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3409  *)
3410    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3411  esac
3412fi
3413# Use eval to expand $SHELL
3414if eval "$MISSING --is-lightweight"; then
3415  am_missing_run="$MISSING "
3416else
3417  am_missing_run=
3418  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3419$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3420fi
3421
3422if test x"${install_sh+set}" != xset; then
3423  case $am_aux_dir in
3424  *\ * | *\	*)
3425    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3426  *)
3427    install_sh="\${SHELL} $am_aux_dir/install-sh"
3428  esac
3429fi
3430
3431# Installed binaries are usually stripped using 'strip' when the user
3432# run "make install-strip".  However 'strip' might not be the right
3433# tool to use in cross-compilation environments, therefore Automake
3434# will honor the 'STRIP' environment variable to overrule this program.
3435if test "$cross_compiling" != no; then
3436  if test -n "$ac_tool_prefix"; then
3437  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3438set dummy ${ac_tool_prefix}strip; ac_word=$2
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440$as_echo_n "checking for $ac_word... " >&6; }
3441if ${ac_cv_prog_STRIP+:} false; then :
3442  $as_echo_n "(cached) " >&6
3443else
3444  if test -n "$STRIP"; then
3445  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3446else
3447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448for as_dir in $PATH
3449do
3450  IFS=$as_save_IFS
3451  test -z "$as_dir" && as_dir=.
3452    for ac_exec_ext in '' $ac_executable_extensions; do
3453  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456    break 2
3457  fi
3458done
3459  done
3460IFS=$as_save_IFS
3461
3462fi
3463fi
3464STRIP=$ac_cv_prog_STRIP
3465if test -n "$STRIP"; then
3466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3467$as_echo "$STRIP" >&6; }
3468else
3469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470$as_echo "no" >&6; }
3471fi
3472
3473
3474fi
3475if test -z "$ac_cv_prog_STRIP"; then
3476  ac_ct_STRIP=$STRIP
3477  # Extract the first word of "strip", so it can be a program name with args.
3478set dummy strip; ac_word=$2
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480$as_echo_n "checking for $ac_word... " >&6; }
3481if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3482  $as_echo_n "(cached) " >&6
3483else
3484  if test -n "$ac_ct_STRIP"; then
3485  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3486else
3487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488for as_dir in $PATH
3489do
3490  IFS=$as_save_IFS
3491  test -z "$as_dir" && as_dir=.
3492    for ac_exec_ext in '' $ac_executable_extensions; do
3493  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494    ac_cv_prog_ac_ct_STRIP="strip"
3495    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496    break 2
3497  fi
3498done
3499  done
3500IFS=$as_save_IFS
3501
3502fi
3503fi
3504ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3505if test -n "$ac_ct_STRIP"; then
3506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3507$as_echo "$ac_ct_STRIP" >&6; }
3508else
3509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510$as_echo "no" >&6; }
3511fi
3512
3513  if test "x$ac_ct_STRIP" = x; then
3514    STRIP=":"
3515  else
3516    case $cross_compiling:$ac_tool_warned in
3517yes:)
3518{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3519$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3520ac_tool_warned=yes ;;
3521esac
3522    STRIP=$ac_ct_STRIP
3523  fi
3524else
3525  STRIP="$ac_cv_prog_STRIP"
3526fi
3527
3528fi
3529INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3530
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3532$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3533if test -z "$MKDIR_P"; then
3534  if ${ac_cv_path_mkdir+:} false; then :
3535  $as_echo_n "(cached) " >&6
3536else
3537  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3539do
3540  IFS=$as_save_IFS
3541  test -z "$as_dir" && as_dir=.
3542    for ac_prog in mkdir gmkdir; do
3543	 for ac_exec_ext in '' $ac_executable_extensions; do
3544	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3545	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3546	     'mkdir (GNU coreutils) '* | \
3547	     'mkdir (coreutils) '* | \
3548	     'mkdir (fileutils) '4.1*)
3549	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3550	       break 3;;
3551	   esac
3552	 done
3553       done
3554  done
3555IFS=$as_save_IFS
3556
3557fi
3558
3559  test -d ./--version && rmdir ./--version
3560  if test "${ac_cv_path_mkdir+set}" = set; then
3561    MKDIR_P="$ac_cv_path_mkdir -p"
3562  else
3563    # As a last resort, use the slow shell script.  Don't cache a
3564    # value for MKDIR_P within a source directory, because that will
3565    # break other packages using the cache if that directory is
3566    # removed, or if the value is a relative name.
3567    MKDIR_P="$ac_install_sh -d"
3568  fi
3569fi
3570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3571$as_echo "$MKDIR_P" >&6; }
3572
3573for ac_prog in gawk mawk nawk awk
3574do
3575  # Extract the first word of "$ac_prog", so it can be a program name with args.
3576set dummy $ac_prog; ac_word=$2
3577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578$as_echo_n "checking for $ac_word... " >&6; }
3579if ${ac_cv_prog_AWK+:} false; then :
3580  $as_echo_n "(cached) " >&6
3581else
3582  if test -n "$AWK"; then
3583  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3584else
3585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586for as_dir in $PATH
3587do
3588  IFS=$as_save_IFS
3589  test -z "$as_dir" && as_dir=.
3590    for ac_exec_ext in '' $ac_executable_extensions; do
3591  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592    ac_cv_prog_AWK="$ac_prog"
3593    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594    break 2
3595  fi
3596done
3597  done
3598IFS=$as_save_IFS
3599
3600fi
3601fi
3602AWK=$ac_cv_prog_AWK
3603if test -n "$AWK"; then
3604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3605$as_echo "$AWK" >&6; }
3606else
3607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608$as_echo "no" >&6; }
3609fi
3610
3611
3612  test -n "$AWK" && break
3613done
3614
3615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3616$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3617set x ${MAKE-make}
3618ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3619if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3620  $as_echo_n "(cached) " >&6
3621else
3622  cat >conftest.make <<\_ACEOF
3623SHELL = /bin/sh
3624all:
3625	@echo '@@@%%%=$(MAKE)=@@@%%%'
3626_ACEOF
3627# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3628case `${MAKE-make} -f conftest.make 2>/dev/null` in
3629  *@@@%%%=?*=@@@%%%*)
3630    eval ac_cv_prog_make_${ac_make}_set=yes;;
3631  *)
3632    eval ac_cv_prog_make_${ac_make}_set=no;;
3633esac
3634rm -f conftest.make
3635fi
3636if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3638$as_echo "yes" >&6; }
3639  SET_MAKE=
3640else
3641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642$as_echo "no" >&6; }
3643  SET_MAKE="MAKE=${MAKE-make}"
3644fi
3645
3646rm -rf .tst 2>/dev/null
3647mkdir .tst 2>/dev/null
3648if test -d .tst; then
3649  am__leading_dot=.
3650else
3651  am__leading_dot=_
3652fi
3653rmdir .tst 2>/dev/null
3654
3655# Check whether --enable-silent-rules was given.
3656if test "${enable_silent_rules+set}" = set; then :
3657  enableval=$enable_silent_rules;
3658fi
3659
3660case $enable_silent_rules in # (((
3661  yes) AM_DEFAULT_VERBOSITY=0;;
3662   no) AM_DEFAULT_VERBOSITY=1;;
3663    *) AM_DEFAULT_VERBOSITY=1;;
3664esac
3665am_make=${MAKE-make}
3666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3667$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3668if ${am_cv_make_support_nested_variables+:} false; then :
3669  $as_echo_n "(cached) " >&6
3670else
3671  if $as_echo 'TRUE=$(BAR$(V))
3672BAR0=false
3673BAR1=true
3674V=1
3675am__doit:
3676	@$(TRUE)
3677.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3678  am_cv_make_support_nested_variables=yes
3679else
3680  am_cv_make_support_nested_variables=no
3681fi
3682fi
3683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3684$as_echo "$am_cv_make_support_nested_variables" >&6; }
3685if test $am_cv_make_support_nested_variables = yes; then
3686    AM_V='$(V)'
3687  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3688else
3689  AM_V=$AM_DEFAULT_VERBOSITY
3690  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3691fi
3692AM_BACKSLASH='\'
3693
3694if test "`cd $srcdir && pwd`" != "`pwd`"; then
3695  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3696  # is not polluted with repeated "-I."
3697  am__isrc=' -I$(srcdir)'
3698  # test to see if srcdir already configured
3699  if test -f $srcdir/config.status; then
3700    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3701  fi
3702fi
3703
3704# test whether we have cygpath
3705if test -z "$CYGPATH_W"; then
3706  if (cygpath --version) >/dev/null 2>/dev/null; then
3707    CYGPATH_W='cygpath -w'
3708  else
3709    CYGPATH_W=echo
3710  fi
3711fi
3712
3713
3714# Define the identity of the package.
3715 PACKAGE='libbde'
3716 VERSION='20210605'
3717
3718
3719cat >>confdefs.h <<_ACEOF
3720#define PACKAGE "$PACKAGE"
3721_ACEOF
3722
3723
3724cat >>confdefs.h <<_ACEOF
3725#define VERSION "$VERSION"
3726_ACEOF
3727
3728# Some tools Automake needs.
3729
3730ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3731
3732
3733AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3734
3735
3736AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3737
3738
3739AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3740
3741
3742MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3743
3744# For better backward compatibility.  To be removed once Automake 1.9.x
3745# dies out for good.  For more background, see:
3746# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3747# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3748mkdir_p='$(MKDIR_P)'
3749
3750# We need awk for the "check" target (and possibly the TAP driver).  The
3751# system "awk" is bad on some platforms.
3752# Always define AMTAR for backward compatibility.  Yes, it's still used
3753# in the wild :-(  We should find a proper way to deprecate it ...
3754AMTAR='$${TAR-tar}'
3755
3756
3757# We'll loop over all known methods to create a tar archive until one works.
3758_am_tools='gnutar plaintar pax cpio none'
3759
3760# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3761      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3762      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3763      # and bug#13588).
3764      am_max_uid=2097151 # 2^21 - 1
3765      am_max_gid=$am_max_uid
3766      # The $UID and $GID variables are not portable, so we need to resort
3767      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3768      # below are definitely unexpected, so allow the users to see them
3769      # (that is, avoid stderr redirection).
3770      am_uid=`id -u || echo unknown`
3771      am_gid=`id -g || echo unknown`
3772      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3773$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3774      if test $am_uid -le $am_max_uid; then
3775         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3776$as_echo "yes" >&6; }
3777      else
3778         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779$as_echo "no" >&6; }
3780         _am_tools=none
3781      fi
3782      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3783$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3784      if test $am_gid -le $am_max_gid; then
3785         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3786$as_echo "yes" >&6; }
3787      else
3788        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789$as_echo "no" >&6; }
3790        _am_tools=none
3791      fi
3792
3793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3794$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3795
3796  # Go ahead even if we have the value already cached.  We do so because we
3797  # need to set the values for the 'am__tar' and 'am__untar' variables.
3798  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3799
3800  for _am_tool in $_am_tools; do
3801    case $_am_tool in
3802    gnutar)
3803      for _am_tar in tar gnutar gtar; do
3804        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3805   ($_am_tar --version) >&5 2>&5
3806   ac_status=$?
3807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808   (exit $ac_status); } && break
3809      done
3810      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3811      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3812      am__untar="$_am_tar -xf -"
3813      ;;
3814    plaintar)
3815      # Must skip GNU tar: if it does not support --format= it doesn't create
3816      # ustar tarball either.
3817      (tar --version) >/dev/null 2>&1 && continue
3818      am__tar='tar chf - "$$tardir"'
3819      am__tar_='tar chf - "$tardir"'
3820      am__untar='tar xf -'
3821      ;;
3822    pax)
3823      am__tar='pax -L -x ustar -w "$$tardir"'
3824      am__tar_='pax -L -x ustar -w "$tardir"'
3825      am__untar='pax -r'
3826      ;;
3827    cpio)
3828      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3829      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3830      am__untar='cpio -i -H ustar -d'
3831      ;;
3832    none)
3833      am__tar=false
3834      am__tar_=false
3835      am__untar=false
3836      ;;
3837    esac
3838
3839    # If the value was cached, stop now.  We just wanted to have am__tar
3840    # and am__untar set.
3841    test -n "${am_cv_prog_tar_ustar}" && break
3842
3843    # tar/untar a dummy directory, and stop if the command works.
3844    rm -rf conftest.dir
3845    mkdir conftest.dir
3846    echo GrepMe > conftest.dir/file
3847    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3848   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3849   ac_status=$?
3850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851   (exit $ac_status); }
3852    rm -rf conftest.dir
3853    if test -s conftest.tar; then
3854      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3855   ($am__untar <conftest.tar) >&5 2>&5
3856   ac_status=$?
3857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858   (exit $ac_status); }
3859      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3860   (cat conftest.dir/file) >&5 2>&5
3861   ac_status=$?
3862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863   (exit $ac_status); }
3864      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3865    fi
3866  done
3867  rm -rf conftest.dir
3868
3869  if ${am_cv_prog_tar_ustar+:} false; then :
3870  $as_echo_n "(cached) " >&6
3871else
3872  am_cv_prog_tar_ustar=$_am_tool
3873fi
3874
3875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3876$as_echo "$am_cv_prog_tar_ustar" >&6; }
3877
3878
3879
3880
3881
3882
3883# POSIX will say in a future version that running "rm -f" with no argument
3884# is OK; and we want to be able to make that assumption in our Makefile
3885# recipes.  So use an aggressive probe to check that the usage we want is
3886# actually supported "in the wild" to an acceptable degree.
3887# See automake bug#10828.
3888# To make any issue more visible, cause the running configure to be aborted
3889# by default if the 'rm' program in use doesn't match our expectations; the
3890# user can still override this though.
3891if rm -f && rm -fr && rm -rf; then : OK; else
3892  cat >&2 <<'END'
3893Oops!
3894
3895Your 'rm' program seems unable to run without file operands specified
3896on the command line, even when the '-f' option is present.  This is contrary
3897to the behaviour of most rm programs out there, and not conforming with
3898the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3899
3900Please tell bug-automake@gnu.org about your system, including the value
3901of your $PATH and any error possibly output before this message.  This
3902can help us improve future automake versions.
3903
3904END
3905  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3906    echo 'Configuration will proceed anyway, since you have set the' >&2
3907    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3908    echo >&2
3909  else
3910    cat >&2 <<'END'
3911Aborting the configuration process, to ensure you take notice of the issue.
3912
3913You can download and install GNU coreutils to get an 'rm' implementation
3914that behaves properly: <https://www.gnu.org/software/coreutils/>.
3915
3916If you want to complete the configuration process using your problematic
3917'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3918to "yes", and re-run configure.
3919
3920END
3921    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3922  fi
3923fi
3924
3925
3926
3927
3928# Make sure we can run config.sub.
3929$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3930  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3931
3932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3933$as_echo_n "checking build system type... " >&6; }
3934if ${ac_cv_build+:} false; then :
3935  $as_echo_n "(cached) " >&6
3936else
3937  ac_build_alias=$build_alias
3938test "x$ac_build_alias" = x &&
3939  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3940test "x$ac_build_alias" = x &&
3941  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3942ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3943  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3944
3945fi
3946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3947$as_echo "$ac_cv_build" >&6; }
3948case $ac_cv_build in
3949*-*-*) ;;
3950*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3951esac
3952build=$ac_cv_build
3953ac_save_IFS=$IFS; IFS='-'
3954set x $ac_cv_build
3955shift
3956build_cpu=$1
3957build_vendor=$2
3958shift; shift
3959# Remember, the first character of IFS is used to create $*,
3960# except with old shells:
3961build_os=$*
3962IFS=$ac_save_IFS
3963case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3964
3965
3966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3967$as_echo_n "checking host system type... " >&6; }
3968if ${ac_cv_host+:} false; then :
3969  $as_echo_n "(cached) " >&6
3970else
3971  if test "x$host_alias" = x; then
3972  ac_cv_host=$ac_cv_build
3973else
3974  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3975    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3976fi
3977
3978fi
3979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3980$as_echo "$ac_cv_host" >&6; }
3981case $ac_cv_host in
3982*-*-*) ;;
3983*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3984esac
3985host=$ac_cv_host
3986ac_save_IFS=$IFS; IFS='-'
3987set x $ac_cv_host
3988shift
3989host_cpu=$1
3990host_vendor=$2
3991shift; shift
3992# Remember, the first character of IFS is used to create $*,
3993# except with old shells:
3994host_os=$*
3995IFS=$ac_save_IFS
3996case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3997
3998
3999
4000enable_win32_dll=yes
4001
4002case $host in
4003*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4004  if test -n "$ac_tool_prefix"; then
4005  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4006set dummy ${ac_tool_prefix}as; ac_word=$2
4007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008$as_echo_n "checking for $ac_word... " >&6; }
4009if ${ac_cv_prog_AS+:} false; then :
4010  $as_echo_n "(cached) " >&6
4011else
4012  if test -n "$AS"; then
4013  ac_cv_prog_AS="$AS" # Let the user override the test.
4014else
4015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016for as_dir in $PATH
4017do
4018  IFS=$as_save_IFS
4019  test -z "$as_dir" && as_dir=.
4020    for ac_exec_ext in '' $ac_executable_extensions; do
4021  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4022    ac_cv_prog_AS="${ac_tool_prefix}as"
4023    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024    break 2
4025  fi
4026done
4027  done
4028IFS=$as_save_IFS
4029
4030fi
4031fi
4032AS=$ac_cv_prog_AS
4033if test -n "$AS"; then
4034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4035$as_echo "$AS" >&6; }
4036else
4037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038$as_echo "no" >&6; }
4039fi
4040
4041
4042fi
4043if test -z "$ac_cv_prog_AS"; then
4044  ac_ct_AS=$AS
4045  # Extract the first word of "as", so it can be a program name with args.
4046set dummy as; ac_word=$2
4047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048$as_echo_n "checking for $ac_word... " >&6; }
4049if ${ac_cv_prog_ac_ct_AS+:} false; then :
4050  $as_echo_n "(cached) " >&6
4051else
4052  if test -n "$ac_ct_AS"; then
4053  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4054else
4055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056for as_dir in $PATH
4057do
4058  IFS=$as_save_IFS
4059  test -z "$as_dir" && as_dir=.
4060    for ac_exec_ext in '' $ac_executable_extensions; do
4061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4062    ac_cv_prog_ac_ct_AS="as"
4063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064    break 2
4065  fi
4066done
4067  done
4068IFS=$as_save_IFS
4069
4070fi
4071fi
4072ac_ct_AS=$ac_cv_prog_ac_ct_AS
4073if test -n "$ac_ct_AS"; then
4074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4075$as_echo "$ac_ct_AS" >&6; }
4076else
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078$as_echo "no" >&6; }
4079fi
4080
4081  if test "x$ac_ct_AS" = x; then
4082    AS="false"
4083  else
4084    case $cross_compiling:$ac_tool_warned in
4085yes:)
4086{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4087$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4088ac_tool_warned=yes ;;
4089esac
4090    AS=$ac_ct_AS
4091  fi
4092else
4093  AS="$ac_cv_prog_AS"
4094fi
4095
4096  if test -n "$ac_tool_prefix"; then
4097  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4098set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100$as_echo_n "checking for $ac_word... " >&6; }
4101if ${ac_cv_prog_DLLTOOL+:} false; then :
4102  $as_echo_n "(cached) " >&6
4103else
4104  if test -n "$DLLTOOL"; then
4105  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4106else
4107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108for as_dir in $PATH
4109do
4110  IFS=$as_save_IFS
4111  test -z "$as_dir" && as_dir=.
4112    for ac_exec_ext in '' $ac_executable_extensions; do
4113  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4114    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4115    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116    break 2
4117  fi
4118done
4119  done
4120IFS=$as_save_IFS
4121
4122fi
4123fi
4124DLLTOOL=$ac_cv_prog_DLLTOOL
4125if test -n "$DLLTOOL"; then
4126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4127$as_echo "$DLLTOOL" >&6; }
4128else
4129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130$as_echo "no" >&6; }
4131fi
4132
4133
4134fi
4135if test -z "$ac_cv_prog_DLLTOOL"; then
4136  ac_ct_DLLTOOL=$DLLTOOL
4137  # Extract the first word of "dlltool", so it can be a program name with args.
4138set dummy dlltool; ac_word=$2
4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140$as_echo_n "checking for $ac_word... " >&6; }
4141if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4142  $as_echo_n "(cached) " >&6
4143else
4144  if test -n "$ac_ct_DLLTOOL"; then
4145  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4146else
4147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148for as_dir in $PATH
4149do
4150  IFS=$as_save_IFS
4151  test -z "$as_dir" && as_dir=.
4152    for ac_exec_ext in '' $ac_executable_extensions; do
4153  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156    break 2
4157  fi
4158done
4159  done
4160IFS=$as_save_IFS
4161
4162fi
4163fi
4164ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4165if test -n "$ac_ct_DLLTOOL"; then
4166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4167$as_echo "$ac_ct_DLLTOOL" >&6; }
4168else
4169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170$as_echo "no" >&6; }
4171fi
4172
4173  if test "x$ac_ct_DLLTOOL" = x; then
4174    DLLTOOL="false"
4175  else
4176    case $cross_compiling:$ac_tool_warned in
4177yes:)
4178{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4179$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4180ac_tool_warned=yes ;;
4181esac
4182    DLLTOOL=$ac_ct_DLLTOOL
4183  fi
4184else
4185  DLLTOOL="$ac_cv_prog_DLLTOOL"
4186fi
4187
4188  if test -n "$ac_tool_prefix"; then
4189  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4190set dummy ${ac_tool_prefix}objdump; ac_word=$2
4191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192$as_echo_n "checking for $ac_word... " >&6; }
4193if ${ac_cv_prog_OBJDUMP+:} false; then :
4194  $as_echo_n "(cached) " >&6
4195else
4196  if test -n "$OBJDUMP"; then
4197  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4198else
4199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200for as_dir in $PATH
4201do
4202  IFS=$as_save_IFS
4203  test -z "$as_dir" && as_dir=.
4204    for ac_exec_ext in '' $ac_executable_extensions; do
4205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4206    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208    break 2
4209  fi
4210done
4211  done
4212IFS=$as_save_IFS
4213
4214fi
4215fi
4216OBJDUMP=$ac_cv_prog_OBJDUMP
4217if test -n "$OBJDUMP"; then
4218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4219$as_echo "$OBJDUMP" >&6; }
4220else
4221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222$as_echo "no" >&6; }
4223fi
4224
4225
4226fi
4227if test -z "$ac_cv_prog_OBJDUMP"; then
4228  ac_ct_OBJDUMP=$OBJDUMP
4229  # Extract the first word of "objdump", so it can be a program name with args.
4230set dummy objdump; ac_word=$2
4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232$as_echo_n "checking for $ac_word... " >&6; }
4233if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4234  $as_echo_n "(cached) " >&6
4235else
4236  if test -n "$ac_ct_OBJDUMP"; then
4237  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4238else
4239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240for as_dir in $PATH
4241do
4242  IFS=$as_save_IFS
4243  test -z "$as_dir" && as_dir=.
4244    for ac_exec_ext in '' $ac_executable_extensions; do
4245  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4246    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248    break 2
4249  fi
4250done
4251  done
4252IFS=$as_save_IFS
4253
4254fi
4255fi
4256ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4257if test -n "$ac_ct_OBJDUMP"; then
4258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4259$as_echo "$ac_ct_OBJDUMP" >&6; }
4260else
4261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262$as_echo "no" >&6; }
4263fi
4264
4265  if test "x$ac_ct_OBJDUMP" = x; then
4266    OBJDUMP="false"
4267  else
4268    case $cross_compiling:$ac_tool_warned in
4269yes:)
4270{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4271$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4272ac_tool_warned=yes ;;
4273esac
4274    OBJDUMP=$ac_ct_OBJDUMP
4275  fi
4276else
4277  OBJDUMP="$ac_cv_prog_OBJDUMP"
4278fi
4279
4280  ;;
4281esac
4282
4283test -z "$AS" && AS=as
4284
4285
4286
4287
4288
4289test -z "$DLLTOOL" && DLLTOOL=dlltool
4290
4291
4292
4293
4294
4295test -z "$OBJDUMP" && OBJDUMP=objdump
4296
4297
4298
4299
4300
4301
4302
4303
4304ac_ext=c
4305ac_cpp='$CPP $CPPFLAGS'
4306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308ac_compiler_gnu=$ac_cv_c_compiler_gnu
4309if test -n "$ac_tool_prefix"; then
4310  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4311set dummy ${ac_tool_prefix}gcc; ac_word=$2
4312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313$as_echo_n "checking for $ac_word... " >&6; }
4314if ${ac_cv_prog_CC+:} false; then :
4315  $as_echo_n "(cached) " >&6
4316else
4317  if test -n "$CC"; then
4318  ac_cv_prog_CC="$CC" # Let the user override the test.
4319else
4320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321for as_dir in $PATH
4322do
4323  IFS=$as_save_IFS
4324  test -z "$as_dir" && as_dir=.
4325    for ac_exec_ext in '' $ac_executable_extensions; do
4326  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329    break 2
4330  fi
4331done
4332  done
4333IFS=$as_save_IFS
4334
4335fi
4336fi
4337CC=$ac_cv_prog_CC
4338if test -n "$CC"; then
4339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4340$as_echo "$CC" >&6; }
4341else
4342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343$as_echo "no" >&6; }
4344fi
4345
4346
4347fi
4348if test -z "$ac_cv_prog_CC"; then
4349  ac_ct_CC=$CC
4350  # Extract the first word of "gcc", so it can be a program name with args.
4351set dummy gcc; ac_word=$2
4352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353$as_echo_n "checking for $ac_word... " >&6; }
4354if ${ac_cv_prog_ac_ct_CC+:} false; then :
4355  $as_echo_n "(cached) " >&6
4356else
4357  if test -n "$ac_ct_CC"; then
4358  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4359else
4360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361for as_dir in $PATH
4362do
4363  IFS=$as_save_IFS
4364  test -z "$as_dir" && as_dir=.
4365    for ac_exec_ext in '' $ac_executable_extensions; do
4366  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367    ac_cv_prog_ac_ct_CC="gcc"
4368    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369    break 2
4370  fi
4371done
4372  done
4373IFS=$as_save_IFS
4374
4375fi
4376fi
4377ac_ct_CC=$ac_cv_prog_ac_ct_CC
4378if test -n "$ac_ct_CC"; then
4379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4380$as_echo "$ac_ct_CC" >&6; }
4381else
4382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383$as_echo "no" >&6; }
4384fi
4385
4386  if test "x$ac_ct_CC" = x; then
4387    CC=""
4388  else
4389    case $cross_compiling:$ac_tool_warned in
4390yes:)
4391{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4392$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4393ac_tool_warned=yes ;;
4394esac
4395    CC=$ac_ct_CC
4396  fi
4397else
4398  CC="$ac_cv_prog_CC"
4399fi
4400
4401if test -z "$CC"; then
4402          if test -n "$ac_tool_prefix"; then
4403    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4404set dummy ${ac_tool_prefix}cc; 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_CC+:} false; then :
4408  $as_echo_n "(cached) " >&6
4409else
4410  if test -n "$CC"; then
4411  ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc"
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
4430CC=$ac_cv_prog_CC
4431if test -n "$CC"; then
4432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4433$as_echo "$CC" >&6; }
4434else
4435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436$as_echo "no" >&6; }
4437fi
4438
4439
4440  fi
4441fi
4442if test -z "$CC"; then
4443  # Extract the first word of "cc", so it can be a program name with args.
4444set dummy cc; ac_word=$2
4445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446$as_echo_n "checking for $ac_word... " >&6; }
4447if ${ac_cv_prog_CC+:} false; then :
4448  $as_echo_n "(cached) " >&6
4449else
4450  if test -n "$CC"; then
4451  ac_cv_prog_CC="$CC" # Let the user override the test.
4452else
4453  ac_prog_rejected=no
4454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455for as_dir in $PATH
4456do
4457  IFS=$as_save_IFS
4458  test -z "$as_dir" && as_dir=.
4459    for ac_exec_ext in '' $ac_executable_extensions; do
4460  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4461    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4462       ac_prog_rejected=yes
4463       continue
4464     fi
4465    ac_cv_prog_CC="cc"
4466    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467    break 2
4468  fi
4469done
4470  done
4471IFS=$as_save_IFS
4472
4473if test $ac_prog_rejected = yes; then
4474  # We found a bogon in the path, so make sure we never use it.
4475  set dummy $ac_cv_prog_CC
4476  shift
4477  if test $# != 0; then
4478    # We chose a different compiler from the bogus one.
4479    # However, it has the same basename, so the bogon will be chosen
4480    # first if we set CC to just the basename; use the full file name.
4481    shift
4482    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4483  fi
4484fi
4485fi
4486fi
4487CC=$ac_cv_prog_CC
4488if test -n "$CC"; then
4489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4490$as_echo "$CC" >&6; }
4491else
4492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493$as_echo "no" >&6; }
4494fi
4495
4496
4497fi
4498if test -z "$CC"; then
4499  if test -n "$ac_tool_prefix"; then
4500  for ac_prog in cl.exe
4501  do
4502    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4503set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505$as_echo_n "checking for $ac_word... " >&6; }
4506if ${ac_cv_prog_CC+:} false; then :
4507  $as_echo_n "(cached) " >&6
4508else
4509  if test -n "$CC"; then
4510  ac_cv_prog_CC="$CC" # Let the user override the test.
4511else
4512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513for as_dir in $PATH
4514do
4515  IFS=$as_save_IFS
4516  test -z "$as_dir" && as_dir=.
4517    for ac_exec_ext in '' $ac_executable_extensions; do
4518  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521    break 2
4522  fi
4523done
4524  done
4525IFS=$as_save_IFS
4526
4527fi
4528fi
4529CC=$ac_cv_prog_CC
4530if test -n "$CC"; then
4531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4532$as_echo "$CC" >&6; }
4533else
4534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535$as_echo "no" >&6; }
4536fi
4537
4538
4539    test -n "$CC" && break
4540  done
4541fi
4542if test -z "$CC"; then
4543  ac_ct_CC=$CC
4544  for ac_prog in cl.exe
4545do
4546  # Extract the first word of "$ac_prog", so it can be a program name with args.
4547set dummy $ac_prog; ac_word=$2
4548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549$as_echo_n "checking for $ac_word... " >&6; }
4550if ${ac_cv_prog_ac_ct_CC+:} false; then :
4551  $as_echo_n "(cached) " >&6
4552else
4553  if test -n "$ac_ct_CC"; then
4554  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4555else
4556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557for as_dir in $PATH
4558do
4559  IFS=$as_save_IFS
4560  test -z "$as_dir" && as_dir=.
4561    for ac_exec_ext in '' $ac_executable_extensions; do
4562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563    ac_cv_prog_ac_ct_CC="$ac_prog"
4564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565    break 2
4566  fi
4567done
4568  done
4569IFS=$as_save_IFS
4570
4571fi
4572fi
4573ac_ct_CC=$ac_cv_prog_ac_ct_CC
4574if test -n "$ac_ct_CC"; then
4575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4576$as_echo "$ac_ct_CC" >&6; }
4577else
4578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579$as_echo "no" >&6; }
4580fi
4581
4582
4583  test -n "$ac_ct_CC" && break
4584done
4585
4586  if test "x$ac_ct_CC" = x; then
4587    CC=""
4588  else
4589    case $cross_compiling:$ac_tool_warned in
4590yes:)
4591{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4592$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4593ac_tool_warned=yes ;;
4594esac
4595    CC=$ac_ct_CC
4596  fi
4597fi
4598
4599fi
4600
4601
4602test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4603$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4604as_fn_error $? "no acceptable C compiler found in \$PATH
4605See \`config.log' for more details" "$LINENO" 5; }
4606
4607# Provide some information about the compiler.
4608$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4609set X $ac_compile
4610ac_compiler=$2
4611for ac_option in --version -v -V -qversion; do
4612  { { ac_try="$ac_compiler $ac_option >&5"
4613case "(($ac_try" in
4614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4615  *) ac_try_echo=$ac_try;;
4616esac
4617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4618$as_echo "$ac_try_echo"; } >&5
4619  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4620  ac_status=$?
4621  if test -s conftest.err; then
4622    sed '10a\
4623... rest of stderr output deleted ...
4624         10q' conftest.err >conftest.er1
4625    cat conftest.er1 >&5
4626  fi
4627  rm -f conftest.er1 conftest.err
4628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629  test $ac_status = 0; }
4630done
4631
4632cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633/* end confdefs.h.  */
4634
4635int
4636main ()
4637{
4638
4639  ;
4640  return 0;
4641}
4642_ACEOF
4643ac_clean_files_save=$ac_clean_files
4644ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4645# Try to create an executable without -o first, disregard a.out.
4646# It will help us diagnose broken compilers, and finding out an intuition
4647# of exeext.
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4649$as_echo_n "checking whether the C compiler works... " >&6; }
4650ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4651
4652# The possible output files:
4653ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4654
4655ac_rmfiles=
4656for ac_file in $ac_files
4657do
4658  case $ac_file in
4659    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4660    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4661  esac
4662done
4663rm -f $ac_rmfiles
4664
4665if { { ac_try="$ac_link_default"
4666case "(($ac_try" in
4667  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668  *) ac_try_echo=$ac_try;;
4669esac
4670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4671$as_echo "$ac_try_echo"; } >&5
4672  (eval "$ac_link_default") 2>&5
4673  ac_status=$?
4674  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4675  test $ac_status = 0; }; then :
4676  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4677# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4678# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4679# so that the user can short-circuit this test for compilers unknown to
4680# Autoconf.
4681for ac_file in $ac_files ''
4682do
4683  test -f "$ac_file" || continue
4684  case $ac_file in
4685    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4686	;;
4687    [ab].out )
4688	# We found the default executable, but exeext='' is most
4689	# certainly right.
4690	break;;
4691    *.* )
4692	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4693	then :; else
4694	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4695	fi
4696	# We set ac_cv_exeext here because the later test for it is not
4697	# safe: cross compilers may not add the suffix if given an `-o'
4698	# argument, so we may need to know it at that point already.
4699	# Even if this section looks crufty: it has the advantage of
4700	# actually working.
4701	break;;
4702    * )
4703	break;;
4704  esac
4705done
4706test "$ac_cv_exeext" = no && ac_cv_exeext=
4707
4708else
4709  ac_file=''
4710fi
4711if test -z "$ac_file"; then :
4712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713$as_echo "no" >&6; }
4714$as_echo "$as_me: failed program was:" >&5
4715sed 's/^/| /' conftest.$ac_ext >&5
4716
4717{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4719as_fn_error 77 "C compiler cannot create executables
4720See \`config.log' for more details" "$LINENO" 5; }
4721else
4722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4723$as_echo "yes" >&6; }
4724fi
4725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4726$as_echo_n "checking for C compiler default output file name... " >&6; }
4727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4728$as_echo "$ac_file" >&6; }
4729ac_exeext=$ac_cv_exeext
4730
4731rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4732ac_clean_files=$ac_clean_files_save
4733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4734$as_echo_n "checking for suffix of executables... " >&6; }
4735if { { ac_try="$ac_link"
4736case "(($ac_try" in
4737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4738  *) ac_try_echo=$ac_try;;
4739esac
4740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4741$as_echo "$ac_try_echo"; } >&5
4742  (eval "$ac_link") 2>&5
4743  ac_status=$?
4744  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4745  test $ac_status = 0; }; then :
4746  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4747# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4748# work properly (i.e., refer to `conftest.exe'), while it won't with
4749# `rm'.
4750for ac_file in conftest.exe conftest conftest.*; do
4751  test -f "$ac_file" || continue
4752  case $ac_file in
4753    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4754    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4755	  break;;
4756    * ) break;;
4757  esac
4758done
4759else
4760  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4762as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4763See \`config.log' for more details" "$LINENO" 5; }
4764fi
4765rm -f conftest conftest$ac_cv_exeext
4766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4767$as_echo "$ac_cv_exeext" >&6; }
4768
4769rm -f conftest.$ac_ext
4770EXEEXT=$ac_cv_exeext
4771ac_exeext=$EXEEXT
4772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773/* end confdefs.h.  */
4774#include <stdio.h>
4775int
4776main ()
4777{
4778FILE *f = fopen ("conftest.out", "w");
4779 return ferror (f) || fclose (f) != 0;
4780
4781  ;
4782  return 0;
4783}
4784_ACEOF
4785ac_clean_files="$ac_clean_files conftest.out"
4786# Check that the compiler produces executables we can run.  If not, either
4787# the compiler is broken, or we cross compile.
4788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4789$as_echo_n "checking whether we are cross compiling... " >&6; }
4790if test "$cross_compiling" != yes; then
4791  { { ac_try="$ac_link"
4792case "(($ac_try" in
4793  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794  *) ac_try_echo=$ac_try;;
4795esac
4796eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4797$as_echo "$ac_try_echo"; } >&5
4798  (eval "$ac_link") 2>&5
4799  ac_status=$?
4800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4801  test $ac_status = 0; }
4802  if { ac_try='./conftest$ac_cv_exeext'
4803  { { case "(($ac_try" in
4804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805  *) ac_try_echo=$ac_try;;
4806esac
4807eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4808$as_echo "$ac_try_echo"; } >&5
4809  (eval "$ac_try") 2>&5
4810  ac_status=$?
4811  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4812  test $ac_status = 0; }; }; then
4813    cross_compiling=no
4814  else
4815    if test "$cross_compiling" = maybe; then
4816	cross_compiling=yes
4817    else
4818	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4820as_fn_error $? "cannot run C compiled programs.
4821If you meant to cross compile, use \`--host'.
4822See \`config.log' for more details" "$LINENO" 5; }
4823    fi
4824  fi
4825fi
4826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4827$as_echo "$cross_compiling" >&6; }
4828
4829rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4830ac_clean_files=$ac_clean_files_save
4831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4832$as_echo_n "checking for suffix of object files... " >&6; }
4833if ${ac_cv_objext+:} false; then :
4834  $as_echo_n "(cached) " >&6
4835else
4836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837/* end confdefs.h.  */
4838
4839int
4840main ()
4841{
4842
4843  ;
4844  return 0;
4845}
4846_ACEOF
4847rm -f conftest.o conftest.obj
4848if { { ac_try="$ac_compile"
4849case "(($ac_try" in
4850  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851  *) ac_try_echo=$ac_try;;
4852esac
4853eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4854$as_echo "$ac_try_echo"; } >&5
4855  (eval "$ac_compile") 2>&5
4856  ac_status=$?
4857  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4858  test $ac_status = 0; }; then :
4859  for ac_file in conftest.o conftest.obj conftest.*; do
4860  test -f "$ac_file" || continue;
4861  case $ac_file in
4862    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4863    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4864       break;;
4865  esac
4866done
4867else
4868  $as_echo "$as_me: failed program was:" >&5
4869sed 's/^/| /' conftest.$ac_ext >&5
4870
4871{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4872$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4873as_fn_error $? "cannot compute suffix of object files: cannot compile
4874See \`config.log' for more details" "$LINENO" 5; }
4875fi
4876rm -f conftest.$ac_cv_objext conftest.$ac_ext
4877fi
4878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4879$as_echo "$ac_cv_objext" >&6; }
4880OBJEXT=$ac_cv_objext
4881ac_objext=$OBJEXT
4882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4883$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4884if ${ac_cv_c_compiler_gnu+:} false; then :
4885  $as_echo_n "(cached) " >&6
4886else
4887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888/* end confdefs.h.  */
4889
4890int
4891main ()
4892{
4893#ifndef __GNUC__
4894       choke me
4895#endif
4896
4897  ;
4898  return 0;
4899}
4900_ACEOF
4901if ac_fn_c_try_compile "$LINENO"; then :
4902  ac_compiler_gnu=yes
4903else
4904  ac_compiler_gnu=no
4905fi
4906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907ac_cv_c_compiler_gnu=$ac_compiler_gnu
4908
4909fi
4910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4911$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4912if test $ac_compiler_gnu = yes; then
4913  GCC=yes
4914else
4915  GCC=
4916fi
4917ac_test_CFLAGS=${CFLAGS+set}
4918ac_save_CFLAGS=$CFLAGS
4919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4920$as_echo_n "checking whether $CC accepts -g... " >&6; }
4921if ${ac_cv_prog_cc_g+:} false; then :
4922  $as_echo_n "(cached) " >&6
4923else
4924  ac_save_c_werror_flag=$ac_c_werror_flag
4925   ac_c_werror_flag=yes
4926   ac_cv_prog_cc_g=no
4927   CFLAGS="-g"
4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929/* end confdefs.h.  */
4930
4931int
4932main ()
4933{
4934
4935  ;
4936  return 0;
4937}
4938_ACEOF
4939if ac_fn_c_try_compile "$LINENO"; then :
4940  ac_cv_prog_cc_g=yes
4941else
4942  CFLAGS=""
4943      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4944/* end confdefs.h.  */
4945
4946int
4947main ()
4948{
4949
4950  ;
4951  return 0;
4952}
4953_ACEOF
4954if ac_fn_c_try_compile "$LINENO"; then :
4955
4956else
4957  ac_c_werror_flag=$ac_save_c_werror_flag
4958	 CFLAGS="-g"
4959	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960/* end confdefs.h.  */
4961
4962int
4963main ()
4964{
4965
4966  ;
4967  return 0;
4968}
4969_ACEOF
4970if ac_fn_c_try_compile "$LINENO"; then :
4971  ac_cv_prog_cc_g=yes
4972fi
4973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974fi
4975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976fi
4977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978   ac_c_werror_flag=$ac_save_c_werror_flag
4979fi
4980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4981$as_echo "$ac_cv_prog_cc_g" >&6; }
4982if test "$ac_test_CFLAGS" = set; then
4983  CFLAGS=$ac_save_CFLAGS
4984elif test $ac_cv_prog_cc_g = yes; then
4985  if test "$GCC" = yes; then
4986    CFLAGS="-g -O2"
4987  else
4988    CFLAGS="-g"
4989  fi
4990else
4991  if test "$GCC" = yes; then
4992    CFLAGS="-O2"
4993  else
4994    CFLAGS=
4995  fi
4996fi
4997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4998$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4999if ${ac_cv_prog_cc_c89+:} false; then :
5000  $as_echo_n "(cached) " >&6
5001else
5002  ac_cv_prog_cc_c89=no
5003ac_save_CC=$CC
5004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h.  */
5006#include <stdarg.h>
5007#include <stdio.h>
5008struct stat;
5009/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5010struct buf { int x; };
5011FILE * (*rcsopen) (struct buf *, struct stat *, int);
5012static char *e (p, i)
5013     char **p;
5014     int i;
5015{
5016  return p[i];
5017}
5018static char *f (char * (*g) (char **, int), char **p, ...)
5019{
5020  char *s;
5021  va_list v;
5022  va_start (v,p);
5023  s = g (p, va_arg (v,int));
5024  va_end (v);
5025  return s;
5026}
5027
5028/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5029   function prototypes and stuff, but not '\xHH' hex character constants.
5030   These don't provoke an error unfortunately, instead are silently treated
5031   as 'x'.  The following induces an error, until -std is added to get
5032   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5033   array size at least.  It's necessary to write '\x00'==0 to get something
5034   that's true only with -std.  */
5035int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5036
5037/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5038   inside strings and character constants.  */
5039#define FOO(x) 'x'
5040int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5041
5042int test (int i, double x);
5043struct s1 {int (*f) (int a);};
5044struct s2 {int (*f) (double a);};
5045int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5046int argc;
5047char **argv;
5048int
5049main ()
5050{
5051return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5052  ;
5053  return 0;
5054}
5055_ACEOF
5056for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5057	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5058do
5059  CC="$ac_save_CC $ac_arg"
5060  if ac_fn_c_try_compile "$LINENO"; then :
5061  ac_cv_prog_cc_c89=$ac_arg
5062fi
5063rm -f core conftest.err conftest.$ac_objext
5064  test "x$ac_cv_prog_cc_c89" != "xno" && break
5065done
5066rm -f conftest.$ac_ext
5067CC=$ac_save_CC
5068
5069fi
5070# AC_CACHE_VAL
5071case "x$ac_cv_prog_cc_c89" in
5072  x)
5073    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5074$as_echo "none needed" >&6; } ;;
5075  xno)
5076    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5077$as_echo "unsupported" >&6; } ;;
5078  *)
5079    CC="$CC $ac_cv_prog_cc_c89"
5080    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5081$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5082esac
5083if test "x$ac_cv_prog_cc_c89" != xno; then :
5084
5085fi
5086
5087ac_ext=c
5088ac_cpp='$CPP $CPPFLAGS'
5089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092
5093ac_ext=c
5094ac_cpp='$CPP $CPPFLAGS'
5095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5097ac_compiler_gnu=$ac_cv_c_compiler_gnu
5098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5099$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5100if ${am_cv_prog_cc_c_o+:} false; then :
5101  $as_echo_n "(cached) " >&6
5102else
5103  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104/* end confdefs.h.  */
5105
5106int
5107main ()
5108{
5109
5110  ;
5111  return 0;
5112}
5113_ACEOF
5114  # Make sure it works both with $CC and with simple cc.
5115  # Following AC_PROG_CC_C_O, we do the test twice because some
5116  # compilers refuse to overwrite an existing .o file with -o,
5117  # though they will create one.
5118  am_cv_prog_cc_c_o=yes
5119  for am_i in 1 2; do
5120    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5121   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5122   ac_status=$?
5123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124   (exit $ac_status); } \
5125         && test -f conftest2.$ac_objext; then
5126      : OK
5127    else
5128      am_cv_prog_cc_c_o=no
5129      break
5130    fi
5131  done
5132  rm -f core conftest*
5133  unset am_i
5134fi
5135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5136$as_echo "$am_cv_prog_cc_c_o" >&6; }
5137if test "$am_cv_prog_cc_c_o" != yes; then
5138   # Losing compiler, so override with the script.
5139   # FIXME: It is wrong to rewrite CC.
5140   # But if we don't then we get into trouble of one sort or another.
5141   # A longer-term fix would be to have automake use am__CC in this case,
5142   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5143   CC="$am_aux_dir/compile $CC"
5144fi
5145ac_ext=c
5146ac_cpp='$CPP $CPPFLAGS'
5147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5149ac_compiler_gnu=$ac_cv_c_compiler_gnu
5150
5151DEPDIR="${am__leading_dot}deps"
5152
5153ac_config_commands="$ac_config_commands depfiles"
5154
5155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5156$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5157cat > confinc.mk << 'END'
5158am__doit:
5159	@echo this is the am__doit target >confinc.out
5160.PHONY: am__doit
5161END
5162am__include="#"
5163am__quote=
5164# BSD make does it like this.
5165echo '.include "confinc.mk" # ignored' > confmf.BSD
5166# Other make implementations (GNU, Solaris 10, AIX) do it like this.
5167echo 'include confinc.mk # ignored' > confmf.GNU
5168_am_result=no
5169for s in GNU BSD; do
5170  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5171   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5172   ac_status=$?
5173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174   (exit $ac_status); }
5175  case $?:`cat confinc.out 2>/dev/null` in #(
5176  '0:this is the am__doit target') :
5177    case $s in #(
5178  BSD) :
5179    am__include='.include' am__quote='"' ;; #(
5180  *) :
5181    am__include='include' am__quote='' ;;
5182esac ;; #(
5183  *) :
5184     ;;
5185esac
5186  if test "$am__include" != "#"; then
5187    _am_result="yes ($s style)"
5188    break
5189  fi
5190done
5191rm -f confinc.* confmf.*
5192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5193$as_echo "${_am_result}" >&6; }
5194
5195# Check whether --enable-dependency-tracking was given.
5196if test "${enable_dependency_tracking+set}" = set; then :
5197  enableval=$enable_dependency_tracking;
5198fi
5199
5200if test "x$enable_dependency_tracking" != xno; then
5201  am_depcomp="$ac_aux_dir/depcomp"
5202  AMDEPBACKSLASH='\'
5203  am__nodep='_no'
5204fi
5205 if test "x$enable_dependency_tracking" != xno; then
5206  AMDEP_TRUE=
5207  AMDEP_FALSE='#'
5208else
5209  AMDEP_TRUE='#'
5210  AMDEP_FALSE=
5211fi
5212
5213
5214
5215depcc="$CC"   am_compiler_list=
5216
5217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5218$as_echo_n "checking dependency style of $depcc... " >&6; }
5219if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5220  $as_echo_n "(cached) " >&6
5221else
5222  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5223  # We make a subdir and do the tests there.  Otherwise we can end up
5224  # making bogus files that we don't know about and never remove.  For
5225  # instance it was reported that on HP-UX the gcc test will end up
5226  # making a dummy file named 'D' -- because '-MD' means "put the output
5227  # in D".
5228  rm -rf conftest.dir
5229  mkdir conftest.dir
5230  # Copy depcomp to subdir because otherwise we won't find it if we're
5231  # using a relative directory.
5232  cp "$am_depcomp" conftest.dir
5233  cd conftest.dir
5234  # We will build objects and dependencies in a subdirectory because
5235  # it helps to detect inapplicable dependency modes.  For instance
5236  # both Tru64's cc and ICC support -MD to output dependencies as a
5237  # side effect of compilation, but ICC will put the dependencies in
5238  # the current directory while Tru64 will put them in the object
5239  # directory.
5240  mkdir sub
5241
5242  am_cv_CC_dependencies_compiler_type=none
5243  if test "$am_compiler_list" = ""; then
5244     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5245  fi
5246  am__universal=false
5247  case " $depcc " in #(
5248     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5249     esac
5250
5251  for depmode in $am_compiler_list; do
5252    # Setup a source with many dependencies, because some compilers
5253    # like to wrap large dependency lists on column 80 (with \), and
5254    # we should not choose a depcomp mode which is confused by this.
5255    #
5256    # We need to recreate these files for each test, as the compiler may
5257    # overwrite some of them when testing with obscure command lines.
5258    # This happens at least with the AIX C compiler.
5259    : > sub/conftest.c
5260    for i in 1 2 3 4 5 6; do
5261      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5262      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5263      # Solaris 10 /bin/sh.
5264      echo '/* dummy */' > sub/conftst$i.h
5265    done
5266    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5267
5268    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5269    # mode.  It turns out that the SunPro C++ compiler does not properly
5270    # handle '-M -o', and we need to detect this.  Also, some Intel
5271    # versions had trouble with output in subdirs.
5272    am__obj=sub/conftest.${OBJEXT-o}
5273    am__minus_obj="-o $am__obj"
5274    case $depmode in
5275    gcc)
5276      # This depmode causes a compiler race in universal mode.
5277      test "$am__universal" = false || continue
5278      ;;
5279    nosideeffect)
5280      # After this tag, mechanisms are not by side-effect, so they'll
5281      # only be used when explicitly requested.
5282      if test "x$enable_dependency_tracking" = xyes; then
5283	continue
5284      else
5285	break
5286      fi
5287      ;;
5288    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5289      # This compiler won't grok '-c -o', but also, the minuso test has
5290      # not run yet.  These depmodes are late enough in the game, and
5291      # so weak that their functioning should not be impacted.
5292      am__obj=conftest.${OBJEXT-o}
5293      am__minus_obj=
5294      ;;
5295    none) break ;;
5296    esac
5297    if depmode=$depmode \
5298       source=sub/conftest.c object=$am__obj \
5299       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5300       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5301         >/dev/null 2>conftest.err &&
5302       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5303       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5304       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5305       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5306      # icc doesn't choke on unknown options, it will just issue warnings
5307      # or remarks (even with -Werror).  So we grep stderr for any message
5308      # that says an option was ignored or not supported.
5309      # When given -MP, icc 7.0 and 7.1 complain thusly:
5310      #   icc: Command line warning: ignoring option '-M'; no argument required
5311      # The diagnosis changed in icc 8.0:
5312      #   icc: Command line remark: option '-MP' not supported
5313      if (grep 'ignoring option' conftest.err ||
5314          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5315        am_cv_CC_dependencies_compiler_type=$depmode
5316        break
5317      fi
5318    fi
5319  done
5320
5321  cd ..
5322  rm -rf conftest.dir
5323else
5324  am_cv_CC_dependencies_compiler_type=none
5325fi
5326
5327fi
5328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5329$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5330CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5331
5332 if
5333  test "x$enable_dependency_tracking" != xno \
5334  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5335  am__fastdepCC_TRUE=
5336  am__fastdepCC_FALSE='#'
5337else
5338  am__fastdepCC_TRUE='#'
5339  am__fastdepCC_FALSE=
5340fi
5341
5342
5343
5344ac_ext=c
5345ac_cpp='$CPP $CPPFLAGS'
5346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5348ac_compiler_gnu=$ac_cv_c_compiler_gnu
5349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5350$as_echo_n "checking how to run the C preprocessor... " >&6; }
5351# On Suns, sometimes $CPP names a directory.
5352if test -n "$CPP" && test -d "$CPP"; then
5353  CPP=
5354fi
5355if test -z "$CPP"; then
5356  if ${ac_cv_prog_CPP+:} false; then :
5357  $as_echo_n "(cached) " >&6
5358else
5359      # Double quotes because CPP needs to be expanded
5360    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5361    do
5362      ac_preproc_ok=false
5363for ac_c_preproc_warn_flag in '' yes
5364do
5365  # Use a header file that comes with gcc, so configuring glibc
5366  # with a fresh cross-compiler works.
5367  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5368  # <limits.h> exists even on freestanding compilers.
5369  # On the NeXT, cc -E runs the code through the compiler's parser,
5370  # not just through cpp. "Syntax error" is here to catch this case.
5371  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372/* end confdefs.h.  */
5373#ifdef __STDC__
5374# include <limits.h>
5375#else
5376# include <assert.h>
5377#endif
5378		     Syntax error
5379_ACEOF
5380if ac_fn_c_try_cpp "$LINENO"; then :
5381
5382else
5383  # Broken: fails on valid input.
5384continue
5385fi
5386rm -f conftest.err conftest.i conftest.$ac_ext
5387
5388  # OK, works on sane cases.  Now check whether nonexistent headers
5389  # can be detected and how.
5390  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391/* end confdefs.h.  */
5392#include <ac_nonexistent.h>
5393_ACEOF
5394if ac_fn_c_try_cpp "$LINENO"; then :
5395  # Broken: success on invalid input.
5396continue
5397else
5398  # Passes both tests.
5399ac_preproc_ok=:
5400break
5401fi
5402rm -f conftest.err conftest.i conftest.$ac_ext
5403
5404done
5405# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5406rm -f conftest.i conftest.err conftest.$ac_ext
5407if $ac_preproc_ok; then :
5408  break
5409fi
5410
5411    done
5412    ac_cv_prog_CPP=$CPP
5413
5414fi
5415  CPP=$ac_cv_prog_CPP
5416else
5417  ac_cv_prog_CPP=$CPP
5418fi
5419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5420$as_echo "$CPP" >&6; }
5421ac_preproc_ok=false
5422for ac_c_preproc_warn_flag in '' yes
5423do
5424  # Use a header file that comes with gcc, so configuring glibc
5425  # with a fresh cross-compiler works.
5426  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5427  # <limits.h> exists even on freestanding compilers.
5428  # On the NeXT, cc -E runs the code through the compiler's parser,
5429  # not just through cpp. "Syntax error" is here to catch this case.
5430  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431/* end confdefs.h.  */
5432#ifdef __STDC__
5433# include <limits.h>
5434#else
5435# include <assert.h>
5436#endif
5437		     Syntax error
5438_ACEOF
5439if ac_fn_c_try_cpp "$LINENO"; then :
5440
5441else
5442  # Broken: fails on valid input.
5443continue
5444fi
5445rm -f conftest.err conftest.i conftest.$ac_ext
5446
5447  # OK, works on sane cases.  Now check whether nonexistent headers
5448  # can be detected and how.
5449  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450/* end confdefs.h.  */
5451#include <ac_nonexistent.h>
5452_ACEOF
5453if ac_fn_c_try_cpp "$LINENO"; then :
5454  # Broken: success on invalid input.
5455continue
5456else
5457  # Passes both tests.
5458ac_preproc_ok=:
5459break
5460fi
5461rm -f conftest.err conftest.i conftest.$ac_ext
5462
5463done
5464# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5465rm -f conftest.i conftest.err conftest.$ac_ext
5466if $ac_preproc_ok; then :
5467
5468else
5469  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5470$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5471as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5472See \`config.log' for more details" "$LINENO" 5; }
5473fi
5474
5475ac_ext=c
5476ac_cpp='$CPP $CPPFLAGS'
5477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480
5481
5482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5483$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5484if ${ac_cv_path_GREP+:} false; then :
5485  $as_echo_n "(cached) " >&6
5486else
5487  if test -z "$GREP"; then
5488  ac_path_GREP_found=false
5489  # Loop through the user's path and test for each of PROGNAME-LIST
5490  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5492do
5493  IFS=$as_save_IFS
5494  test -z "$as_dir" && as_dir=.
5495    for ac_prog in grep ggrep; do
5496    for ac_exec_ext in '' $ac_executable_extensions; do
5497      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5498      as_fn_executable_p "$ac_path_GREP" || continue
5499# Check for GNU ac_path_GREP and select it if it is found.
5500  # Check for GNU $ac_path_GREP
5501case `"$ac_path_GREP" --version 2>&1` in
5502*GNU*)
5503  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5504*)
5505  ac_count=0
5506  $as_echo_n 0123456789 >"conftest.in"
5507  while :
5508  do
5509    cat "conftest.in" "conftest.in" >"conftest.tmp"
5510    mv "conftest.tmp" "conftest.in"
5511    cp "conftest.in" "conftest.nl"
5512    $as_echo 'GREP' >> "conftest.nl"
5513    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5514    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5515    as_fn_arith $ac_count + 1 && ac_count=$as_val
5516    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5517      # Best one so far, save it but keep looking for a better one
5518      ac_cv_path_GREP="$ac_path_GREP"
5519      ac_path_GREP_max=$ac_count
5520    fi
5521    # 10*(2^10) chars as input seems more than enough
5522    test $ac_count -gt 10 && break
5523  done
5524  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5525esac
5526
5527      $ac_path_GREP_found && break 3
5528    done
5529  done
5530  done
5531IFS=$as_save_IFS
5532  if test -z "$ac_cv_path_GREP"; then
5533    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5534  fi
5535else
5536  ac_cv_path_GREP=$GREP
5537fi
5538
5539fi
5540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5541$as_echo "$ac_cv_path_GREP" >&6; }
5542 GREP="$ac_cv_path_GREP"
5543
5544
5545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5546$as_echo_n "checking for egrep... " >&6; }
5547if ${ac_cv_path_EGREP+:} false; then :
5548  $as_echo_n "(cached) " >&6
5549else
5550  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5551   then ac_cv_path_EGREP="$GREP -E"
5552   else
5553     if test -z "$EGREP"; then
5554  ac_path_EGREP_found=false
5555  # Loop through the user's path and test for each of PROGNAME-LIST
5556  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5558do
5559  IFS=$as_save_IFS
5560  test -z "$as_dir" && as_dir=.
5561    for ac_prog in egrep; do
5562    for ac_exec_ext in '' $ac_executable_extensions; do
5563      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5564      as_fn_executable_p "$ac_path_EGREP" || continue
5565# Check for GNU ac_path_EGREP and select it if it is found.
5566  # Check for GNU $ac_path_EGREP
5567case `"$ac_path_EGREP" --version 2>&1` in
5568*GNU*)
5569  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5570*)
5571  ac_count=0
5572  $as_echo_n 0123456789 >"conftest.in"
5573  while :
5574  do
5575    cat "conftest.in" "conftest.in" >"conftest.tmp"
5576    mv "conftest.tmp" "conftest.in"
5577    cp "conftest.in" "conftest.nl"
5578    $as_echo 'EGREP' >> "conftest.nl"
5579    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5580    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5581    as_fn_arith $ac_count + 1 && ac_count=$as_val
5582    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5583      # Best one so far, save it but keep looking for a better one
5584      ac_cv_path_EGREP="$ac_path_EGREP"
5585      ac_path_EGREP_max=$ac_count
5586    fi
5587    # 10*(2^10) chars as input seems more than enough
5588    test $ac_count -gt 10 && break
5589  done
5590  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5591esac
5592
5593      $ac_path_EGREP_found && break 3
5594    done
5595  done
5596  done
5597IFS=$as_save_IFS
5598  if test -z "$ac_cv_path_EGREP"; then
5599    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5600  fi
5601else
5602  ac_cv_path_EGREP=$EGREP
5603fi
5604
5605   fi
5606fi
5607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5608$as_echo "$ac_cv_path_EGREP" >&6; }
5609 EGREP="$ac_cv_path_EGREP"
5610
5611
5612if test $ac_cv_c_compiler_gnu = yes; then
5613    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5614$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5615if ${ac_cv_prog_gcc_traditional+:} false; then :
5616  $as_echo_n "(cached) " >&6
5617else
5618    ac_pattern="Autoconf.*'x'"
5619  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620/* end confdefs.h.  */
5621#include <sgtty.h>
5622Autoconf TIOCGETP
5623_ACEOF
5624if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5625  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5626  ac_cv_prog_gcc_traditional=yes
5627else
5628  ac_cv_prog_gcc_traditional=no
5629fi
5630rm -f conftest*
5631
5632
5633  if test $ac_cv_prog_gcc_traditional = no; then
5634    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635/* end confdefs.h.  */
5636#include <termio.h>
5637Autoconf TCGETA
5638_ACEOF
5639if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5640  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5641  ac_cv_prog_gcc_traditional=yes
5642fi
5643rm -f conftest*
5644
5645  fi
5646fi
5647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5648$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5649  if test $ac_cv_prog_gcc_traditional = yes; then
5650    CC="$CC -traditional"
5651  fi
5652fi
5653
5654ac_ext=cpp
5655ac_cpp='$CXXCPP $CPPFLAGS'
5656ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5657ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5658ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5659if test -z "$CXX"; then
5660  if test -n "$CCC"; then
5661    CXX=$CCC
5662  else
5663    if test -n "$ac_tool_prefix"; then
5664  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5665  do
5666    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5667set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669$as_echo_n "checking for $ac_word... " >&6; }
5670if ${ac_cv_prog_CXX+:} false; then :
5671  $as_echo_n "(cached) " >&6
5672else
5673  if test -n "$CXX"; then
5674  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5675else
5676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677for as_dir in $PATH
5678do
5679  IFS=$as_save_IFS
5680  test -z "$as_dir" && as_dir=.
5681    for ac_exec_ext in '' $ac_executable_extensions; do
5682  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5684    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685    break 2
5686  fi
5687done
5688  done
5689IFS=$as_save_IFS
5690
5691fi
5692fi
5693CXX=$ac_cv_prog_CXX
5694if test -n "$CXX"; then
5695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5696$as_echo "$CXX" >&6; }
5697else
5698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699$as_echo "no" >&6; }
5700fi
5701
5702
5703    test -n "$CXX" && break
5704  done
5705fi
5706if test -z "$CXX"; then
5707  ac_ct_CXX=$CXX
5708  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5709do
5710  # Extract the first word of "$ac_prog", so it can be a program name with args.
5711set dummy $ac_prog; ac_word=$2
5712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713$as_echo_n "checking for $ac_word... " >&6; }
5714if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5715  $as_echo_n "(cached) " >&6
5716else
5717  if test -n "$ac_ct_CXX"; then
5718  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5719else
5720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721for as_dir in $PATH
5722do
5723  IFS=$as_save_IFS
5724  test -z "$as_dir" && as_dir=.
5725    for ac_exec_ext in '' $ac_executable_extensions; do
5726  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727    ac_cv_prog_ac_ct_CXX="$ac_prog"
5728    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729    break 2
5730  fi
5731done
5732  done
5733IFS=$as_save_IFS
5734
5735fi
5736fi
5737ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5738if test -n "$ac_ct_CXX"; then
5739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5740$as_echo "$ac_ct_CXX" >&6; }
5741else
5742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743$as_echo "no" >&6; }
5744fi
5745
5746
5747  test -n "$ac_ct_CXX" && break
5748done
5749
5750  if test "x$ac_ct_CXX" = x; then
5751    CXX="g++"
5752  else
5753    case $cross_compiling:$ac_tool_warned in
5754yes:)
5755{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757ac_tool_warned=yes ;;
5758esac
5759    CXX=$ac_ct_CXX
5760  fi
5761fi
5762
5763  fi
5764fi
5765# Provide some information about the compiler.
5766$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5767set X $ac_compile
5768ac_compiler=$2
5769for ac_option in --version -v -V -qversion; do
5770  { { ac_try="$ac_compiler $ac_option >&5"
5771case "(($ac_try" in
5772  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5773  *) ac_try_echo=$ac_try;;
5774esac
5775eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5776$as_echo "$ac_try_echo"; } >&5
5777  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5778  ac_status=$?
5779  if test -s conftest.err; then
5780    sed '10a\
5781... rest of stderr output deleted ...
5782         10q' conftest.err >conftest.er1
5783    cat conftest.er1 >&5
5784  fi
5785  rm -f conftest.er1 conftest.err
5786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5787  test $ac_status = 0; }
5788done
5789
5790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5791$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5792if ${ac_cv_cxx_compiler_gnu+:} false; then :
5793  $as_echo_n "(cached) " >&6
5794else
5795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796/* end confdefs.h.  */
5797
5798int
5799main ()
5800{
5801#ifndef __GNUC__
5802       choke me
5803#endif
5804
5805  ;
5806  return 0;
5807}
5808_ACEOF
5809if ac_fn_cxx_try_compile "$LINENO"; then :
5810  ac_compiler_gnu=yes
5811else
5812  ac_compiler_gnu=no
5813fi
5814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5815ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5816
5817fi
5818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5819$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5820if test $ac_compiler_gnu = yes; then
5821  GXX=yes
5822else
5823  GXX=
5824fi
5825ac_test_CXXFLAGS=${CXXFLAGS+set}
5826ac_save_CXXFLAGS=$CXXFLAGS
5827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5828$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5829if ${ac_cv_prog_cxx_g+:} false; then :
5830  $as_echo_n "(cached) " >&6
5831else
5832  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5833   ac_cxx_werror_flag=yes
5834   ac_cv_prog_cxx_g=no
5835   CXXFLAGS="-g"
5836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837/* end confdefs.h.  */
5838
5839int
5840main ()
5841{
5842
5843  ;
5844  return 0;
5845}
5846_ACEOF
5847if ac_fn_cxx_try_compile "$LINENO"; then :
5848  ac_cv_prog_cxx_g=yes
5849else
5850  CXXFLAGS=""
5851      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5852/* end confdefs.h.  */
5853
5854int
5855main ()
5856{
5857
5858  ;
5859  return 0;
5860}
5861_ACEOF
5862if ac_fn_cxx_try_compile "$LINENO"; then :
5863
5864else
5865  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5866	 CXXFLAGS="-g"
5867	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868/* end confdefs.h.  */
5869
5870int
5871main ()
5872{
5873
5874  ;
5875  return 0;
5876}
5877_ACEOF
5878if ac_fn_cxx_try_compile "$LINENO"; then :
5879  ac_cv_prog_cxx_g=yes
5880fi
5881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5882fi
5883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5884fi
5885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5886   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5887fi
5888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5889$as_echo "$ac_cv_prog_cxx_g" >&6; }
5890if test "$ac_test_CXXFLAGS" = set; then
5891  CXXFLAGS=$ac_save_CXXFLAGS
5892elif test $ac_cv_prog_cxx_g = yes; then
5893  if test "$GXX" = yes; then
5894    CXXFLAGS="-g -O2"
5895  else
5896    CXXFLAGS="-g"
5897  fi
5898else
5899  if test "$GXX" = yes; then
5900    CXXFLAGS="-O2"
5901  else
5902    CXXFLAGS=
5903  fi
5904fi
5905ac_ext=c
5906ac_cpp='$CPP $CPPFLAGS'
5907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5909ac_compiler_gnu=$ac_cv_c_compiler_gnu
5910
5911depcc="$CXX"  am_compiler_list=
5912
5913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5914$as_echo_n "checking dependency style of $depcc... " >&6; }
5915if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5916  $as_echo_n "(cached) " >&6
5917else
5918  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5919  # We make a subdir and do the tests there.  Otherwise we can end up
5920  # making bogus files that we don't know about and never remove.  For
5921  # instance it was reported that on HP-UX the gcc test will end up
5922  # making a dummy file named 'D' -- because '-MD' means "put the output
5923  # in D".
5924  rm -rf conftest.dir
5925  mkdir conftest.dir
5926  # Copy depcomp to subdir because otherwise we won't find it if we're
5927  # using a relative directory.
5928  cp "$am_depcomp" conftest.dir
5929  cd conftest.dir
5930  # We will build objects and dependencies in a subdirectory because
5931  # it helps to detect inapplicable dependency modes.  For instance
5932  # both Tru64's cc and ICC support -MD to output dependencies as a
5933  # side effect of compilation, but ICC will put the dependencies in
5934  # the current directory while Tru64 will put them in the object
5935  # directory.
5936  mkdir sub
5937
5938  am_cv_CXX_dependencies_compiler_type=none
5939  if test "$am_compiler_list" = ""; then
5940     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5941  fi
5942  am__universal=false
5943  case " $depcc " in #(
5944     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5945     esac
5946
5947  for depmode in $am_compiler_list; do
5948    # Setup a source with many dependencies, because some compilers
5949    # like to wrap large dependency lists on column 80 (with \), and
5950    # we should not choose a depcomp mode which is confused by this.
5951    #
5952    # We need to recreate these files for each test, as the compiler may
5953    # overwrite some of them when testing with obscure command lines.
5954    # This happens at least with the AIX C compiler.
5955    : > sub/conftest.c
5956    for i in 1 2 3 4 5 6; do
5957      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5958      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5959      # Solaris 10 /bin/sh.
5960      echo '/* dummy */' > sub/conftst$i.h
5961    done
5962    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5963
5964    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5965    # mode.  It turns out that the SunPro C++ compiler does not properly
5966    # handle '-M -o', and we need to detect this.  Also, some Intel
5967    # versions had trouble with output in subdirs.
5968    am__obj=sub/conftest.${OBJEXT-o}
5969    am__minus_obj="-o $am__obj"
5970    case $depmode in
5971    gcc)
5972      # This depmode causes a compiler race in universal mode.
5973      test "$am__universal" = false || continue
5974      ;;
5975    nosideeffect)
5976      # After this tag, mechanisms are not by side-effect, so they'll
5977      # only be used when explicitly requested.
5978      if test "x$enable_dependency_tracking" = xyes; then
5979	continue
5980      else
5981	break
5982      fi
5983      ;;
5984    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5985      # This compiler won't grok '-c -o', but also, the minuso test has
5986      # not run yet.  These depmodes are late enough in the game, and
5987      # so weak that their functioning should not be impacted.
5988      am__obj=conftest.${OBJEXT-o}
5989      am__minus_obj=
5990      ;;
5991    none) break ;;
5992    esac
5993    if depmode=$depmode \
5994       source=sub/conftest.c object=$am__obj \
5995       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5996       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5997         >/dev/null 2>conftest.err &&
5998       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5999       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6000       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6001       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6002      # icc doesn't choke on unknown options, it will just issue warnings
6003      # or remarks (even with -Werror).  So we grep stderr for any message
6004      # that says an option was ignored or not supported.
6005      # When given -MP, icc 7.0 and 7.1 complain thusly:
6006      #   icc: Command line warning: ignoring option '-M'; no argument required
6007      # The diagnosis changed in icc 8.0:
6008      #   icc: Command line remark: option '-MP' not supported
6009      if (grep 'ignoring option' conftest.err ||
6010          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6011        am_cv_CXX_dependencies_compiler_type=$depmode
6012        break
6013      fi
6014    fi
6015  done
6016
6017  cd ..
6018  rm -rf conftest.dir
6019else
6020  am_cv_CXX_dependencies_compiler_type=none
6021fi
6022
6023fi
6024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6025$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6026CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6027
6028 if
6029  test "x$enable_dependency_tracking" != xno \
6030  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6031  am__fastdepCXX_TRUE=
6032  am__fastdepCXX_FALSE='#'
6033else
6034  am__fastdepCXX_TRUE='#'
6035  am__fastdepCXX_FALSE=
6036fi
6037
6038
6039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6040$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6041set x ${MAKE-make}
6042ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6043if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6044  $as_echo_n "(cached) " >&6
6045else
6046  cat >conftest.make <<\_ACEOF
6047SHELL = /bin/sh
6048all:
6049	@echo '@@@%%%=$(MAKE)=@@@%%%'
6050_ACEOF
6051# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6052case `${MAKE-make} -f conftest.make 2>/dev/null` in
6053  *@@@%%%=?*=@@@%%%*)
6054    eval ac_cv_prog_make_${ac_make}_set=yes;;
6055  *)
6056    eval ac_cv_prog_make_${ac_make}_set=no;;
6057esac
6058rm -f conftest.make
6059fi
6060if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6062$as_echo "yes" >&6; }
6063  SET_MAKE=
6064else
6065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066$as_echo "no" >&6; }
6067  SET_MAKE="MAKE=${MAKE-make}"
6068fi
6069
6070
6071
6072case `pwd` in
6073  *\ * | *\	*)
6074    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6075$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6076esac
6077
6078
6079
6080macro_version='2.4.6'
6081macro_revision='2.4.6'
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095ltmain=$ac_aux_dir/ltmain.sh
6096
6097# Backslashify metacharacters that are still active within
6098# double-quoted strings.
6099sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6100
6101# Same as above, but do not quote variable references.
6102double_quote_subst='s/\(["`\\]\)/\\\1/g'
6103
6104# Sed substitution to delay expansion of an escaped shell variable in a
6105# double_quote_subst'ed string.
6106delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6107
6108# Sed substitution to delay expansion of an escaped single quote.
6109delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6110
6111# Sed substitution to avoid accidental globbing in evaled expressions
6112no_glob_subst='s/\*/\\\*/g'
6113
6114ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6115ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6116ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6117
6118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6119$as_echo_n "checking how to print strings... " >&6; }
6120# Test print first, because it will be a builtin if present.
6121if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6122   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6123  ECHO='print -r --'
6124elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6125  ECHO='printf %s\n'
6126else
6127  # Use this function as a fallback that always works.
6128  func_fallback_echo ()
6129  {
6130    eval 'cat <<_LTECHO_EOF
6131$1
6132_LTECHO_EOF'
6133  }
6134  ECHO='func_fallback_echo'
6135fi
6136
6137# func_echo_all arg...
6138# Invoke $ECHO with all args, space-separated.
6139func_echo_all ()
6140{
6141    $ECHO ""
6142}
6143
6144case $ECHO in
6145  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6146$as_echo "printf" >&6; } ;;
6147  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6148$as_echo "print -r" >&6; } ;;
6149  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6150$as_echo "cat" >&6; } ;;
6151esac
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6167$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6168if ${ac_cv_path_SED+:} false; then :
6169  $as_echo_n "(cached) " >&6
6170else
6171            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6172     for ac_i in 1 2 3 4 5 6 7; do
6173       ac_script="$ac_script$as_nl$ac_script"
6174     done
6175     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6176     { ac_script=; unset ac_script;}
6177     if test -z "$SED"; then
6178  ac_path_SED_found=false
6179  # Loop through the user's path and test for each of PROGNAME-LIST
6180  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181for as_dir in $PATH
6182do
6183  IFS=$as_save_IFS
6184  test -z "$as_dir" && as_dir=.
6185    for ac_prog in sed gsed; do
6186    for ac_exec_ext in '' $ac_executable_extensions; do
6187      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6188      as_fn_executable_p "$ac_path_SED" || continue
6189# Check for GNU ac_path_SED and select it if it is found.
6190  # Check for GNU $ac_path_SED
6191case `"$ac_path_SED" --version 2>&1` in
6192*GNU*)
6193  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6194*)
6195  ac_count=0
6196  $as_echo_n 0123456789 >"conftest.in"
6197  while :
6198  do
6199    cat "conftest.in" "conftest.in" >"conftest.tmp"
6200    mv "conftest.tmp" "conftest.in"
6201    cp "conftest.in" "conftest.nl"
6202    $as_echo '' >> "conftest.nl"
6203    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6204    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6205    as_fn_arith $ac_count + 1 && ac_count=$as_val
6206    if test $ac_count -gt ${ac_path_SED_max-0}; then
6207      # Best one so far, save it but keep looking for a better one
6208      ac_cv_path_SED="$ac_path_SED"
6209      ac_path_SED_max=$ac_count
6210    fi
6211    # 10*(2^10) chars as input seems more than enough
6212    test $ac_count -gt 10 && break
6213  done
6214  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6215esac
6216
6217      $ac_path_SED_found && break 3
6218    done
6219  done
6220  done
6221IFS=$as_save_IFS
6222  if test -z "$ac_cv_path_SED"; then
6223    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6224  fi
6225else
6226  ac_cv_path_SED=$SED
6227fi
6228
6229fi
6230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6231$as_echo "$ac_cv_path_SED" >&6; }
6232 SED="$ac_cv_path_SED"
6233  rm -f conftest.sed
6234
6235test -z "$SED" && SED=sed
6236Xsed="$SED -e 1s/^X//"
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6249$as_echo_n "checking for fgrep... " >&6; }
6250if ${ac_cv_path_FGREP+:} false; then :
6251  $as_echo_n "(cached) " >&6
6252else
6253  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6254   then ac_cv_path_FGREP="$GREP -F"
6255   else
6256     if test -z "$FGREP"; then
6257  ac_path_FGREP_found=false
6258  # Loop through the user's path and test for each of PROGNAME-LIST
6259  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6261do
6262  IFS=$as_save_IFS
6263  test -z "$as_dir" && as_dir=.
6264    for ac_prog in fgrep; do
6265    for ac_exec_ext in '' $ac_executable_extensions; do
6266      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6267      as_fn_executable_p "$ac_path_FGREP" || continue
6268# Check for GNU ac_path_FGREP and select it if it is found.
6269  # Check for GNU $ac_path_FGREP
6270case `"$ac_path_FGREP" --version 2>&1` in
6271*GNU*)
6272  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6273*)
6274  ac_count=0
6275  $as_echo_n 0123456789 >"conftest.in"
6276  while :
6277  do
6278    cat "conftest.in" "conftest.in" >"conftest.tmp"
6279    mv "conftest.tmp" "conftest.in"
6280    cp "conftest.in" "conftest.nl"
6281    $as_echo 'FGREP' >> "conftest.nl"
6282    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6283    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6284    as_fn_arith $ac_count + 1 && ac_count=$as_val
6285    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6286      # Best one so far, save it but keep looking for a better one
6287      ac_cv_path_FGREP="$ac_path_FGREP"
6288      ac_path_FGREP_max=$ac_count
6289    fi
6290    # 10*(2^10) chars as input seems more than enough
6291    test $ac_count -gt 10 && break
6292  done
6293  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6294esac
6295
6296      $ac_path_FGREP_found && break 3
6297    done
6298  done
6299  done
6300IFS=$as_save_IFS
6301  if test -z "$ac_cv_path_FGREP"; then
6302    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6303  fi
6304else
6305  ac_cv_path_FGREP=$FGREP
6306fi
6307
6308   fi
6309fi
6310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6311$as_echo "$ac_cv_path_FGREP" >&6; }
6312 FGREP="$ac_cv_path_FGREP"
6313
6314
6315test -z "$GREP" && GREP=grep
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335# Check whether --with-gnu-ld was given.
6336if test "${with_gnu_ld+set}" = set; then :
6337  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6338else
6339  with_gnu_ld=no
6340fi
6341
6342ac_prog=ld
6343if test yes = "$GCC"; then
6344  # Check if gcc -print-prog-name=ld gives a path.
6345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6346$as_echo_n "checking for ld used by $CC... " >&6; }
6347  case $host in
6348  *-*-mingw*)
6349    # gcc leaves a trailing carriage return, which upsets mingw
6350    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6351  *)
6352    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6353  esac
6354  case $ac_prog in
6355    # Accept absolute paths.
6356    [\\/]* | ?:[\\/]*)
6357      re_direlt='/[^/][^/]*/\.\./'
6358      # Canonicalize the pathname of ld
6359      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6360      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6361	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6362      done
6363      test -z "$LD" && LD=$ac_prog
6364      ;;
6365  "")
6366    # If it fails, then pretend we aren't using GCC.
6367    ac_prog=ld
6368    ;;
6369  *)
6370    # If it is relative, then search for the first ld in PATH.
6371    with_gnu_ld=unknown
6372    ;;
6373  esac
6374elif test yes = "$with_gnu_ld"; then
6375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6376$as_echo_n "checking for GNU ld... " >&6; }
6377else
6378  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6379$as_echo_n "checking for non-GNU ld... " >&6; }
6380fi
6381if ${lt_cv_path_LD+:} false; then :
6382  $as_echo_n "(cached) " >&6
6383else
6384  if test -z "$LD"; then
6385  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6386  for ac_dir in $PATH; do
6387    IFS=$lt_save_ifs
6388    test -z "$ac_dir" && ac_dir=.
6389    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6390      lt_cv_path_LD=$ac_dir/$ac_prog
6391      # Check to see if the program is GNU ld.  I'd rather use --version,
6392      # but apparently some variants of GNU ld only accept -v.
6393      # Break only if it was the GNU/non-GNU ld that we prefer.
6394      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6395      *GNU* | *'with BFD'*)
6396	test no != "$with_gnu_ld" && break
6397	;;
6398      *)
6399	test yes != "$with_gnu_ld" && break
6400	;;
6401      esac
6402    fi
6403  done
6404  IFS=$lt_save_ifs
6405else
6406  lt_cv_path_LD=$LD # Let the user override the test with a path.
6407fi
6408fi
6409
6410LD=$lt_cv_path_LD
6411if test -n "$LD"; then
6412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6413$as_echo "$LD" >&6; }
6414else
6415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416$as_echo "no" >&6; }
6417fi
6418test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6420$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6421if ${lt_cv_prog_gnu_ld+:} false; then :
6422  $as_echo_n "(cached) " >&6
6423else
6424  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6425case `$LD -v 2>&1 </dev/null` in
6426*GNU* | *'with BFD'*)
6427  lt_cv_prog_gnu_ld=yes
6428  ;;
6429*)
6430  lt_cv_prog_gnu_ld=no
6431  ;;
6432esac
6433fi
6434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6435$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6436with_gnu_ld=$lt_cv_prog_gnu_ld
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6447$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6448if ${lt_cv_path_NM+:} false; then :
6449  $as_echo_n "(cached) " >&6
6450else
6451  if test -n "$NM"; then
6452  # Let the user override the test.
6453  lt_cv_path_NM=$NM
6454else
6455  lt_nm_to_check=${ac_tool_prefix}nm
6456  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6457    lt_nm_to_check="$lt_nm_to_check nm"
6458  fi
6459  for lt_tmp_nm in $lt_nm_to_check; do
6460    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6461    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6462      IFS=$lt_save_ifs
6463      test -z "$ac_dir" && ac_dir=.
6464      tmp_nm=$ac_dir/$lt_tmp_nm
6465      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6466	# Check to see if the nm accepts a BSD-compat flag.
6467	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6468	#   nm: unknown option "B" ignored
6469	# Tru64's nm complains that /dev/null is an invalid object file
6470	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6471	case $build_os in
6472	mingw*) lt_bad_file=conftest.nm/nofile ;;
6473	*) lt_bad_file=/dev/null ;;
6474	esac
6475	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6476	*$lt_bad_file* | *'Invalid file or object type'*)
6477	  lt_cv_path_NM="$tmp_nm -B"
6478	  break 2
6479	  ;;
6480	*)
6481	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6482	  */dev/null*)
6483	    lt_cv_path_NM="$tmp_nm -p"
6484	    break 2
6485	    ;;
6486	  *)
6487	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6488	    continue # so that we can try to find one that supports BSD flags
6489	    ;;
6490	  esac
6491	  ;;
6492	esac
6493      fi
6494    done
6495    IFS=$lt_save_ifs
6496  done
6497  : ${lt_cv_path_NM=no}
6498fi
6499fi
6500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6501$as_echo "$lt_cv_path_NM" >&6; }
6502if test no != "$lt_cv_path_NM"; then
6503  NM=$lt_cv_path_NM
6504else
6505  # Didn't find any BSD compatible name lister, look for dumpbin.
6506  if test -n "$DUMPBIN"; then :
6507    # Let the user override the test.
6508  else
6509    if test -n "$ac_tool_prefix"; then
6510  for ac_prog in dumpbin "link -dump"
6511  do
6512    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6513set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515$as_echo_n "checking for $ac_word... " >&6; }
6516if ${ac_cv_prog_DUMPBIN+:} false; then :
6517  $as_echo_n "(cached) " >&6
6518else
6519  if test -n "$DUMPBIN"; then
6520  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6521else
6522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523for as_dir in $PATH
6524do
6525  IFS=$as_save_IFS
6526  test -z "$as_dir" && as_dir=.
6527    for ac_exec_ext in '' $ac_executable_extensions; do
6528  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6529    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531    break 2
6532  fi
6533done
6534  done
6535IFS=$as_save_IFS
6536
6537fi
6538fi
6539DUMPBIN=$ac_cv_prog_DUMPBIN
6540if test -n "$DUMPBIN"; then
6541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6542$as_echo "$DUMPBIN" >&6; }
6543else
6544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545$as_echo "no" >&6; }
6546fi
6547
6548
6549    test -n "$DUMPBIN" && break
6550  done
6551fi
6552if test -z "$DUMPBIN"; then
6553  ac_ct_DUMPBIN=$DUMPBIN
6554  for ac_prog in dumpbin "link -dump"
6555do
6556  # Extract the first word of "$ac_prog", so it can be a program name with args.
6557set dummy $ac_prog; ac_word=$2
6558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559$as_echo_n "checking for $ac_word... " >&6; }
6560if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6561  $as_echo_n "(cached) " >&6
6562else
6563  if test -n "$ac_ct_DUMPBIN"; then
6564  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6565else
6566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567for as_dir in $PATH
6568do
6569  IFS=$as_save_IFS
6570  test -z "$as_dir" && as_dir=.
6571    for ac_exec_ext in '' $ac_executable_extensions; do
6572  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6574    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575    break 2
6576  fi
6577done
6578  done
6579IFS=$as_save_IFS
6580
6581fi
6582fi
6583ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6584if test -n "$ac_ct_DUMPBIN"; then
6585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6586$as_echo "$ac_ct_DUMPBIN" >&6; }
6587else
6588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589$as_echo "no" >&6; }
6590fi
6591
6592
6593  test -n "$ac_ct_DUMPBIN" && break
6594done
6595
6596  if test "x$ac_ct_DUMPBIN" = x; then
6597    DUMPBIN=":"
6598  else
6599    case $cross_compiling:$ac_tool_warned in
6600yes:)
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6602$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6603ac_tool_warned=yes ;;
6604esac
6605    DUMPBIN=$ac_ct_DUMPBIN
6606  fi
6607fi
6608
6609    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6610    *COFF*)
6611      DUMPBIN="$DUMPBIN -symbols -headers"
6612      ;;
6613    *)
6614      DUMPBIN=:
6615      ;;
6616    esac
6617  fi
6618
6619  if test : != "$DUMPBIN"; then
6620    NM=$DUMPBIN
6621  fi
6622fi
6623test -z "$NM" && NM=nm
6624
6625
6626
6627
6628
6629
6630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6631$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6632if ${lt_cv_nm_interface+:} false; then :
6633  $as_echo_n "(cached) " >&6
6634else
6635  lt_cv_nm_interface="BSD nm"
6636  echo "int some_variable = 0;" > conftest.$ac_ext
6637  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6638  (eval "$ac_compile" 2>conftest.err)
6639  cat conftest.err >&5
6640  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6641  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6642  cat conftest.err >&5
6643  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6644  cat conftest.out >&5
6645  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6646    lt_cv_nm_interface="MS dumpbin"
6647  fi
6648  rm -f conftest*
6649fi
6650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6651$as_echo "$lt_cv_nm_interface" >&6; }
6652
6653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6654$as_echo_n "checking whether ln -s works... " >&6; }
6655LN_S=$as_ln_s
6656if test "$LN_S" = "ln -s"; then
6657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6658$as_echo "yes" >&6; }
6659else
6660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6661$as_echo "no, using $LN_S" >&6; }
6662fi
6663
6664# find the maximum length of command line arguments
6665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6666$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6667if ${lt_cv_sys_max_cmd_len+:} false; then :
6668  $as_echo_n "(cached) " >&6
6669else
6670    i=0
6671  teststring=ABCD
6672
6673  case $build_os in
6674  msdosdjgpp*)
6675    # On DJGPP, this test can blow up pretty badly due to problems in libc
6676    # (any single argument exceeding 2000 bytes causes a buffer overrun
6677    # during glob expansion).  Even if it were fixed, the result of this
6678    # check would be larger than it should be.
6679    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6680    ;;
6681
6682  gnu*)
6683    # Under GNU Hurd, this test is not required because there is
6684    # no limit to the length of command line arguments.
6685    # Libtool will interpret -1 as no limit whatsoever
6686    lt_cv_sys_max_cmd_len=-1;
6687    ;;
6688
6689  cygwin* | mingw* | cegcc*)
6690    # On Win9x/ME, this test blows up -- it succeeds, but takes
6691    # about 5 minutes as the teststring grows exponentially.
6692    # Worse, since 9x/ME are not pre-emptively multitasking,
6693    # you end up with a "frozen" computer, even though with patience
6694    # the test eventually succeeds (with a max line length of 256k).
6695    # Instead, let's just punt: use the minimum linelength reported by
6696    # all of the supported platforms: 8192 (on NT/2K/XP).
6697    lt_cv_sys_max_cmd_len=8192;
6698    ;;
6699
6700  mint*)
6701    # On MiNT this can take a long time and run out of memory.
6702    lt_cv_sys_max_cmd_len=8192;
6703    ;;
6704
6705  amigaos*)
6706    # On AmigaOS with pdksh, this test takes hours, literally.
6707    # So we just punt and use a minimum line length of 8192.
6708    lt_cv_sys_max_cmd_len=8192;
6709    ;;
6710
6711  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6712    # This has been around since 386BSD, at least.  Likely further.
6713    if test -x /sbin/sysctl; then
6714      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6715    elif test -x /usr/sbin/sysctl; then
6716      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6717    else
6718      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6719    fi
6720    # And add a safety zone
6721    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6722    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6723    ;;
6724
6725  interix*)
6726    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6727    lt_cv_sys_max_cmd_len=196608
6728    ;;
6729
6730  os2*)
6731    # The test takes a long time on OS/2.
6732    lt_cv_sys_max_cmd_len=8192
6733    ;;
6734
6735  osf*)
6736    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6737    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6738    # nice to cause kernel panics so lets avoid the loop below.
6739    # First set a reasonable default.
6740    lt_cv_sys_max_cmd_len=16384
6741    #
6742    if test -x /sbin/sysconfig; then
6743      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6744        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6745      esac
6746    fi
6747    ;;
6748  sco3.2v5*)
6749    lt_cv_sys_max_cmd_len=102400
6750    ;;
6751  sysv5* | sco5v6* | sysv4.2uw2*)
6752    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6753    if test -n "$kargmax"; then
6754      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6755    else
6756      lt_cv_sys_max_cmd_len=32768
6757    fi
6758    ;;
6759  *)
6760    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6761    if test -n "$lt_cv_sys_max_cmd_len" && \
6762       test undefined != "$lt_cv_sys_max_cmd_len"; then
6763      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6764      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6765    else
6766      # Make teststring a little bigger before we do anything with it.
6767      # a 1K string should be a reasonable start.
6768      for i in 1 2 3 4 5 6 7 8; do
6769        teststring=$teststring$teststring
6770      done
6771      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6772      # If test is not a shell built-in, we'll probably end up computing a
6773      # maximum length that is only half of the actual maximum length, but
6774      # we can't tell.
6775      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6776	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6777	      test 17 != "$i" # 1/2 MB should be enough
6778      do
6779        i=`expr $i + 1`
6780        teststring=$teststring$teststring
6781      done
6782      # Only check the string length outside the loop.
6783      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6784      teststring=
6785      # Add a significant safety factor because C++ compilers can tack on
6786      # massive amounts of additional arguments before passing them to the
6787      # linker.  It appears as though 1/2 is a usable value.
6788      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6789    fi
6790    ;;
6791  esac
6792
6793fi
6794
6795if test -n "$lt_cv_sys_max_cmd_len"; then
6796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6797$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6798else
6799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6800$as_echo "none" >&6; }
6801fi
6802max_cmd_len=$lt_cv_sys_max_cmd_len
6803
6804
6805
6806
6807
6808
6809: ${CP="cp -f"}
6810: ${MV="mv -f"}
6811: ${RM="rm -f"}
6812
6813if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6814  lt_unset=unset
6815else
6816  lt_unset=false
6817fi
6818
6819
6820
6821
6822
6823# test EBCDIC or ASCII
6824case `echo X|tr X '\101'` in
6825 A) # ASCII based system
6826    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6827  lt_SP2NL='tr \040 \012'
6828  lt_NL2SP='tr \015\012 \040\040'
6829  ;;
6830 *) # EBCDIC based system
6831  lt_SP2NL='tr \100 \n'
6832  lt_NL2SP='tr \r\n \100\100'
6833  ;;
6834esac
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6845$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6846if ${lt_cv_to_host_file_cmd+:} false; then :
6847  $as_echo_n "(cached) " >&6
6848else
6849  case $host in
6850  *-*-mingw* )
6851    case $build in
6852      *-*-mingw* ) # actually msys
6853        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6854        ;;
6855      *-*-cygwin* )
6856        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6857        ;;
6858      * ) # otherwise, assume *nix
6859        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6860        ;;
6861    esac
6862    ;;
6863  *-*-cygwin* )
6864    case $build in
6865      *-*-mingw* ) # actually msys
6866        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6867        ;;
6868      *-*-cygwin* )
6869        lt_cv_to_host_file_cmd=func_convert_file_noop
6870        ;;
6871      * ) # otherwise, assume *nix
6872        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6873        ;;
6874    esac
6875    ;;
6876  * ) # unhandled hosts (and "normal" native builds)
6877    lt_cv_to_host_file_cmd=func_convert_file_noop
6878    ;;
6879esac
6880
6881fi
6882
6883to_host_file_cmd=$lt_cv_to_host_file_cmd
6884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6885$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6886
6887
6888
6889
6890
6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6892$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6893if ${lt_cv_to_tool_file_cmd+:} false; then :
6894  $as_echo_n "(cached) " >&6
6895else
6896  #assume ordinary cross tools, or native build.
6897lt_cv_to_tool_file_cmd=func_convert_file_noop
6898case $host in
6899  *-*-mingw* )
6900    case $build in
6901      *-*-mingw* ) # actually msys
6902        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6903        ;;
6904    esac
6905    ;;
6906esac
6907
6908fi
6909
6910to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6912$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6913
6914
6915
6916
6917
6918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6919$as_echo_n "checking for $LD option to reload object files... " >&6; }
6920if ${lt_cv_ld_reload_flag+:} false; then :
6921  $as_echo_n "(cached) " >&6
6922else
6923  lt_cv_ld_reload_flag='-r'
6924fi
6925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6926$as_echo "$lt_cv_ld_reload_flag" >&6; }
6927reload_flag=$lt_cv_ld_reload_flag
6928case $reload_flag in
6929"" | " "*) ;;
6930*) reload_flag=" $reload_flag" ;;
6931esac
6932reload_cmds='$LD$reload_flag -o $output$reload_objs'
6933case $host_os in
6934  cygwin* | mingw* | pw32* | cegcc*)
6935    if test yes != "$GCC"; then
6936      reload_cmds=false
6937    fi
6938    ;;
6939  darwin*)
6940    if test yes = "$GCC"; then
6941      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6942    else
6943      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6944    fi
6945    ;;
6946esac
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956if test -n "$ac_tool_prefix"; then
6957  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6958set dummy ${ac_tool_prefix}objdump; ac_word=$2
6959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960$as_echo_n "checking for $ac_word... " >&6; }
6961if ${ac_cv_prog_OBJDUMP+:} false; then :
6962  $as_echo_n "(cached) " >&6
6963else
6964  if test -n "$OBJDUMP"; then
6965  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6966else
6967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968for as_dir in $PATH
6969do
6970  IFS=$as_save_IFS
6971  test -z "$as_dir" && as_dir=.
6972    for ac_exec_ext in '' $ac_executable_extensions; do
6973  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6975    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976    break 2
6977  fi
6978done
6979  done
6980IFS=$as_save_IFS
6981
6982fi
6983fi
6984OBJDUMP=$ac_cv_prog_OBJDUMP
6985if test -n "$OBJDUMP"; then
6986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6987$as_echo "$OBJDUMP" >&6; }
6988else
6989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990$as_echo "no" >&6; }
6991fi
6992
6993
6994fi
6995if test -z "$ac_cv_prog_OBJDUMP"; then
6996  ac_ct_OBJDUMP=$OBJDUMP
6997  # Extract the first word of "objdump", so it can be a program name with args.
6998set dummy objdump; ac_word=$2
6999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000$as_echo_n "checking for $ac_word... " >&6; }
7001if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7002  $as_echo_n "(cached) " >&6
7003else
7004  if test -n "$ac_ct_OBJDUMP"; then
7005  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7006else
7007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008for as_dir in $PATH
7009do
7010  IFS=$as_save_IFS
7011  test -z "$as_dir" && as_dir=.
7012    for ac_exec_ext in '' $ac_executable_extensions; do
7013  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7015    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016    break 2
7017  fi
7018done
7019  done
7020IFS=$as_save_IFS
7021
7022fi
7023fi
7024ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7025if test -n "$ac_ct_OBJDUMP"; then
7026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7027$as_echo "$ac_ct_OBJDUMP" >&6; }
7028else
7029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030$as_echo "no" >&6; }
7031fi
7032
7033  if test "x$ac_ct_OBJDUMP" = x; then
7034    OBJDUMP="false"
7035  else
7036    case $cross_compiling:$ac_tool_warned in
7037yes:)
7038{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7039$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7040ac_tool_warned=yes ;;
7041esac
7042    OBJDUMP=$ac_ct_OBJDUMP
7043  fi
7044else
7045  OBJDUMP="$ac_cv_prog_OBJDUMP"
7046fi
7047
7048test -z "$OBJDUMP" && OBJDUMP=objdump
7049
7050
7051
7052
7053
7054
7055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7056$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7057if ${lt_cv_deplibs_check_method+:} false; then :
7058  $as_echo_n "(cached) " >&6
7059else
7060  lt_cv_file_magic_cmd='$MAGIC_CMD'
7061lt_cv_file_magic_test_file=
7062lt_cv_deplibs_check_method='unknown'
7063# Need to set the preceding variable on all platforms that support
7064# interlibrary dependencies.
7065# 'none' -- dependencies not supported.
7066# 'unknown' -- same as none, but documents that we really don't know.
7067# 'pass_all' -- all dependencies passed with no checks.
7068# 'test_compile' -- check by making test program.
7069# 'file_magic [[regex]]' -- check by looking for files in library path
7070# that responds to the $file_magic_cmd with a given extended regex.
7071# If you have 'file' or equivalent on your system and you're not sure
7072# whether 'pass_all' will *always* work, you probably want this one.
7073
7074case $host_os in
7075aix[4-9]*)
7076  lt_cv_deplibs_check_method=pass_all
7077  ;;
7078
7079beos*)
7080  lt_cv_deplibs_check_method=pass_all
7081  ;;
7082
7083bsdi[45]*)
7084  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7085  lt_cv_file_magic_cmd='/usr/bin/file -L'
7086  lt_cv_file_magic_test_file=/shlib/libc.so
7087  ;;
7088
7089cygwin*)
7090  # func_win32_libid is a shell function defined in ltmain.sh
7091  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7092  lt_cv_file_magic_cmd='func_win32_libid'
7093  ;;
7094
7095mingw* | pw32*)
7096  # Base MSYS/MinGW do not provide the 'file' command needed by
7097  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7098  # unless we find 'file', for example because we are cross-compiling.
7099  if ( file / ) >/dev/null 2>&1; then
7100    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7101    lt_cv_file_magic_cmd='func_win32_libid'
7102  else
7103    # Keep this pattern in sync with the one in func_win32_libid.
7104    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7105    lt_cv_file_magic_cmd='$OBJDUMP -f'
7106  fi
7107  ;;
7108
7109cegcc*)
7110  # use the weaker test based on 'objdump'. See mingw*.
7111  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7112  lt_cv_file_magic_cmd='$OBJDUMP -f'
7113  ;;
7114
7115darwin* | rhapsody*)
7116  lt_cv_deplibs_check_method=pass_all
7117  ;;
7118
7119freebsd* | dragonfly*)
7120  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7121    case $host_cpu in
7122    i*86 )
7123      # Not sure whether the presence of OpenBSD here was a mistake.
7124      # Let's accept both of them until this is cleared up.
7125      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7126      lt_cv_file_magic_cmd=/usr/bin/file
7127      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7128      ;;
7129    esac
7130  else
7131    lt_cv_deplibs_check_method=pass_all
7132  fi
7133  ;;
7134
7135haiku*)
7136  lt_cv_deplibs_check_method=pass_all
7137  ;;
7138
7139hpux10.20* | hpux11*)
7140  lt_cv_file_magic_cmd=/usr/bin/file
7141  case $host_cpu in
7142  ia64*)
7143    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7144    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7145    ;;
7146  hppa*64*)
7147    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]'
7148    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7149    ;;
7150  *)
7151    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7152    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7153    ;;
7154  esac
7155  ;;
7156
7157interix[3-9]*)
7158  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7159  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7160  ;;
7161
7162irix5* | irix6* | nonstopux*)
7163  case $LD in
7164  *-32|*"-32 ") libmagic=32-bit;;
7165  *-n32|*"-n32 ") libmagic=N32;;
7166  *-64|*"-64 ") libmagic=64-bit;;
7167  *) libmagic=never-match;;
7168  esac
7169  lt_cv_deplibs_check_method=pass_all
7170  ;;
7171
7172# This must be glibc/ELF.
7173linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7174  lt_cv_deplibs_check_method=pass_all
7175  ;;
7176
7177netbsd*)
7178  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7179    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7180  else
7181    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7182  fi
7183  ;;
7184
7185newos6*)
7186  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7187  lt_cv_file_magic_cmd=/usr/bin/file
7188  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7189  ;;
7190
7191*nto* | *qnx*)
7192  lt_cv_deplibs_check_method=pass_all
7193  ;;
7194
7195openbsd* | bitrig*)
7196  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7197    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7198  else
7199    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7200  fi
7201  ;;
7202
7203osf3* | osf4* | osf5*)
7204  lt_cv_deplibs_check_method=pass_all
7205  ;;
7206
7207rdos*)
7208  lt_cv_deplibs_check_method=pass_all
7209  ;;
7210
7211solaris*)
7212  lt_cv_deplibs_check_method=pass_all
7213  ;;
7214
7215sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7216  lt_cv_deplibs_check_method=pass_all
7217  ;;
7218
7219sysv4 | sysv4.3*)
7220  case $host_vendor in
7221  motorola)
7222    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]'
7223    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7224    ;;
7225  ncr)
7226    lt_cv_deplibs_check_method=pass_all
7227    ;;
7228  sequent)
7229    lt_cv_file_magic_cmd='/bin/file'
7230    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7231    ;;
7232  sni)
7233    lt_cv_file_magic_cmd='/bin/file'
7234    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7235    lt_cv_file_magic_test_file=/lib/libc.so
7236    ;;
7237  siemens)
7238    lt_cv_deplibs_check_method=pass_all
7239    ;;
7240  pc)
7241    lt_cv_deplibs_check_method=pass_all
7242    ;;
7243  esac
7244  ;;
7245
7246tpf*)
7247  lt_cv_deplibs_check_method=pass_all
7248  ;;
7249os2*)
7250  lt_cv_deplibs_check_method=pass_all
7251  ;;
7252esac
7253
7254fi
7255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7256$as_echo "$lt_cv_deplibs_check_method" >&6; }
7257
7258file_magic_glob=
7259want_nocaseglob=no
7260if test "$build" = "$host"; then
7261  case $host_os in
7262  mingw* | pw32*)
7263    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7264      want_nocaseglob=yes
7265    else
7266      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7267    fi
7268    ;;
7269  esac
7270fi
7271
7272file_magic_cmd=$lt_cv_file_magic_cmd
7273deplibs_check_method=$lt_cv_deplibs_check_method
7274test -z "$deplibs_check_method" && deplibs_check_method=unknown
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297if test -n "$ac_tool_prefix"; then
7298  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7299set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301$as_echo_n "checking for $ac_word... " >&6; }
7302if ${ac_cv_prog_DLLTOOL+:} false; then :
7303  $as_echo_n "(cached) " >&6
7304else
7305  if test -n "$DLLTOOL"; then
7306  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7307else
7308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309for as_dir in $PATH
7310do
7311  IFS=$as_save_IFS
7312  test -z "$as_dir" && as_dir=.
7313    for ac_exec_ext in '' $ac_executable_extensions; do
7314  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7315    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7317    break 2
7318  fi
7319done
7320  done
7321IFS=$as_save_IFS
7322
7323fi
7324fi
7325DLLTOOL=$ac_cv_prog_DLLTOOL
7326if test -n "$DLLTOOL"; then
7327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7328$as_echo "$DLLTOOL" >&6; }
7329else
7330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331$as_echo "no" >&6; }
7332fi
7333
7334
7335fi
7336if test -z "$ac_cv_prog_DLLTOOL"; then
7337  ac_ct_DLLTOOL=$DLLTOOL
7338  # Extract the first word of "dlltool", so it can be a program name with args.
7339set dummy dlltool; ac_word=$2
7340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341$as_echo_n "checking for $ac_word... " >&6; }
7342if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7343  $as_echo_n "(cached) " >&6
7344else
7345  if test -n "$ac_ct_DLLTOOL"; then
7346  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7347else
7348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349for as_dir in $PATH
7350do
7351  IFS=$as_save_IFS
7352  test -z "$as_dir" && as_dir=.
7353    for ac_exec_ext in '' $ac_executable_extensions; do
7354  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7355    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7356    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357    break 2
7358  fi
7359done
7360  done
7361IFS=$as_save_IFS
7362
7363fi
7364fi
7365ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7366if test -n "$ac_ct_DLLTOOL"; then
7367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7368$as_echo "$ac_ct_DLLTOOL" >&6; }
7369else
7370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371$as_echo "no" >&6; }
7372fi
7373
7374  if test "x$ac_ct_DLLTOOL" = x; then
7375    DLLTOOL="false"
7376  else
7377    case $cross_compiling:$ac_tool_warned in
7378yes:)
7379{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7380$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7381ac_tool_warned=yes ;;
7382esac
7383    DLLTOOL=$ac_ct_DLLTOOL
7384  fi
7385else
7386  DLLTOOL="$ac_cv_prog_DLLTOOL"
7387fi
7388
7389test -z "$DLLTOOL" && DLLTOOL=dlltool
7390
7391
7392
7393
7394
7395
7396
7397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7398$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7399if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7400  $as_echo_n "(cached) " >&6
7401else
7402  lt_cv_sharedlib_from_linklib_cmd='unknown'
7403
7404case $host_os in
7405cygwin* | mingw* | pw32* | cegcc*)
7406  # two different shell functions defined in ltmain.sh;
7407  # decide which one to use based on capabilities of $DLLTOOL
7408  case `$DLLTOOL --help 2>&1` in
7409  *--identify-strict*)
7410    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7411    ;;
7412  *)
7413    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7414    ;;
7415  esac
7416  ;;
7417*)
7418  # fallback: assume linklib IS sharedlib
7419  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7420  ;;
7421esac
7422
7423fi
7424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7425$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7426sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7427test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7428
7429
7430
7431
7432
7433
7434
7435if test -n "$ac_tool_prefix"; then
7436  for ac_prog in ar
7437  do
7438    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7439set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441$as_echo_n "checking for $ac_word... " >&6; }
7442if ${ac_cv_prog_AR+:} false; then :
7443  $as_echo_n "(cached) " >&6
7444else
7445  if test -n "$AR"; then
7446  ac_cv_prog_AR="$AR" # Let the user override the test.
7447else
7448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449for as_dir in $PATH
7450do
7451  IFS=$as_save_IFS
7452  test -z "$as_dir" && as_dir=.
7453    for ac_exec_ext in '' $ac_executable_extensions; do
7454  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7455    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457    break 2
7458  fi
7459done
7460  done
7461IFS=$as_save_IFS
7462
7463fi
7464fi
7465AR=$ac_cv_prog_AR
7466if test -n "$AR"; then
7467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7468$as_echo "$AR" >&6; }
7469else
7470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471$as_echo "no" >&6; }
7472fi
7473
7474
7475    test -n "$AR" && break
7476  done
7477fi
7478if test -z "$AR"; then
7479  ac_ct_AR=$AR
7480  for ac_prog in ar
7481do
7482  # Extract the first word of "$ac_prog", so it can be a program name with args.
7483set dummy $ac_prog; ac_word=$2
7484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485$as_echo_n "checking for $ac_word... " >&6; }
7486if ${ac_cv_prog_ac_ct_AR+:} false; then :
7487  $as_echo_n "(cached) " >&6
7488else
7489  if test -n "$ac_ct_AR"; then
7490  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7491else
7492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493for as_dir in $PATH
7494do
7495  IFS=$as_save_IFS
7496  test -z "$as_dir" && as_dir=.
7497    for ac_exec_ext in '' $ac_executable_extensions; do
7498  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7499    ac_cv_prog_ac_ct_AR="$ac_prog"
7500    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501    break 2
7502  fi
7503done
7504  done
7505IFS=$as_save_IFS
7506
7507fi
7508fi
7509ac_ct_AR=$ac_cv_prog_ac_ct_AR
7510if test -n "$ac_ct_AR"; then
7511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7512$as_echo "$ac_ct_AR" >&6; }
7513else
7514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515$as_echo "no" >&6; }
7516fi
7517
7518
7519  test -n "$ac_ct_AR" && break
7520done
7521
7522  if test "x$ac_ct_AR" = x; then
7523    AR="false"
7524  else
7525    case $cross_compiling:$ac_tool_warned in
7526yes:)
7527{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7528$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7529ac_tool_warned=yes ;;
7530esac
7531    AR=$ac_ct_AR
7532  fi
7533fi
7534
7535: ${AR=ar}
7536: ${AR_FLAGS=cru}
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7549$as_echo_n "checking for archiver @FILE support... " >&6; }
7550if ${lt_cv_ar_at_file+:} false; then :
7551  $as_echo_n "(cached) " >&6
7552else
7553  lt_cv_ar_at_file=no
7554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555/* end confdefs.h.  */
7556
7557int
7558main ()
7559{
7560
7561  ;
7562  return 0;
7563}
7564_ACEOF
7565if ac_fn_c_try_compile "$LINENO"; then :
7566  echo conftest.$ac_objext > conftest.lst
7567      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7568      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7569  (eval $lt_ar_try) 2>&5
7570  ac_status=$?
7571  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7572  test $ac_status = 0; }
7573      if test 0 -eq "$ac_status"; then
7574	# Ensure the archiver fails upon bogus file names.
7575	rm -f conftest.$ac_objext libconftest.a
7576	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7577  (eval $lt_ar_try) 2>&5
7578  ac_status=$?
7579  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7580  test $ac_status = 0; }
7581	if test 0 -ne "$ac_status"; then
7582          lt_cv_ar_at_file=@
7583        fi
7584      fi
7585      rm -f conftest.* libconftest.a
7586
7587fi
7588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7589
7590fi
7591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7592$as_echo "$lt_cv_ar_at_file" >&6; }
7593
7594if test no = "$lt_cv_ar_at_file"; then
7595  archiver_list_spec=
7596else
7597  archiver_list_spec=$lt_cv_ar_at_file
7598fi
7599
7600
7601
7602
7603
7604
7605
7606if test -n "$ac_tool_prefix"; then
7607  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7608set dummy ${ac_tool_prefix}strip; ac_word=$2
7609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7610$as_echo_n "checking for $ac_word... " >&6; }
7611if ${ac_cv_prog_STRIP+:} false; then :
7612  $as_echo_n "(cached) " >&6
7613else
7614  if test -n "$STRIP"; then
7615  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7616else
7617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7618for as_dir in $PATH
7619do
7620  IFS=$as_save_IFS
7621  test -z "$as_dir" && as_dir=.
7622    for ac_exec_ext in '' $ac_executable_extensions; do
7623  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7624    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7626    break 2
7627  fi
7628done
7629  done
7630IFS=$as_save_IFS
7631
7632fi
7633fi
7634STRIP=$ac_cv_prog_STRIP
7635if test -n "$STRIP"; then
7636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7637$as_echo "$STRIP" >&6; }
7638else
7639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7640$as_echo "no" >&6; }
7641fi
7642
7643
7644fi
7645if test -z "$ac_cv_prog_STRIP"; then
7646  ac_ct_STRIP=$STRIP
7647  # Extract the first word of "strip", so it can be a program name with args.
7648set dummy strip; ac_word=$2
7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650$as_echo_n "checking for $ac_word... " >&6; }
7651if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7652  $as_echo_n "(cached) " >&6
7653else
7654  if test -n "$ac_ct_STRIP"; then
7655  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7656else
7657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7658for as_dir in $PATH
7659do
7660  IFS=$as_save_IFS
7661  test -z "$as_dir" && as_dir=.
7662    for ac_exec_ext in '' $ac_executable_extensions; do
7663  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7664    ac_cv_prog_ac_ct_STRIP="strip"
7665    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666    break 2
7667  fi
7668done
7669  done
7670IFS=$as_save_IFS
7671
7672fi
7673fi
7674ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7675if test -n "$ac_ct_STRIP"; then
7676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7677$as_echo "$ac_ct_STRIP" >&6; }
7678else
7679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680$as_echo "no" >&6; }
7681fi
7682
7683  if test "x$ac_ct_STRIP" = x; then
7684    STRIP=":"
7685  else
7686    case $cross_compiling:$ac_tool_warned in
7687yes:)
7688{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7689$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7690ac_tool_warned=yes ;;
7691esac
7692    STRIP=$ac_ct_STRIP
7693  fi
7694else
7695  STRIP="$ac_cv_prog_STRIP"
7696fi
7697
7698test -z "$STRIP" && STRIP=:
7699
7700
7701
7702
7703
7704
7705if test -n "$ac_tool_prefix"; then
7706  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7707set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709$as_echo_n "checking for $ac_word... " >&6; }
7710if ${ac_cv_prog_RANLIB+:} false; then :
7711  $as_echo_n "(cached) " >&6
7712else
7713  if test -n "$RANLIB"; then
7714  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7715else
7716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717for as_dir in $PATH
7718do
7719  IFS=$as_save_IFS
7720  test -z "$as_dir" && as_dir=.
7721    for ac_exec_ext in '' $ac_executable_extensions; do
7722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7723    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725    break 2
7726  fi
7727done
7728  done
7729IFS=$as_save_IFS
7730
7731fi
7732fi
7733RANLIB=$ac_cv_prog_RANLIB
7734if test -n "$RANLIB"; then
7735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7736$as_echo "$RANLIB" >&6; }
7737else
7738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739$as_echo "no" >&6; }
7740fi
7741
7742
7743fi
7744if test -z "$ac_cv_prog_RANLIB"; then
7745  ac_ct_RANLIB=$RANLIB
7746  # Extract the first word of "ranlib", so it can be a program name with args.
7747set dummy ranlib; ac_word=$2
7748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749$as_echo_n "checking for $ac_word... " >&6; }
7750if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7751  $as_echo_n "(cached) " >&6
7752else
7753  if test -n "$ac_ct_RANLIB"; then
7754  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7755else
7756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757for as_dir in $PATH
7758do
7759  IFS=$as_save_IFS
7760  test -z "$as_dir" && as_dir=.
7761    for ac_exec_ext in '' $ac_executable_extensions; do
7762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7763    ac_cv_prog_ac_ct_RANLIB="ranlib"
7764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765    break 2
7766  fi
7767done
7768  done
7769IFS=$as_save_IFS
7770
7771fi
7772fi
7773ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7774if test -n "$ac_ct_RANLIB"; then
7775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7776$as_echo "$ac_ct_RANLIB" >&6; }
7777else
7778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779$as_echo "no" >&6; }
7780fi
7781
7782  if test "x$ac_ct_RANLIB" = x; then
7783    RANLIB=":"
7784  else
7785    case $cross_compiling:$ac_tool_warned in
7786yes:)
7787{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789ac_tool_warned=yes ;;
7790esac
7791    RANLIB=$ac_ct_RANLIB
7792  fi
7793else
7794  RANLIB="$ac_cv_prog_RANLIB"
7795fi
7796
7797test -z "$RANLIB" && RANLIB=:
7798
7799
7800
7801
7802
7803
7804# Determine commands to create old-style static archives.
7805old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7806old_postinstall_cmds='chmod 644 $oldlib'
7807old_postuninstall_cmds=
7808
7809if test -n "$RANLIB"; then
7810  case $host_os in
7811  bitrig* | openbsd*)
7812    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7813    ;;
7814  *)
7815    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7816    ;;
7817  esac
7818  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7819fi
7820
7821case $host_os in
7822  darwin*)
7823    lock_old_archive_extraction=yes ;;
7824  *)
7825    lock_old_archive_extraction=no ;;
7826esac
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866# If no C compiler was specified, use CC.
7867LTCC=${LTCC-"$CC"}
7868
7869# If no C compiler flags were specified, use CFLAGS.
7870LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7871
7872# Allow CC to be a program name with arguments.
7873compiler=$CC
7874
7875
7876# Check for command to grab the raw symbol name followed by C symbol from nm.
7877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7878$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7879if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7880  $as_echo_n "(cached) " >&6
7881else
7882
7883# These are sane defaults that work on at least a few old systems.
7884# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7885
7886# Character class describing NM global symbol codes.
7887symcode='[BCDEGRST]'
7888
7889# Regexp to match symbols that can be accessed directly from C.
7890sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7891
7892# Define system-specific variables.
7893case $host_os in
7894aix*)
7895  symcode='[BCDT]'
7896  ;;
7897cygwin* | mingw* | pw32* | cegcc*)
7898  symcode='[ABCDGISTW]'
7899  ;;
7900hpux*)
7901  if test ia64 = "$host_cpu"; then
7902    symcode='[ABCDEGRST]'
7903  fi
7904  ;;
7905irix* | nonstopux*)
7906  symcode='[BCDEGRST]'
7907  ;;
7908osf*)
7909  symcode='[BCDEGQRST]'
7910  ;;
7911solaris*)
7912  symcode='[BDRT]'
7913  ;;
7914sco3.2v5*)
7915  symcode='[DT]'
7916  ;;
7917sysv4.2uw2*)
7918  symcode='[DT]'
7919  ;;
7920sysv5* | sco5v6* | unixware* | OpenUNIX*)
7921  symcode='[ABDT]'
7922  ;;
7923sysv4)
7924  symcode='[DFNSTU]'
7925  ;;
7926esac
7927
7928# If we're using GNU nm, then use its standard symbol codes.
7929case `$NM -V 2>&1` in
7930*GNU* | *'with BFD'*)
7931  symcode='[ABCDGIRSTW]' ;;
7932esac
7933
7934if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7935  # Gets list of data symbols to import.
7936  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7937  # Adjust the below global symbol transforms to fixup imported variables.
7938  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7939  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7940  lt_c_name_lib_hook="\
7941  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7942  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7943else
7944  # Disable hooks by default.
7945  lt_cv_sys_global_symbol_to_import=
7946  lt_cdecl_hook=
7947  lt_c_name_hook=
7948  lt_c_name_lib_hook=
7949fi
7950
7951# Transform an extracted symbol line into a proper C declaration.
7952# Some systems (esp. on ia64) link data and code symbols differently,
7953# so use this general approach.
7954lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7955$lt_cdecl_hook\
7956" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7957" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7958
7959# Transform an extracted symbol line into symbol name and symbol address
7960lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7961$lt_c_name_hook\
7962" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7963" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7964
7965# Transform an extracted symbol line into symbol name with lib prefix and
7966# symbol address.
7967lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7968$lt_c_name_lib_hook\
7969" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7970" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7971" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7972
7973# Handle CRLF in mingw tool chain
7974opt_cr=
7975case $build_os in
7976mingw*)
7977  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7978  ;;
7979esac
7980
7981# Try without a prefix underscore, then with it.
7982for ac_symprfx in "" "_"; do
7983
7984  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7985  symxfrm="\\1 $ac_symprfx\\2 \\2"
7986
7987  # Write the raw and C identifiers.
7988  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7989    # Fake it for dumpbin and say T for any non-static function,
7990    # D for any global variable and I for any imported variable.
7991    # Also find C++ and __fastcall symbols from MSVC++,
7992    # which start with @ or ?.
7993    lt_cv_sys_global_symbol_pipe="$AWK '"\
7994"     {last_section=section; section=\$ 3};"\
7995"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7996"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7997"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7998"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7999"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8000"     \$ 0!~/External *\|/{next};"\
8001"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8002"     {if(hide[section]) next};"\
8003"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8004"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8005"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8006"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8007"     ' prfx=^$ac_symprfx"
8008  else
8009    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8010  fi
8011  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8012
8013  # Check to see that the pipe works correctly.
8014  pipe_works=no
8015
8016  rm -f conftest*
8017  cat > conftest.$ac_ext <<_LT_EOF
8018#ifdef __cplusplus
8019extern "C" {
8020#endif
8021char nm_test_var;
8022void nm_test_func(void);
8023void nm_test_func(void){}
8024#ifdef __cplusplus
8025}
8026#endif
8027int main(){nm_test_var='a';nm_test_func();return(0);}
8028_LT_EOF
8029
8030  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8031  (eval $ac_compile) 2>&5
8032  ac_status=$?
8033  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8034  test $ac_status = 0; }; then
8035    # Now try to grab the symbols.
8036    nlist=conftest.nm
8037    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8038  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8039  ac_status=$?
8040  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8041  test $ac_status = 0; } && test -s "$nlist"; then
8042      # Try sorting and uniquifying the output.
8043      if sort "$nlist" | uniq > "$nlist"T; then
8044	mv -f "$nlist"T "$nlist"
8045      else
8046	rm -f "$nlist"T
8047      fi
8048
8049      # Make sure that we snagged all the symbols we need.
8050      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8051	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8052	  cat <<_LT_EOF > conftest.$ac_ext
8053/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8054#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8055/* DATA imports from DLLs on WIN32 can't be const, because runtime
8056   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8057# define LT_DLSYM_CONST
8058#elif defined __osf__
8059/* This system does not cope well with relocations in const data.  */
8060# define LT_DLSYM_CONST
8061#else
8062# define LT_DLSYM_CONST const
8063#endif
8064
8065#ifdef __cplusplus
8066extern "C" {
8067#endif
8068
8069_LT_EOF
8070	  # Now generate the symbol file.
8071	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8072
8073	  cat <<_LT_EOF >> conftest.$ac_ext
8074
8075/* The mapping between symbol names and symbols.  */
8076LT_DLSYM_CONST struct {
8077  const char *name;
8078  void       *address;
8079}
8080lt__PROGRAM__LTX_preloaded_symbols[] =
8081{
8082  { "@PROGRAM@", (void *) 0 },
8083_LT_EOF
8084	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8085	  cat <<\_LT_EOF >> conftest.$ac_ext
8086  {0, (void *) 0}
8087};
8088
8089/* This works around a problem in FreeBSD linker */
8090#ifdef FREEBSD_WORKAROUND
8091static const void *lt_preloaded_setup() {
8092  return lt__PROGRAM__LTX_preloaded_symbols;
8093}
8094#endif
8095
8096#ifdef __cplusplus
8097}
8098#endif
8099_LT_EOF
8100	  # Now try linking the two files.
8101	  mv conftest.$ac_objext conftstm.$ac_objext
8102	  lt_globsym_save_LIBS=$LIBS
8103	  lt_globsym_save_CFLAGS=$CFLAGS
8104	  LIBS=conftstm.$ac_objext
8105	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8106	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8107  (eval $ac_link) 2>&5
8108  ac_status=$?
8109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8110  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8111	    pipe_works=yes
8112	  fi
8113	  LIBS=$lt_globsym_save_LIBS
8114	  CFLAGS=$lt_globsym_save_CFLAGS
8115	else
8116	  echo "cannot find nm_test_func in $nlist" >&5
8117	fi
8118      else
8119	echo "cannot find nm_test_var in $nlist" >&5
8120      fi
8121    else
8122      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8123    fi
8124  else
8125    echo "$progname: failed program was:" >&5
8126    cat conftest.$ac_ext >&5
8127  fi
8128  rm -rf conftest* conftst*
8129
8130  # Do not use the global_symbol_pipe unless it works.
8131  if test yes = "$pipe_works"; then
8132    break
8133  else
8134    lt_cv_sys_global_symbol_pipe=
8135  fi
8136done
8137
8138fi
8139
8140if test -z "$lt_cv_sys_global_symbol_pipe"; then
8141  lt_cv_sys_global_symbol_to_cdecl=
8142fi
8143if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8145$as_echo "failed" >&6; }
8146else
8147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8148$as_echo "ok" >&6; }
8149fi
8150
8151# Response file support.
8152if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8153  nm_file_list_spec='@'
8154elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8155  nm_file_list_spec='@'
8156fi
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8195$as_echo_n "checking for sysroot... " >&6; }
8196
8197# Check whether --with-sysroot was given.
8198if test "${with_sysroot+set}" = set; then :
8199  withval=$with_sysroot;
8200else
8201  with_sysroot=no
8202fi
8203
8204
8205lt_sysroot=
8206case $with_sysroot in #(
8207 yes)
8208   if test yes = "$GCC"; then
8209     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8210   fi
8211   ;; #(
8212 /*)
8213   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8214   ;; #(
8215 no|'')
8216   ;; #(
8217 *)
8218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8219$as_echo "$with_sysroot" >&6; }
8220   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8221   ;;
8222esac
8223
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8225$as_echo "${lt_sysroot:-no}" >&6; }
8226
8227
8228
8229
8230
8231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8232$as_echo_n "checking for a working dd... " >&6; }
8233if ${ac_cv_path_lt_DD+:} false; then :
8234  $as_echo_n "(cached) " >&6
8235else
8236  printf 0123456789abcdef0123456789abcdef >conftest.i
8237cat conftest.i conftest.i >conftest2.i
8238: ${lt_DD:=$DD}
8239if test -z "$lt_DD"; then
8240  ac_path_lt_DD_found=false
8241  # Loop through the user's path and test for each of PROGNAME-LIST
8242  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243for as_dir in $PATH
8244do
8245  IFS=$as_save_IFS
8246  test -z "$as_dir" && as_dir=.
8247    for ac_prog in dd; do
8248    for ac_exec_ext in '' $ac_executable_extensions; do
8249      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8250      as_fn_executable_p "$ac_path_lt_DD" || continue
8251if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8252  cmp -s conftest.i conftest.out \
8253  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8254fi
8255      $ac_path_lt_DD_found && break 3
8256    done
8257  done
8258  done
8259IFS=$as_save_IFS
8260  if test -z "$ac_cv_path_lt_DD"; then
8261    :
8262  fi
8263else
8264  ac_cv_path_lt_DD=$lt_DD
8265fi
8266
8267rm -f conftest.i conftest2.i conftest.out
8268fi
8269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8270$as_echo "$ac_cv_path_lt_DD" >&6; }
8271
8272
8273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8274$as_echo_n "checking how to truncate binary pipes... " >&6; }
8275if ${lt_cv_truncate_bin+:} false; then :
8276  $as_echo_n "(cached) " >&6
8277else
8278  printf 0123456789abcdef0123456789abcdef >conftest.i
8279cat conftest.i conftest.i >conftest2.i
8280lt_cv_truncate_bin=
8281if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8282  cmp -s conftest.i conftest.out \
8283  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8284fi
8285rm -f conftest.i conftest2.i conftest.out
8286test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8287fi
8288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8289$as_echo "$lt_cv_truncate_bin" >&6; }
8290
8291
8292
8293
8294
8295
8296
8297# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8298func_cc_basename ()
8299{
8300    for cc_temp in $*""; do
8301      case $cc_temp in
8302        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8303        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8304        \-*) ;;
8305        *) break;;
8306      esac
8307    done
8308    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8309}
8310
8311# Check whether --enable-libtool-lock was given.
8312if test "${enable_libtool_lock+set}" = set; then :
8313  enableval=$enable_libtool_lock;
8314fi
8315
8316test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8317
8318# Some flags need to be propagated to the compiler or linker for good
8319# libtool support.
8320case $host in
8321ia64-*-hpux*)
8322  # Find out what ABI is being produced by ac_compile, and set mode
8323  # options accordingly.
8324  echo 'int i;' > conftest.$ac_ext
8325  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8326  (eval $ac_compile) 2>&5
8327  ac_status=$?
8328  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8329  test $ac_status = 0; }; then
8330    case `/usr/bin/file conftest.$ac_objext` in
8331      *ELF-32*)
8332	HPUX_IA64_MODE=32
8333	;;
8334      *ELF-64*)
8335	HPUX_IA64_MODE=64
8336	;;
8337    esac
8338  fi
8339  rm -rf conftest*
8340  ;;
8341*-*-irix6*)
8342  # Find out what ABI is being produced by ac_compile, and set linker
8343  # options accordingly.
8344  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8345  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8346  (eval $ac_compile) 2>&5
8347  ac_status=$?
8348  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8349  test $ac_status = 0; }; then
8350    if test yes = "$lt_cv_prog_gnu_ld"; then
8351      case `/usr/bin/file conftest.$ac_objext` in
8352	*32-bit*)
8353	  LD="${LD-ld} -melf32bsmip"
8354	  ;;
8355	*N32*)
8356	  LD="${LD-ld} -melf32bmipn32"
8357	  ;;
8358	*64-bit*)
8359	  LD="${LD-ld} -melf64bmip"
8360	;;
8361      esac
8362    else
8363      case `/usr/bin/file conftest.$ac_objext` in
8364	*32-bit*)
8365	  LD="${LD-ld} -32"
8366	  ;;
8367	*N32*)
8368	  LD="${LD-ld} -n32"
8369	  ;;
8370	*64-bit*)
8371	  LD="${LD-ld} -64"
8372	  ;;
8373      esac
8374    fi
8375  fi
8376  rm -rf conftest*
8377  ;;
8378
8379mips64*-*linux*)
8380  # Find out what ABI is being produced by ac_compile, and set linker
8381  # options accordingly.
8382  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8383  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8384  (eval $ac_compile) 2>&5
8385  ac_status=$?
8386  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8387  test $ac_status = 0; }; then
8388    emul=elf
8389    case `/usr/bin/file conftest.$ac_objext` in
8390      *32-bit*)
8391	emul="${emul}32"
8392	;;
8393      *64-bit*)
8394	emul="${emul}64"
8395	;;
8396    esac
8397    case `/usr/bin/file conftest.$ac_objext` in
8398      *MSB*)
8399	emul="${emul}btsmip"
8400	;;
8401      *LSB*)
8402	emul="${emul}ltsmip"
8403	;;
8404    esac
8405    case `/usr/bin/file conftest.$ac_objext` in
8406      *N32*)
8407	emul="${emul}n32"
8408	;;
8409    esac
8410    LD="${LD-ld} -m $emul"
8411  fi
8412  rm -rf conftest*
8413  ;;
8414
8415x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8416s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8417  # Find out what ABI is being produced by ac_compile, and set linker
8418  # options accordingly.  Note that the listed cases only cover the
8419  # situations where additional linker options are needed (such as when
8420  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8421  # vice versa); the common cases where no linker options are needed do
8422  # not appear in the list.
8423  echo 'int i;' > conftest.$ac_ext
8424  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8425  (eval $ac_compile) 2>&5
8426  ac_status=$?
8427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8428  test $ac_status = 0; }; then
8429    case `/usr/bin/file conftest.o` in
8430      *32-bit*)
8431	case $host in
8432	  x86_64-*kfreebsd*-gnu)
8433	    LD="${LD-ld} -m elf_i386_fbsd"
8434	    ;;
8435	  x86_64-*linux*)
8436	    case `/usr/bin/file conftest.o` in
8437	      *x86-64*)
8438		LD="${LD-ld} -m elf32_x86_64"
8439		;;
8440	      *)
8441		LD="${LD-ld} -m elf_i386"
8442		;;
8443	    esac
8444	    ;;
8445	  powerpc64le-*linux*)
8446	    LD="${LD-ld} -m elf32lppclinux"
8447	    ;;
8448	  powerpc64-*linux*)
8449	    LD="${LD-ld} -m elf32ppclinux"
8450	    ;;
8451	  s390x-*linux*)
8452	    LD="${LD-ld} -m elf_s390"
8453	    ;;
8454	  sparc64-*linux*)
8455	    LD="${LD-ld} -m elf32_sparc"
8456	    ;;
8457	esac
8458	;;
8459      *64-bit*)
8460	case $host in
8461	  x86_64-*kfreebsd*-gnu)
8462	    LD="${LD-ld} -m elf_x86_64_fbsd"
8463	    ;;
8464	  x86_64-*linux*)
8465	    LD="${LD-ld} -m elf_x86_64"
8466	    ;;
8467	  powerpcle-*linux*)
8468	    LD="${LD-ld} -m elf64lppc"
8469	    ;;
8470	  powerpc-*linux*)
8471	    LD="${LD-ld} -m elf64ppc"
8472	    ;;
8473	  s390*-*linux*|s390*-*tpf*)
8474	    LD="${LD-ld} -m elf64_s390"
8475	    ;;
8476	  sparc*-*linux*)
8477	    LD="${LD-ld} -m elf64_sparc"
8478	    ;;
8479	esac
8480	;;
8481    esac
8482  fi
8483  rm -rf conftest*
8484  ;;
8485
8486*-*-sco3.2v5*)
8487  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8488  SAVE_CFLAGS=$CFLAGS
8489  CFLAGS="$CFLAGS -belf"
8490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8491$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8492if ${lt_cv_cc_needs_belf+:} false; then :
8493  $as_echo_n "(cached) " >&6
8494else
8495  ac_ext=c
8496ac_cpp='$CPP $CPPFLAGS'
8497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8499ac_compiler_gnu=$ac_cv_c_compiler_gnu
8500
8501     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502/* end confdefs.h.  */
8503
8504int
8505main ()
8506{
8507
8508  ;
8509  return 0;
8510}
8511_ACEOF
8512if ac_fn_c_try_link "$LINENO"; then :
8513  lt_cv_cc_needs_belf=yes
8514else
8515  lt_cv_cc_needs_belf=no
8516fi
8517rm -f core conftest.err conftest.$ac_objext \
8518    conftest$ac_exeext conftest.$ac_ext
8519     ac_ext=c
8520ac_cpp='$CPP $CPPFLAGS'
8521ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8522ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8523ac_compiler_gnu=$ac_cv_c_compiler_gnu
8524
8525fi
8526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8527$as_echo "$lt_cv_cc_needs_belf" >&6; }
8528  if test yes != "$lt_cv_cc_needs_belf"; then
8529    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8530    CFLAGS=$SAVE_CFLAGS
8531  fi
8532  ;;
8533*-*solaris*)
8534  # Find out what ABI is being produced by ac_compile, and set linker
8535  # options accordingly.
8536  echo 'int i;' > conftest.$ac_ext
8537  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8538  (eval $ac_compile) 2>&5
8539  ac_status=$?
8540  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8541  test $ac_status = 0; }; then
8542    case `/usr/bin/file conftest.o` in
8543    *64-bit*)
8544      case $lt_cv_prog_gnu_ld in
8545      yes*)
8546        case $host in
8547        i?86-*-solaris*|x86_64-*-solaris*)
8548          LD="${LD-ld} -m elf_x86_64"
8549          ;;
8550        sparc*-*-solaris*)
8551          LD="${LD-ld} -m elf64_sparc"
8552          ;;
8553        esac
8554        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8555        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8556          LD=${LD-ld}_sol2
8557        fi
8558        ;;
8559      *)
8560	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8561	  LD="${LD-ld} -64"
8562	fi
8563	;;
8564      esac
8565      ;;
8566    esac
8567  fi
8568  rm -rf conftest*
8569  ;;
8570esac
8571
8572need_locks=$enable_libtool_lock
8573
8574if test -n "$ac_tool_prefix"; then
8575  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8576set dummy ${ac_tool_prefix}mt; ac_word=$2
8577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8578$as_echo_n "checking for $ac_word... " >&6; }
8579if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8580  $as_echo_n "(cached) " >&6
8581else
8582  if test -n "$MANIFEST_TOOL"; then
8583  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8584else
8585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8586for as_dir in $PATH
8587do
8588  IFS=$as_save_IFS
8589  test -z "$as_dir" && as_dir=.
8590    for ac_exec_ext in '' $ac_executable_extensions; do
8591  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8592    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8593    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8594    break 2
8595  fi
8596done
8597  done
8598IFS=$as_save_IFS
8599
8600fi
8601fi
8602MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8603if test -n "$MANIFEST_TOOL"; then
8604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8605$as_echo "$MANIFEST_TOOL" >&6; }
8606else
8607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8608$as_echo "no" >&6; }
8609fi
8610
8611
8612fi
8613if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8614  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8615  # Extract the first word of "mt", so it can be a program name with args.
8616set dummy mt; ac_word=$2
8617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8618$as_echo_n "checking for $ac_word... " >&6; }
8619if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8620  $as_echo_n "(cached) " >&6
8621else
8622  if test -n "$ac_ct_MANIFEST_TOOL"; then
8623  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8624else
8625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8626for as_dir in $PATH
8627do
8628  IFS=$as_save_IFS
8629  test -z "$as_dir" && as_dir=.
8630    for ac_exec_ext in '' $ac_executable_extensions; do
8631  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8632    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8633    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8634    break 2
8635  fi
8636done
8637  done
8638IFS=$as_save_IFS
8639
8640fi
8641fi
8642ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8643if test -n "$ac_ct_MANIFEST_TOOL"; then
8644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8645$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8646else
8647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8648$as_echo "no" >&6; }
8649fi
8650
8651  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8652    MANIFEST_TOOL=":"
8653  else
8654    case $cross_compiling:$ac_tool_warned in
8655yes:)
8656{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8657$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8658ac_tool_warned=yes ;;
8659esac
8660    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8661  fi
8662else
8663  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8664fi
8665
8666test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8668$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8669if ${lt_cv_path_mainfest_tool+:} false; then :
8670  $as_echo_n "(cached) " >&6
8671else
8672  lt_cv_path_mainfest_tool=no
8673  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8674  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8675  cat conftest.err >&5
8676  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8677    lt_cv_path_mainfest_tool=yes
8678  fi
8679  rm -f conftest*
8680fi
8681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8682$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8683if test yes != "$lt_cv_path_mainfest_tool"; then
8684  MANIFEST_TOOL=:
8685fi
8686
8687
8688
8689
8690
8691
8692  case $host_os in
8693    rhapsody* | darwin*)
8694    if test -n "$ac_tool_prefix"; then
8695  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8696set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8698$as_echo_n "checking for $ac_word... " >&6; }
8699if ${ac_cv_prog_DSYMUTIL+:} false; then :
8700  $as_echo_n "(cached) " >&6
8701else
8702  if test -n "$DSYMUTIL"; then
8703  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8704else
8705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8706for as_dir in $PATH
8707do
8708  IFS=$as_save_IFS
8709  test -z "$as_dir" && as_dir=.
8710    for ac_exec_ext in '' $ac_executable_extensions; do
8711  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8712    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8713    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8714    break 2
8715  fi
8716done
8717  done
8718IFS=$as_save_IFS
8719
8720fi
8721fi
8722DSYMUTIL=$ac_cv_prog_DSYMUTIL
8723if test -n "$DSYMUTIL"; then
8724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8725$as_echo "$DSYMUTIL" >&6; }
8726else
8727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728$as_echo "no" >&6; }
8729fi
8730
8731
8732fi
8733if test -z "$ac_cv_prog_DSYMUTIL"; then
8734  ac_ct_DSYMUTIL=$DSYMUTIL
8735  # Extract the first word of "dsymutil", so it can be a program name with args.
8736set dummy dsymutil; ac_word=$2
8737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8738$as_echo_n "checking for $ac_word... " >&6; }
8739if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8740  $as_echo_n "(cached) " >&6
8741else
8742  if test -n "$ac_ct_DSYMUTIL"; then
8743  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8744else
8745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746for as_dir in $PATH
8747do
8748  IFS=$as_save_IFS
8749  test -z "$as_dir" && as_dir=.
8750    for ac_exec_ext in '' $ac_executable_extensions; do
8751  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8752    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8753    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8754    break 2
8755  fi
8756done
8757  done
8758IFS=$as_save_IFS
8759
8760fi
8761fi
8762ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8763if test -n "$ac_ct_DSYMUTIL"; then
8764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8765$as_echo "$ac_ct_DSYMUTIL" >&6; }
8766else
8767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768$as_echo "no" >&6; }
8769fi
8770
8771  if test "x$ac_ct_DSYMUTIL" = x; then
8772    DSYMUTIL=":"
8773  else
8774    case $cross_compiling:$ac_tool_warned in
8775yes:)
8776{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8777$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8778ac_tool_warned=yes ;;
8779esac
8780    DSYMUTIL=$ac_ct_DSYMUTIL
8781  fi
8782else
8783  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8784fi
8785
8786    if test -n "$ac_tool_prefix"; then
8787  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8788set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8790$as_echo_n "checking for $ac_word... " >&6; }
8791if ${ac_cv_prog_NMEDIT+:} false; then :
8792  $as_echo_n "(cached) " >&6
8793else
8794  if test -n "$NMEDIT"; then
8795  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8796else
8797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8798for as_dir in $PATH
8799do
8800  IFS=$as_save_IFS
8801  test -z "$as_dir" && as_dir=.
8802    for ac_exec_ext in '' $ac_executable_extensions; do
8803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8804    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8806    break 2
8807  fi
8808done
8809  done
8810IFS=$as_save_IFS
8811
8812fi
8813fi
8814NMEDIT=$ac_cv_prog_NMEDIT
8815if test -n "$NMEDIT"; then
8816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8817$as_echo "$NMEDIT" >&6; }
8818else
8819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8820$as_echo "no" >&6; }
8821fi
8822
8823
8824fi
8825if test -z "$ac_cv_prog_NMEDIT"; then
8826  ac_ct_NMEDIT=$NMEDIT
8827  # Extract the first word of "nmedit", so it can be a program name with args.
8828set dummy nmedit; ac_word=$2
8829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8830$as_echo_n "checking for $ac_word... " >&6; }
8831if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8832  $as_echo_n "(cached) " >&6
8833else
8834  if test -n "$ac_ct_NMEDIT"; then
8835  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8836else
8837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838for as_dir in $PATH
8839do
8840  IFS=$as_save_IFS
8841  test -z "$as_dir" && as_dir=.
8842    for ac_exec_ext in '' $ac_executable_extensions; do
8843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8844    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8846    break 2
8847  fi
8848done
8849  done
8850IFS=$as_save_IFS
8851
8852fi
8853fi
8854ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8855if test -n "$ac_ct_NMEDIT"; then
8856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8857$as_echo "$ac_ct_NMEDIT" >&6; }
8858else
8859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860$as_echo "no" >&6; }
8861fi
8862
8863  if test "x$ac_ct_NMEDIT" = x; then
8864    NMEDIT=":"
8865  else
8866    case $cross_compiling:$ac_tool_warned in
8867yes:)
8868{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8869$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8870ac_tool_warned=yes ;;
8871esac
8872    NMEDIT=$ac_ct_NMEDIT
8873  fi
8874else
8875  NMEDIT="$ac_cv_prog_NMEDIT"
8876fi
8877
8878    if test -n "$ac_tool_prefix"; then
8879  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8880set dummy ${ac_tool_prefix}lipo; ac_word=$2
8881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882$as_echo_n "checking for $ac_word... " >&6; }
8883if ${ac_cv_prog_LIPO+:} false; then :
8884  $as_echo_n "(cached) " >&6
8885else
8886  if test -n "$LIPO"; then
8887  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8888else
8889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890for as_dir in $PATH
8891do
8892  IFS=$as_save_IFS
8893  test -z "$as_dir" && as_dir=.
8894    for ac_exec_ext in '' $ac_executable_extensions; do
8895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8896    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8898    break 2
8899  fi
8900done
8901  done
8902IFS=$as_save_IFS
8903
8904fi
8905fi
8906LIPO=$ac_cv_prog_LIPO
8907if test -n "$LIPO"; then
8908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8909$as_echo "$LIPO" >&6; }
8910else
8911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912$as_echo "no" >&6; }
8913fi
8914
8915
8916fi
8917if test -z "$ac_cv_prog_LIPO"; then
8918  ac_ct_LIPO=$LIPO
8919  # Extract the first word of "lipo", so it can be a program name with args.
8920set dummy lipo; ac_word=$2
8921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8922$as_echo_n "checking for $ac_word... " >&6; }
8923if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8924  $as_echo_n "(cached) " >&6
8925else
8926  if test -n "$ac_ct_LIPO"; then
8927  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8928else
8929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930for as_dir in $PATH
8931do
8932  IFS=$as_save_IFS
8933  test -z "$as_dir" && as_dir=.
8934    for ac_exec_ext in '' $ac_executable_extensions; do
8935  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8936    ac_cv_prog_ac_ct_LIPO="lipo"
8937    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8938    break 2
8939  fi
8940done
8941  done
8942IFS=$as_save_IFS
8943
8944fi
8945fi
8946ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8947if test -n "$ac_ct_LIPO"; then
8948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8949$as_echo "$ac_ct_LIPO" >&6; }
8950else
8951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952$as_echo "no" >&6; }
8953fi
8954
8955  if test "x$ac_ct_LIPO" = x; then
8956    LIPO=":"
8957  else
8958    case $cross_compiling:$ac_tool_warned in
8959yes:)
8960{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8961$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8962ac_tool_warned=yes ;;
8963esac
8964    LIPO=$ac_ct_LIPO
8965  fi
8966else
8967  LIPO="$ac_cv_prog_LIPO"
8968fi
8969
8970    if test -n "$ac_tool_prefix"; then
8971  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8972set dummy ${ac_tool_prefix}otool; ac_word=$2
8973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8974$as_echo_n "checking for $ac_word... " >&6; }
8975if ${ac_cv_prog_OTOOL+:} false; then :
8976  $as_echo_n "(cached) " >&6
8977else
8978  if test -n "$OTOOL"; then
8979  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8980else
8981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8982for as_dir in $PATH
8983do
8984  IFS=$as_save_IFS
8985  test -z "$as_dir" && as_dir=.
8986    for ac_exec_ext in '' $ac_executable_extensions; do
8987  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8988    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8989    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8990    break 2
8991  fi
8992done
8993  done
8994IFS=$as_save_IFS
8995
8996fi
8997fi
8998OTOOL=$ac_cv_prog_OTOOL
8999if test -n "$OTOOL"; then
9000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9001$as_echo "$OTOOL" >&6; }
9002else
9003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004$as_echo "no" >&6; }
9005fi
9006
9007
9008fi
9009if test -z "$ac_cv_prog_OTOOL"; then
9010  ac_ct_OTOOL=$OTOOL
9011  # Extract the first word of "otool", so it can be a program name with args.
9012set dummy otool; ac_word=$2
9013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9014$as_echo_n "checking for $ac_word... " >&6; }
9015if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9016  $as_echo_n "(cached) " >&6
9017else
9018  if test -n "$ac_ct_OTOOL"; then
9019  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9020else
9021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022for as_dir in $PATH
9023do
9024  IFS=$as_save_IFS
9025  test -z "$as_dir" && as_dir=.
9026    for ac_exec_ext in '' $ac_executable_extensions; do
9027  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9028    ac_cv_prog_ac_ct_OTOOL="otool"
9029    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9030    break 2
9031  fi
9032done
9033  done
9034IFS=$as_save_IFS
9035
9036fi
9037fi
9038ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9039if test -n "$ac_ct_OTOOL"; then
9040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9041$as_echo "$ac_ct_OTOOL" >&6; }
9042else
9043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044$as_echo "no" >&6; }
9045fi
9046
9047  if test "x$ac_ct_OTOOL" = x; then
9048    OTOOL=":"
9049  else
9050    case $cross_compiling:$ac_tool_warned in
9051yes:)
9052{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9053$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9054ac_tool_warned=yes ;;
9055esac
9056    OTOOL=$ac_ct_OTOOL
9057  fi
9058else
9059  OTOOL="$ac_cv_prog_OTOOL"
9060fi
9061
9062    if test -n "$ac_tool_prefix"; then
9063  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9064set dummy ${ac_tool_prefix}otool64; ac_word=$2
9065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9066$as_echo_n "checking for $ac_word... " >&6; }
9067if ${ac_cv_prog_OTOOL64+:} false; then :
9068  $as_echo_n "(cached) " >&6
9069else
9070  if test -n "$OTOOL64"; then
9071  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9072else
9073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9074for as_dir in $PATH
9075do
9076  IFS=$as_save_IFS
9077  test -z "$as_dir" && as_dir=.
9078    for ac_exec_ext in '' $ac_executable_extensions; do
9079  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9080    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9082    break 2
9083  fi
9084done
9085  done
9086IFS=$as_save_IFS
9087
9088fi
9089fi
9090OTOOL64=$ac_cv_prog_OTOOL64
9091if test -n "$OTOOL64"; then
9092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9093$as_echo "$OTOOL64" >&6; }
9094else
9095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096$as_echo "no" >&6; }
9097fi
9098
9099
9100fi
9101if test -z "$ac_cv_prog_OTOOL64"; then
9102  ac_ct_OTOOL64=$OTOOL64
9103  # Extract the first word of "otool64", so it can be a program name with args.
9104set dummy otool64; ac_word=$2
9105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9106$as_echo_n "checking for $ac_word... " >&6; }
9107if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9108  $as_echo_n "(cached) " >&6
9109else
9110  if test -n "$ac_ct_OTOOL64"; then
9111  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9112else
9113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114for as_dir in $PATH
9115do
9116  IFS=$as_save_IFS
9117  test -z "$as_dir" && as_dir=.
9118    for ac_exec_ext in '' $ac_executable_extensions; do
9119  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9120    ac_cv_prog_ac_ct_OTOOL64="otool64"
9121    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9122    break 2
9123  fi
9124done
9125  done
9126IFS=$as_save_IFS
9127
9128fi
9129fi
9130ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9131if test -n "$ac_ct_OTOOL64"; then
9132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9133$as_echo "$ac_ct_OTOOL64" >&6; }
9134else
9135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9136$as_echo "no" >&6; }
9137fi
9138
9139  if test "x$ac_ct_OTOOL64" = x; then
9140    OTOOL64=":"
9141  else
9142    case $cross_compiling:$ac_tool_warned in
9143yes:)
9144{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9145$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9146ac_tool_warned=yes ;;
9147esac
9148    OTOOL64=$ac_ct_OTOOL64
9149  fi
9150else
9151  OTOOL64="$ac_cv_prog_OTOOL64"
9152fi
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9181$as_echo_n "checking for -single_module linker flag... " >&6; }
9182if ${lt_cv_apple_cc_single_mod+:} false; then :
9183  $as_echo_n "(cached) " >&6
9184else
9185  lt_cv_apple_cc_single_mod=no
9186      if test -z "$LT_MULTI_MODULE"; then
9187	# By default we will add the -single_module flag. You can override
9188	# by either setting the environment variable LT_MULTI_MODULE
9189	# non-empty at configure time, or by adding -multi_module to the
9190	# link flags.
9191	rm -rf libconftest.dylib*
9192	echo "int foo(void){return 1;}" > conftest.c
9193	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9194-dynamiclib -Wl,-single_module conftest.c" >&5
9195	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9196	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9197        _lt_result=$?
9198	# If there is a non-empty error log, and "single_module"
9199	# appears in it, assume the flag caused a linker warning
9200        if test -s conftest.err && $GREP single_module conftest.err; then
9201	  cat conftest.err >&5
9202	# Otherwise, if the output was created with a 0 exit code from
9203	# the compiler, it worked.
9204	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9205	  lt_cv_apple_cc_single_mod=yes
9206	else
9207	  cat conftest.err >&5
9208	fi
9209	rm -rf libconftest.dylib*
9210	rm -f conftest.*
9211      fi
9212fi
9213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9214$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9215
9216    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9217$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9218if ${lt_cv_ld_exported_symbols_list+:} false; then :
9219  $as_echo_n "(cached) " >&6
9220else
9221  lt_cv_ld_exported_symbols_list=no
9222      save_LDFLAGS=$LDFLAGS
9223      echo "_main" > conftest.sym
9224      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9225      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226/* end confdefs.h.  */
9227
9228int
9229main ()
9230{
9231
9232  ;
9233  return 0;
9234}
9235_ACEOF
9236if ac_fn_c_try_link "$LINENO"; then :
9237  lt_cv_ld_exported_symbols_list=yes
9238else
9239  lt_cv_ld_exported_symbols_list=no
9240fi
9241rm -f core conftest.err conftest.$ac_objext \
9242    conftest$ac_exeext conftest.$ac_ext
9243	LDFLAGS=$save_LDFLAGS
9244
9245fi
9246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9247$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9248
9249    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9250$as_echo_n "checking for -force_load linker flag... " >&6; }
9251if ${lt_cv_ld_force_load+:} false; then :
9252  $as_echo_n "(cached) " >&6
9253else
9254  lt_cv_ld_force_load=no
9255      cat > conftest.c << _LT_EOF
9256int forced_loaded() { return 2;}
9257_LT_EOF
9258      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9259      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9260      echo "$AR cru libconftest.a conftest.o" >&5
9261      $AR cru libconftest.a conftest.o 2>&5
9262      echo "$RANLIB libconftest.a" >&5
9263      $RANLIB libconftest.a 2>&5
9264      cat > conftest.c << _LT_EOF
9265int main() { return 0;}
9266_LT_EOF
9267      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9268      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9269      _lt_result=$?
9270      if test -s conftest.err && $GREP force_load conftest.err; then
9271	cat conftest.err >&5
9272      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9273	lt_cv_ld_force_load=yes
9274      else
9275	cat conftest.err >&5
9276      fi
9277        rm -f conftest.err libconftest.a conftest conftest.c
9278        rm -rf conftest.dSYM
9279
9280fi
9281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9282$as_echo "$lt_cv_ld_force_load" >&6; }
9283    case $host_os in
9284    rhapsody* | darwin1.[012])
9285      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9286    darwin1.*)
9287      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9288    darwin*) # darwin 5.x on
9289      # if running on 10.5 or later, the deployment target defaults
9290      # to the OS version, if on x86, and 10.4, the deployment
9291      # target defaults to 10.4. Don't you love it?
9292      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9293	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9294	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9295	10.[012][,.]*)
9296	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9297	10.*)
9298	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9299      esac
9300    ;;
9301  esac
9302    if test yes = "$lt_cv_apple_cc_single_mod"; then
9303      _lt_dar_single_mod='$single_module'
9304    fi
9305    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9306      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9307    else
9308      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9309    fi
9310    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9311      _lt_dsymutil='~$DSYMUTIL $lib || :'
9312    else
9313      _lt_dsymutil=
9314    fi
9315    ;;
9316  esac
9317
9318# func_munge_path_list VARIABLE PATH
9319# -----------------------------------
9320# VARIABLE is name of variable containing _space_ separated list of
9321# directories to be munged by the contents of PATH, which is string
9322# having a format:
9323# "DIR[:DIR]:"
9324#       string "DIR[ DIR]" will be prepended to VARIABLE
9325# ":DIR[:DIR]"
9326#       string "DIR[ DIR]" will be appended to VARIABLE
9327# "DIRP[:DIRP]::[DIRA:]DIRA"
9328#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9329#       "DIRA[ DIRA]" will be appended to VARIABLE
9330# "DIR[:DIR]"
9331#       VARIABLE will be replaced by "DIR[ DIR]"
9332func_munge_path_list ()
9333{
9334    case x$2 in
9335    x)
9336        ;;
9337    *:)
9338        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9339        ;;
9340    x:*)
9341        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9342        ;;
9343    *::*)
9344        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9345        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9346        ;;
9347    *)
9348        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9349        ;;
9350    esac
9351}
9352
9353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9354$as_echo_n "checking for ANSI C header files... " >&6; }
9355if ${ac_cv_header_stdc+:} false; then :
9356  $as_echo_n "(cached) " >&6
9357else
9358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359/* end confdefs.h.  */
9360#include <stdlib.h>
9361#include <stdarg.h>
9362#include <string.h>
9363#include <float.h>
9364
9365int
9366main ()
9367{
9368
9369  ;
9370  return 0;
9371}
9372_ACEOF
9373if ac_fn_c_try_compile "$LINENO"; then :
9374  ac_cv_header_stdc=yes
9375else
9376  ac_cv_header_stdc=no
9377fi
9378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9379
9380if test $ac_cv_header_stdc = yes; then
9381  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9382  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383/* end confdefs.h.  */
9384#include <string.h>
9385
9386_ACEOF
9387if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9388  $EGREP "memchr" >/dev/null 2>&1; then :
9389
9390else
9391  ac_cv_header_stdc=no
9392fi
9393rm -f conftest*
9394
9395fi
9396
9397if test $ac_cv_header_stdc = yes; then
9398  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9399  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400/* end confdefs.h.  */
9401#include <stdlib.h>
9402
9403_ACEOF
9404if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9405  $EGREP "free" >/dev/null 2>&1; then :
9406
9407else
9408  ac_cv_header_stdc=no
9409fi
9410rm -f conftest*
9411
9412fi
9413
9414if test $ac_cv_header_stdc = yes; then
9415  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9416  if test "$cross_compiling" = yes; then :
9417  :
9418else
9419  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420/* end confdefs.h.  */
9421#include <ctype.h>
9422#include <stdlib.h>
9423#if ((' ' & 0x0FF) == 0x020)
9424# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9425# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9426#else
9427# define ISLOWER(c) \
9428		   (('a' <= (c) && (c) <= 'i') \
9429		     || ('j' <= (c) && (c) <= 'r') \
9430		     || ('s' <= (c) && (c) <= 'z'))
9431# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9432#endif
9433
9434#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9435int
9436main ()
9437{
9438  int i;
9439  for (i = 0; i < 256; i++)
9440    if (XOR (islower (i), ISLOWER (i))
9441	|| toupper (i) != TOUPPER (i))
9442      return 2;
9443  return 0;
9444}
9445_ACEOF
9446if ac_fn_c_try_run "$LINENO"; then :
9447
9448else
9449  ac_cv_header_stdc=no
9450fi
9451rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9452  conftest.$ac_objext conftest.beam conftest.$ac_ext
9453fi
9454
9455fi
9456fi
9457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9458$as_echo "$ac_cv_header_stdc" >&6; }
9459if test $ac_cv_header_stdc = yes; then
9460
9461$as_echo "#define STDC_HEADERS 1" >>confdefs.h
9462
9463fi
9464
9465# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9466for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9467		  inttypes.h stdint.h unistd.h
9468do :
9469  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9470ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9471"
9472if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9473  cat >>confdefs.h <<_ACEOF
9474#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9475_ACEOF
9476
9477fi
9478
9479done
9480
9481
9482for ac_header in dlfcn.h
9483do :
9484  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9485"
9486if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9487  cat >>confdefs.h <<_ACEOF
9488#define HAVE_DLFCN_H 1
9489_ACEOF
9490
9491fi
9492
9493done
9494
9495
9496
9497
9498func_stripname_cnf ()
9499{
9500  case $2 in
9501  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9502  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9503  esac
9504} # func_stripname_cnf
9505
9506
9507
9508
9509
9510# Set options
9511
9512
9513
9514        enable_dlopen=no
9515
9516
9517
9518            # Check whether --enable-shared was given.
9519if test "${enable_shared+set}" = set; then :
9520  enableval=$enable_shared; p=${PACKAGE-default}
9521    case $enableval in
9522    yes) enable_shared=yes ;;
9523    no) enable_shared=no ;;
9524    *)
9525      enable_shared=no
9526      # Look at the argument we got.  We use all the common list separators.
9527      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9528      for pkg in $enableval; do
9529	IFS=$lt_save_ifs
9530	if test "X$pkg" = "X$p"; then
9531	  enable_shared=yes
9532	fi
9533      done
9534      IFS=$lt_save_ifs
9535      ;;
9536    esac
9537else
9538  enable_shared=yes
9539fi
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549  # Check whether --enable-static was given.
9550if test "${enable_static+set}" = set; then :
9551  enableval=$enable_static; p=${PACKAGE-default}
9552    case $enableval in
9553    yes) enable_static=yes ;;
9554    no) enable_static=no ;;
9555    *)
9556     enable_static=no
9557      # Look at the argument we got.  We use all the common list separators.
9558      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9559      for pkg in $enableval; do
9560	IFS=$lt_save_ifs
9561	if test "X$pkg" = "X$p"; then
9562	  enable_static=yes
9563	fi
9564      done
9565      IFS=$lt_save_ifs
9566      ;;
9567    esac
9568else
9569  enable_static=yes
9570fi
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581# Check whether --with-pic was given.
9582if test "${with_pic+set}" = set; then :
9583  withval=$with_pic; lt_p=${PACKAGE-default}
9584    case $withval in
9585    yes|no) pic_mode=$withval ;;
9586    *)
9587      pic_mode=default
9588      # Look at the argument we got.  We use all the common list separators.
9589      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9590      for lt_pkg in $withval; do
9591	IFS=$lt_save_ifs
9592	if test "X$lt_pkg" = "X$lt_p"; then
9593	  pic_mode=yes
9594	fi
9595      done
9596      IFS=$lt_save_ifs
9597      ;;
9598    esac
9599else
9600  pic_mode=default
9601fi
9602
9603
9604
9605
9606
9607
9608
9609
9610  # Check whether --enable-fast-install was given.
9611if test "${enable_fast_install+set}" = set; then :
9612  enableval=$enable_fast_install; p=${PACKAGE-default}
9613    case $enableval in
9614    yes) enable_fast_install=yes ;;
9615    no) enable_fast_install=no ;;
9616    *)
9617      enable_fast_install=no
9618      # Look at the argument we got.  We use all the common list separators.
9619      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9620      for pkg in $enableval; do
9621	IFS=$lt_save_ifs
9622	if test "X$pkg" = "X$p"; then
9623	  enable_fast_install=yes
9624	fi
9625      done
9626      IFS=$lt_save_ifs
9627      ;;
9628    esac
9629else
9630  enable_fast_install=yes
9631fi
9632
9633
9634
9635
9636
9637
9638
9639
9640  shared_archive_member_spec=
9641case $host,$enable_shared in
9642power*-*-aix[5-9]*,yes)
9643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9644$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9645
9646# Check whether --with-aix-soname was given.
9647if test "${with_aix_soname+set}" = set; then :
9648  withval=$with_aix_soname; case $withval in
9649    aix|svr4|both)
9650      ;;
9651    *)
9652      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9653      ;;
9654    esac
9655    lt_cv_with_aix_soname=$with_aix_soname
9656else
9657  if ${lt_cv_with_aix_soname+:} false; then :
9658  $as_echo_n "(cached) " >&6
9659else
9660  lt_cv_with_aix_soname=aix
9661fi
9662
9663    with_aix_soname=$lt_cv_with_aix_soname
9664fi
9665
9666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9667$as_echo "$with_aix_soname" >&6; }
9668  if test aix != "$with_aix_soname"; then
9669    # For the AIX way of multilib, we name the shared archive member
9670    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9671    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9672    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9673    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9674    if test 64 = "${OBJECT_MODE-32}"; then
9675      shared_archive_member_spec=shr_64
9676    else
9677      shared_archive_member_spec=shr
9678    fi
9679  fi
9680  ;;
9681*)
9682  with_aix_soname=aix
9683  ;;
9684esac
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695# This can be used to rebuild libtool when needed
9696LIBTOOL_DEPS=$ltmain
9697
9698# Always use our own libtool.
9699LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730test -z "$LN_S" && LN_S="ln -s"
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745if test -n "${ZSH_VERSION+set}"; then
9746   setopt NO_GLOB_SUBST
9747fi
9748
9749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9750$as_echo_n "checking for objdir... " >&6; }
9751if ${lt_cv_objdir+:} false; then :
9752  $as_echo_n "(cached) " >&6
9753else
9754  rm -f .libs 2>/dev/null
9755mkdir .libs 2>/dev/null
9756if test -d .libs; then
9757  lt_cv_objdir=.libs
9758else
9759  # MS-DOS does not allow filenames that begin with a dot.
9760  lt_cv_objdir=_libs
9761fi
9762rmdir .libs 2>/dev/null
9763fi
9764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9765$as_echo "$lt_cv_objdir" >&6; }
9766objdir=$lt_cv_objdir
9767
9768
9769
9770
9771
9772cat >>confdefs.h <<_ACEOF
9773#define LT_OBJDIR "$lt_cv_objdir/"
9774_ACEOF
9775
9776
9777
9778
9779case $host_os in
9780aix3*)
9781  # AIX sometimes has problems with the GCC collect2 program.  For some
9782  # reason, if we set the COLLECT_NAMES environment variable, the problems
9783  # vanish in a puff of smoke.
9784  if test set != "${COLLECT_NAMES+set}"; then
9785    COLLECT_NAMES=
9786    export COLLECT_NAMES
9787  fi
9788  ;;
9789esac
9790
9791# Global variables:
9792ofile=libtool
9793can_build_shared=yes
9794
9795# All known linkers require a '.a' archive for static linking (except MSVC,
9796# which needs '.lib').
9797libext=a
9798
9799with_gnu_ld=$lt_cv_prog_gnu_ld
9800
9801old_CC=$CC
9802old_CFLAGS=$CFLAGS
9803
9804# Set sane defaults for various variables
9805test -z "$CC" && CC=cc
9806test -z "$LTCC" && LTCC=$CC
9807test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9808test -z "$LD" && LD=ld
9809test -z "$ac_objext" && ac_objext=o
9810
9811func_cc_basename $compiler
9812cc_basename=$func_cc_basename_result
9813
9814
9815# Only perform the check for file, if the check method requires it
9816test -z "$MAGIC_CMD" && MAGIC_CMD=file
9817case $deplibs_check_method in
9818file_magic*)
9819  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9820    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9821$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9822if ${lt_cv_path_MAGIC_CMD+:} false; then :
9823  $as_echo_n "(cached) " >&6
9824else
9825  case $MAGIC_CMD in
9826[\\/*] |  ?:[\\/]*)
9827  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9828  ;;
9829*)
9830  lt_save_MAGIC_CMD=$MAGIC_CMD
9831  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9832  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9833  for ac_dir in $ac_dummy; do
9834    IFS=$lt_save_ifs
9835    test -z "$ac_dir" && ac_dir=.
9836    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9837      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9838      if test -n "$file_magic_test_file"; then
9839	case $deplibs_check_method in
9840	"file_magic "*)
9841	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9842	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9843	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9844	    $EGREP "$file_magic_regex" > /dev/null; then
9845	    :
9846	  else
9847	    cat <<_LT_EOF 1>&2
9848
9849*** Warning: the command libtool uses to detect shared libraries,
9850*** $file_magic_cmd, produces output that libtool cannot recognize.
9851*** The result is that libtool may fail to recognize shared libraries
9852*** as such.  This will affect the creation of libtool libraries that
9853*** depend on shared libraries, but programs linked with such libtool
9854*** libraries will work regardless of this problem.  Nevertheless, you
9855*** may want to report the problem to your system manager and/or to
9856*** bug-libtool@gnu.org
9857
9858_LT_EOF
9859	  fi ;;
9860	esac
9861      fi
9862      break
9863    fi
9864  done
9865  IFS=$lt_save_ifs
9866  MAGIC_CMD=$lt_save_MAGIC_CMD
9867  ;;
9868esac
9869fi
9870
9871MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9872if test -n "$MAGIC_CMD"; then
9873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9874$as_echo "$MAGIC_CMD" >&6; }
9875else
9876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9877$as_echo "no" >&6; }
9878fi
9879
9880
9881
9882
9883
9884if test -z "$lt_cv_path_MAGIC_CMD"; then
9885  if test -n "$ac_tool_prefix"; then
9886    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9887$as_echo_n "checking for file... " >&6; }
9888if ${lt_cv_path_MAGIC_CMD+:} false; then :
9889  $as_echo_n "(cached) " >&6
9890else
9891  case $MAGIC_CMD in
9892[\\/*] |  ?:[\\/]*)
9893  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9894  ;;
9895*)
9896  lt_save_MAGIC_CMD=$MAGIC_CMD
9897  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9898  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9899  for ac_dir in $ac_dummy; do
9900    IFS=$lt_save_ifs
9901    test -z "$ac_dir" && ac_dir=.
9902    if test -f "$ac_dir/file"; then
9903      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9904      if test -n "$file_magic_test_file"; then
9905	case $deplibs_check_method in
9906	"file_magic "*)
9907	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9908	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9909	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9910	    $EGREP "$file_magic_regex" > /dev/null; then
9911	    :
9912	  else
9913	    cat <<_LT_EOF 1>&2
9914
9915*** Warning: the command libtool uses to detect shared libraries,
9916*** $file_magic_cmd, produces output that libtool cannot recognize.
9917*** The result is that libtool may fail to recognize shared libraries
9918*** as such.  This will affect the creation of libtool libraries that
9919*** depend on shared libraries, but programs linked with such libtool
9920*** libraries will work regardless of this problem.  Nevertheless, you
9921*** may want to report the problem to your system manager and/or to
9922*** bug-libtool@gnu.org
9923
9924_LT_EOF
9925	  fi ;;
9926	esac
9927      fi
9928      break
9929    fi
9930  done
9931  IFS=$lt_save_ifs
9932  MAGIC_CMD=$lt_save_MAGIC_CMD
9933  ;;
9934esac
9935fi
9936
9937MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9938if test -n "$MAGIC_CMD"; then
9939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9940$as_echo "$MAGIC_CMD" >&6; }
9941else
9942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9943$as_echo "no" >&6; }
9944fi
9945
9946
9947  else
9948    MAGIC_CMD=:
9949  fi
9950fi
9951
9952  fi
9953  ;;
9954esac
9955
9956# Use C for the default configuration in the libtool script
9957
9958lt_save_CC=$CC
9959ac_ext=c
9960ac_cpp='$CPP $CPPFLAGS'
9961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9963ac_compiler_gnu=$ac_cv_c_compiler_gnu
9964
9965
9966# Source file extension for C test sources.
9967ac_ext=c
9968
9969# Object file extension for compiled C test sources.
9970objext=o
9971objext=$objext
9972
9973# Code to be used in simple compile tests
9974lt_simple_compile_test_code="int some_variable = 0;"
9975
9976# Code to be used in simple link tests
9977lt_simple_link_test_code='int main(){return(0);}'
9978
9979
9980
9981
9982
9983
9984
9985# If no C compiler was specified, use CC.
9986LTCC=${LTCC-"$CC"}
9987
9988# If no C compiler flags were specified, use CFLAGS.
9989LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9990
9991# Allow CC to be a program name with arguments.
9992compiler=$CC
9993
9994# Save the default compiler, since it gets overwritten when the other
9995# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9996compiler_DEFAULT=$CC
9997
9998# save warnings/boilerplate of simple test code
9999ac_outfile=conftest.$ac_objext
10000echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10001eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10002_lt_compiler_boilerplate=`cat conftest.err`
10003$RM conftest*
10004
10005ac_outfile=conftest.$ac_objext
10006echo "$lt_simple_link_test_code" >conftest.$ac_ext
10007eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10008_lt_linker_boilerplate=`cat conftest.err`
10009$RM -r conftest*
10010
10011
10012## CAVEAT EMPTOR:
10013## There is no encapsulation within the following macros, do not change
10014## the running order or otherwise move them around unless you know exactly
10015## what you are doing...
10016if test -n "$compiler"; then
10017
10018lt_prog_compiler_no_builtin_flag=
10019
10020if test yes = "$GCC"; then
10021  case $cc_basename in
10022  nvcc*)
10023    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10024  *)
10025    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10026  esac
10027
10028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10029$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10030if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10031  $as_echo_n "(cached) " >&6
10032else
10033  lt_cv_prog_compiler_rtti_exceptions=no
10034   ac_outfile=conftest.$ac_objext
10035   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10036   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10037   # Insert the option either (1) after the last *FLAGS variable, or
10038   # (2) before a word containing "conftest.", or (3) at the end.
10039   # Note that $ac_compile itself does not contain backslashes and begins
10040   # with a dollar sign (not a hyphen), so the echo should work correctly.
10041   # The option is referenced via a variable to avoid confusing sed.
10042   lt_compile=`echo "$ac_compile" | $SED \
10043   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10044   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10045   -e 's:$: $lt_compiler_flag:'`
10046   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10047   (eval "$lt_compile" 2>conftest.err)
10048   ac_status=$?
10049   cat conftest.err >&5
10050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051   if (exit $ac_status) && test -s "$ac_outfile"; then
10052     # The compiler can only warn and ignore the option if not recognized
10053     # So say no if there are warnings other than the usual output.
10054     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10055     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10056     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10057       lt_cv_prog_compiler_rtti_exceptions=yes
10058     fi
10059   fi
10060   $RM conftest*
10061
10062fi
10063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10064$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10065
10066if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10067    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10068else
10069    :
10070fi
10071
10072fi
10073
10074
10075
10076
10077
10078
10079  lt_prog_compiler_wl=
10080lt_prog_compiler_pic=
10081lt_prog_compiler_static=
10082
10083
10084  if test yes = "$GCC"; then
10085    lt_prog_compiler_wl='-Wl,'
10086    lt_prog_compiler_static='-static'
10087
10088    case $host_os in
10089      aix*)
10090      # All AIX code is PIC.
10091      if test ia64 = "$host_cpu"; then
10092	# AIX 5 now supports IA64 processor
10093	lt_prog_compiler_static='-Bstatic'
10094      fi
10095      lt_prog_compiler_pic='-fPIC'
10096      ;;
10097
10098    amigaos*)
10099      case $host_cpu in
10100      powerpc)
10101            # see comment about AmigaOS4 .so support
10102            lt_prog_compiler_pic='-fPIC'
10103        ;;
10104      m68k)
10105            # FIXME: we need at least 68020 code to build shared libraries, but
10106            # adding the '-m68020' flag to GCC prevents building anything better,
10107            # like '-m68040'.
10108            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10109        ;;
10110      esac
10111      ;;
10112
10113    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10114      # PIC is the default for these OSes.
10115      ;;
10116
10117    mingw* | cygwin* | pw32* | os2* | cegcc*)
10118      # This hack is so that the source file can tell whether it is being
10119      # built for inclusion in a dll (and should export symbols for example).
10120      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10121      # (--disable-auto-import) libraries
10122      lt_prog_compiler_pic='-DDLL_EXPORT'
10123      case $host_os in
10124      os2*)
10125	lt_prog_compiler_static='$wl-static'
10126	;;
10127      esac
10128      ;;
10129
10130    darwin* | rhapsody*)
10131      # PIC is the default on this platform
10132      # Common symbols not allowed in MH_DYLIB files
10133      lt_prog_compiler_pic='-fno-common'
10134      ;;
10135
10136    haiku*)
10137      # PIC is the default for Haiku.
10138      # The "-static" flag exists, but is broken.
10139      lt_prog_compiler_static=
10140      ;;
10141
10142    hpux*)
10143      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10144      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10145      # sets the default TLS model and affects inlining.
10146      case $host_cpu in
10147      hppa*64*)
10148	# +Z the default
10149	;;
10150      *)
10151	lt_prog_compiler_pic='-fPIC'
10152	;;
10153      esac
10154      ;;
10155
10156    interix[3-9]*)
10157      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10158      # Instead, we relocate shared libraries at runtime.
10159      ;;
10160
10161    msdosdjgpp*)
10162      # Just because we use GCC doesn't mean we suddenly get shared libraries
10163      # on systems that don't support them.
10164      lt_prog_compiler_can_build_shared=no
10165      enable_shared=no
10166      ;;
10167
10168    *nto* | *qnx*)
10169      # QNX uses GNU C++, but need to define -shared option too, otherwise
10170      # it will coredump.
10171      lt_prog_compiler_pic='-fPIC -shared'
10172      ;;
10173
10174    sysv4*MP*)
10175      if test -d /usr/nec; then
10176	lt_prog_compiler_pic=-Kconform_pic
10177      fi
10178      ;;
10179
10180    *)
10181      lt_prog_compiler_pic='-fPIC'
10182      ;;
10183    esac
10184
10185    case $cc_basename in
10186    nvcc*) # Cuda Compiler Driver 2.2
10187      lt_prog_compiler_wl='-Xlinker '
10188      if test -n "$lt_prog_compiler_pic"; then
10189        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10190      fi
10191      ;;
10192    esac
10193  else
10194    # PORTME Check for flag to pass linker flags through the system compiler.
10195    case $host_os in
10196    aix*)
10197      lt_prog_compiler_wl='-Wl,'
10198      if test ia64 = "$host_cpu"; then
10199	# AIX 5 now supports IA64 processor
10200	lt_prog_compiler_static='-Bstatic'
10201      else
10202	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10203      fi
10204      ;;
10205
10206    darwin* | rhapsody*)
10207      # PIC is the default on this platform
10208      # Common symbols not allowed in MH_DYLIB files
10209      lt_prog_compiler_pic='-fno-common'
10210      case $cc_basename in
10211      nagfor*)
10212        # NAG Fortran compiler
10213        lt_prog_compiler_wl='-Wl,-Wl,,'
10214        lt_prog_compiler_pic='-PIC'
10215        lt_prog_compiler_static='-Bstatic'
10216        ;;
10217      esac
10218      ;;
10219
10220    mingw* | cygwin* | pw32* | os2* | cegcc*)
10221      # This hack is so that the source file can tell whether it is being
10222      # built for inclusion in a dll (and should export symbols for example).
10223      lt_prog_compiler_pic='-DDLL_EXPORT'
10224      case $host_os in
10225      os2*)
10226	lt_prog_compiler_static='$wl-static'
10227	;;
10228      esac
10229      ;;
10230
10231    hpux9* | hpux10* | hpux11*)
10232      lt_prog_compiler_wl='-Wl,'
10233      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10234      # not for PA HP-UX.
10235      case $host_cpu in
10236      hppa*64*|ia64*)
10237	# +Z the default
10238	;;
10239      *)
10240	lt_prog_compiler_pic='+Z'
10241	;;
10242      esac
10243      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10244      lt_prog_compiler_static='$wl-a ${wl}archive'
10245      ;;
10246
10247    irix5* | irix6* | nonstopux*)
10248      lt_prog_compiler_wl='-Wl,'
10249      # PIC (with -KPIC) is the default.
10250      lt_prog_compiler_static='-non_shared'
10251      ;;
10252
10253    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10254      case $cc_basename in
10255      # old Intel for x86_64, which still supported -KPIC.
10256      ecc*)
10257	lt_prog_compiler_wl='-Wl,'
10258	lt_prog_compiler_pic='-KPIC'
10259	lt_prog_compiler_static='-static'
10260        ;;
10261      # icc used to be incompatible with GCC.
10262      # ICC 10 doesn't accept -KPIC any more.
10263      icc* | ifort*)
10264	lt_prog_compiler_wl='-Wl,'
10265	lt_prog_compiler_pic='-fPIC'
10266	lt_prog_compiler_static='-static'
10267        ;;
10268      # Lahey Fortran 8.1.
10269      lf95*)
10270	lt_prog_compiler_wl='-Wl,'
10271	lt_prog_compiler_pic='--shared'
10272	lt_prog_compiler_static='--static'
10273	;;
10274      nagfor*)
10275	# NAG Fortran compiler
10276	lt_prog_compiler_wl='-Wl,-Wl,,'
10277	lt_prog_compiler_pic='-PIC'
10278	lt_prog_compiler_static='-Bstatic'
10279	;;
10280      tcc*)
10281	# Fabrice Bellard et al's Tiny C Compiler
10282	lt_prog_compiler_wl='-Wl,'
10283	lt_prog_compiler_pic='-fPIC'
10284	lt_prog_compiler_static='-static'
10285	;;
10286      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10287        # Portland Group compilers (*not* the Pentium gcc compiler,
10288	# which looks to be a dead project)
10289	lt_prog_compiler_wl='-Wl,'
10290	lt_prog_compiler_pic='-fpic'
10291	lt_prog_compiler_static='-Bstatic'
10292        ;;
10293      ccc*)
10294        lt_prog_compiler_wl='-Wl,'
10295        # All Alpha code is PIC.
10296        lt_prog_compiler_static='-non_shared'
10297        ;;
10298      xl* | bgxl* | bgf* | mpixl*)
10299	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10300	lt_prog_compiler_wl='-Wl,'
10301	lt_prog_compiler_pic='-qpic'
10302	lt_prog_compiler_static='-qstaticlink'
10303	;;
10304      *)
10305	case `$CC -V 2>&1 | sed 5q` in
10306	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10307	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10308	  lt_prog_compiler_pic='-KPIC'
10309	  lt_prog_compiler_static='-Bstatic'
10310	  lt_prog_compiler_wl=''
10311	  ;;
10312	*Sun\ F* | *Sun*Fortran*)
10313	  lt_prog_compiler_pic='-KPIC'
10314	  lt_prog_compiler_static='-Bstatic'
10315	  lt_prog_compiler_wl='-Qoption ld '
10316	  ;;
10317	*Sun\ C*)
10318	  # Sun C 5.9
10319	  lt_prog_compiler_pic='-KPIC'
10320	  lt_prog_compiler_static='-Bstatic'
10321	  lt_prog_compiler_wl='-Wl,'
10322	  ;;
10323        *Intel*\ [CF]*Compiler*)
10324	  lt_prog_compiler_wl='-Wl,'
10325	  lt_prog_compiler_pic='-fPIC'
10326	  lt_prog_compiler_static='-static'
10327	  ;;
10328	*Portland\ Group*)
10329	  lt_prog_compiler_wl='-Wl,'
10330	  lt_prog_compiler_pic='-fpic'
10331	  lt_prog_compiler_static='-Bstatic'
10332	  ;;
10333	esac
10334	;;
10335      esac
10336      ;;
10337
10338    newsos6)
10339      lt_prog_compiler_pic='-KPIC'
10340      lt_prog_compiler_static='-Bstatic'
10341      ;;
10342
10343    *nto* | *qnx*)
10344      # QNX uses GNU C++, but need to define -shared option too, otherwise
10345      # it will coredump.
10346      lt_prog_compiler_pic='-fPIC -shared'
10347      ;;
10348
10349    osf3* | osf4* | osf5*)
10350      lt_prog_compiler_wl='-Wl,'
10351      # All OSF/1 code is PIC.
10352      lt_prog_compiler_static='-non_shared'
10353      ;;
10354
10355    rdos*)
10356      lt_prog_compiler_static='-non_shared'
10357      ;;
10358
10359    solaris*)
10360      lt_prog_compiler_pic='-KPIC'
10361      lt_prog_compiler_static='-Bstatic'
10362      case $cc_basename in
10363      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10364	lt_prog_compiler_wl='-Qoption ld ';;
10365      *)
10366	lt_prog_compiler_wl='-Wl,';;
10367      esac
10368      ;;
10369
10370    sunos4*)
10371      lt_prog_compiler_wl='-Qoption ld '
10372      lt_prog_compiler_pic='-PIC'
10373      lt_prog_compiler_static='-Bstatic'
10374      ;;
10375
10376    sysv4 | sysv4.2uw2* | sysv4.3*)
10377      lt_prog_compiler_wl='-Wl,'
10378      lt_prog_compiler_pic='-KPIC'
10379      lt_prog_compiler_static='-Bstatic'
10380      ;;
10381
10382    sysv4*MP*)
10383      if test -d /usr/nec; then
10384	lt_prog_compiler_pic='-Kconform_pic'
10385	lt_prog_compiler_static='-Bstatic'
10386      fi
10387      ;;
10388
10389    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10390      lt_prog_compiler_wl='-Wl,'
10391      lt_prog_compiler_pic='-KPIC'
10392      lt_prog_compiler_static='-Bstatic'
10393      ;;
10394
10395    unicos*)
10396      lt_prog_compiler_wl='-Wl,'
10397      lt_prog_compiler_can_build_shared=no
10398      ;;
10399
10400    uts4*)
10401      lt_prog_compiler_pic='-pic'
10402      lt_prog_compiler_static='-Bstatic'
10403      ;;
10404
10405    *)
10406      lt_prog_compiler_can_build_shared=no
10407      ;;
10408    esac
10409  fi
10410
10411case $host_os in
10412  # For platforms that do not support PIC, -DPIC is meaningless:
10413  *djgpp*)
10414    lt_prog_compiler_pic=
10415    ;;
10416  *)
10417    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10418    ;;
10419esac
10420
10421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10422$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10423if ${lt_cv_prog_compiler_pic+:} false; then :
10424  $as_echo_n "(cached) " >&6
10425else
10426  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10427fi
10428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10429$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10430lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10431
10432#
10433# Check to make sure the PIC flag actually works.
10434#
10435if test -n "$lt_prog_compiler_pic"; then
10436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10437$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10438if ${lt_cv_prog_compiler_pic_works+:} false; then :
10439  $as_echo_n "(cached) " >&6
10440else
10441  lt_cv_prog_compiler_pic_works=no
10442   ac_outfile=conftest.$ac_objext
10443   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10444   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10445   # Insert the option either (1) after the last *FLAGS variable, or
10446   # (2) before a word containing "conftest.", or (3) at the end.
10447   # Note that $ac_compile itself does not contain backslashes and begins
10448   # with a dollar sign (not a hyphen), so the echo should work correctly.
10449   # The option is referenced via a variable to avoid confusing sed.
10450   lt_compile=`echo "$ac_compile" | $SED \
10451   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10452   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10453   -e 's:$: $lt_compiler_flag:'`
10454   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10455   (eval "$lt_compile" 2>conftest.err)
10456   ac_status=$?
10457   cat conftest.err >&5
10458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459   if (exit $ac_status) && test -s "$ac_outfile"; then
10460     # The compiler can only warn and ignore the option if not recognized
10461     # So say no if there are warnings other than the usual output.
10462     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10463     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10464     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10465       lt_cv_prog_compiler_pic_works=yes
10466     fi
10467   fi
10468   $RM conftest*
10469
10470fi
10471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10472$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10473
10474if test yes = "$lt_cv_prog_compiler_pic_works"; then
10475    case $lt_prog_compiler_pic in
10476     "" | " "*) ;;
10477     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10478     esac
10479else
10480    lt_prog_compiler_pic=
10481     lt_prog_compiler_can_build_shared=no
10482fi
10483
10484fi
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496#
10497# Check to make sure the static flag actually works.
10498#
10499wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10501$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10502if ${lt_cv_prog_compiler_static_works+:} false; then :
10503  $as_echo_n "(cached) " >&6
10504else
10505  lt_cv_prog_compiler_static_works=no
10506   save_LDFLAGS=$LDFLAGS
10507   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10508   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10509   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10510     # The linker can only warn and ignore the option if not recognized
10511     # So say no if there are warnings
10512     if test -s conftest.err; then
10513       # Append any errors to the config.log.
10514       cat conftest.err 1>&5
10515       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10516       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10517       if diff conftest.exp conftest.er2 >/dev/null; then
10518         lt_cv_prog_compiler_static_works=yes
10519       fi
10520     else
10521       lt_cv_prog_compiler_static_works=yes
10522     fi
10523   fi
10524   $RM -r conftest*
10525   LDFLAGS=$save_LDFLAGS
10526
10527fi
10528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10529$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10530
10531if test yes = "$lt_cv_prog_compiler_static_works"; then
10532    :
10533else
10534    lt_prog_compiler_static=
10535fi
10536
10537
10538
10539
10540
10541
10542
10543  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10544$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10545if ${lt_cv_prog_compiler_c_o+:} false; then :
10546  $as_echo_n "(cached) " >&6
10547else
10548  lt_cv_prog_compiler_c_o=no
10549   $RM -r conftest 2>/dev/null
10550   mkdir conftest
10551   cd conftest
10552   mkdir out
10553   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10554
10555   lt_compiler_flag="-o out/conftest2.$ac_objext"
10556   # Insert the option either (1) after the last *FLAGS variable, or
10557   # (2) before a word containing "conftest.", or (3) at the end.
10558   # Note that $ac_compile itself does not contain backslashes and begins
10559   # with a dollar sign (not a hyphen), so the echo should work correctly.
10560   lt_compile=`echo "$ac_compile" | $SED \
10561   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10562   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10563   -e 's:$: $lt_compiler_flag:'`
10564   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10565   (eval "$lt_compile" 2>out/conftest.err)
10566   ac_status=$?
10567   cat out/conftest.err >&5
10568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10570   then
10571     # The compiler can only warn and ignore the option if not recognized
10572     # So say no if there are warnings
10573     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10574     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10575     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10576       lt_cv_prog_compiler_c_o=yes
10577     fi
10578   fi
10579   chmod u+w . 2>&5
10580   $RM conftest*
10581   # SGI C++ compiler will create directory out/ii_files/ for
10582   # template instantiation
10583   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10584   $RM out/* && rmdir out
10585   cd ..
10586   $RM -r conftest
10587   $RM conftest*
10588
10589fi
10590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10591$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10592
10593
10594
10595
10596
10597
10598  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10599$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10600if ${lt_cv_prog_compiler_c_o+:} false; then :
10601  $as_echo_n "(cached) " >&6
10602else
10603  lt_cv_prog_compiler_c_o=no
10604   $RM -r conftest 2>/dev/null
10605   mkdir conftest
10606   cd conftest
10607   mkdir out
10608   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10609
10610   lt_compiler_flag="-o out/conftest2.$ac_objext"
10611   # Insert the option either (1) after the last *FLAGS variable, or
10612   # (2) before a word containing "conftest.", or (3) at the end.
10613   # Note that $ac_compile itself does not contain backslashes and begins
10614   # with a dollar sign (not a hyphen), so the echo should work correctly.
10615   lt_compile=`echo "$ac_compile" | $SED \
10616   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10617   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10618   -e 's:$: $lt_compiler_flag:'`
10619   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10620   (eval "$lt_compile" 2>out/conftest.err)
10621   ac_status=$?
10622   cat out/conftest.err >&5
10623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10625   then
10626     # The compiler can only warn and ignore the option if not recognized
10627     # So say no if there are warnings
10628     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10629     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10630     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10631       lt_cv_prog_compiler_c_o=yes
10632     fi
10633   fi
10634   chmod u+w . 2>&5
10635   $RM conftest*
10636   # SGI C++ compiler will create directory out/ii_files/ for
10637   # template instantiation
10638   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10639   $RM out/* && rmdir out
10640   cd ..
10641   $RM -r conftest
10642   $RM conftest*
10643
10644fi
10645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10646$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10647
10648
10649
10650
10651hard_links=nottested
10652if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10653  # do not overwrite the value of need_locks provided by the user
10654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10655$as_echo_n "checking if we can lock with hard links... " >&6; }
10656  hard_links=yes
10657  $RM conftest*
10658  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10659  touch conftest.a
10660  ln conftest.a conftest.b 2>&5 || hard_links=no
10661  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10663$as_echo "$hard_links" >&6; }
10664  if test no = "$hard_links"; then
10665    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10666$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10667    need_locks=warn
10668  fi
10669else
10670  need_locks=no
10671fi
10672
10673
10674
10675
10676
10677
10678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10679$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10680
10681  runpath_var=
10682  allow_undefined_flag=
10683  always_export_symbols=no
10684  archive_cmds=
10685  archive_expsym_cmds=
10686  compiler_needs_object=no
10687  enable_shared_with_static_runtimes=no
10688  export_dynamic_flag_spec=
10689  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10690  hardcode_automatic=no
10691  hardcode_direct=no
10692  hardcode_direct_absolute=no
10693  hardcode_libdir_flag_spec=
10694  hardcode_libdir_separator=
10695  hardcode_minus_L=no
10696  hardcode_shlibpath_var=unsupported
10697  inherit_rpath=no
10698  link_all_deplibs=unknown
10699  module_cmds=
10700  module_expsym_cmds=
10701  old_archive_from_new_cmds=
10702  old_archive_from_expsyms_cmds=
10703  thread_safe_flag_spec=
10704  whole_archive_flag_spec=
10705  # include_expsyms should be a list of space-separated symbols to be *always*
10706  # included in the symbol list
10707  include_expsyms=
10708  # exclude_expsyms can be an extended regexp of symbols to exclude
10709  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10710  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10711  # as well as any symbol that contains 'd'.
10712  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10713  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10714  # platforms (ab)use it in PIC code, but their linkers get confused if
10715  # the symbol is explicitly referenced.  Since portable code cannot
10716  # rely on this symbol name, it's probably fine to never include it in
10717  # preloaded symbol tables.
10718  # Exclude shared library initialization/finalization symbols.
10719  extract_expsyms_cmds=
10720
10721  case $host_os in
10722  cygwin* | mingw* | pw32* | cegcc*)
10723    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10724    # When not using gcc, we currently assume that we are using
10725    # Microsoft Visual C++.
10726    if test yes != "$GCC"; then
10727      with_gnu_ld=no
10728    fi
10729    ;;
10730  interix*)
10731    # we just hope/assume this is gcc and not c89 (= MSVC++)
10732    with_gnu_ld=yes
10733    ;;
10734  openbsd* | bitrig*)
10735    with_gnu_ld=no
10736    ;;
10737  esac
10738
10739  ld_shlibs=yes
10740
10741  # On some targets, GNU ld is compatible enough with the native linker
10742  # that we're better off using the native interface for both.
10743  lt_use_gnu_ld_interface=no
10744  if test yes = "$with_gnu_ld"; then
10745    case $host_os in
10746      aix*)
10747	# The AIX port of GNU ld has always aspired to compatibility
10748	# with the native linker.  However, as the warning in the GNU ld
10749	# block says, versions before 2.19.5* couldn't really create working
10750	# shared libraries, regardless of the interface used.
10751	case `$LD -v 2>&1` in
10752	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10753	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10754	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10755	  *)
10756	    lt_use_gnu_ld_interface=yes
10757	    ;;
10758	esac
10759	;;
10760      *)
10761	lt_use_gnu_ld_interface=yes
10762	;;
10763    esac
10764  fi
10765
10766  if test yes = "$lt_use_gnu_ld_interface"; then
10767    # If archive_cmds runs LD, not CC, wlarc should be empty
10768    wlarc='$wl'
10769
10770    # Set some defaults for GNU ld with shared library support. These
10771    # are reset later if shared libraries are not supported. Putting them
10772    # here allows them to be overridden if necessary.
10773    runpath_var=LD_RUN_PATH
10774    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10775    export_dynamic_flag_spec='$wl--export-dynamic'
10776    # ancient GNU ld didn't support --whole-archive et. al.
10777    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10778      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10779    else
10780      whole_archive_flag_spec=
10781    fi
10782    supports_anon_versioning=no
10783    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10784      *GNU\ gold*) supports_anon_versioning=yes ;;
10785      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10786      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10787      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10788      *\ 2.11.*) ;; # other 2.11 versions
10789      *) supports_anon_versioning=yes ;;
10790    esac
10791
10792    # See if GNU ld supports shared libraries.
10793    case $host_os in
10794    aix[3-9]*)
10795      # On AIX/PPC, the GNU linker is very broken
10796      if test ia64 != "$host_cpu"; then
10797	ld_shlibs=no
10798	cat <<_LT_EOF 1>&2
10799
10800*** Warning: the GNU linker, at least up to release 2.19, is reported
10801*** to be unable to reliably create shared libraries on AIX.
10802*** Therefore, libtool is disabling shared libraries support.  If you
10803*** really care for shared libraries, you may want to install binutils
10804*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10805*** You will then need to restart the configuration process.
10806
10807_LT_EOF
10808      fi
10809      ;;
10810
10811    amigaos*)
10812      case $host_cpu in
10813      powerpc)
10814            # see comment about AmigaOS4 .so support
10815            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10816            archive_expsym_cmds=''
10817        ;;
10818      m68k)
10819            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)'
10820            hardcode_libdir_flag_spec='-L$libdir'
10821            hardcode_minus_L=yes
10822        ;;
10823      esac
10824      ;;
10825
10826    beos*)
10827      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10828	allow_undefined_flag=unsupported
10829	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10830	# support --undefined.  This deserves some investigation.  FIXME
10831	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10832      else
10833	ld_shlibs=no
10834      fi
10835      ;;
10836
10837    cygwin* | mingw* | pw32* | cegcc*)
10838      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10839      # as there is no search path for DLLs.
10840      hardcode_libdir_flag_spec='-L$libdir'
10841      export_dynamic_flag_spec='$wl--export-all-symbols'
10842      allow_undefined_flag=unsupported
10843      always_export_symbols=no
10844      enable_shared_with_static_runtimes=yes
10845      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'
10846      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10847
10848      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10849        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10850	# If the export-symbols file already is a .def file, use it as
10851	# is; otherwise, prepend EXPORTS...
10852	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10853          cp $export_symbols $output_objdir/$soname.def;
10854        else
10855          echo EXPORTS > $output_objdir/$soname.def;
10856          cat $export_symbols >> $output_objdir/$soname.def;
10857        fi~
10858        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10859      else
10860	ld_shlibs=no
10861      fi
10862      ;;
10863
10864    haiku*)
10865      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10866      link_all_deplibs=yes
10867      ;;
10868
10869    os2*)
10870      hardcode_libdir_flag_spec='-L$libdir'
10871      hardcode_minus_L=yes
10872      allow_undefined_flag=unsupported
10873      shrext_cmds=.dll
10874      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10875	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10876	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10877	$ECHO EXPORTS >> $output_objdir/$libname.def~
10878	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10879	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10880	emximp -o $lib $output_objdir/$libname.def'
10881      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10882	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10883	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10884	$ECHO EXPORTS >> $output_objdir/$libname.def~
10885	prefix_cmds="$SED"~
10886	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10887	  prefix_cmds="$prefix_cmds -e 1d";
10888	fi~
10889	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10890	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10891	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10892	emximp -o $lib $output_objdir/$libname.def'
10893      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10894      enable_shared_with_static_runtimes=yes
10895      ;;
10896
10897    interix[3-9]*)
10898      hardcode_direct=no
10899      hardcode_shlibpath_var=no
10900      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10901      export_dynamic_flag_spec='$wl-E'
10902      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10903      # Instead, shared libraries are loaded at an image base (0x10000000 by
10904      # default) and relocated if they conflict, which is a slow very memory
10905      # consuming and fragmenting process.  To avoid this, we pick a random,
10906      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10907      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10908      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10909      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'
10910      ;;
10911
10912    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10913      tmp_diet=no
10914      if test linux-dietlibc = "$host_os"; then
10915	case $cc_basename in
10916	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10917	esac
10918      fi
10919      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10920	 && test no = "$tmp_diet"
10921      then
10922	tmp_addflag=' $pic_flag'
10923	tmp_sharedflag='-shared'
10924	case $cc_basename,$host_cpu in
10925        pgcc*)				# Portland Group C compiler
10926	  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'
10927	  tmp_addflag=' $pic_flag'
10928	  ;;
10929	pgf77* | pgf90* | pgf95* | pgfortran*)
10930					# Portland Group f77 and f90 compilers
10931	  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'
10932	  tmp_addflag=' $pic_flag -Mnomain' ;;
10933	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10934	  tmp_addflag=' -i_dynamic' ;;
10935	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10936	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10937	ifc* | ifort*)			# Intel Fortran compiler
10938	  tmp_addflag=' -nofor_main' ;;
10939	lf95*)				# Lahey Fortran 8.1
10940	  whole_archive_flag_spec=
10941	  tmp_sharedflag='--shared' ;;
10942        nagfor*)                        # NAGFOR 5.3
10943          tmp_sharedflag='-Wl,-shared' ;;
10944	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10945	  tmp_sharedflag='-qmkshrobj'
10946	  tmp_addflag= ;;
10947	nvcc*)	# Cuda Compiler Driver 2.2
10948	  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'
10949	  compiler_needs_object=yes
10950	  ;;
10951	esac
10952	case `$CC -V 2>&1 | sed 5q` in
10953	*Sun\ C*)			# Sun C 5.9
10954	  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'
10955	  compiler_needs_object=yes
10956	  tmp_sharedflag='-G' ;;
10957	*Sun\ F*)			# Sun Fortran 8.3
10958	  tmp_sharedflag='-G' ;;
10959	esac
10960	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10961
10962        if test yes = "$supports_anon_versioning"; then
10963          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10964            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10965            echo "local: *; };" >> $output_objdir/$libname.ver~
10966            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10967        fi
10968
10969	case $cc_basename in
10970	tcc*)
10971	  export_dynamic_flag_spec='-rdynamic'
10972	  ;;
10973	xlf* | bgf* | bgxlf* | mpixlf*)
10974	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10975	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10976	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10977	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10978	  if test yes = "$supports_anon_versioning"; then
10979	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10980              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10981              echo "local: *; };" >> $output_objdir/$libname.ver~
10982              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10983	  fi
10984	  ;;
10985	esac
10986      else
10987        ld_shlibs=no
10988      fi
10989      ;;
10990
10991    netbsd*)
10992      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10993	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10994	wlarc=
10995      else
10996	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10997	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10998      fi
10999      ;;
11000
11001    solaris*)
11002      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11003	ld_shlibs=no
11004	cat <<_LT_EOF 1>&2
11005
11006*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11007*** create shared libraries on Solaris systems.  Therefore, libtool
11008*** is disabling shared libraries support.  We urge you to upgrade GNU
11009*** binutils to release 2.9.1 or newer.  Another option is to modify
11010*** your PATH or compiler configuration so that the native linker is
11011*** used, and then restart.
11012
11013_LT_EOF
11014      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11015	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11016	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11017      else
11018	ld_shlibs=no
11019      fi
11020      ;;
11021
11022    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11023      case `$LD -v 2>&1` in
11024        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11025	ld_shlibs=no
11026	cat <<_LT_EOF 1>&2
11027
11028*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11029*** reliably create shared libraries on SCO systems.  Therefore, libtool
11030*** is disabling shared libraries support.  We urge you to upgrade GNU
11031*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11032*** your PATH or compiler configuration so that the native linker is
11033*** used, and then restart.
11034
11035_LT_EOF
11036	;;
11037	*)
11038	  # For security reasons, it is highly recommended that you always
11039	  # use absolute paths for naming shared libraries, and exclude the
11040	  # DT_RUNPATH tag from executables and libraries.  But doing so
11041	  # requires that you compile everything twice, which is a pain.
11042	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11043	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11044	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11045	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11046	  else
11047	    ld_shlibs=no
11048	  fi
11049	;;
11050      esac
11051      ;;
11052
11053    sunos4*)
11054      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11055      wlarc=
11056      hardcode_direct=yes
11057      hardcode_shlibpath_var=no
11058      ;;
11059
11060    *)
11061      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11062	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11063	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11064      else
11065	ld_shlibs=no
11066      fi
11067      ;;
11068    esac
11069
11070    if test no = "$ld_shlibs"; then
11071      runpath_var=
11072      hardcode_libdir_flag_spec=
11073      export_dynamic_flag_spec=
11074      whole_archive_flag_spec=
11075    fi
11076  else
11077    # PORTME fill in a description of your system's linker (not GNU ld)
11078    case $host_os in
11079    aix3*)
11080      allow_undefined_flag=unsupported
11081      always_export_symbols=yes
11082      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'
11083      # Note: this linker hardcodes the directories in LIBPATH if there
11084      # are no directories specified by -L.
11085      hardcode_minus_L=yes
11086      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11087	# Neither direct hardcoding nor static linking is supported with a
11088	# broken collect2.
11089	hardcode_direct=unsupported
11090      fi
11091      ;;
11092
11093    aix[4-9]*)
11094      if test ia64 = "$host_cpu"; then
11095	# On IA64, the linker does run time linking by default, so we don't
11096	# have to do anything special.
11097	aix_use_runtimelinking=no
11098	exp_sym_flag='-Bexport'
11099	no_entry_flag=
11100      else
11101	# If we're using GNU nm, then we don't want the "-C" option.
11102	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11103	# Without the "-l" option, or with the "-B" option, AIX nm treats
11104	# weak defined symbols like other global defined symbols, whereas
11105	# GNU nm marks them as "W".
11106	# While the 'weak' keyword is ignored in the Export File, we need
11107	# it in the Import File for the 'aix-soname' feature, so we have
11108	# to replace the "-B" option with "-P" for AIX nm.
11109	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11110	  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'
11111	else
11112	  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'
11113	fi
11114	aix_use_runtimelinking=no
11115
11116	# Test if we are trying to use run time linking or normal
11117	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11118	# have runtime linking enabled, and use it for executables.
11119	# For shared libraries, we enable/disable runtime linking
11120	# depending on the kind of the shared library created -
11121	# when "with_aix_soname,aix_use_runtimelinking" is:
11122	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11123	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11124	#            lib.a           static archive
11125	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11126	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11127	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11128	#            lib.a(lib.so.V) shared, rtl:no
11129	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11130	#            lib.a           static archive
11131	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11132	  for ld_flag in $LDFLAGS; do
11133	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11134	    aix_use_runtimelinking=yes
11135	    break
11136	  fi
11137	  done
11138	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11139	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11140	    # so we don't have lib.a shared libs to link our executables.
11141	    # We have to force runtime linking in this case.
11142	    aix_use_runtimelinking=yes
11143	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11144	  fi
11145	  ;;
11146	esac
11147
11148	exp_sym_flag='-bexport'
11149	no_entry_flag='-bnoentry'
11150      fi
11151
11152      # When large executables or shared objects are built, AIX ld can
11153      # have problems creating the table of contents.  If linking a library
11154      # or program results in "error TOC overflow" add -mminimal-toc to
11155      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11156      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11157
11158      archive_cmds=''
11159      hardcode_direct=yes
11160      hardcode_direct_absolute=yes
11161      hardcode_libdir_separator=':'
11162      link_all_deplibs=yes
11163      file_list_spec='$wl-f,'
11164      case $with_aix_soname,$aix_use_runtimelinking in
11165      aix,*) ;; # traditional, no import file
11166      svr4,* | *,yes) # use import file
11167	# The Import File defines what to hardcode.
11168	hardcode_direct=no
11169	hardcode_direct_absolute=no
11170	;;
11171      esac
11172
11173      if test yes = "$GCC"; then
11174	case $host_os in aix4.[012]|aix4.[012].*)
11175	# We only want to do this on AIX 4.2 and lower, the check
11176	# below for broken collect2 doesn't work under 4.3+
11177	  collect2name=`$CC -print-prog-name=collect2`
11178	  if test -f "$collect2name" &&
11179	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11180	  then
11181	  # We have reworked collect2
11182	  :
11183	  else
11184	  # We have old collect2
11185	  hardcode_direct=unsupported
11186	  # It fails to find uninstalled libraries when the uninstalled
11187	  # path is not listed in the libpath.  Setting hardcode_minus_L
11188	  # to unsupported forces relinking
11189	  hardcode_minus_L=yes
11190	  hardcode_libdir_flag_spec='-L$libdir'
11191	  hardcode_libdir_separator=
11192	  fi
11193	  ;;
11194	esac
11195	shared_flag='-shared'
11196	if test yes = "$aix_use_runtimelinking"; then
11197	  shared_flag="$shared_flag "'$wl-G'
11198	fi
11199	# Need to ensure runtime linking is disabled for the traditional
11200	# shared library, or the linker may eventually find shared libraries
11201	# /with/ Import File - we do not want to mix them.
11202	shared_flag_aix='-shared'
11203	shared_flag_svr4='-shared $wl-G'
11204      else
11205	# not using gcc
11206	if test ia64 = "$host_cpu"; then
11207	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11208	# chokes on -Wl,-G. The following line is correct:
11209	  shared_flag='-G'
11210	else
11211	  if test yes = "$aix_use_runtimelinking"; then
11212	    shared_flag='$wl-G'
11213	  else
11214	    shared_flag='$wl-bM:SRE'
11215	  fi
11216	  shared_flag_aix='$wl-bM:SRE'
11217	  shared_flag_svr4='$wl-G'
11218	fi
11219      fi
11220
11221      export_dynamic_flag_spec='$wl-bexpall'
11222      # It seems that -bexpall does not export symbols beginning with
11223      # underscore (_), so it is better to generate a list of symbols to export.
11224      always_export_symbols=yes
11225      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11226	# Warning - without using the other runtime loading flags (-brtl),
11227	# -berok will link without error, but may produce a broken library.
11228	allow_undefined_flag='-berok'
11229        # Determine the default libpath from the value encoded in an
11230        # empty executable.
11231        if test set = "${lt_cv_aix_libpath+set}"; then
11232  aix_libpath=$lt_cv_aix_libpath
11233else
11234  if ${lt_cv_aix_libpath_+:} false; then :
11235  $as_echo_n "(cached) " >&6
11236else
11237  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238/* end confdefs.h.  */
11239
11240int
11241main ()
11242{
11243
11244  ;
11245  return 0;
11246}
11247_ACEOF
11248if ac_fn_c_try_link "$LINENO"; then :
11249
11250  lt_aix_libpath_sed='
11251      /Import File Strings/,/^$/ {
11252	  /^0/ {
11253	      s/^0  *\([^ ]*\) *$/\1/
11254	      p
11255	  }
11256      }'
11257  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11258  # Check for a 64-bit object if we didn't find anything.
11259  if test -z "$lt_cv_aix_libpath_"; then
11260    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11261  fi
11262fi
11263rm -f core conftest.err conftest.$ac_objext \
11264    conftest$ac_exeext conftest.$ac_ext
11265  if test -z "$lt_cv_aix_libpath_"; then
11266    lt_cv_aix_libpath_=/usr/lib:/lib
11267  fi
11268
11269fi
11270
11271  aix_libpath=$lt_cv_aix_libpath_
11272fi
11273
11274        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11275        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
11276      else
11277	if test ia64 = "$host_cpu"; then
11278	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11279	  allow_undefined_flag="-z nodefs"
11280	  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"
11281	else
11282	 # Determine the default libpath from the value encoded in an
11283	 # empty executable.
11284	 if test set = "${lt_cv_aix_libpath+set}"; then
11285  aix_libpath=$lt_cv_aix_libpath
11286else
11287  if ${lt_cv_aix_libpath_+:} false; then :
11288  $as_echo_n "(cached) " >&6
11289else
11290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291/* end confdefs.h.  */
11292
11293int
11294main ()
11295{
11296
11297  ;
11298  return 0;
11299}
11300_ACEOF
11301if ac_fn_c_try_link "$LINENO"; then :
11302
11303  lt_aix_libpath_sed='
11304      /Import File Strings/,/^$/ {
11305	  /^0/ {
11306	      s/^0  *\([^ ]*\) *$/\1/
11307	      p
11308	  }
11309      }'
11310  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11311  # Check for a 64-bit object if we didn't find anything.
11312  if test -z "$lt_cv_aix_libpath_"; then
11313    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11314  fi
11315fi
11316rm -f core conftest.err conftest.$ac_objext \
11317    conftest$ac_exeext conftest.$ac_ext
11318  if test -z "$lt_cv_aix_libpath_"; then
11319    lt_cv_aix_libpath_=/usr/lib:/lib
11320  fi
11321
11322fi
11323
11324  aix_libpath=$lt_cv_aix_libpath_
11325fi
11326
11327	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11328	  # Warning - without using the other run time loading flags,
11329	  # -berok will link without error, but may produce a broken library.
11330	  no_undefined_flag=' $wl-bernotok'
11331	  allow_undefined_flag=' $wl-berok'
11332	  if test yes = "$with_gnu_ld"; then
11333	    # We only use this code for GNU lds that support --whole-archive.
11334	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11335	  else
11336	    # Exported symbols can be pulled into shared objects from archives
11337	    whole_archive_flag_spec='$convenience'
11338	  fi
11339	  archive_cmds_need_lc=yes
11340	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11341	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11342	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11343	  if test svr4 != "$with_aix_soname"; then
11344	    # This is similar to how AIX traditionally builds its shared libraries.
11345	    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'
11346	  fi
11347	  if test aix != "$with_aix_soname"; then
11348	    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'
11349	  else
11350	    # used by -dlpreopen to get the symbols
11351	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11352	  fi
11353	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11354	fi
11355      fi
11356      ;;
11357
11358    amigaos*)
11359      case $host_cpu in
11360      powerpc)
11361            # see comment about AmigaOS4 .so support
11362            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11363            archive_expsym_cmds=''
11364        ;;
11365      m68k)
11366            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)'
11367            hardcode_libdir_flag_spec='-L$libdir'
11368            hardcode_minus_L=yes
11369        ;;
11370      esac
11371      ;;
11372
11373    bsdi[45]*)
11374      export_dynamic_flag_spec=-rdynamic
11375      ;;
11376
11377    cygwin* | mingw* | pw32* | cegcc*)
11378      # When not using gcc, we currently assume that we are using
11379      # Microsoft Visual C++.
11380      # hardcode_libdir_flag_spec is actually meaningless, as there is
11381      # no search path for DLLs.
11382      case $cc_basename in
11383      cl*)
11384	# Native MSVC
11385	hardcode_libdir_flag_spec=' '
11386	allow_undefined_flag=unsupported
11387	always_export_symbols=yes
11388	file_list_spec='@'
11389	# Tell ltmain to make .lib files, not .a files.
11390	libext=lib
11391	# Tell ltmain to make .dll files, not .so files.
11392	shrext_cmds=.dll
11393	# FIXME: Setting linknames here is a bad hack.
11394	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11395	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11396            cp "$export_symbols" "$output_objdir/$soname.def";
11397            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11398          else
11399            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11400          fi~
11401          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11402          linknames='
11403	# The linker will not automatically build a static lib if we build a DLL.
11404	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11405	enable_shared_with_static_runtimes=yes
11406	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11407	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11408	# Don't use ranlib
11409	old_postinstall_cmds='chmod 644 $oldlib'
11410	postlink_cmds='lt_outputfile="@OUTPUT@"~
11411          lt_tool_outputfile="@TOOL_OUTPUT@"~
11412          case $lt_outputfile in
11413            *.exe|*.EXE) ;;
11414            *)
11415              lt_outputfile=$lt_outputfile.exe
11416              lt_tool_outputfile=$lt_tool_outputfile.exe
11417              ;;
11418          esac~
11419          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11420            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11421            $RM "$lt_outputfile.manifest";
11422          fi'
11423	;;
11424      *)
11425	# Assume MSVC wrapper
11426	hardcode_libdir_flag_spec=' '
11427	allow_undefined_flag=unsupported
11428	# Tell ltmain to make .lib files, not .a files.
11429	libext=lib
11430	# Tell ltmain to make .dll files, not .so files.
11431	shrext_cmds=.dll
11432	# FIXME: Setting linknames here is a bad hack.
11433	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11434	# The linker will automatically build a .lib file if we build a DLL.
11435	old_archive_from_new_cmds='true'
11436	# FIXME: Should let the user specify the lib program.
11437	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11438	enable_shared_with_static_runtimes=yes
11439	;;
11440      esac
11441      ;;
11442
11443    darwin* | rhapsody*)
11444
11445
11446  archive_cmds_need_lc=no
11447  hardcode_direct=no
11448  hardcode_automatic=yes
11449  hardcode_shlibpath_var=unsupported
11450  if test yes = "$lt_cv_ld_force_load"; then
11451    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\"`'
11452
11453  else
11454    whole_archive_flag_spec=''
11455  fi
11456  link_all_deplibs=yes
11457  allow_undefined_flag=$_lt_dar_allow_undefined
11458  case $cc_basename in
11459     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11460     *) _lt_dar_can_shared=$GCC ;;
11461  esac
11462  if test yes = "$_lt_dar_can_shared"; then
11463    output_verbose_link_cmd=func_echo_all
11464    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11465    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11466    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"
11467    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"
11468
11469  else
11470  ld_shlibs=no
11471  fi
11472
11473      ;;
11474
11475    dgux*)
11476      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11477      hardcode_libdir_flag_spec='-L$libdir'
11478      hardcode_shlibpath_var=no
11479      ;;
11480
11481    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11482    # support.  Future versions do this automatically, but an explicit c++rt0.o
11483    # does not break anything, and helps significantly (at the cost of a little
11484    # extra space).
11485    freebsd2.2*)
11486      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11487      hardcode_libdir_flag_spec='-R$libdir'
11488      hardcode_direct=yes
11489      hardcode_shlibpath_var=no
11490      ;;
11491
11492    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11493    freebsd2.*)
11494      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11495      hardcode_direct=yes
11496      hardcode_minus_L=yes
11497      hardcode_shlibpath_var=no
11498      ;;
11499
11500    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11501    freebsd* | dragonfly*)
11502      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11503      hardcode_libdir_flag_spec='-R$libdir'
11504      hardcode_direct=yes
11505      hardcode_shlibpath_var=no
11506      ;;
11507
11508    hpux9*)
11509      if test yes = "$GCC"; then
11510	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'
11511      else
11512	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'
11513      fi
11514      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11515      hardcode_libdir_separator=:
11516      hardcode_direct=yes
11517
11518      # hardcode_minus_L: Not really in the search PATH,
11519      # but as the default location of the library.
11520      hardcode_minus_L=yes
11521      export_dynamic_flag_spec='$wl-E'
11522      ;;
11523
11524    hpux10*)
11525      if test yes,no = "$GCC,$with_gnu_ld"; then
11526	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11527      else
11528	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11529      fi
11530      if test no = "$with_gnu_ld"; then
11531	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11532	hardcode_libdir_separator=:
11533	hardcode_direct=yes
11534	hardcode_direct_absolute=yes
11535	export_dynamic_flag_spec='$wl-E'
11536	# hardcode_minus_L: Not really in the search PATH,
11537	# but as the default location of the library.
11538	hardcode_minus_L=yes
11539      fi
11540      ;;
11541
11542    hpux11*)
11543      if test yes,no = "$GCC,$with_gnu_ld"; then
11544	case $host_cpu in
11545	hppa*64*)
11546	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11547	  ;;
11548	ia64*)
11549	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11550	  ;;
11551	*)
11552	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11553	  ;;
11554	esac
11555      else
11556	case $host_cpu in
11557	hppa*64*)
11558	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11559	  ;;
11560	ia64*)
11561	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11562	  ;;
11563	*)
11564
11565	  # Older versions of the 11.00 compiler do not understand -b yet
11566	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11567	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11568$as_echo_n "checking if $CC understands -b... " >&6; }
11569if ${lt_cv_prog_compiler__b+:} false; then :
11570  $as_echo_n "(cached) " >&6
11571else
11572  lt_cv_prog_compiler__b=no
11573   save_LDFLAGS=$LDFLAGS
11574   LDFLAGS="$LDFLAGS -b"
11575   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11576   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11577     # The linker can only warn and ignore the option if not recognized
11578     # So say no if there are warnings
11579     if test -s conftest.err; then
11580       # Append any errors to the config.log.
11581       cat conftest.err 1>&5
11582       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11583       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11584       if diff conftest.exp conftest.er2 >/dev/null; then
11585         lt_cv_prog_compiler__b=yes
11586       fi
11587     else
11588       lt_cv_prog_compiler__b=yes
11589     fi
11590   fi
11591   $RM -r conftest*
11592   LDFLAGS=$save_LDFLAGS
11593
11594fi
11595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11596$as_echo "$lt_cv_prog_compiler__b" >&6; }
11597
11598if test yes = "$lt_cv_prog_compiler__b"; then
11599    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11600else
11601    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11602fi
11603
11604	  ;;
11605	esac
11606      fi
11607      if test no = "$with_gnu_ld"; then
11608	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11609	hardcode_libdir_separator=:
11610
11611	case $host_cpu in
11612	hppa*64*|ia64*)
11613	  hardcode_direct=no
11614	  hardcode_shlibpath_var=no
11615	  ;;
11616	*)
11617	  hardcode_direct=yes
11618	  hardcode_direct_absolute=yes
11619	  export_dynamic_flag_spec='$wl-E'
11620
11621	  # hardcode_minus_L: Not really in the search PATH,
11622	  # but as the default location of the library.
11623	  hardcode_minus_L=yes
11624	  ;;
11625	esac
11626      fi
11627      ;;
11628
11629    irix5* | irix6* | nonstopux*)
11630      if test yes = "$GCC"; then
11631	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'
11632	# Try to use the -exported_symbol ld option, if it does not
11633	# work, assume that -exports_file does not work either and
11634	# implicitly export all symbols.
11635	# This should be the same for all languages, so no per-tag cache variable.
11636	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11637$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11638if ${lt_cv_irix_exported_symbol+:} false; then :
11639  $as_echo_n "(cached) " >&6
11640else
11641  save_LDFLAGS=$LDFLAGS
11642	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11643	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644/* end confdefs.h.  */
11645int foo (void) { return 0; }
11646_ACEOF
11647if ac_fn_c_try_link "$LINENO"; then :
11648  lt_cv_irix_exported_symbol=yes
11649else
11650  lt_cv_irix_exported_symbol=no
11651fi
11652rm -f core conftest.err conftest.$ac_objext \
11653    conftest$ac_exeext conftest.$ac_ext
11654           LDFLAGS=$save_LDFLAGS
11655fi
11656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11657$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11658	if test yes = "$lt_cv_irix_exported_symbol"; then
11659          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'
11660	fi
11661      else
11662	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'
11663	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'
11664      fi
11665      archive_cmds_need_lc='no'
11666      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11667      hardcode_libdir_separator=:
11668      inherit_rpath=yes
11669      link_all_deplibs=yes
11670      ;;
11671
11672    linux*)
11673      case $cc_basename in
11674      tcc*)
11675	# Fabrice Bellard et al's Tiny C Compiler
11676	ld_shlibs=yes
11677	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11678	;;
11679      esac
11680      ;;
11681
11682    netbsd*)
11683      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11684	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11685      else
11686	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11687      fi
11688      hardcode_libdir_flag_spec='-R$libdir'
11689      hardcode_direct=yes
11690      hardcode_shlibpath_var=no
11691      ;;
11692
11693    newsos6)
11694      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11695      hardcode_direct=yes
11696      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11697      hardcode_libdir_separator=:
11698      hardcode_shlibpath_var=no
11699      ;;
11700
11701    *nto* | *qnx*)
11702      ;;
11703
11704    openbsd* | bitrig*)
11705      if test -f /usr/libexec/ld.so; then
11706	hardcode_direct=yes
11707	hardcode_shlibpath_var=no
11708	hardcode_direct_absolute=yes
11709	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11710	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11711	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11712	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11713	  export_dynamic_flag_spec='$wl-E'
11714	else
11715	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11716	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11717	fi
11718      else
11719	ld_shlibs=no
11720      fi
11721      ;;
11722
11723    os2*)
11724      hardcode_libdir_flag_spec='-L$libdir'
11725      hardcode_minus_L=yes
11726      allow_undefined_flag=unsupported
11727      shrext_cmds=.dll
11728      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11729	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11730	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11731	$ECHO EXPORTS >> $output_objdir/$libname.def~
11732	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11733	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11734	emximp -o $lib $output_objdir/$libname.def'
11735      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11736	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11737	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11738	$ECHO EXPORTS >> $output_objdir/$libname.def~
11739	prefix_cmds="$SED"~
11740	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11741	  prefix_cmds="$prefix_cmds -e 1d";
11742	fi~
11743	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11744	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11745	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11746	emximp -o $lib $output_objdir/$libname.def'
11747      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11748      enable_shared_with_static_runtimes=yes
11749      ;;
11750
11751    osf3*)
11752      if test yes = "$GCC"; then
11753	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11754	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'
11755      else
11756	allow_undefined_flag=' -expect_unresolved \*'
11757	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'
11758      fi
11759      archive_cmds_need_lc='no'
11760      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11761      hardcode_libdir_separator=:
11762      ;;
11763
11764    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11765      if test yes = "$GCC"; then
11766	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11767	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'
11768	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11769      else
11770	allow_undefined_flag=' -expect_unresolved \*'
11771	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'
11772	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~
11773          $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'
11774
11775	# Both c and cxx compiler support -rpath directly
11776	hardcode_libdir_flag_spec='-rpath $libdir'
11777      fi
11778      archive_cmds_need_lc='no'
11779      hardcode_libdir_separator=:
11780      ;;
11781
11782    solaris*)
11783      no_undefined_flag=' -z defs'
11784      if test yes = "$GCC"; then
11785	wlarc='$wl'
11786	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11787	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11788          $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'
11789      else
11790	case `$CC -V 2>&1` in
11791	*"Compilers 5.0"*)
11792	  wlarc=''
11793	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11794	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11795            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11796	  ;;
11797	*)
11798	  wlarc='$wl'
11799	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11800	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11801            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11802	  ;;
11803	esac
11804      fi
11805      hardcode_libdir_flag_spec='-R$libdir'
11806      hardcode_shlibpath_var=no
11807      case $host_os in
11808      solaris2.[0-5] | solaris2.[0-5].*) ;;
11809      *)
11810	# The compiler driver will combine and reorder linker options,
11811	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11812	# but is careful enough not to reorder.
11813	# Supported since Solaris 2.6 (maybe 2.5.1?)
11814	if test yes = "$GCC"; then
11815	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11816	else
11817	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11818	fi
11819	;;
11820      esac
11821      link_all_deplibs=yes
11822      ;;
11823
11824    sunos4*)
11825      if test sequent = "$host_vendor"; then
11826	# Use $CC to link under sequent, because it throws in some extra .o
11827	# files that make .init and .fini sections work.
11828	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11829      else
11830	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11831      fi
11832      hardcode_libdir_flag_spec='-L$libdir'
11833      hardcode_direct=yes
11834      hardcode_minus_L=yes
11835      hardcode_shlibpath_var=no
11836      ;;
11837
11838    sysv4)
11839      case $host_vendor in
11840	sni)
11841	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11842	  hardcode_direct=yes # is this really true???
11843	;;
11844	siemens)
11845	  ## LD is ld it makes a PLAMLIB
11846	  ## CC just makes a GrossModule.
11847	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11848	  reload_cmds='$CC -r -o $output$reload_objs'
11849	  hardcode_direct=no
11850        ;;
11851	motorola)
11852	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11853	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11854	;;
11855      esac
11856      runpath_var='LD_RUN_PATH'
11857      hardcode_shlibpath_var=no
11858      ;;
11859
11860    sysv4.3*)
11861      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11862      hardcode_shlibpath_var=no
11863      export_dynamic_flag_spec='-Bexport'
11864      ;;
11865
11866    sysv4*MP*)
11867      if test -d /usr/nec; then
11868	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11869	hardcode_shlibpath_var=no
11870	runpath_var=LD_RUN_PATH
11871	hardcode_runpath_var=yes
11872	ld_shlibs=yes
11873      fi
11874      ;;
11875
11876    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11877      no_undefined_flag='$wl-z,text'
11878      archive_cmds_need_lc=no
11879      hardcode_shlibpath_var=no
11880      runpath_var='LD_RUN_PATH'
11881
11882      if test yes = "$GCC"; then
11883	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11884	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11885      else
11886	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11887	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11888      fi
11889      ;;
11890
11891    sysv5* | sco3.2v5* | sco5v6*)
11892      # Note: We CANNOT use -z defs as we might desire, because we do not
11893      # link with -lc, and that would cause any symbols used from libc to
11894      # always be unresolved, which means just about no library would
11895      # ever link correctly.  If we're not using GNU ld we use -z text
11896      # though, which does catch some bad symbols but isn't as heavy-handed
11897      # as -z defs.
11898      no_undefined_flag='$wl-z,text'
11899      allow_undefined_flag='$wl-z,nodefs'
11900      archive_cmds_need_lc=no
11901      hardcode_shlibpath_var=no
11902      hardcode_libdir_flag_spec='$wl-R,$libdir'
11903      hardcode_libdir_separator=':'
11904      link_all_deplibs=yes
11905      export_dynamic_flag_spec='$wl-Bexport'
11906      runpath_var='LD_RUN_PATH'
11907
11908      if test yes = "$GCC"; then
11909	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11910	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11911      else
11912	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11913	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11914      fi
11915      ;;
11916
11917    uts4*)
11918      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11919      hardcode_libdir_flag_spec='-L$libdir'
11920      hardcode_shlibpath_var=no
11921      ;;
11922
11923    *)
11924      ld_shlibs=no
11925      ;;
11926    esac
11927
11928    if test sni = "$host_vendor"; then
11929      case $host in
11930      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11931	export_dynamic_flag_spec='$wl-Blargedynsym'
11932	;;
11933      esac
11934    fi
11935  fi
11936
11937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11938$as_echo "$ld_shlibs" >&6; }
11939test no = "$ld_shlibs" && can_build_shared=no
11940
11941with_gnu_ld=$with_gnu_ld
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957#
11958# Do we need to explicitly link libc?
11959#
11960case "x$archive_cmds_need_lc" in
11961x|xyes)
11962  # Assume -lc should be added
11963  archive_cmds_need_lc=yes
11964
11965  if test yes,yes = "$GCC,$enable_shared"; then
11966    case $archive_cmds in
11967    *'~'*)
11968      # FIXME: we may have to deal with multi-command sequences.
11969      ;;
11970    '$CC '*)
11971      # Test whether the compiler implicitly links with -lc since on some
11972      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11973      # to ld, don't add -lc before -lgcc.
11974      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11975$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11976if ${lt_cv_archive_cmds_need_lc+:} false; then :
11977  $as_echo_n "(cached) " >&6
11978else
11979  $RM conftest*
11980	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11981
11982	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11983  (eval $ac_compile) 2>&5
11984  ac_status=$?
11985  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11986  test $ac_status = 0; } 2>conftest.err; then
11987	  soname=conftest
11988	  lib=conftest
11989	  libobjs=conftest.$ac_objext
11990	  deplibs=
11991	  wl=$lt_prog_compiler_wl
11992	  pic_flag=$lt_prog_compiler_pic
11993	  compiler_flags=-v
11994	  linker_flags=-v
11995	  verstring=
11996	  output_objdir=.
11997	  libname=conftest
11998	  lt_save_allow_undefined_flag=$allow_undefined_flag
11999	  allow_undefined_flag=
12000	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12001  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12002  ac_status=$?
12003  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12004  test $ac_status = 0; }
12005	  then
12006	    lt_cv_archive_cmds_need_lc=no
12007	  else
12008	    lt_cv_archive_cmds_need_lc=yes
12009	  fi
12010	  allow_undefined_flag=$lt_save_allow_undefined_flag
12011	else
12012	  cat conftest.err 1>&5
12013	fi
12014	$RM conftest*
12015
12016fi
12017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12018$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12019      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12020      ;;
12021    esac
12022  fi
12023  ;;
12024esac
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12178$as_echo_n "checking dynamic linker characteristics... " >&6; }
12179
12180if test yes = "$GCC"; then
12181  case $host_os in
12182    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12183    *) lt_awk_arg='/^libraries:/' ;;
12184  esac
12185  case $host_os in
12186    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12187    *) lt_sed_strip_eq='s|=/|/|g' ;;
12188  esac
12189  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12190  case $lt_search_path_spec in
12191  *\;*)
12192    # if the path contains ";" then we assume it to be the separator
12193    # otherwise default to the standard path separator (i.e. ":") - it is
12194    # assumed that no part of a normal pathname contains ";" but that should
12195    # okay in the real world where ";" in dirpaths is itself problematic.
12196    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12197    ;;
12198  *)
12199    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12200    ;;
12201  esac
12202  # Ok, now we have the path, separated by spaces, we can step through it
12203  # and add multilib dir if necessary...
12204  lt_tmp_lt_search_path_spec=
12205  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12206  # ...but if some path component already ends with the multilib dir we assume
12207  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12208  case "$lt_multi_os_dir; $lt_search_path_spec " in
12209  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12210    lt_multi_os_dir=
12211    ;;
12212  esac
12213  for lt_sys_path in $lt_search_path_spec; do
12214    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12215      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12216    elif test -n "$lt_multi_os_dir"; then
12217      test -d "$lt_sys_path" && \
12218	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12219    fi
12220  done
12221  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12222BEGIN {RS = " "; FS = "/|\n";} {
12223  lt_foo = "";
12224  lt_count = 0;
12225  for (lt_i = NF; lt_i > 0; lt_i--) {
12226    if ($lt_i != "" && $lt_i != ".") {
12227      if ($lt_i == "..") {
12228        lt_count++;
12229      } else {
12230        if (lt_count == 0) {
12231          lt_foo = "/" $lt_i lt_foo;
12232        } else {
12233          lt_count--;
12234        }
12235      }
12236    }
12237  }
12238  if (lt_foo != "") { lt_freq[lt_foo]++; }
12239  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12240}'`
12241  # AWK program above erroneously prepends '/' to C:/dos/paths
12242  # for these hosts.
12243  case $host_os in
12244    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12245      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12246  esac
12247  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12248else
12249  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12250fi
12251library_names_spec=
12252libname_spec='lib$name'
12253soname_spec=
12254shrext_cmds=.so
12255postinstall_cmds=
12256postuninstall_cmds=
12257finish_cmds=
12258finish_eval=
12259shlibpath_var=
12260shlibpath_overrides_runpath=unknown
12261version_type=none
12262dynamic_linker="$host_os ld.so"
12263sys_lib_dlsearch_path_spec="/lib /usr/lib"
12264need_lib_prefix=unknown
12265hardcode_into_libs=no
12266
12267# when you set need_version to no, make sure it does not cause -set_version
12268# flags to be left without arguments
12269need_version=unknown
12270
12271
12272
12273case $host_os in
12274aix3*)
12275  version_type=linux # correct to gnu/linux during the next big refactor
12276  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12277  shlibpath_var=LIBPATH
12278
12279  # AIX 3 has no versioning support, so we append a major version to the name.
12280  soname_spec='$libname$release$shared_ext$major'
12281  ;;
12282
12283aix[4-9]*)
12284  version_type=linux # correct to gnu/linux during the next big refactor
12285  need_lib_prefix=no
12286  need_version=no
12287  hardcode_into_libs=yes
12288  if test ia64 = "$host_cpu"; then
12289    # AIX 5 supports IA64
12290    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12291    shlibpath_var=LD_LIBRARY_PATH
12292  else
12293    # With GCC up to 2.95.x, collect2 would create an import file
12294    # for dependence libraries.  The import file would start with
12295    # the line '#! .'.  This would cause the generated library to
12296    # depend on '.', always an invalid library.  This was fixed in
12297    # development snapshots of GCC prior to 3.0.
12298    case $host_os in
12299      aix4 | aix4.[01] | aix4.[01].*)
12300      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12301	   echo ' yes '
12302	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12303	:
12304      else
12305	can_build_shared=no
12306      fi
12307      ;;
12308    esac
12309    # Using Import Files as archive members, it is possible to support
12310    # filename-based versioning of shared library archives on AIX. While
12311    # this would work for both with and without runtime linking, it will
12312    # prevent static linking of such archives. So we do filename-based
12313    # shared library versioning with .so extension only, which is used
12314    # when both runtime linking and shared linking is enabled.
12315    # Unfortunately, runtime linking may impact performance, so we do
12316    # not want this to be the default eventually. Also, we use the
12317    # versioned .so libs for executables only if there is the -brtl
12318    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12319    # To allow for filename-based versioning support, we need to create
12320    # libNAME.so.V as an archive file, containing:
12321    # *) an Import File, referring to the versioned filename of the
12322    #    archive as well as the shared archive member, telling the
12323    #    bitwidth (32 or 64) of that shared object, and providing the
12324    #    list of exported symbols of that shared object, eventually
12325    #    decorated with the 'weak' keyword
12326    # *) the shared object with the F_LOADONLY flag set, to really avoid
12327    #    it being seen by the linker.
12328    # At run time we better use the real file rather than another symlink,
12329    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12330
12331    case $with_aix_soname,$aix_use_runtimelinking in
12332    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12333    # soname into executable. Probably we can add versioning support to
12334    # collect2, so additional links can be useful in future.
12335    aix,yes) # traditional libtool
12336      dynamic_linker='AIX unversionable lib.so'
12337      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12338      # instead of lib<name>.a to let people know that these are not
12339      # typical AIX shared libraries.
12340      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12341      ;;
12342    aix,no) # traditional AIX only
12343      dynamic_linker='AIX lib.a(lib.so.V)'
12344      # We preserve .a as extension for shared libraries through AIX4.2
12345      # and later when we are not doing run time linking.
12346      library_names_spec='$libname$release.a $libname.a'
12347      soname_spec='$libname$release$shared_ext$major'
12348      ;;
12349    svr4,*) # full svr4 only
12350      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12351      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12352      # We do not specify a path in Import Files, so LIBPATH fires.
12353      shlibpath_overrides_runpath=yes
12354      ;;
12355    *,yes) # both, prefer svr4
12356      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12357      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12358      # unpreferred sharedlib libNAME.a needs extra handling
12359      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"'
12360      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"'
12361      # We do not specify a path in Import Files, so LIBPATH fires.
12362      shlibpath_overrides_runpath=yes
12363      ;;
12364    *,no) # both, prefer aix
12365      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12366      library_names_spec='$libname$release.a $libname.a'
12367      soname_spec='$libname$release$shared_ext$major'
12368      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12369      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)'
12370      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"'
12371      ;;
12372    esac
12373    shlibpath_var=LIBPATH
12374  fi
12375  ;;
12376
12377amigaos*)
12378  case $host_cpu in
12379  powerpc)
12380    # Since July 2007 AmigaOS4 officially supports .so libraries.
12381    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12382    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12383    ;;
12384  m68k)
12385    library_names_spec='$libname.ixlibrary $libname.a'
12386    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12387    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'
12388    ;;
12389  esac
12390  ;;
12391
12392beos*)
12393  library_names_spec='$libname$shared_ext'
12394  dynamic_linker="$host_os ld.so"
12395  shlibpath_var=LIBRARY_PATH
12396  ;;
12397
12398bsdi[45]*)
12399  version_type=linux # correct to gnu/linux during the next big refactor
12400  need_version=no
12401  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12402  soname_spec='$libname$release$shared_ext$major'
12403  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12404  shlibpath_var=LD_LIBRARY_PATH
12405  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12406  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12407  # the default ld.so.conf also contains /usr/contrib/lib and
12408  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12409  # libtool to hard-code these into programs
12410  ;;
12411
12412cygwin* | mingw* | pw32* | cegcc*)
12413  version_type=windows
12414  shrext_cmds=.dll
12415  need_version=no
12416  need_lib_prefix=no
12417
12418  case $GCC,$cc_basename in
12419  yes,*)
12420    # gcc
12421    library_names_spec='$libname.dll.a'
12422    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12423    postinstall_cmds='base_file=`basename \$file`~
12424      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12425      dldir=$destdir/`dirname \$dlpath`~
12426      test -d \$dldir || mkdir -p \$dldir~
12427      $install_prog $dir/$dlname \$dldir/$dlname~
12428      chmod a+x \$dldir/$dlname~
12429      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12430        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12431      fi'
12432    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12433      dlpath=$dir/\$dldll~
12434       $RM \$dlpath'
12435    shlibpath_overrides_runpath=yes
12436
12437    case $host_os in
12438    cygwin*)
12439      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12440      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12441
12442      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12443      ;;
12444    mingw* | cegcc*)
12445      # MinGW DLLs use traditional 'lib' prefix
12446      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12447      ;;
12448    pw32*)
12449      # pw32 DLLs use 'pw' prefix rather than 'lib'
12450      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12451      ;;
12452    esac
12453    dynamic_linker='Win32 ld.exe'
12454    ;;
12455
12456  *,cl*)
12457    # Native MSVC
12458    libname_spec='$name'
12459    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12460    library_names_spec='$libname.dll.lib'
12461
12462    case $build_os in
12463    mingw*)
12464      sys_lib_search_path_spec=
12465      lt_save_ifs=$IFS
12466      IFS=';'
12467      for lt_path in $LIB
12468      do
12469        IFS=$lt_save_ifs
12470        # Let DOS variable expansion print the short 8.3 style file name.
12471        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12472        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12473      done
12474      IFS=$lt_save_ifs
12475      # Convert to MSYS style.
12476      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12477      ;;
12478    cygwin*)
12479      # Convert to unix form, then to dos form, then back to unix form
12480      # but this time dos style (no spaces!) so that the unix form looks
12481      # like /cygdrive/c/PROGRA~1:/cygdr...
12482      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12483      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12484      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12485      ;;
12486    *)
12487      sys_lib_search_path_spec=$LIB
12488      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12489        # It is most probably a Windows format PATH.
12490        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12491      else
12492        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12493      fi
12494      # FIXME: find the short name or the path components, as spaces are
12495      # common. (e.g. "Program Files" -> "PROGRA~1")
12496      ;;
12497    esac
12498
12499    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12500    postinstall_cmds='base_file=`basename \$file`~
12501      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12502      dldir=$destdir/`dirname \$dlpath`~
12503      test -d \$dldir || mkdir -p \$dldir~
12504      $install_prog $dir/$dlname \$dldir/$dlname'
12505    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12506      dlpath=$dir/\$dldll~
12507       $RM \$dlpath'
12508    shlibpath_overrides_runpath=yes
12509    dynamic_linker='Win32 link.exe'
12510    ;;
12511
12512  *)
12513    # Assume MSVC wrapper
12514    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12515    dynamic_linker='Win32 ld.exe'
12516    ;;
12517  esac
12518  # FIXME: first we should search . and the directory the executable is in
12519  shlibpath_var=PATH
12520  ;;
12521
12522darwin* | rhapsody*)
12523  dynamic_linker="$host_os dyld"
12524  version_type=darwin
12525  need_lib_prefix=no
12526  need_version=no
12527  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12528  soname_spec='$libname$release$major$shared_ext'
12529  shlibpath_overrides_runpath=yes
12530  shlibpath_var=DYLD_LIBRARY_PATH
12531  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12532
12533  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12534  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12535  ;;
12536
12537dgux*)
12538  version_type=linux # correct to gnu/linux during the next big refactor
12539  need_lib_prefix=no
12540  need_version=no
12541  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12542  soname_spec='$libname$release$shared_ext$major'
12543  shlibpath_var=LD_LIBRARY_PATH
12544  ;;
12545
12546freebsd* | dragonfly*)
12547  # DragonFly does not have aout.  When/if they implement a new
12548  # versioning mechanism, adjust this.
12549  if test -x /usr/bin/objformat; then
12550    objformat=`/usr/bin/objformat`
12551  else
12552    case $host_os in
12553    freebsd[23].*) objformat=aout ;;
12554    *) objformat=elf ;;
12555    esac
12556  fi
12557  version_type=freebsd-$objformat
12558  case $version_type in
12559    freebsd-elf*)
12560      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12561      soname_spec='$libname$release$shared_ext$major'
12562      need_version=no
12563      need_lib_prefix=no
12564      ;;
12565    freebsd-*)
12566      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12567      need_version=yes
12568      ;;
12569  esac
12570  shlibpath_var=LD_LIBRARY_PATH
12571  case $host_os in
12572  freebsd2.*)
12573    shlibpath_overrides_runpath=yes
12574    ;;
12575  freebsd3.[01]* | freebsdelf3.[01]*)
12576    shlibpath_overrides_runpath=yes
12577    hardcode_into_libs=yes
12578    ;;
12579  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12580  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12581    shlibpath_overrides_runpath=no
12582    hardcode_into_libs=yes
12583    ;;
12584  *) # from 4.6 on, and DragonFly
12585    shlibpath_overrides_runpath=yes
12586    hardcode_into_libs=yes
12587    ;;
12588  esac
12589  ;;
12590
12591haiku*)
12592  version_type=linux # correct to gnu/linux during the next big refactor
12593  need_lib_prefix=no
12594  need_version=no
12595  dynamic_linker="$host_os runtime_loader"
12596  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12597  soname_spec='$libname$release$shared_ext$major'
12598  shlibpath_var=LIBRARY_PATH
12599  shlibpath_overrides_runpath=no
12600  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12601  hardcode_into_libs=yes
12602  ;;
12603
12604hpux9* | hpux10* | hpux11*)
12605  # Give a soname corresponding to the major version so that dld.sl refuses to
12606  # link against other versions.
12607  version_type=sunos
12608  need_lib_prefix=no
12609  need_version=no
12610  case $host_cpu in
12611  ia64*)
12612    shrext_cmds='.so'
12613    hardcode_into_libs=yes
12614    dynamic_linker="$host_os dld.so"
12615    shlibpath_var=LD_LIBRARY_PATH
12616    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12617    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12618    soname_spec='$libname$release$shared_ext$major'
12619    if test 32 = "$HPUX_IA64_MODE"; then
12620      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12621      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12622    else
12623      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12624      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12625    fi
12626    ;;
12627  hppa*64*)
12628    shrext_cmds='.sl'
12629    hardcode_into_libs=yes
12630    dynamic_linker="$host_os dld.sl"
12631    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12632    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12633    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12634    soname_spec='$libname$release$shared_ext$major'
12635    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12636    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12637    ;;
12638  *)
12639    shrext_cmds='.sl'
12640    dynamic_linker="$host_os dld.sl"
12641    shlibpath_var=SHLIB_PATH
12642    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12643    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12644    soname_spec='$libname$release$shared_ext$major'
12645    ;;
12646  esac
12647  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12648  postinstall_cmds='chmod 555 $lib'
12649  # or fails outright, so override atomically:
12650  install_override_mode=555
12651  ;;
12652
12653interix[3-9]*)
12654  version_type=linux # correct to gnu/linux during the next big refactor
12655  need_lib_prefix=no
12656  need_version=no
12657  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12658  soname_spec='$libname$release$shared_ext$major'
12659  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12660  shlibpath_var=LD_LIBRARY_PATH
12661  shlibpath_overrides_runpath=no
12662  hardcode_into_libs=yes
12663  ;;
12664
12665irix5* | irix6* | nonstopux*)
12666  case $host_os in
12667    nonstopux*) version_type=nonstopux ;;
12668    *)
12669	if test yes = "$lt_cv_prog_gnu_ld"; then
12670		version_type=linux # correct to gnu/linux during the next big refactor
12671	else
12672		version_type=irix
12673	fi ;;
12674  esac
12675  need_lib_prefix=no
12676  need_version=no
12677  soname_spec='$libname$release$shared_ext$major'
12678  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12679  case $host_os in
12680  irix5* | nonstopux*)
12681    libsuff= shlibsuff=
12682    ;;
12683  *)
12684    case $LD in # libtool.m4 will add one of these switches to LD
12685    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12686      libsuff= shlibsuff= libmagic=32-bit;;
12687    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12688      libsuff=32 shlibsuff=N32 libmagic=N32;;
12689    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12690      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12691    *) libsuff= shlibsuff= libmagic=never-match;;
12692    esac
12693    ;;
12694  esac
12695  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12696  shlibpath_overrides_runpath=no
12697  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12698  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12699  hardcode_into_libs=yes
12700  ;;
12701
12702# No shared lib support for Linux oldld, aout, or coff.
12703linux*oldld* | linux*aout* | linux*coff*)
12704  dynamic_linker=no
12705  ;;
12706
12707linux*android*)
12708  version_type=none # Android doesn't support versioned libraries.
12709  need_lib_prefix=no
12710  need_version=no
12711  library_names_spec='$libname$release$shared_ext'
12712  soname_spec='$libname$release$shared_ext'
12713  finish_cmds=
12714  shlibpath_var=LD_LIBRARY_PATH
12715  shlibpath_overrides_runpath=yes
12716
12717  # This implies no fast_install, which is unacceptable.
12718  # Some rework will be needed to allow for fast_install
12719  # before this can be enabled.
12720  hardcode_into_libs=yes
12721
12722  dynamic_linker='Android linker'
12723  # Don't embed -rpath directories since the linker doesn't support them.
12724  hardcode_libdir_flag_spec='-L$libdir'
12725  ;;
12726
12727# This must be glibc/ELF.
12728linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12729  version_type=linux # correct to gnu/linux during the next big refactor
12730  need_lib_prefix=no
12731  need_version=no
12732  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12733  soname_spec='$libname$release$shared_ext$major'
12734  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12735  shlibpath_var=LD_LIBRARY_PATH
12736  shlibpath_overrides_runpath=no
12737
12738  # Some binutils ld are patched to set DT_RUNPATH
12739  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12740  $as_echo_n "(cached) " >&6
12741else
12742  lt_cv_shlibpath_overrides_runpath=no
12743    save_LDFLAGS=$LDFLAGS
12744    save_libdir=$libdir
12745    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12746	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12747    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748/* end confdefs.h.  */
12749
12750int
12751main ()
12752{
12753
12754  ;
12755  return 0;
12756}
12757_ACEOF
12758if ac_fn_c_try_link "$LINENO"; then :
12759  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12760  lt_cv_shlibpath_overrides_runpath=yes
12761fi
12762fi
12763rm -f core conftest.err conftest.$ac_objext \
12764    conftest$ac_exeext conftest.$ac_ext
12765    LDFLAGS=$save_LDFLAGS
12766    libdir=$save_libdir
12767
12768fi
12769
12770  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12771
12772  # This implies no fast_install, which is unacceptable.
12773  # Some rework will be needed to allow for fast_install
12774  # before this can be enabled.
12775  hardcode_into_libs=yes
12776
12777  # Add ABI-specific directories to the system library path.
12778  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12779
12780  # Ideally, we could use ldconfig to report *all* directores which are
12781  # searched for libraries, however this is still not possible.  Aside from not
12782  # being certain /sbin/ldconfig is available, command
12783  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12784  # even though it is searched at run-time.  Try to do the best guess by
12785  # appending ld.so.conf contents (and includes) to the search path.
12786  if test -f /etc/ld.so.conf; then
12787    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' ' '`
12788    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12789  fi
12790
12791  # We used to test for /lib/ld.so.1 and disable shared libraries on
12792  # powerpc, because MkLinux only supported shared libraries with the
12793  # GNU dynamic linker.  Since this was broken with cross compilers,
12794  # most powerpc-linux boxes support dynamic linking these days and
12795  # people can always --disable-shared, the test was removed, and we
12796  # assume the GNU/Linux dynamic linker is in use.
12797  dynamic_linker='GNU/Linux ld.so'
12798  ;;
12799
12800netbsd*)
12801  version_type=sunos
12802  need_lib_prefix=no
12803  need_version=no
12804  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12805    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12806    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12807    dynamic_linker='NetBSD (a.out) ld.so'
12808  else
12809    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12810    soname_spec='$libname$release$shared_ext$major'
12811    dynamic_linker='NetBSD ld.elf_so'
12812  fi
12813  shlibpath_var=LD_LIBRARY_PATH
12814  shlibpath_overrides_runpath=yes
12815  hardcode_into_libs=yes
12816  ;;
12817
12818newsos6)
12819  version_type=linux # correct to gnu/linux during the next big refactor
12820  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12821  shlibpath_var=LD_LIBRARY_PATH
12822  shlibpath_overrides_runpath=yes
12823  ;;
12824
12825*nto* | *qnx*)
12826  version_type=qnx
12827  need_lib_prefix=no
12828  need_version=no
12829  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12830  soname_spec='$libname$release$shared_ext$major'
12831  shlibpath_var=LD_LIBRARY_PATH
12832  shlibpath_overrides_runpath=no
12833  hardcode_into_libs=yes
12834  dynamic_linker='ldqnx.so'
12835  ;;
12836
12837openbsd* | bitrig*)
12838  version_type=sunos
12839  sys_lib_dlsearch_path_spec=/usr/lib
12840  need_lib_prefix=no
12841  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12842    need_version=no
12843  else
12844    need_version=yes
12845  fi
12846  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12847  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12848  shlibpath_var=LD_LIBRARY_PATH
12849  shlibpath_overrides_runpath=yes
12850  ;;
12851
12852os2*)
12853  libname_spec='$name'
12854  version_type=windows
12855  shrext_cmds=.dll
12856  need_version=no
12857  need_lib_prefix=no
12858  # OS/2 can only load a DLL with a base name of 8 characters or less.
12859  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12860    v=$($ECHO $release$versuffix | tr -d .-);
12861    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12862    $ECHO $n$v`$shared_ext'
12863  library_names_spec='${libname}_dll.$libext'
12864  dynamic_linker='OS/2 ld.exe'
12865  shlibpath_var=BEGINLIBPATH
12866  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12867  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12868  postinstall_cmds='base_file=`basename \$file`~
12869    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12870    dldir=$destdir/`dirname \$dlpath`~
12871    test -d \$dldir || mkdir -p \$dldir~
12872    $install_prog $dir/$dlname \$dldir/$dlname~
12873    chmod a+x \$dldir/$dlname~
12874    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12875      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12876    fi'
12877  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12878    dlpath=$dir/\$dldll~
12879    $RM \$dlpath'
12880  ;;
12881
12882osf3* | osf4* | osf5*)
12883  version_type=osf
12884  need_lib_prefix=no
12885  need_version=no
12886  soname_spec='$libname$release$shared_ext$major'
12887  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12888  shlibpath_var=LD_LIBRARY_PATH
12889  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12890  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12891  ;;
12892
12893rdos*)
12894  dynamic_linker=no
12895  ;;
12896
12897solaris*)
12898  version_type=linux # correct to gnu/linux during the next big refactor
12899  need_lib_prefix=no
12900  need_version=no
12901  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12902  soname_spec='$libname$release$shared_ext$major'
12903  shlibpath_var=LD_LIBRARY_PATH
12904  shlibpath_overrides_runpath=yes
12905  hardcode_into_libs=yes
12906  # ldd complains unless libraries are executable
12907  postinstall_cmds='chmod +x $lib'
12908  ;;
12909
12910sunos4*)
12911  version_type=sunos
12912  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12913  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12914  shlibpath_var=LD_LIBRARY_PATH
12915  shlibpath_overrides_runpath=yes
12916  if test yes = "$with_gnu_ld"; then
12917    need_lib_prefix=no
12918  fi
12919  need_version=yes
12920  ;;
12921
12922sysv4 | sysv4.3*)
12923  version_type=linux # correct to gnu/linux during the next big refactor
12924  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12925  soname_spec='$libname$release$shared_ext$major'
12926  shlibpath_var=LD_LIBRARY_PATH
12927  case $host_vendor in
12928    sni)
12929      shlibpath_overrides_runpath=no
12930      need_lib_prefix=no
12931      runpath_var=LD_RUN_PATH
12932      ;;
12933    siemens)
12934      need_lib_prefix=no
12935      ;;
12936    motorola)
12937      need_lib_prefix=no
12938      need_version=no
12939      shlibpath_overrides_runpath=no
12940      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12941      ;;
12942  esac
12943  ;;
12944
12945sysv4*MP*)
12946  if test -d /usr/nec; then
12947    version_type=linux # correct to gnu/linux during the next big refactor
12948    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12949    soname_spec='$libname$shared_ext.$major'
12950    shlibpath_var=LD_LIBRARY_PATH
12951  fi
12952  ;;
12953
12954sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12955  version_type=sco
12956  need_lib_prefix=no
12957  need_version=no
12958  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12959  soname_spec='$libname$release$shared_ext$major'
12960  shlibpath_var=LD_LIBRARY_PATH
12961  shlibpath_overrides_runpath=yes
12962  hardcode_into_libs=yes
12963  if test yes = "$with_gnu_ld"; then
12964    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12965  else
12966    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12967    case $host_os in
12968      sco3.2v5*)
12969        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12970	;;
12971    esac
12972  fi
12973  sys_lib_dlsearch_path_spec='/usr/lib'
12974  ;;
12975
12976tpf*)
12977  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12978  version_type=linux # correct to gnu/linux during the next big refactor
12979  need_lib_prefix=no
12980  need_version=no
12981  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12982  shlibpath_var=LD_LIBRARY_PATH
12983  shlibpath_overrides_runpath=no
12984  hardcode_into_libs=yes
12985  ;;
12986
12987uts4*)
12988  version_type=linux # correct to gnu/linux during the next big refactor
12989  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12990  soname_spec='$libname$release$shared_ext$major'
12991  shlibpath_var=LD_LIBRARY_PATH
12992  ;;
12993
12994*)
12995  dynamic_linker=no
12996  ;;
12997esac
12998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12999$as_echo "$dynamic_linker" >&6; }
13000test no = "$dynamic_linker" && can_build_shared=no
13001
13002variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13003if test yes = "$GCC"; then
13004  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13005fi
13006
13007if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13008  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13009fi
13010
13011if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13012  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13013fi
13014
13015# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13016configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13017
13018# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13019func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13020
13021# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13022configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13121$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13122hardcode_action=
13123if test -n "$hardcode_libdir_flag_spec" ||
13124   test -n "$runpath_var" ||
13125   test yes = "$hardcode_automatic"; then
13126
13127  # We can hardcode non-existent directories.
13128  if test no != "$hardcode_direct" &&
13129     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13130     # have to relink, otherwise we might link with an installed library
13131     # when we should be linking with a yet-to-be-installed one
13132     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13133     test no != "$hardcode_minus_L"; then
13134    # Linking always hardcodes the temporary library directory.
13135    hardcode_action=relink
13136  else
13137    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13138    hardcode_action=immediate
13139  fi
13140else
13141  # We cannot hardcode anything, or else we can only hardcode existing
13142  # directories.
13143  hardcode_action=unsupported
13144fi
13145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13146$as_echo "$hardcode_action" >&6; }
13147
13148if test relink = "$hardcode_action" ||
13149   test yes = "$inherit_rpath"; then
13150  # Fast installation is not supported
13151  enable_fast_install=no
13152elif test yes = "$shlibpath_overrides_runpath" ||
13153     test no = "$enable_shared"; then
13154  # Fast installation is not necessary
13155  enable_fast_install=needless
13156fi
13157
13158
13159
13160
13161
13162
13163  if test yes != "$enable_dlopen"; then
13164  enable_dlopen=unknown
13165  enable_dlopen_self=unknown
13166  enable_dlopen_self_static=unknown
13167else
13168  lt_cv_dlopen=no
13169  lt_cv_dlopen_libs=
13170
13171  case $host_os in
13172  beos*)
13173    lt_cv_dlopen=load_add_on
13174    lt_cv_dlopen_libs=
13175    lt_cv_dlopen_self=yes
13176    ;;
13177
13178  mingw* | pw32* | cegcc*)
13179    lt_cv_dlopen=LoadLibrary
13180    lt_cv_dlopen_libs=
13181    ;;
13182
13183  cygwin*)
13184    lt_cv_dlopen=dlopen
13185    lt_cv_dlopen_libs=
13186    ;;
13187
13188  darwin*)
13189    # if libdl is installed we need to link against it
13190    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13191$as_echo_n "checking for dlopen in -ldl... " >&6; }
13192if ${ac_cv_lib_dl_dlopen+:} false; then :
13193  $as_echo_n "(cached) " >&6
13194else
13195  ac_check_lib_save_LIBS=$LIBS
13196LIBS="-ldl  $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_dl_dlopen=yes
13217else
13218  ac_cv_lib_dl_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_dl_dlopen" >&5
13225$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13226if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13227  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13228else
13229
13230    lt_cv_dlopen=dyld
13231    lt_cv_dlopen_libs=
13232    lt_cv_dlopen_self=yes
13233
13234fi
13235
13236    ;;
13237
13238  tpf*)
13239    # Don't try to run any link tests for TPF.  We know it's impossible
13240    # because TPF is a cross-compiler, and we know how we open DSOs.
13241    lt_cv_dlopen=dlopen
13242    lt_cv_dlopen_libs=
13243    lt_cv_dlopen_self=no
13244    ;;
13245
13246  *)
13247    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13248if test "x$ac_cv_func_shl_load" = xyes; then :
13249  lt_cv_dlopen=shl_load
13250else
13251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13252$as_echo_n "checking for shl_load in -ldld... " >&6; }
13253if ${ac_cv_lib_dld_shl_load+:} false; then :
13254  $as_echo_n "(cached) " >&6
13255else
13256  ac_check_lib_save_LIBS=$LIBS
13257LIBS="-ldld  $LIBS"
13258cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259/* end confdefs.h.  */
13260
13261/* Override any GCC internal prototype to avoid an error.
13262   Use char because int might match the return type of a GCC
13263   builtin and then its argument prototype would still apply.  */
13264#ifdef __cplusplus
13265extern "C"
13266#endif
13267char shl_load ();
13268int
13269main ()
13270{
13271return shl_load ();
13272  ;
13273  return 0;
13274}
13275_ACEOF
13276if ac_fn_c_try_link "$LINENO"; then :
13277  ac_cv_lib_dld_shl_load=yes
13278else
13279  ac_cv_lib_dld_shl_load=no
13280fi
13281rm -f core conftest.err conftest.$ac_objext \
13282    conftest$ac_exeext conftest.$ac_ext
13283LIBS=$ac_check_lib_save_LIBS
13284fi
13285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13286$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13287if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13288  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13289else
13290  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13291if test "x$ac_cv_func_dlopen" = xyes; then :
13292  lt_cv_dlopen=dlopen
13293else
13294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13295$as_echo_n "checking for dlopen in -ldl... " >&6; }
13296if ${ac_cv_lib_dl_dlopen+:} false; then :
13297  $as_echo_n "(cached) " >&6
13298else
13299  ac_check_lib_save_LIBS=$LIBS
13300LIBS="-ldl  $LIBS"
13301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302/* end confdefs.h.  */
13303
13304/* Override any GCC internal prototype to avoid an error.
13305   Use char because int might match the return type of a GCC
13306   builtin and then its argument prototype would still apply.  */
13307#ifdef __cplusplus
13308extern "C"
13309#endif
13310char dlopen ();
13311int
13312main ()
13313{
13314return dlopen ();
13315  ;
13316  return 0;
13317}
13318_ACEOF
13319if ac_fn_c_try_link "$LINENO"; then :
13320  ac_cv_lib_dl_dlopen=yes
13321else
13322  ac_cv_lib_dl_dlopen=no
13323fi
13324rm -f core conftest.err conftest.$ac_objext \
13325    conftest$ac_exeext conftest.$ac_ext
13326LIBS=$ac_check_lib_save_LIBS
13327fi
13328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13329$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13330if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13331  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13332else
13333  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13334$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13335if ${ac_cv_lib_svld_dlopen+:} false; then :
13336  $as_echo_n "(cached) " >&6
13337else
13338  ac_check_lib_save_LIBS=$LIBS
13339LIBS="-lsvld  $LIBS"
13340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341/* end confdefs.h.  */
13342
13343/* Override any GCC internal prototype to avoid an error.
13344   Use char because int might match the return type of a GCC
13345   builtin and then its argument prototype would still apply.  */
13346#ifdef __cplusplus
13347extern "C"
13348#endif
13349char dlopen ();
13350int
13351main ()
13352{
13353return dlopen ();
13354  ;
13355  return 0;
13356}
13357_ACEOF
13358if ac_fn_c_try_link "$LINENO"; then :
13359  ac_cv_lib_svld_dlopen=yes
13360else
13361  ac_cv_lib_svld_dlopen=no
13362fi
13363rm -f core conftest.err conftest.$ac_objext \
13364    conftest$ac_exeext conftest.$ac_ext
13365LIBS=$ac_check_lib_save_LIBS
13366fi
13367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13368$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13369if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13370  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13371else
13372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13373$as_echo_n "checking for dld_link in -ldld... " >&6; }
13374if ${ac_cv_lib_dld_dld_link+:} false; then :
13375  $as_echo_n "(cached) " >&6
13376else
13377  ac_check_lib_save_LIBS=$LIBS
13378LIBS="-ldld  $LIBS"
13379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380/* end confdefs.h.  */
13381
13382/* Override any GCC internal prototype to avoid an error.
13383   Use char because int might match the return type of a GCC
13384   builtin and then its argument prototype would still apply.  */
13385#ifdef __cplusplus
13386extern "C"
13387#endif
13388char dld_link ();
13389int
13390main ()
13391{
13392return dld_link ();
13393  ;
13394  return 0;
13395}
13396_ACEOF
13397if ac_fn_c_try_link "$LINENO"; then :
13398  ac_cv_lib_dld_dld_link=yes
13399else
13400  ac_cv_lib_dld_dld_link=no
13401fi
13402rm -f core conftest.err conftest.$ac_objext \
13403    conftest$ac_exeext conftest.$ac_ext
13404LIBS=$ac_check_lib_save_LIBS
13405fi
13406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13407$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13408if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13409  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13410fi
13411
13412
13413fi
13414
13415
13416fi
13417
13418
13419fi
13420
13421
13422fi
13423
13424
13425fi
13426
13427    ;;
13428  esac
13429
13430  if test no = "$lt_cv_dlopen"; then
13431    enable_dlopen=no
13432  else
13433    enable_dlopen=yes
13434  fi
13435
13436  case $lt_cv_dlopen in
13437  dlopen)
13438    save_CPPFLAGS=$CPPFLAGS
13439    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13440
13441    save_LDFLAGS=$LDFLAGS
13442    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13443
13444    save_LIBS=$LIBS
13445    LIBS="$lt_cv_dlopen_libs $LIBS"
13446
13447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13448$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13449if ${lt_cv_dlopen_self+:} false; then :
13450  $as_echo_n "(cached) " >&6
13451else
13452  	  if test yes = "$cross_compiling"; then :
13453  lt_cv_dlopen_self=cross
13454else
13455  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13456  lt_status=$lt_dlunknown
13457  cat > conftest.$ac_ext <<_LT_EOF
13458#line $LINENO "configure"
13459#include "confdefs.h"
13460
13461#if HAVE_DLFCN_H
13462#include <dlfcn.h>
13463#endif
13464
13465#include <stdio.h>
13466
13467#ifdef RTLD_GLOBAL
13468#  define LT_DLGLOBAL		RTLD_GLOBAL
13469#else
13470#  ifdef DL_GLOBAL
13471#    define LT_DLGLOBAL		DL_GLOBAL
13472#  else
13473#    define LT_DLGLOBAL		0
13474#  endif
13475#endif
13476
13477/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13478   find out it does not work in some platform. */
13479#ifndef LT_DLLAZY_OR_NOW
13480#  ifdef RTLD_LAZY
13481#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13482#  else
13483#    ifdef DL_LAZY
13484#      define LT_DLLAZY_OR_NOW		DL_LAZY
13485#    else
13486#      ifdef RTLD_NOW
13487#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13488#      else
13489#        ifdef DL_NOW
13490#          define LT_DLLAZY_OR_NOW	DL_NOW
13491#        else
13492#          define LT_DLLAZY_OR_NOW	0
13493#        endif
13494#      endif
13495#    endif
13496#  endif
13497#endif
13498
13499/* When -fvisibility=hidden is used, assume the code has been annotated
13500   correspondingly for the symbols needed.  */
13501#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13502int fnord () __attribute__((visibility("default")));
13503#endif
13504
13505int fnord () { return 42; }
13506int main ()
13507{
13508  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13509  int status = $lt_dlunknown;
13510
13511  if (self)
13512    {
13513      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13514      else
13515        {
13516	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13517          else puts (dlerror ());
13518	}
13519      /* dlclose (self); */
13520    }
13521  else
13522    puts (dlerror ());
13523
13524  return status;
13525}
13526_LT_EOF
13527  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13528  (eval $ac_link) 2>&5
13529  ac_status=$?
13530  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13531  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13532    (./conftest; exit; ) >&5 2>/dev/null
13533    lt_status=$?
13534    case x$lt_status in
13535      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13536      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13537      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13538    esac
13539  else :
13540    # compilation failed
13541    lt_cv_dlopen_self=no
13542  fi
13543fi
13544rm -fr conftest*
13545
13546
13547fi
13548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13549$as_echo "$lt_cv_dlopen_self" >&6; }
13550
13551    if test yes = "$lt_cv_dlopen_self"; then
13552      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13553      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13554$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13555if ${lt_cv_dlopen_self_static+:} false; then :
13556  $as_echo_n "(cached) " >&6
13557else
13558  	  if test yes = "$cross_compiling"; then :
13559  lt_cv_dlopen_self_static=cross
13560else
13561  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13562  lt_status=$lt_dlunknown
13563  cat > conftest.$ac_ext <<_LT_EOF
13564#line $LINENO "configure"
13565#include "confdefs.h"
13566
13567#if HAVE_DLFCN_H
13568#include <dlfcn.h>
13569#endif
13570
13571#include <stdio.h>
13572
13573#ifdef RTLD_GLOBAL
13574#  define LT_DLGLOBAL		RTLD_GLOBAL
13575#else
13576#  ifdef DL_GLOBAL
13577#    define LT_DLGLOBAL		DL_GLOBAL
13578#  else
13579#    define LT_DLGLOBAL		0
13580#  endif
13581#endif
13582
13583/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13584   find out it does not work in some platform. */
13585#ifndef LT_DLLAZY_OR_NOW
13586#  ifdef RTLD_LAZY
13587#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13588#  else
13589#    ifdef DL_LAZY
13590#      define LT_DLLAZY_OR_NOW		DL_LAZY
13591#    else
13592#      ifdef RTLD_NOW
13593#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13594#      else
13595#        ifdef DL_NOW
13596#          define LT_DLLAZY_OR_NOW	DL_NOW
13597#        else
13598#          define LT_DLLAZY_OR_NOW	0
13599#        endif
13600#      endif
13601#    endif
13602#  endif
13603#endif
13604
13605/* When -fvisibility=hidden is used, assume the code has been annotated
13606   correspondingly for the symbols needed.  */
13607#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13608int fnord () __attribute__((visibility("default")));
13609#endif
13610
13611int fnord () { return 42; }
13612int main ()
13613{
13614  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13615  int status = $lt_dlunknown;
13616
13617  if (self)
13618    {
13619      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13620      else
13621        {
13622	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13623          else puts (dlerror ());
13624	}
13625      /* dlclose (self); */
13626    }
13627  else
13628    puts (dlerror ());
13629
13630  return status;
13631}
13632_LT_EOF
13633  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13634  (eval $ac_link) 2>&5
13635  ac_status=$?
13636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13637  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13638    (./conftest; exit; ) >&5 2>/dev/null
13639    lt_status=$?
13640    case x$lt_status in
13641      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13642      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13643      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13644    esac
13645  else :
13646    # compilation failed
13647    lt_cv_dlopen_self_static=no
13648  fi
13649fi
13650rm -fr conftest*
13651
13652
13653fi
13654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13655$as_echo "$lt_cv_dlopen_self_static" >&6; }
13656    fi
13657
13658    CPPFLAGS=$save_CPPFLAGS
13659    LDFLAGS=$save_LDFLAGS
13660    LIBS=$save_LIBS
13661    ;;
13662  esac
13663
13664  case $lt_cv_dlopen_self in
13665  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13666  *) enable_dlopen_self=unknown ;;
13667  esac
13668
13669  case $lt_cv_dlopen_self_static in
13670  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13671  *) enable_dlopen_self_static=unknown ;;
13672  esac
13673fi
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691striplib=
13692old_striplib=
13693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13694$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13695if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13696  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13697  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13699$as_echo "yes" >&6; }
13700else
13701# FIXME - insert some real tests, host_os isn't really good enough
13702  case $host_os in
13703  darwin*)
13704    if test -n "$STRIP"; then
13705      striplib="$STRIP -x"
13706      old_striplib="$STRIP -S"
13707      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13708$as_echo "yes" >&6; }
13709    else
13710      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711$as_echo "no" >&6; }
13712    fi
13713    ;;
13714  *)
13715    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13716$as_echo "no" >&6; }
13717    ;;
13718  esac
13719fi
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732  # Report what library types will actually be built
13733  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13734$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13736$as_echo "$can_build_shared" >&6; }
13737
13738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13739$as_echo_n "checking whether to build shared libraries... " >&6; }
13740  test no = "$can_build_shared" && enable_shared=no
13741
13742  # On AIX, shared libraries and static libraries use the same namespace, and
13743  # are all built from PIC.
13744  case $host_os in
13745  aix3*)
13746    test yes = "$enable_shared" && enable_static=no
13747    if test -n "$RANLIB"; then
13748      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13749      postinstall_cmds='$RANLIB $lib'
13750    fi
13751    ;;
13752
13753  aix[4-9]*)
13754    if test ia64 != "$host_cpu"; then
13755      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13756      yes,aix,yes) ;;			# shared object as lib.so file only
13757      yes,svr4,*) ;;			# shared object as lib.so archive member only
13758      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13759      esac
13760    fi
13761    ;;
13762  esac
13763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13764$as_echo "$enable_shared" >&6; }
13765
13766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13767$as_echo_n "checking whether to build static libraries... " >&6; }
13768  # Make sure either enable_shared or enable_static is yes.
13769  test yes = "$enable_shared" || enable_static=yes
13770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13771$as_echo "$enable_static" >&6; }
13772
13773
13774
13775
13776fi
13777ac_ext=c
13778ac_cpp='$CPP $CPPFLAGS'
13779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13781ac_compiler_gnu=$ac_cv_c_compiler_gnu
13782
13783CC=$lt_save_CC
13784
13785      if test -n "$CXX" && ( test no != "$CXX" &&
13786    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13787    (test g++ != "$CXX"))); then
13788  ac_ext=cpp
13789ac_cpp='$CXXCPP $CPPFLAGS'
13790ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13791ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13792ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13794$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13795if test -z "$CXXCPP"; then
13796  if ${ac_cv_prog_CXXCPP+:} false; then :
13797  $as_echo_n "(cached) " >&6
13798else
13799      # Double quotes because CXXCPP needs to be expanded
13800    for CXXCPP in "$CXX -E" "/lib/cpp"
13801    do
13802      ac_preproc_ok=false
13803for ac_cxx_preproc_warn_flag in '' yes
13804do
13805  # Use a header file that comes with gcc, so configuring glibc
13806  # with a fresh cross-compiler works.
13807  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13808  # <limits.h> exists even on freestanding compilers.
13809  # On the NeXT, cc -E runs the code through the compiler's parser,
13810  # not just through cpp. "Syntax error" is here to catch this case.
13811  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812/* end confdefs.h.  */
13813#ifdef __STDC__
13814# include <limits.h>
13815#else
13816# include <assert.h>
13817#endif
13818		     Syntax error
13819_ACEOF
13820if ac_fn_cxx_try_cpp "$LINENO"; then :
13821
13822else
13823  # Broken: fails on valid input.
13824continue
13825fi
13826rm -f conftest.err conftest.i conftest.$ac_ext
13827
13828  # OK, works on sane cases.  Now check whether nonexistent headers
13829  # can be detected and how.
13830  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831/* end confdefs.h.  */
13832#include <ac_nonexistent.h>
13833_ACEOF
13834if ac_fn_cxx_try_cpp "$LINENO"; then :
13835  # Broken: success on invalid input.
13836continue
13837else
13838  # Passes both tests.
13839ac_preproc_ok=:
13840break
13841fi
13842rm -f conftest.err conftest.i conftest.$ac_ext
13843
13844done
13845# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13846rm -f conftest.i conftest.err conftest.$ac_ext
13847if $ac_preproc_ok; then :
13848  break
13849fi
13850
13851    done
13852    ac_cv_prog_CXXCPP=$CXXCPP
13853
13854fi
13855  CXXCPP=$ac_cv_prog_CXXCPP
13856else
13857  ac_cv_prog_CXXCPP=$CXXCPP
13858fi
13859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13860$as_echo "$CXXCPP" >&6; }
13861ac_preproc_ok=false
13862for ac_cxx_preproc_warn_flag in '' yes
13863do
13864  # Use a header file that comes with gcc, so configuring glibc
13865  # with a fresh cross-compiler works.
13866  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13867  # <limits.h> exists even on freestanding compilers.
13868  # On the NeXT, cc -E runs the code through the compiler's parser,
13869  # not just through cpp. "Syntax error" is here to catch this case.
13870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871/* end confdefs.h.  */
13872#ifdef __STDC__
13873# include <limits.h>
13874#else
13875# include <assert.h>
13876#endif
13877		     Syntax error
13878_ACEOF
13879if ac_fn_cxx_try_cpp "$LINENO"; then :
13880
13881else
13882  # Broken: fails on valid input.
13883continue
13884fi
13885rm -f conftest.err conftest.i conftest.$ac_ext
13886
13887  # OK, works on sane cases.  Now check whether nonexistent headers
13888  # can be detected and how.
13889  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890/* end confdefs.h.  */
13891#include <ac_nonexistent.h>
13892_ACEOF
13893if ac_fn_cxx_try_cpp "$LINENO"; then :
13894  # Broken: success on invalid input.
13895continue
13896else
13897  # Passes both tests.
13898ac_preproc_ok=:
13899break
13900fi
13901rm -f conftest.err conftest.i conftest.$ac_ext
13902
13903done
13904# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13905rm -f conftest.i conftest.err conftest.$ac_ext
13906if $ac_preproc_ok; then :
13907
13908else
13909  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13911as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13912See \`config.log' for more details" "$LINENO" 5; }
13913fi
13914
13915ac_ext=c
13916ac_cpp='$CPP $CPPFLAGS'
13917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13919ac_compiler_gnu=$ac_cv_c_compiler_gnu
13920
13921else
13922  _lt_caught_CXX_error=yes
13923fi
13924
13925ac_ext=cpp
13926ac_cpp='$CXXCPP $CPPFLAGS'
13927ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13928ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13929ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13930
13931archive_cmds_need_lc_CXX=no
13932allow_undefined_flag_CXX=
13933always_export_symbols_CXX=no
13934archive_expsym_cmds_CXX=
13935compiler_needs_object_CXX=no
13936export_dynamic_flag_spec_CXX=
13937hardcode_direct_CXX=no
13938hardcode_direct_absolute_CXX=no
13939hardcode_libdir_flag_spec_CXX=
13940hardcode_libdir_separator_CXX=
13941hardcode_minus_L_CXX=no
13942hardcode_shlibpath_var_CXX=unsupported
13943hardcode_automatic_CXX=no
13944inherit_rpath_CXX=no
13945module_cmds_CXX=
13946module_expsym_cmds_CXX=
13947link_all_deplibs_CXX=unknown
13948old_archive_cmds_CXX=$old_archive_cmds
13949reload_flag_CXX=$reload_flag
13950reload_cmds_CXX=$reload_cmds
13951no_undefined_flag_CXX=
13952whole_archive_flag_spec_CXX=
13953enable_shared_with_static_runtimes_CXX=no
13954
13955# Source file extension for C++ test sources.
13956ac_ext=cpp
13957
13958# Object file extension for compiled C++ test sources.
13959objext=o
13960objext_CXX=$objext
13961
13962# No sense in running all these tests if we already determined that
13963# the CXX compiler isn't working.  Some variables (like enable_shared)
13964# are currently assumed to apply to all compilers on this platform,
13965# and will be corrupted by setting them based on a non-working compiler.
13966if test yes != "$_lt_caught_CXX_error"; then
13967  # Code to be used in simple compile tests
13968  lt_simple_compile_test_code="int some_variable = 0;"
13969
13970  # Code to be used in simple link tests
13971  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13972
13973  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13974
13975
13976
13977
13978
13979
13980# If no C compiler was specified, use CC.
13981LTCC=${LTCC-"$CC"}
13982
13983# If no C compiler flags were specified, use CFLAGS.
13984LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13985
13986# Allow CC to be a program name with arguments.
13987compiler=$CC
13988
13989
13990  # save warnings/boilerplate of simple test code
13991  ac_outfile=conftest.$ac_objext
13992echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13993eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13994_lt_compiler_boilerplate=`cat conftest.err`
13995$RM conftest*
13996
13997  ac_outfile=conftest.$ac_objext
13998echo "$lt_simple_link_test_code" >conftest.$ac_ext
13999eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14000_lt_linker_boilerplate=`cat conftest.err`
14001$RM -r conftest*
14002
14003
14004  # Allow CC to be a program name with arguments.
14005  lt_save_CC=$CC
14006  lt_save_CFLAGS=$CFLAGS
14007  lt_save_LD=$LD
14008  lt_save_GCC=$GCC
14009  GCC=$GXX
14010  lt_save_with_gnu_ld=$with_gnu_ld
14011  lt_save_path_LD=$lt_cv_path_LD
14012  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14013    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14014  else
14015    $as_unset lt_cv_prog_gnu_ld
14016  fi
14017  if test -n "${lt_cv_path_LDCXX+set}"; then
14018    lt_cv_path_LD=$lt_cv_path_LDCXX
14019  else
14020    $as_unset lt_cv_path_LD
14021  fi
14022  test -z "${LDCXX+set}" || LD=$LDCXX
14023  CC=${CXX-"c++"}
14024  CFLAGS=$CXXFLAGS
14025  compiler=$CC
14026  compiler_CXX=$CC
14027  func_cc_basename $compiler
14028cc_basename=$func_cc_basename_result
14029
14030
14031  if test -n "$compiler"; then
14032    # We don't want -fno-exception when compiling C++ code, so set the
14033    # no_builtin_flag separately
14034    if test yes = "$GXX"; then
14035      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14036    else
14037      lt_prog_compiler_no_builtin_flag_CXX=
14038    fi
14039
14040    if test yes = "$GXX"; then
14041      # Set up default GNU C++ configuration
14042
14043
14044
14045# Check whether --with-gnu-ld was given.
14046if test "${with_gnu_ld+set}" = set; then :
14047  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14048else
14049  with_gnu_ld=no
14050fi
14051
14052ac_prog=ld
14053if test yes = "$GCC"; then
14054  # Check if gcc -print-prog-name=ld gives a path.
14055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14056$as_echo_n "checking for ld used by $CC... " >&6; }
14057  case $host in
14058  *-*-mingw*)
14059    # gcc leaves a trailing carriage return, which upsets mingw
14060    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14061  *)
14062    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14063  esac
14064  case $ac_prog in
14065    # Accept absolute paths.
14066    [\\/]* | ?:[\\/]*)
14067      re_direlt='/[^/][^/]*/\.\./'
14068      # Canonicalize the pathname of ld
14069      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14070      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14071	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14072      done
14073      test -z "$LD" && LD=$ac_prog
14074      ;;
14075  "")
14076    # If it fails, then pretend we aren't using GCC.
14077    ac_prog=ld
14078    ;;
14079  *)
14080    # If it is relative, then search for the first ld in PATH.
14081    with_gnu_ld=unknown
14082    ;;
14083  esac
14084elif test yes = "$with_gnu_ld"; then
14085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14086$as_echo_n "checking for GNU ld... " >&6; }
14087else
14088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14089$as_echo_n "checking for non-GNU ld... " >&6; }
14090fi
14091if ${lt_cv_path_LD+:} false; then :
14092  $as_echo_n "(cached) " >&6
14093else
14094  if test -z "$LD"; then
14095  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14096  for ac_dir in $PATH; do
14097    IFS=$lt_save_ifs
14098    test -z "$ac_dir" && ac_dir=.
14099    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14100      lt_cv_path_LD=$ac_dir/$ac_prog
14101      # Check to see if the program is GNU ld.  I'd rather use --version,
14102      # but apparently some variants of GNU ld only accept -v.
14103      # Break only if it was the GNU/non-GNU ld that we prefer.
14104      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14105      *GNU* | *'with BFD'*)
14106	test no != "$with_gnu_ld" && break
14107	;;
14108      *)
14109	test yes != "$with_gnu_ld" && break
14110	;;
14111      esac
14112    fi
14113  done
14114  IFS=$lt_save_ifs
14115else
14116  lt_cv_path_LD=$LD # Let the user override the test with a path.
14117fi
14118fi
14119
14120LD=$lt_cv_path_LD
14121if test -n "$LD"; then
14122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14123$as_echo "$LD" >&6; }
14124else
14125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14126$as_echo "no" >&6; }
14127fi
14128test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14130$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14131if ${lt_cv_prog_gnu_ld+:} false; then :
14132  $as_echo_n "(cached) " >&6
14133else
14134  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14135case `$LD -v 2>&1 </dev/null` in
14136*GNU* | *'with BFD'*)
14137  lt_cv_prog_gnu_ld=yes
14138  ;;
14139*)
14140  lt_cv_prog_gnu_ld=no
14141  ;;
14142esac
14143fi
14144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14145$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14146with_gnu_ld=$lt_cv_prog_gnu_ld
14147
14148
14149
14150
14151
14152
14153
14154      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14155      # archiving commands below assume that GNU ld is being used.
14156      if test yes = "$with_gnu_ld"; then
14157        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14158        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'
14159
14160        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14161        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14162
14163        # If archive_cmds runs LD, not CC, wlarc should be empty
14164        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14165        #     investigate it a little bit more. (MM)
14166        wlarc='$wl'
14167
14168        # ancient GNU ld didn't support --whole-archive et. al.
14169        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14170	  $GREP 'no-whole-archive' > /dev/null; then
14171          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14172        else
14173          whole_archive_flag_spec_CXX=
14174        fi
14175      else
14176        with_gnu_ld=no
14177        wlarc=
14178
14179        # A generic and very simple default shared library creation
14180        # command for GNU C++ for the case where it uses the native
14181        # linker, instead of GNU ld.  If possible, this setting should
14182        # overridden to take advantage of the native linker features on
14183        # the platform it is being used on.
14184        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14185      fi
14186
14187      # Commands to make compiler produce verbose output that lists
14188      # what "hidden" libraries, object files and flags are used when
14189      # linking a shared library.
14190      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14191
14192    else
14193      GXX=no
14194      with_gnu_ld=no
14195      wlarc=
14196    fi
14197
14198    # PORTME: fill in a description of your system's C++ link characteristics
14199    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14200$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14201    ld_shlibs_CXX=yes
14202    case $host_os in
14203      aix3*)
14204        # FIXME: insert proper C++ library support
14205        ld_shlibs_CXX=no
14206        ;;
14207      aix[4-9]*)
14208        if test ia64 = "$host_cpu"; then
14209          # On IA64, the linker does run time linking by default, so we don't
14210          # have to do anything special.
14211          aix_use_runtimelinking=no
14212          exp_sym_flag='-Bexport'
14213          no_entry_flag=
14214        else
14215          aix_use_runtimelinking=no
14216
14217          # Test if we are trying to use run time linking or normal
14218          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14219          # have runtime linking enabled, and use it for executables.
14220          # For shared libraries, we enable/disable runtime linking
14221          # depending on the kind of the shared library created -
14222          # when "with_aix_soname,aix_use_runtimelinking" is:
14223          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14224          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14225          #            lib.a           static archive
14226          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14227          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14228          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14229          #            lib.a(lib.so.V) shared, rtl:no
14230          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14231          #            lib.a           static archive
14232          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14233	    for ld_flag in $LDFLAGS; do
14234	      case $ld_flag in
14235	      *-brtl*)
14236	        aix_use_runtimelinking=yes
14237	        break
14238	        ;;
14239	      esac
14240	    done
14241	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14242	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14243	      # so we don't have lib.a shared libs to link our executables.
14244	      # We have to force runtime linking in this case.
14245	      aix_use_runtimelinking=yes
14246	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14247	    fi
14248	    ;;
14249          esac
14250
14251          exp_sym_flag='-bexport'
14252          no_entry_flag='-bnoentry'
14253        fi
14254
14255        # When large executables or shared objects are built, AIX ld can
14256        # have problems creating the table of contents.  If linking a library
14257        # or program results in "error TOC overflow" add -mminimal-toc to
14258        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14259        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14260
14261        archive_cmds_CXX=''
14262        hardcode_direct_CXX=yes
14263        hardcode_direct_absolute_CXX=yes
14264        hardcode_libdir_separator_CXX=':'
14265        link_all_deplibs_CXX=yes
14266        file_list_spec_CXX='$wl-f,'
14267        case $with_aix_soname,$aix_use_runtimelinking in
14268        aix,*) ;;	# no import file
14269        svr4,* | *,yes) # use import file
14270          # The Import File defines what to hardcode.
14271          hardcode_direct_CXX=no
14272          hardcode_direct_absolute_CXX=no
14273          ;;
14274        esac
14275
14276        if test yes = "$GXX"; then
14277          case $host_os in aix4.[012]|aix4.[012].*)
14278          # We only want to do this on AIX 4.2 and lower, the check
14279          # below for broken collect2 doesn't work under 4.3+
14280	  collect2name=`$CC -print-prog-name=collect2`
14281	  if test -f "$collect2name" &&
14282	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14283	  then
14284	    # We have reworked collect2
14285	    :
14286	  else
14287	    # We have old collect2
14288	    hardcode_direct_CXX=unsupported
14289	    # It fails to find uninstalled libraries when the uninstalled
14290	    # path is not listed in the libpath.  Setting hardcode_minus_L
14291	    # to unsupported forces relinking
14292	    hardcode_minus_L_CXX=yes
14293	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14294	    hardcode_libdir_separator_CXX=
14295	  fi
14296          esac
14297          shared_flag='-shared'
14298	  if test yes = "$aix_use_runtimelinking"; then
14299	    shared_flag=$shared_flag' $wl-G'
14300	  fi
14301	  # Need to ensure runtime linking is disabled for the traditional
14302	  # shared library, or the linker may eventually find shared libraries
14303	  # /with/ Import File - we do not want to mix them.
14304	  shared_flag_aix='-shared'
14305	  shared_flag_svr4='-shared $wl-G'
14306        else
14307          # not using gcc
14308          if test ia64 = "$host_cpu"; then
14309	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14310	  # chokes on -Wl,-G. The following line is correct:
14311	  shared_flag='-G'
14312          else
14313	    if test yes = "$aix_use_runtimelinking"; then
14314	      shared_flag='$wl-G'
14315	    else
14316	      shared_flag='$wl-bM:SRE'
14317	    fi
14318	    shared_flag_aix='$wl-bM:SRE'
14319	    shared_flag_svr4='$wl-G'
14320          fi
14321        fi
14322
14323        export_dynamic_flag_spec_CXX='$wl-bexpall'
14324        # It seems that -bexpall does not export symbols beginning with
14325        # underscore (_), so it is better to generate a list of symbols to
14326	# export.
14327        always_export_symbols_CXX=yes
14328	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14329          # Warning - without using the other runtime loading flags (-brtl),
14330          # -berok will link without error, but may produce a broken library.
14331          # The "-G" linker flag allows undefined symbols.
14332          no_undefined_flag_CXX='-bernotok'
14333          # Determine the default libpath from the value encoded in an empty
14334          # executable.
14335          if test set = "${lt_cv_aix_libpath+set}"; then
14336  aix_libpath=$lt_cv_aix_libpath
14337else
14338  if ${lt_cv_aix_libpath__CXX+:} false; then :
14339  $as_echo_n "(cached) " >&6
14340else
14341  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342/* end confdefs.h.  */
14343
14344int
14345main ()
14346{
14347
14348  ;
14349  return 0;
14350}
14351_ACEOF
14352if ac_fn_cxx_try_link "$LINENO"; then :
14353
14354  lt_aix_libpath_sed='
14355      /Import File Strings/,/^$/ {
14356	  /^0/ {
14357	      s/^0  *\([^ ]*\) *$/\1/
14358	      p
14359	  }
14360      }'
14361  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14362  # Check for a 64-bit object if we didn't find anything.
14363  if test -z "$lt_cv_aix_libpath__CXX"; then
14364    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14365  fi
14366fi
14367rm -f core conftest.err conftest.$ac_objext \
14368    conftest$ac_exeext conftest.$ac_ext
14369  if test -z "$lt_cv_aix_libpath__CXX"; then
14370    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14371  fi
14372
14373fi
14374
14375  aix_libpath=$lt_cv_aix_libpath__CXX
14376fi
14377
14378          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14379
14380          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
14381        else
14382          if test ia64 = "$host_cpu"; then
14383	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14384	    allow_undefined_flag_CXX="-z nodefs"
14385	    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"
14386          else
14387	    # Determine the default libpath from the value encoded in an
14388	    # empty executable.
14389	    if test set = "${lt_cv_aix_libpath+set}"; then
14390  aix_libpath=$lt_cv_aix_libpath
14391else
14392  if ${lt_cv_aix_libpath__CXX+:} false; then :
14393  $as_echo_n "(cached) " >&6
14394else
14395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396/* end confdefs.h.  */
14397
14398int
14399main ()
14400{
14401
14402  ;
14403  return 0;
14404}
14405_ACEOF
14406if ac_fn_cxx_try_link "$LINENO"; then :
14407
14408  lt_aix_libpath_sed='
14409      /Import File Strings/,/^$/ {
14410	  /^0/ {
14411	      s/^0  *\([^ ]*\) *$/\1/
14412	      p
14413	  }
14414      }'
14415  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14416  # Check for a 64-bit object if we didn't find anything.
14417  if test -z "$lt_cv_aix_libpath__CXX"; then
14418    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14419  fi
14420fi
14421rm -f core conftest.err conftest.$ac_objext \
14422    conftest$ac_exeext conftest.$ac_ext
14423  if test -z "$lt_cv_aix_libpath__CXX"; then
14424    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14425  fi
14426
14427fi
14428
14429  aix_libpath=$lt_cv_aix_libpath__CXX
14430fi
14431
14432	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14433	    # Warning - without using the other run time loading flags,
14434	    # -berok will link without error, but may produce a broken library.
14435	    no_undefined_flag_CXX=' $wl-bernotok'
14436	    allow_undefined_flag_CXX=' $wl-berok'
14437	    if test yes = "$with_gnu_ld"; then
14438	      # We only use this code for GNU lds that support --whole-archive.
14439	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14440	    else
14441	      # Exported symbols can be pulled into shared objects from archives
14442	      whole_archive_flag_spec_CXX='$convenience'
14443	    fi
14444	    archive_cmds_need_lc_CXX=yes
14445	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14446	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14447	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14448	    if test svr4 != "$with_aix_soname"; then
14449	      # This is similar to how AIX traditionally builds its shared
14450	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14451	      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'
14452	    fi
14453	    if test aix != "$with_aix_soname"; then
14454	      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'
14455	    else
14456	      # used by -dlpreopen to get the symbols
14457	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14458	    fi
14459	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14460          fi
14461        fi
14462        ;;
14463
14464      beos*)
14465	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14466	  allow_undefined_flag_CXX=unsupported
14467	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14468	  # support --undefined.  This deserves some investigation.  FIXME
14469	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14470	else
14471	  ld_shlibs_CXX=no
14472	fi
14473	;;
14474
14475      chorus*)
14476        case $cc_basename in
14477          *)
14478	  # FIXME: insert proper C++ library support
14479	  ld_shlibs_CXX=no
14480	  ;;
14481        esac
14482        ;;
14483
14484      cygwin* | mingw* | pw32* | cegcc*)
14485	case $GXX,$cc_basename in
14486	,cl* | no,cl*)
14487	  # Native MSVC
14488	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14489	  # no search path for DLLs.
14490	  hardcode_libdir_flag_spec_CXX=' '
14491	  allow_undefined_flag_CXX=unsupported
14492	  always_export_symbols_CXX=yes
14493	  file_list_spec_CXX='@'
14494	  # Tell ltmain to make .lib files, not .a files.
14495	  libext=lib
14496	  # Tell ltmain to make .dll files, not .so files.
14497	  shrext_cmds=.dll
14498	  # FIXME: Setting linknames here is a bad hack.
14499	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14500	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14501              cp "$export_symbols" "$output_objdir/$soname.def";
14502              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14503            else
14504              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14505            fi~
14506            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14507            linknames='
14508	  # The linker will not automatically build a static lib if we build a DLL.
14509	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14510	  enable_shared_with_static_runtimes_CXX=yes
14511	  # Don't use ranlib
14512	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14513	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14514            lt_tool_outputfile="@TOOL_OUTPUT@"~
14515            case $lt_outputfile in
14516              *.exe|*.EXE) ;;
14517              *)
14518                lt_outputfile=$lt_outputfile.exe
14519                lt_tool_outputfile=$lt_tool_outputfile.exe
14520                ;;
14521            esac~
14522            func_to_tool_file "$lt_outputfile"~
14523            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14524              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14525              $RM "$lt_outputfile.manifest";
14526            fi'
14527	  ;;
14528	*)
14529	  # g++
14530	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14531	  # as there is no search path for DLLs.
14532	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14533	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14534	  allow_undefined_flag_CXX=unsupported
14535	  always_export_symbols_CXX=no
14536	  enable_shared_with_static_runtimes_CXX=yes
14537
14538	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14539	    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'
14540	    # If the export-symbols file already is a .def file, use it as
14541	    # is; otherwise, prepend EXPORTS...
14542	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14543              cp $export_symbols $output_objdir/$soname.def;
14544            else
14545              echo EXPORTS > $output_objdir/$soname.def;
14546              cat $export_symbols >> $output_objdir/$soname.def;
14547            fi~
14548            $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'
14549	  else
14550	    ld_shlibs_CXX=no
14551	  fi
14552	  ;;
14553	esac
14554	;;
14555      darwin* | rhapsody*)
14556
14557
14558  archive_cmds_need_lc_CXX=no
14559  hardcode_direct_CXX=no
14560  hardcode_automatic_CXX=yes
14561  hardcode_shlibpath_var_CXX=unsupported
14562  if test yes = "$lt_cv_ld_force_load"; then
14563    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\"`'
14564
14565  else
14566    whole_archive_flag_spec_CXX=''
14567  fi
14568  link_all_deplibs_CXX=yes
14569  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14570  case $cc_basename in
14571     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14572     *) _lt_dar_can_shared=$GCC ;;
14573  esac
14574  if test yes = "$_lt_dar_can_shared"; then
14575    output_verbose_link_cmd=func_echo_all
14576    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"
14577    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14578    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"
14579    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"
14580       if test yes != "$lt_cv_apple_cc_single_mod"; then
14581      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"
14582      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"
14583    fi
14584
14585  else
14586  ld_shlibs_CXX=no
14587  fi
14588
14589	;;
14590
14591      os2*)
14592	hardcode_libdir_flag_spec_CXX='-L$libdir'
14593	hardcode_minus_L_CXX=yes
14594	allow_undefined_flag_CXX=unsupported
14595	shrext_cmds=.dll
14596	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14597	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14598	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14599	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14600	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14601	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14602	  emximp -o $lib $output_objdir/$libname.def'
14603	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14604	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14605	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14606	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14607	  prefix_cmds="$SED"~
14608	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14609	    prefix_cmds="$prefix_cmds -e 1d";
14610	  fi~
14611	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14612	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14613	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14614	  emximp -o $lib $output_objdir/$libname.def'
14615	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14616	enable_shared_with_static_runtimes_CXX=yes
14617	;;
14618
14619      dgux*)
14620        case $cc_basename in
14621          ec++*)
14622	    # FIXME: insert proper C++ library support
14623	    ld_shlibs_CXX=no
14624	    ;;
14625          ghcx*)
14626	    # Green Hills C++ Compiler
14627	    # FIXME: insert proper C++ library support
14628	    ld_shlibs_CXX=no
14629	    ;;
14630          *)
14631	    # FIXME: insert proper C++ library support
14632	    ld_shlibs_CXX=no
14633	    ;;
14634        esac
14635        ;;
14636
14637      freebsd2.*)
14638        # C++ shared libraries reported to be fairly broken before
14639	# switch to ELF
14640        ld_shlibs_CXX=no
14641        ;;
14642
14643      freebsd-elf*)
14644        archive_cmds_need_lc_CXX=no
14645        ;;
14646
14647      freebsd* | dragonfly*)
14648        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14649        # conventions
14650        ld_shlibs_CXX=yes
14651        ;;
14652
14653      haiku*)
14654        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14655        link_all_deplibs_CXX=yes
14656        ;;
14657
14658      hpux9*)
14659        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14660        hardcode_libdir_separator_CXX=:
14661        export_dynamic_flag_spec_CXX='$wl-E'
14662        hardcode_direct_CXX=yes
14663        hardcode_minus_L_CXX=yes # Not in the search PATH,
14664				             # but as the default
14665				             # location of the library.
14666
14667        case $cc_basename in
14668          CC*)
14669            # FIXME: insert proper C++ library support
14670            ld_shlibs_CXX=no
14671            ;;
14672          aCC*)
14673            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'
14674            # Commands to make compiler produce verbose output that lists
14675            # what "hidden" libraries, object files and flags are used when
14676            # linking a shared library.
14677            #
14678            # There doesn't appear to be a way to prevent this compiler from
14679            # explicitly linking system object files so we need to strip them
14680            # from the output so that they don't get included in the library
14681            # dependencies.
14682            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"'
14683            ;;
14684          *)
14685            if test yes = "$GXX"; then
14686              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'
14687            else
14688              # FIXME: insert proper C++ library support
14689              ld_shlibs_CXX=no
14690            fi
14691            ;;
14692        esac
14693        ;;
14694
14695      hpux10*|hpux11*)
14696        if test no = "$with_gnu_ld"; then
14697	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14698	  hardcode_libdir_separator_CXX=:
14699
14700          case $host_cpu in
14701            hppa*64*|ia64*)
14702              ;;
14703            *)
14704	      export_dynamic_flag_spec_CXX='$wl-E'
14705              ;;
14706          esac
14707        fi
14708        case $host_cpu in
14709          hppa*64*|ia64*)
14710            hardcode_direct_CXX=no
14711            hardcode_shlibpath_var_CXX=no
14712            ;;
14713          *)
14714            hardcode_direct_CXX=yes
14715            hardcode_direct_absolute_CXX=yes
14716            hardcode_minus_L_CXX=yes # Not in the search PATH,
14717					         # but as the default
14718					         # location of the library.
14719            ;;
14720        esac
14721
14722        case $cc_basename in
14723          CC*)
14724	    # FIXME: insert proper C++ library support
14725	    ld_shlibs_CXX=no
14726	    ;;
14727          aCC*)
14728	    case $host_cpu in
14729	      hppa*64*)
14730	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14731	        ;;
14732	      ia64*)
14733	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14734	        ;;
14735	      *)
14736	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14737	        ;;
14738	    esac
14739	    # Commands to make compiler produce verbose output that lists
14740	    # what "hidden" libraries, object files and flags are used when
14741	    # linking a shared library.
14742	    #
14743	    # There doesn't appear to be a way to prevent this compiler from
14744	    # explicitly linking system object files so we need to strip them
14745	    # from the output so that they don't get included in the library
14746	    # dependencies.
14747	    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"'
14748	    ;;
14749          *)
14750	    if test yes = "$GXX"; then
14751	      if test no = "$with_gnu_ld"; then
14752	        case $host_cpu in
14753	          hppa*64*)
14754	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14755	            ;;
14756	          ia64*)
14757	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14758	            ;;
14759	          *)
14760	            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'
14761	            ;;
14762	        esac
14763	      fi
14764	    else
14765	      # FIXME: insert proper C++ library support
14766	      ld_shlibs_CXX=no
14767	    fi
14768	    ;;
14769        esac
14770        ;;
14771
14772      interix[3-9]*)
14773	hardcode_direct_CXX=no
14774	hardcode_shlibpath_var_CXX=no
14775	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14776	export_dynamic_flag_spec_CXX='$wl-E'
14777	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14778	# Instead, shared libraries are loaded at an image base (0x10000000 by
14779	# default) and relocated if they conflict, which is a slow very memory
14780	# consuming and fragmenting process.  To avoid this, we pick a random,
14781	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14782	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14783	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'
14784	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'
14785	;;
14786      irix5* | irix6*)
14787        case $cc_basename in
14788          CC*)
14789	    # SGI C++
14790	    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'
14791
14792	    # Archives containing C++ object files must be created using
14793	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14794	    # necessary to make sure instantiated templates are included
14795	    # in the archive.
14796	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14797	    ;;
14798          *)
14799	    if test yes = "$GXX"; then
14800	      if test no = "$with_gnu_ld"; then
14801	        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'
14802	      else
14803	        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'
14804	      fi
14805	    fi
14806	    link_all_deplibs_CXX=yes
14807	    ;;
14808        esac
14809        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14810        hardcode_libdir_separator_CXX=:
14811        inherit_rpath_CXX=yes
14812        ;;
14813
14814      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14815        case $cc_basename in
14816          KCC*)
14817	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14818
14819	    # KCC will only create a shared library if the output file
14820	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14821	    # to its proper name (with version) after linking.
14822	    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'
14823	    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'
14824	    # Commands to make compiler produce verbose output that lists
14825	    # what "hidden" libraries, object files and flags are used when
14826	    # linking a shared library.
14827	    #
14828	    # There doesn't appear to be a way to prevent this compiler from
14829	    # explicitly linking system object files so we need to strip them
14830	    # from the output so that they don't get included in the library
14831	    # dependencies.
14832	    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"'
14833
14834	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14835	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14836
14837	    # Archives containing C++ object files must be created using
14838	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14839	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14840	    ;;
14841	  icpc* | ecpc* )
14842	    # Intel C++
14843	    with_gnu_ld=yes
14844	    # version 8.0 and above of icpc choke on multiply defined symbols
14845	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14846	    # earlier do not add the objects themselves.
14847	    case `$CC -V 2>&1` in
14848	      *"Version 7."*)
14849	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14850		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'
14851		;;
14852	      *)  # Version 8.0 or newer
14853	        tmp_idyn=
14854	        case $host_cpu in
14855		  ia64*) tmp_idyn=' -i_dynamic';;
14856		esac
14857	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14858		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'
14859		;;
14860	    esac
14861	    archive_cmds_need_lc_CXX=no
14862	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14863	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14864	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14865	    ;;
14866          pgCC* | pgcpp*)
14867            # Portland Group C++ compiler
14868	    case `$CC -V` in
14869	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14870	      prelink_cmds_CXX='tpldir=Template.dir~
14871               rm -rf $tpldir~
14872               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14873               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14874	      old_archive_cmds_CXX='tpldir=Template.dir~
14875                rm -rf $tpldir~
14876                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14877                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14878                $RANLIB $oldlib'
14879	      archive_cmds_CXX='tpldir=Template.dir~
14880                rm -rf $tpldir~
14881                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14882                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14883	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14884                rm -rf $tpldir~
14885                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14886                $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'
14887	      ;;
14888	    *) # Version 6 and above use weak symbols
14889	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14890	      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'
14891	      ;;
14892	    esac
14893
14894	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14895	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14896	    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'
14897            ;;
14898	  cxx*)
14899	    # Compaq C++
14900	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14901	    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'
14902
14903	    runpath_var=LD_RUN_PATH
14904	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14905	    hardcode_libdir_separator_CXX=:
14906
14907	    # Commands to make compiler produce verbose output that lists
14908	    # what "hidden" libraries, object files and flags are used when
14909	    # linking a shared library.
14910	    #
14911	    # There doesn't appear to be a way to prevent this compiler from
14912	    # explicitly linking system object files so we need to strip them
14913	    # from the output so that they don't get included in the library
14914	    # dependencies.
14915	    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'
14916	    ;;
14917	  xl* | mpixl* | bgxl*)
14918	    # IBM XL 8.0 on PPC, with GNU ld
14919	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14920	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14921	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14922	    if test yes = "$supports_anon_versioning"; then
14923	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14924                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14925                echo "local: *; };" >> $output_objdir/$libname.ver~
14926                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14927	    fi
14928	    ;;
14929	  *)
14930	    case `$CC -V 2>&1 | sed 5q` in
14931	    *Sun\ C*)
14932	      # Sun C++ 5.9
14933	      no_undefined_flag_CXX=' -zdefs'
14934	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14935	      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'
14936	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14937	      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'
14938	      compiler_needs_object_CXX=yes
14939
14940	      # Not sure whether something based on
14941	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14942	      # would be better.
14943	      output_verbose_link_cmd='func_echo_all'
14944
14945	      # Archives containing C++ object files must be created using
14946	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14947	      # necessary to make sure instantiated templates are included
14948	      # in the archive.
14949	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14950	      ;;
14951	    esac
14952	    ;;
14953	esac
14954	;;
14955
14956      lynxos*)
14957        # FIXME: insert proper C++ library support
14958	ld_shlibs_CXX=no
14959	;;
14960
14961      m88k*)
14962        # FIXME: insert proper C++ library support
14963        ld_shlibs_CXX=no
14964	;;
14965
14966      mvs*)
14967        case $cc_basename in
14968          cxx*)
14969	    # FIXME: insert proper C++ library support
14970	    ld_shlibs_CXX=no
14971	    ;;
14972	  *)
14973	    # FIXME: insert proper C++ library support
14974	    ld_shlibs_CXX=no
14975	    ;;
14976	esac
14977	;;
14978
14979      netbsd*)
14980        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14981	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14982	  wlarc=
14983	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14984	  hardcode_direct_CXX=yes
14985	  hardcode_shlibpath_var_CXX=no
14986	fi
14987	# Workaround some broken pre-1.5 toolchains
14988	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14989	;;
14990
14991      *nto* | *qnx*)
14992        ld_shlibs_CXX=yes
14993	;;
14994
14995      openbsd* | bitrig*)
14996	if test -f /usr/libexec/ld.so; then
14997	  hardcode_direct_CXX=yes
14998	  hardcode_shlibpath_var_CXX=no
14999	  hardcode_direct_absolute_CXX=yes
15000	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15001	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15002	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15003	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15004	    export_dynamic_flag_spec_CXX='$wl-E'
15005	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15006	  fi
15007	  output_verbose_link_cmd=func_echo_all
15008	else
15009	  ld_shlibs_CXX=no
15010	fi
15011	;;
15012
15013      osf3* | osf4* | osf5*)
15014        case $cc_basename in
15015          KCC*)
15016	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15017
15018	    # KCC will only create a shared library if the output file
15019	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15020	    # to its proper name (with version) after linking.
15021	    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'
15022
15023	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15024	    hardcode_libdir_separator_CXX=:
15025
15026	    # Archives containing C++ object files must be created using
15027	    # the KAI C++ compiler.
15028	    case $host in
15029	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15030	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15031	    esac
15032	    ;;
15033          RCC*)
15034	    # Rational C++ 2.4.1
15035	    # FIXME: insert proper C++ library support
15036	    ld_shlibs_CXX=no
15037	    ;;
15038          cxx*)
15039	    case $host in
15040	      osf3*)
15041	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15042	        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'
15043	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15044		;;
15045	      *)
15046	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15047	        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'
15048	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15049                  echo "-hidden">> $lib.exp~
15050                  $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~
15051                  $RM $lib.exp'
15052	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15053		;;
15054	    esac
15055
15056	    hardcode_libdir_separator_CXX=:
15057
15058	    # Commands to make compiler produce verbose output that lists
15059	    # what "hidden" libraries, object files and flags are used when
15060	    # linking a shared library.
15061	    #
15062	    # There doesn't appear to be a way to prevent this compiler from
15063	    # explicitly linking system object files so we need to strip them
15064	    # from the output so that they don't get included in the library
15065	    # dependencies.
15066	    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"'
15067	    ;;
15068	  *)
15069	    if test yes,no = "$GXX,$with_gnu_ld"; then
15070	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15071	      case $host in
15072	        osf3*)
15073	          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'
15074		  ;;
15075	        *)
15076	          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'
15077		  ;;
15078	      esac
15079
15080	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15081	      hardcode_libdir_separator_CXX=:
15082
15083	      # Commands to make compiler produce verbose output that lists
15084	      # what "hidden" libraries, object files and flags are used when
15085	      # linking a shared library.
15086	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15087
15088	    else
15089	      # FIXME: insert proper C++ library support
15090	      ld_shlibs_CXX=no
15091	    fi
15092	    ;;
15093        esac
15094        ;;
15095
15096      psos*)
15097        # FIXME: insert proper C++ library support
15098        ld_shlibs_CXX=no
15099        ;;
15100
15101      sunos4*)
15102        case $cc_basename in
15103          CC*)
15104	    # Sun C++ 4.x
15105	    # FIXME: insert proper C++ library support
15106	    ld_shlibs_CXX=no
15107	    ;;
15108          lcc*)
15109	    # Lucid
15110	    # FIXME: insert proper C++ library support
15111	    ld_shlibs_CXX=no
15112	    ;;
15113          *)
15114	    # FIXME: insert proper C++ library support
15115	    ld_shlibs_CXX=no
15116	    ;;
15117        esac
15118        ;;
15119
15120      solaris*)
15121        case $cc_basename in
15122          CC* | sunCC*)
15123	    # Sun C++ 4.2, 5.x and Centerline C++
15124            archive_cmds_need_lc_CXX=yes
15125	    no_undefined_flag_CXX=' -zdefs'
15126	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15127	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15128              $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'
15129
15130	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15131	    hardcode_shlibpath_var_CXX=no
15132	    case $host_os in
15133	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15134	      *)
15135		# The compiler driver will combine and reorder linker options,
15136		# but understands '-z linker_flag'.
15137	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15138		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15139	        ;;
15140	    esac
15141	    link_all_deplibs_CXX=yes
15142
15143	    output_verbose_link_cmd='func_echo_all'
15144
15145	    # Archives containing C++ object files must be created using
15146	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15147	    # necessary to make sure instantiated templates are included
15148	    # in the archive.
15149	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15150	    ;;
15151          gcx*)
15152	    # Green Hills C++ Compiler
15153	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15154
15155	    # The C++ compiler must be used to create the archive.
15156	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15157	    ;;
15158          *)
15159	    # GNU C++ compiler with Solaris linker
15160	    if test yes,no = "$GXX,$with_gnu_ld"; then
15161	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15162	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15163	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15164	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15165                  $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'
15166
15167	        # Commands to make compiler produce verbose output that lists
15168	        # what "hidden" libraries, object files and flags are used when
15169	        # linking a shared library.
15170	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15171	      else
15172	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15173	        # platform.
15174	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15175	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15176                  $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'
15177
15178	        # Commands to make compiler produce verbose output that lists
15179	        # what "hidden" libraries, object files and flags are used when
15180	        # linking a shared library.
15181	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15182	      fi
15183
15184	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15185	      case $host_os in
15186		solaris2.[0-5] | solaris2.[0-5].*) ;;
15187		*)
15188		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15189		  ;;
15190	      esac
15191	    fi
15192	    ;;
15193        esac
15194        ;;
15195
15196    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15197      no_undefined_flag_CXX='$wl-z,text'
15198      archive_cmds_need_lc_CXX=no
15199      hardcode_shlibpath_var_CXX=no
15200      runpath_var='LD_RUN_PATH'
15201
15202      case $cc_basename in
15203        CC*)
15204	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15205	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15206	  ;;
15207	*)
15208	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15209	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15210	  ;;
15211      esac
15212      ;;
15213
15214      sysv5* | sco3.2v5* | sco5v6*)
15215	# Note: We CANNOT use -z defs as we might desire, because we do not
15216	# link with -lc, and that would cause any symbols used from libc to
15217	# always be unresolved, which means just about no library would
15218	# ever link correctly.  If we're not using GNU ld we use -z text
15219	# though, which does catch some bad symbols but isn't as heavy-handed
15220	# as -z defs.
15221	no_undefined_flag_CXX='$wl-z,text'
15222	allow_undefined_flag_CXX='$wl-z,nodefs'
15223	archive_cmds_need_lc_CXX=no
15224	hardcode_shlibpath_var_CXX=no
15225	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15226	hardcode_libdir_separator_CXX=':'
15227	link_all_deplibs_CXX=yes
15228	export_dynamic_flag_spec_CXX='$wl-Bexport'
15229	runpath_var='LD_RUN_PATH'
15230
15231	case $cc_basename in
15232          CC*)
15233	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15234	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15235	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15236              '"$old_archive_cmds_CXX"
15237	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15238              '"$reload_cmds_CXX"
15239	    ;;
15240	  *)
15241	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15242	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15243	    ;;
15244	esac
15245      ;;
15246
15247      tandem*)
15248        case $cc_basename in
15249          NCC*)
15250	    # NonStop-UX NCC 3.20
15251	    # FIXME: insert proper C++ library support
15252	    ld_shlibs_CXX=no
15253	    ;;
15254          *)
15255	    # FIXME: insert proper C++ library support
15256	    ld_shlibs_CXX=no
15257	    ;;
15258        esac
15259        ;;
15260
15261      vxworks*)
15262        # FIXME: insert proper C++ library support
15263        ld_shlibs_CXX=no
15264        ;;
15265
15266      *)
15267        # FIXME: insert proper C++ library support
15268        ld_shlibs_CXX=no
15269        ;;
15270    esac
15271
15272    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15273$as_echo "$ld_shlibs_CXX" >&6; }
15274    test no = "$ld_shlibs_CXX" && can_build_shared=no
15275
15276    GCC_CXX=$GXX
15277    LD_CXX=$LD
15278
15279    ## CAVEAT EMPTOR:
15280    ## There is no encapsulation within the following macros, do not change
15281    ## the running order or otherwise move them around unless you know exactly
15282    ## what you are doing...
15283    # Dependencies to place before and after the object being linked:
15284predep_objects_CXX=
15285postdep_objects_CXX=
15286predeps_CXX=
15287postdeps_CXX=
15288compiler_lib_search_path_CXX=
15289
15290cat > conftest.$ac_ext <<_LT_EOF
15291class Foo
15292{
15293public:
15294  Foo (void) { a = 0; }
15295private:
15296  int a;
15297};
15298_LT_EOF
15299
15300
15301_lt_libdeps_save_CFLAGS=$CFLAGS
15302case "$CC $CFLAGS " in #(
15303*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15304*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15305*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15306esac
15307
15308if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15309  (eval $ac_compile) 2>&5
15310  ac_status=$?
15311  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15312  test $ac_status = 0; }; then
15313  # Parse the compiler output and extract the necessary
15314  # objects, libraries and library flags.
15315
15316  # Sentinel used to keep track of whether or not we are before
15317  # the conftest object file.
15318  pre_test_object_deps_done=no
15319
15320  for p in `eval "$output_verbose_link_cmd"`; do
15321    case $prev$p in
15322
15323    -L* | -R* | -l*)
15324       # Some compilers place space between "-{L,R}" and the path.
15325       # Remove the space.
15326       if test x-L = "$p" ||
15327          test x-R = "$p"; then
15328	 prev=$p
15329	 continue
15330       fi
15331
15332       # Expand the sysroot to ease extracting the directories later.
15333       if test -z "$prev"; then
15334         case $p in
15335         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15336         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15337         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15338         esac
15339       fi
15340       case $p in
15341       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15342       esac
15343       if test no = "$pre_test_object_deps_done"; then
15344	 case $prev in
15345	 -L | -R)
15346	   # Internal compiler library paths should come after those
15347	   # provided the user.  The postdeps already come after the
15348	   # user supplied libs so there is no need to process them.
15349	   if test -z "$compiler_lib_search_path_CXX"; then
15350	     compiler_lib_search_path_CXX=$prev$p
15351	   else
15352	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15353	   fi
15354	   ;;
15355	 # The "-l" case would never come before the object being
15356	 # linked, so don't bother handling this case.
15357	 esac
15358       else
15359	 if test -z "$postdeps_CXX"; then
15360	   postdeps_CXX=$prev$p
15361	 else
15362	   postdeps_CXX="${postdeps_CXX} $prev$p"
15363	 fi
15364       fi
15365       prev=
15366       ;;
15367
15368    *.lto.$objext) ;; # Ignore GCC LTO objects
15369    *.$objext)
15370       # This assumes that the test object file only shows up
15371       # once in the compiler output.
15372       if test "$p" = "conftest.$objext"; then
15373	 pre_test_object_deps_done=yes
15374	 continue
15375       fi
15376
15377       if test no = "$pre_test_object_deps_done"; then
15378	 if test -z "$predep_objects_CXX"; then
15379	   predep_objects_CXX=$p
15380	 else
15381	   predep_objects_CXX="$predep_objects_CXX $p"
15382	 fi
15383       else
15384	 if test -z "$postdep_objects_CXX"; then
15385	   postdep_objects_CXX=$p
15386	 else
15387	   postdep_objects_CXX="$postdep_objects_CXX $p"
15388	 fi
15389       fi
15390       ;;
15391
15392    *) ;; # Ignore the rest.
15393
15394    esac
15395  done
15396
15397  # Clean up.
15398  rm -f a.out a.exe
15399else
15400  echo "libtool.m4: error: problem compiling CXX test program"
15401fi
15402
15403$RM -f confest.$objext
15404CFLAGS=$_lt_libdeps_save_CFLAGS
15405
15406# PORTME: override above test on systems where it is broken
15407case $host_os in
15408interix[3-9]*)
15409  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15410  # hack all around it, let's just trust "g++" to DTRT.
15411  predep_objects_CXX=
15412  postdep_objects_CXX=
15413  postdeps_CXX=
15414  ;;
15415esac
15416
15417
15418case " $postdeps_CXX " in
15419*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15420esac
15421 compiler_lib_search_dirs_CXX=
15422if test -n "${compiler_lib_search_path_CXX}"; then
15423 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15424fi
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456    lt_prog_compiler_wl_CXX=
15457lt_prog_compiler_pic_CXX=
15458lt_prog_compiler_static_CXX=
15459
15460
15461  # C++ specific cases for pic, static, wl, etc.
15462  if test yes = "$GXX"; then
15463    lt_prog_compiler_wl_CXX='-Wl,'
15464    lt_prog_compiler_static_CXX='-static'
15465
15466    case $host_os in
15467    aix*)
15468      # All AIX code is PIC.
15469      if test ia64 = "$host_cpu"; then
15470	# AIX 5 now supports IA64 processor
15471	lt_prog_compiler_static_CXX='-Bstatic'
15472      fi
15473      lt_prog_compiler_pic_CXX='-fPIC'
15474      ;;
15475
15476    amigaos*)
15477      case $host_cpu in
15478      powerpc)
15479            # see comment about AmigaOS4 .so support
15480            lt_prog_compiler_pic_CXX='-fPIC'
15481        ;;
15482      m68k)
15483            # FIXME: we need at least 68020 code to build shared libraries, but
15484            # adding the '-m68020' flag to GCC prevents building anything better,
15485            # like '-m68040'.
15486            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15487        ;;
15488      esac
15489      ;;
15490
15491    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15492      # PIC is the default for these OSes.
15493      ;;
15494    mingw* | cygwin* | os2* | pw32* | cegcc*)
15495      # This hack is so that the source file can tell whether it is being
15496      # built for inclusion in a dll (and should export symbols for example).
15497      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15498      # (--disable-auto-import) libraries
15499      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15500      case $host_os in
15501      os2*)
15502	lt_prog_compiler_static_CXX='$wl-static'
15503	;;
15504      esac
15505      ;;
15506    darwin* | rhapsody*)
15507      # PIC is the default on this platform
15508      # Common symbols not allowed in MH_DYLIB files
15509      lt_prog_compiler_pic_CXX='-fno-common'
15510      ;;
15511    *djgpp*)
15512      # DJGPP does not support shared libraries at all
15513      lt_prog_compiler_pic_CXX=
15514      ;;
15515    haiku*)
15516      # PIC is the default for Haiku.
15517      # The "-static" flag exists, but is broken.
15518      lt_prog_compiler_static_CXX=
15519      ;;
15520    interix[3-9]*)
15521      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15522      # Instead, we relocate shared libraries at runtime.
15523      ;;
15524    sysv4*MP*)
15525      if test -d /usr/nec; then
15526	lt_prog_compiler_pic_CXX=-Kconform_pic
15527      fi
15528      ;;
15529    hpux*)
15530      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15531      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15532      # sets the default TLS model and affects inlining.
15533      case $host_cpu in
15534      hppa*64*)
15535	;;
15536      *)
15537	lt_prog_compiler_pic_CXX='-fPIC'
15538	;;
15539      esac
15540      ;;
15541    *qnx* | *nto*)
15542      # QNX uses GNU C++, but need to define -shared option too, otherwise
15543      # it will coredump.
15544      lt_prog_compiler_pic_CXX='-fPIC -shared'
15545      ;;
15546    *)
15547      lt_prog_compiler_pic_CXX='-fPIC'
15548      ;;
15549    esac
15550  else
15551    case $host_os in
15552      aix[4-9]*)
15553	# All AIX code is PIC.
15554	if test ia64 = "$host_cpu"; then
15555	  # AIX 5 now supports IA64 processor
15556	  lt_prog_compiler_static_CXX='-Bstatic'
15557	else
15558	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15559	fi
15560	;;
15561      chorus*)
15562	case $cc_basename in
15563	cxch68*)
15564	  # Green Hills C++ Compiler
15565	  # _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"
15566	  ;;
15567	esac
15568	;;
15569      mingw* | cygwin* | os2* | pw32* | cegcc*)
15570	# This hack is so that the source file can tell whether it is being
15571	# built for inclusion in a dll (and should export symbols for example).
15572	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15573	;;
15574      dgux*)
15575	case $cc_basename in
15576	  ec++*)
15577	    lt_prog_compiler_pic_CXX='-KPIC'
15578	    ;;
15579	  ghcx*)
15580	    # Green Hills C++ Compiler
15581	    lt_prog_compiler_pic_CXX='-pic'
15582	    ;;
15583	  *)
15584	    ;;
15585	esac
15586	;;
15587      freebsd* | dragonfly*)
15588	# FreeBSD uses GNU C++
15589	;;
15590      hpux9* | hpux10* | hpux11*)
15591	case $cc_basename in
15592	  CC*)
15593	    lt_prog_compiler_wl_CXX='-Wl,'
15594	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15595	    if test ia64 != "$host_cpu"; then
15596	      lt_prog_compiler_pic_CXX='+Z'
15597	    fi
15598	    ;;
15599	  aCC*)
15600	    lt_prog_compiler_wl_CXX='-Wl,'
15601	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15602	    case $host_cpu in
15603	    hppa*64*|ia64*)
15604	      # +Z the default
15605	      ;;
15606	    *)
15607	      lt_prog_compiler_pic_CXX='+Z'
15608	      ;;
15609	    esac
15610	    ;;
15611	  *)
15612	    ;;
15613	esac
15614	;;
15615      interix*)
15616	# This is c89, which is MS Visual C++ (no shared libs)
15617	# Anyone wants to do a port?
15618	;;
15619      irix5* | irix6* | nonstopux*)
15620	case $cc_basename in
15621	  CC*)
15622	    lt_prog_compiler_wl_CXX='-Wl,'
15623	    lt_prog_compiler_static_CXX='-non_shared'
15624	    # CC pic flag -KPIC is the default.
15625	    ;;
15626	  *)
15627	    ;;
15628	esac
15629	;;
15630      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15631	case $cc_basename in
15632	  KCC*)
15633	    # KAI C++ Compiler
15634	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15635	    lt_prog_compiler_pic_CXX='-fPIC'
15636	    ;;
15637	  ecpc* )
15638	    # old Intel C++ for x86_64, which still supported -KPIC.
15639	    lt_prog_compiler_wl_CXX='-Wl,'
15640	    lt_prog_compiler_pic_CXX='-KPIC'
15641	    lt_prog_compiler_static_CXX='-static'
15642	    ;;
15643	  icpc* )
15644	    # Intel C++, used to be incompatible with GCC.
15645	    # ICC 10 doesn't accept -KPIC any more.
15646	    lt_prog_compiler_wl_CXX='-Wl,'
15647	    lt_prog_compiler_pic_CXX='-fPIC'
15648	    lt_prog_compiler_static_CXX='-static'
15649	    ;;
15650	  pgCC* | pgcpp*)
15651	    # Portland Group C++ compiler
15652	    lt_prog_compiler_wl_CXX='-Wl,'
15653	    lt_prog_compiler_pic_CXX='-fpic'
15654	    lt_prog_compiler_static_CXX='-Bstatic'
15655	    ;;
15656	  cxx*)
15657	    # Compaq C++
15658	    # Make sure the PIC flag is empty.  It appears that all Alpha
15659	    # Linux and Compaq Tru64 Unix objects are PIC.
15660	    lt_prog_compiler_pic_CXX=
15661	    lt_prog_compiler_static_CXX='-non_shared'
15662	    ;;
15663	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15664	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15665	    lt_prog_compiler_wl_CXX='-Wl,'
15666	    lt_prog_compiler_pic_CXX='-qpic'
15667	    lt_prog_compiler_static_CXX='-qstaticlink'
15668	    ;;
15669	  *)
15670	    case `$CC -V 2>&1 | sed 5q` in
15671	    *Sun\ C*)
15672	      # Sun C++ 5.9
15673	      lt_prog_compiler_pic_CXX='-KPIC'
15674	      lt_prog_compiler_static_CXX='-Bstatic'
15675	      lt_prog_compiler_wl_CXX='-Qoption ld '
15676	      ;;
15677	    esac
15678	    ;;
15679	esac
15680	;;
15681      lynxos*)
15682	;;
15683      m88k*)
15684	;;
15685      mvs*)
15686	case $cc_basename in
15687	  cxx*)
15688	    lt_prog_compiler_pic_CXX='-W c,exportall'
15689	    ;;
15690	  *)
15691	    ;;
15692	esac
15693	;;
15694      netbsd*)
15695	;;
15696      *qnx* | *nto*)
15697        # QNX uses GNU C++, but need to define -shared option too, otherwise
15698        # it will coredump.
15699        lt_prog_compiler_pic_CXX='-fPIC -shared'
15700        ;;
15701      osf3* | osf4* | osf5*)
15702	case $cc_basename in
15703	  KCC*)
15704	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15705	    ;;
15706	  RCC*)
15707	    # Rational C++ 2.4.1
15708	    lt_prog_compiler_pic_CXX='-pic'
15709	    ;;
15710	  cxx*)
15711	    # Digital/Compaq C++
15712	    lt_prog_compiler_wl_CXX='-Wl,'
15713	    # Make sure the PIC flag is empty.  It appears that all Alpha
15714	    # Linux and Compaq Tru64 Unix objects are PIC.
15715	    lt_prog_compiler_pic_CXX=
15716	    lt_prog_compiler_static_CXX='-non_shared'
15717	    ;;
15718	  *)
15719	    ;;
15720	esac
15721	;;
15722      psos*)
15723	;;
15724      solaris*)
15725	case $cc_basename in
15726	  CC* | sunCC*)
15727	    # Sun C++ 4.2, 5.x and Centerline C++
15728	    lt_prog_compiler_pic_CXX='-KPIC'
15729	    lt_prog_compiler_static_CXX='-Bstatic'
15730	    lt_prog_compiler_wl_CXX='-Qoption ld '
15731	    ;;
15732	  gcx*)
15733	    # Green Hills C++ Compiler
15734	    lt_prog_compiler_pic_CXX='-PIC'
15735	    ;;
15736	  *)
15737	    ;;
15738	esac
15739	;;
15740      sunos4*)
15741	case $cc_basename in
15742	  CC*)
15743	    # Sun C++ 4.x
15744	    lt_prog_compiler_pic_CXX='-pic'
15745	    lt_prog_compiler_static_CXX='-Bstatic'
15746	    ;;
15747	  lcc*)
15748	    # Lucid
15749	    lt_prog_compiler_pic_CXX='-pic'
15750	    ;;
15751	  *)
15752	    ;;
15753	esac
15754	;;
15755      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15756	case $cc_basename in
15757	  CC*)
15758	    lt_prog_compiler_wl_CXX='-Wl,'
15759	    lt_prog_compiler_pic_CXX='-KPIC'
15760	    lt_prog_compiler_static_CXX='-Bstatic'
15761	    ;;
15762	esac
15763	;;
15764      tandem*)
15765	case $cc_basename in
15766	  NCC*)
15767	    # NonStop-UX NCC 3.20
15768	    lt_prog_compiler_pic_CXX='-KPIC'
15769	    ;;
15770	  *)
15771	    ;;
15772	esac
15773	;;
15774      vxworks*)
15775	;;
15776      *)
15777	lt_prog_compiler_can_build_shared_CXX=no
15778	;;
15779    esac
15780  fi
15781
15782case $host_os in
15783  # For platforms that do not support PIC, -DPIC is meaningless:
15784  *djgpp*)
15785    lt_prog_compiler_pic_CXX=
15786    ;;
15787  *)
15788    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15789    ;;
15790esac
15791
15792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15793$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15794if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15795  $as_echo_n "(cached) " >&6
15796else
15797  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15798fi
15799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15800$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15801lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15802
15803#
15804# Check to make sure the PIC flag actually works.
15805#
15806if test -n "$lt_prog_compiler_pic_CXX"; then
15807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15808$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15809if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15810  $as_echo_n "(cached) " >&6
15811else
15812  lt_cv_prog_compiler_pic_works_CXX=no
15813   ac_outfile=conftest.$ac_objext
15814   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15815   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15816   # Insert the option either (1) after the last *FLAGS variable, or
15817   # (2) before a word containing "conftest.", or (3) at the end.
15818   # Note that $ac_compile itself does not contain backslashes and begins
15819   # with a dollar sign (not a hyphen), so the echo should work correctly.
15820   # The option is referenced via a variable to avoid confusing sed.
15821   lt_compile=`echo "$ac_compile" | $SED \
15822   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15823   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15824   -e 's:$: $lt_compiler_flag:'`
15825   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15826   (eval "$lt_compile" 2>conftest.err)
15827   ac_status=$?
15828   cat conftest.err >&5
15829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830   if (exit $ac_status) && test -s "$ac_outfile"; then
15831     # The compiler can only warn and ignore the option if not recognized
15832     # So say no if there are warnings other than the usual output.
15833     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15834     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15835     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15836       lt_cv_prog_compiler_pic_works_CXX=yes
15837     fi
15838   fi
15839   $RM conftest*
15840
15841fi
15842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15843$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15844
15845if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15846    case $lt_prog_compiler_pic_CXX in
15847     "" | " "*) ;;
15848     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15849     esac
15850else
15851    lt_prog_compiler_pic_CXX=
15852     lt_prog_compiler_can_build_shared_CXX=no
15853fi
15854
15855fi
15856
15857
15858
15859
15860
15861#
15862# Check to make sure the static flag actually works.
15863#
15864wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15866$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15867if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15868  $as_echo_n "(cached) " >&6
15869else
15870  lt_cv_prog_compiler_static_works_CXX=no
15871   save_LDFLAGS=$LDFLAGS
15872   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15873   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15874   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15875     # The linker can only warn and ignore the option if not recognized
15876     # So say no if there are warnings
15877     if test -s conftest.err; then
15878       # Append any errors to the config.log.
15879       cat conftest.err 1>&5
15880       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15881       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15882       if diff conftest.exp conftest.er2 >/dev/null; then
15883         lt_cv_prog_compiler_static_works_CXX=yes
15884       fi
15885     else
15886       lt_cv_prog_compiler_static_works_CXX=yes
15887     fi
15888   fi
15889   $RM -r conftest*
15890   LDFLAGS=$save_LDFLAGS
15891
15892fi
15893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15894$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15895
15896if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15897    :
15898else
15899    lt_prog_compiler_static_CXX=
15900fi
15901
15902
15903
15904
15905    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15906$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15907if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15908  $as_echo_n "(cached) " >&6
15909else
15910  lt_cv_prog_compiler_c_o_CXX=no
15911   $RM -r conftest 2>/dev/null
15912   mkdir conftest
15913   cd conftest
15914   mkdir out
15915   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15916
15917   lt_compiler_flag="-o out/conftest2.$ac_objext"
15918   # Insert the option either (1) after the last *FLAGS variable, or
15919   # (2) before a word containing "conftest.", or (3) at the end.
15920   # Note that $ac_compile itself does not contain backslashes and begins
15921   # with a dollar sign (not a hyphen), so the echo should work correctly.
15922   lt_compile=`echo "$ac_compile" | $SED \
15923   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15924   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15925   -e 's:$: $lt_compiler_flag:'`
15926   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15927   (eval "$lt_compile" 2>out/conftest.err)
15928   ac_status=$?
15929   cat out/conftest.err >&5
15930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15932   then
15933     # The compiler can only warn and ignore the option if not recognized
15934     # So say no if there are warnings
15935     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15936     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15937     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15938       lt_cv_prog_compiler_c_o_CXX=yes
15939     fi
15940   fi
15941   chmod u+w . 2>&5
15942   $RM conftest*
15943   # SGI C++ compiler will create directory out/ii_files/ for
15944   # template instantiation
15945   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15946   $RM out/* && rmdir out
15947   cd ..
15948   $RM -r conftest
15949   $RM conftest*
15950
15951fi
15952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15953$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15954
15955
15956
15957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15958$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15959if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15960  $as_echo_n "(cached) " >&6
15961else
15962  lt_cv_prog_compiler_c_o_CXX=no
15963   $RM -r conftest 2>/dev/null
15964   mkdir conftest
15965   cd conftest
15966   mkdir out
15967   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15968
15969   lt_compiler_flag="-o out/conftest2.$ac_objext"
15970   # Insert the option either (1) after the last *FLAGS variable, or
15971   # (2) before a word containing "conftest.", or (3) at the end.
15972   # Note that $ac_compile itself does not contain backslashes and begins
15973   # with a dollar sign (not a hyphen), so the echo should work correctly.
15974   lt_compile=`echo "$ac_compile" | $SED \
15975   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15976   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15977   -e 's:$: $lt_compiler_flag:'`
15978   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15979   (eval "$lt_compile" 2>out/conftest.err)
15980   ac_status=$?
15981   cat out/conftest.err >&5
15982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15984   then
15985     # The compiler can only warn and ignore the option if not recognized
15986     # So say no if there are warnings
15987     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15988     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15989     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15990       lt_cv_prog_compiler_c_o_CXX=yes
15991     fi
15992   fi
15993   chmod u+w . 2>&5
15994   $RM conftest*
15995   # SGI C++ compiler will create directory out/ii_files/ for
15996   # template instantiation
15997   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15998   $RM out/* && rmdir out
15999   cd ..
16000   $RM -r conftest
16001   $RM conftest*
16002
16003fi
16004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16005$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16006
16007
16008
16009
16010hard_links=nottested
16011if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16012  # do not overwrite the value of need_locks provided by the user
16013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16014$as_echo_n "checking if we can lock with hard links... " >&6; }
16015  hard_links=yes
16016  $RM conftest*
16017  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16018  touch conftest.a
16019  ln conftest.a conftest.b 2>&5 || hard_links=no
16020  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16022$as_echo "$hard_links" >&6; }
16023  if test no = "$hard_links"; then
16024    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16025$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16026    need_locks=warn
16027  fi
16028else
16029  need_locks=no
16030fi
16031
16032
16033
16034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16035$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16036
16037  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16038  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16039  case $host_os in
16040  aix[4-9]*)
16041    # If we're using GNU nm, then we don't want the "-C" option.
16042    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16043    # Without the "-l" option, or with the "-B" option, AIX nm treats
16044    # weak defined symbols like other global defined symbols, whereas
16045    # GNU nm marks them as "W".
16046    # While the 'weak' keyword is ignored in the Export File, we need
16047    # it in the Import File for the 'aix-soname' feature, so we have
16048    # to replace the "-B" option with "-P" for AIX nm.
16049    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16050      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'
16051    else
16052      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'
16053    fi
16054    ;;
16055  pw32*)
16056    export_symbols_cmds_CXX=$ltdll_cmds
16057    ;;
16058  cygwin* | mingw* | cegcc*)
16059    case $cc_basename in
16060    cl*)
16061      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16062      ;;
16063    *)
16064      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'
16065      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16066      ;;
16067    esac
16068    ;;
16069  *)
16070    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16071    ;;
16072  esac
16073
16074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16075$as_echo "$ld_shlibs_CXX" >&6; }
16076test no = "$ld_shlibs_CXX" && can_build_shared=no
16077
16078with_gnu_ld_CXX=$with_gnu_ld
16079
16080
16081
16082
16083
16084
16085#
16086# Do we need to explicitly link libc?
16087#
16088case "x$archive_cmds_need_lc_CXX" in
16089x|xyes)
16090  # Assume -lc should be added
16091  archive_cmds_need_lc_CXX=yes
16092
16093  if test yes,yes = "$GCC,$enable_shared"; then
16094    case $archive_cmds_CXX in
16095    *'~'*)
16096      # FIXME: we may have to deal with multi-command sequences.
16097      ;;
16098    '$CC '*)
16099      # Test whether the compiler implicitly links with -lc since on some
16100      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16101      # to ld, don't add -lc before -lgcc.
16102      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16103$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16104if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16105  $as_echo_n "(cached) " >&6
16106else
16107  $RM conftest*
16108	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16109
16110	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16111  (eval $ac_compile) 2>&5
16112  ac_status=$?
16113  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16114  test $ac_status = 0; } 2>conftest.err; then
16115	  soname=conftest
16116	  lib=conftest
16117	  libobjs=conftest.$ac_objext
16118	  deplibs=
16119	  wl=$lt_prog_compiler_wl_CXX
16120	  pic_flag=$lt_prog_compiler_pic_CXX
16121	  compiler_flags=-v
16122	  linker_flags=-v
16123	  verstring=
16124	  output_objdir=.
16125	  libname=conftest
16126	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16127	  allow_undefined_flag_CXX=
16128	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16129  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16130  ac_status=$?
16131  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16132  test $ac_status = 0; }
16133	  then
16134	    lt_cv_archive_cmds_need_lc_CXX=no
16135	  else
16136	    lt_cv_archive_cmds_need_lc_CXX=yes
16137	  fi
16138	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16139	else
16140	  cat conftest.err 1>&5
16141	fi
16142	$RM conftest*
16143
16144fi
16145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16146$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16147      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16148      ;;
16149    esac
16150  fi
16151  ;;
16152esac
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16216$as_echo_n "checking dynamic linker characteristics... " >&6; }
16217
16218library_names_spec=
16219libname_spec='lib$name'
16220soname_spec=
16221shrext_cmds=.so
16222postinstall_cmds=
16223postuninstall_cmds=
16224finish_cmds=
16225finish_eval=
16226shlibpath_var=
16227shlibpath_overrides_runpath=unknown
16228version_type=none
16229dynamic_linker="$host_os ld.so"
16230sys_lib_dlsearch_path_spec="/lib /usr/lib"
16231need_lib_prefix=unknown
16232hardcode_into_libs=no
16233
16234# when you set need_version to no, make sure it does not cause -set_version
16235# flags to be left without arguments
16236need_version=unknown
16237
16238
16239
16240case $host_os in
16241aix3*)
16242  version_type=linux # correct to gnu/linux during the next big refactor
16243  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16244  shlibpath_var=LIBPATH
16245
16246  # AIX 3 has no versioning support, so we append a major version to the name.
16247  soname_spec='$libname$release$shared_ext$major'
16248  ;;
16249
16250aix[4-9]*)
16251  version_type=linux # correct to gnu/linux during the next big refactor
16252  need_lib_prefix=no
16253  need_version=no
16254  hardcode_into_libs=yes
16255  if test ia64 = "$host_cpu"; then
16256    # AIX 5 supports IA64
16257    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16258    shlibpath_var=LD_LIBRARY_PATH
16259  else
16260    # With GCC up to 2.95.x, collect2 would create an import file
16261    # for dependence libraries.  The import file would start with
16262    # the line '#! .'.  This would cause the generated library to
16263    # depend on '.', always an invalid library.  This was fixed in
16264    # development snapshots of GCC prior to 3.0.
16265    case $host_os in
16266      aix4 | aix4.[01] | aix4.[01].*)
16267      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16268	   echo ' yes '
16269	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16270	:
16271      else
16272	can_build_shared=no
16273      fi
16274      ;;
16275    esac
16276    # Using Import Files as archive members, it is possible to support
16277    # filename-based versioning of shared library archives on AIX. While
16278    # this would work for both with and without runtime linking, it will
16279    # prevent static linking of such archives. So we do filename-based
16280    # shared library versioning with .so extension only, which is used
16281    # when both runtime linking and shared linking is enabled.
16282    # Unfortunately, runtime linking may impact performance, so we do
16283    # not want this to be the default eventually. Also, we use the
16284    # versioned .so libs for executables only if there is the -brtl
16285    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16286    # To allow for filename-based versioning support, we need to create
16287    # libNAME.so.V as an archive file, containing:
16288    # *) an Import File, referring to the versioned filename of the
16289    #    archive as well as the shared archive member, telling the
16290    #    bitwidth (32 or 64) of that shared object, and providing the
16291    #    list of exported symbols of that shared object, eventually
16292    #    decorated with the 'weak' keyword
16293    # *) the shared object with the F_LOADONLY flag set, to really avoid
16294    #    it being seen by the linker.
16295    # At run time we better use the real file rather than another symlink,
16296    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16297
16298    case $with_aix_soname,$aix_use_runtimelinking in
16299    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16300    # soname into executable. Probably we can add versioning support to
16301    # collect2, so additional links can be useful in future.
16302    aix,yes) # traditional libtool
16303      dynamic_linker='AIX unversionable lib.so'
16304      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16305      # instead of lib<name>.a to let people know that these are not
16306      # typical AIX shared libraries.
16307      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16308      ;;
16309    aix,no) # traditional AIX only
16310      dynamic_linker='AIX lib.a(lib.so.V)'
16311      # We preserve .a as extension for shared libraries through AIX4.2
16312      # and later when we are not doing run time linking.
16313      library_names_spec='$libname$release.a $libname.a'
16314      soname_spec='$libname$release$shared_ext$major'
16315      ;;
16316    svr4,*) # full svr4 only
16317      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16318      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16319      # We do not specify a path in Import Files, so LIBPATH fires.
16320      shlibpath_overrides_runpath=yes
16321      ;;
16322    *,yes) # both, prefer svr4
16323      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16324      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16325      # unpreferred sharedlib libNAME.a needs extra handling
16326      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"'
16327      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"'
16328      # We do not specify a path in Import Files, so LIBPATH fires.
16329      shlibpath_overrides_runpath=yes
16330      ;;
16331    *,no) # both, prefer aix
16332      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16333      library_names_spec='$libname$release.a $libname.a'
16334      soname_spec='$libname$release$shared_ext$major'
16335      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16336      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)'
16337      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"'
16338      ;;
16339    esac
16340    shlibpath_var=LIBPATH
16341  fi
16342  ;;
16343
16344amigaos*)
16345  case $host_cpu in
16346  powerpc)
16347    # Since July 2007 AmigaOS4 officially supports .so libraries.
16348    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16349    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16350    ;;
16351  m68k)
16352    library_names_spec='$libname.ixlibrary $libname.a'
16353    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16354    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'
16355    ;;
16356  esac
16357  ;;
16358
16359beos*)
16360  library_names_spec='$libname$shared_ext'
16361  dynamic_linker="$host_os ld.so"
16362  shlibpath_var=LIBRARY_PATH
16363  ;;
16364
16365bsdi[45]*)
16366  version_type=linux # correct to gnu/linux during the next big refactor
16367  need_version=no
16368  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16369  soname_spec='$libname$release$shared_ext$major'
16370  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16371  shlibpath_var=LD_LIBRARY_PATH
16372  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16373  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16374  # the default ld.so.conf also contains /usr/contrib/lib and
16375  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16376  # libtool to hard-code these into programs
16377  ;;
16378
16379cygwin* | mingw* | pw32* | cegcc*)
16380  version_type=windows
16381  shrext_cmds=.dll
16382  need_version=no
16383  need_lib_prefix=no
16384
16385  case $GCC,$cc_basename in
16386  yes,*)
16387    # gcc
16388    library_names_spec='$libname.dll.a'
16389    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16390    postinstall_cmds='base_file=`basename \$file`~
16391      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16392      dldir=$destdir/`dirname \$dlpath`~
16393      test -d \$dldir || mkdir -p \$dldir~
16394      $install_prog $dir/$dlname \$dldir/$dlname~
16395      chmod a+x \$dldir/$dlname~
16396      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16397        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16398      fi'
16399    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16400      dlpath=$dir/\$dldll~
16401       $RM \$dlpath'
16402    shlibpath_overrides_runpath=yes
16403
16404    case $host_os in
16405    cygwin*)
16406      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16407      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16408
16409      ;;
16410    mingw* | cegcc*)
16411      # MinGW DLLs use traditional 'lib' prefix
16412      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16413      ;;
16414    pw32*)
16415      # pw32 DLLs use 'pw' prefix rather than 'lib'
16416      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16417      ;;
16418    esac
16419    dynamic_linker='Win32 ld.exe'
16420    ;;
16421
16422  *,cl*)
16423    # Native MSVC
16424    libname_spec='$name'
16425    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16426    library_names_spec='$libname.dll.lib'
16427
16428    case $build_os in
16429    mingw*)
16430      sys_lib_search_path_spec=
16431      lt_save_ifs=$IFS
16432      IFS=';'
16433      for lt_path in $LIB
16434      do
16435        IFS=$lt_save_ifs
16436        # Let DOS variable expansion print the short 8.3 style file name.
16437        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16438        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16439      done
16440      IFS=$lt_save_ifs
16441      # Convert to MSYS style.
16442      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16443      ;;
16444    cygwin*)
16445      # Convert to unix form, then to dos form, then back to unix form
16446      # but this time dos style (no spaces!) so that the unix form looks
16447      # like /cygdrive/c/PROGRA~1:/cygdr...
16448      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16449      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16450      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16451      ;;
16452    *)
16453      sys_lib_search_path_spec=$LIB
16454      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16455        # It is most probably a Windows format PATH.
16456        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16457      else
16458        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16459      fi
16460      # FIXME: find the short name or the path components, as spaces are
16461      # common. (e.g. "Program Files" -> "PROGRA~1")
16462      ;;
16463    esac
16464
16465    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16466    postinstall_cmds='base_file=`basename \$file`~
16467      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16468      dldir=$destdir/`dirname \$dlpath`~
16469      test -d \$dldir || mkdir -p \$dldir~
16470      $install_prog $dir/$dlname \$dldir/$dlname'
16471    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16472      dlpath=$dir/\$dldll~
16473       $RM \$dlpath'
16474    shlibpath_overrides_runpath=yes
16475    dynamic_linker='Win32 link.exe'
16476    ;;
16477
16478  *)
16479    # Assume MSVC wrapper
16480    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16481    dynamic_linker='Win32 ld.exe'
16482    ;;
16483  esac
16484  # FIXME: first we should search . and the directory the executable is in
16485  shlibpath_var=PATH
16486  ;;
16487
16488darwin* | rhapsody*)
16489  dynamic_linker="$host_os dyld"
16490  version_type=darwin
16491  need_lib_prefix=no
16492  need_version=no
16493  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16494  soname_spec='$libname$release$major$shared_ext'
16495  shlibpath_overrides_runpath=yes
16496  shlibpath_var=DYLD_LIBRARY_PATH
16497  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16498
16499  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16500  ;;
16501
16502dgux*)
16503  version_type=linux # correct to gnu/linux during the next big refactor
16504  need_lib_prefix=no
16505  need_version=no
16506  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16507  soname_spec='$libname$release$shared_ext$major'
16508  shlibpath_var=LD_LIBRARY_PATH
16509  ;;
16510
16511freebsd* | dragonfly*)
16512  # DragonFly does not have aout.  When/if they implement a new
16513  # versioning mechanism, adjust this.
16514  if test -x /usr/bin/objformat; then
16515    objformat=`/usr/bin/objformat`
16516  else
16517    case $host_os in
16518    freebsd[23].*) objformat=aout ;;
16519    *) objformat=elf ;;
16520    esac
16521  fi
16522  version_type=freebsd-$objformat
16523  case $version_type in
16524    freebsd-elf*)
16525      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16526      soname_spec='$libname$release$shared_ext$major'
16527      need_version=no
16528      need_lib_prefix=no
16529      ;;
16530    freebsd-*)
16531      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16532      need_version=yes
16533      ;;
16534  esac
16535  shlibpath_var=LD_LIBRARY_PATH
16536  case $host_os in
16537  freebsd2.*)
16538    shlibpath_overrides_runpath=yes
16539    ;;
16540  freebsd3.[01]* | freebsdelf3.[01]*)
16541    shlibpath_overrides_runpath=yes
16542    hardcode_into_libs=yes
16543    ;;
16544  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16545  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16546    shlibpath_overrides_runpath=no
16547    hardcode_into_libs=yes
16548    ;;
16549  *) # from 4.6 on, and DragonFly
16550    shlibpath_overrides_runpath=yes
16551    hardcode_into_libs=yes
16552    ;;
16553  esac
16554  ;;
16555
16556haiku*)
16557  version_type=linux # correct to gnu/linux during the next big refactor
16558  need_lib_prefix=no
16559  need_version=no
16560  dynamic_linker="$host_os runtime_loader"
16561  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16562  soname_spec='$libname$release$shared_ext$major'
16563  shlibpath_var=LIBRARY_PATH
16564  shlibpath_overrides_runpath=no
16565  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16566  hardcode_into_libs=yes
16567  ;;
16568
16569hpux9* | hpux10* | hpux11*)
16570  # Give a soname corresponding to the major version so that dld.sl refuses to
16571  # link against other versions.
16572  version_type=sunos
16573  need_lib_prefix=no
16574  need_version=no
16575  case $host_cpu in
16576  ia64*)
16577    shrext_cmds='.so'
16578    hardcode_into_libs=yes
16579    dynamic_linker="$host_os dld.so"
16580    shlibpath_var=LD_LIBRARY_PATH
16581    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16582    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16583    soname_spec='$libname$release$shared_ext$major'
16584    if test 32 = "$HPUX_IA64_MODE"; then
16585      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16586      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16587    else
16588      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16589      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16590    fi
16591    ;;
16592  hppa*64*)
16593    shrext_cmds='.sl'
16594    hardcode_into_libs=yes
16595    dynamic_linker="$host_os dld.sl"
16596    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16597    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16598    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16599    soname_spec='$libname$release$shared_ext$major'
16600    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16601    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16602    ;;
16603  *)
16604    shrext_cmds='.sl'
16605    dynamic_linker="$host_os dld.sl"
16606    shlibpath_var=SHLIB_PATH
16607    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16608    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16609    soname_spec='$libname$release$shared_ext$major'
16610    ;;
16611  esac
16612  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16613  postinstall_cmds='chmod 555 $lib'
16614  # or fails outright, so override atomically:
16615  install_override_mode=555
16616  ;;
16617
16618interix[3-9]*)
16619  version_type=linux # correct to gnu/linux during the next big refactor
16620  need_lib_prefix=no
16621  need_version=no
16622  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16623  soname_spec='$libname$release$shared_ext$major'
16624  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16625  shlibpath_var=LD_LIBRARY_PATH
16626  shlibpath_overrides_runpath=no
16627  hardcode_into_libs=yes
16628  ;;
16629
16630irix5* | irix6* | nonstopux*)
16631  case $host_os in
16632    nonstopux*) version_type=nonstopux ;;
16633    *)
16634	if test yes = "$lt_cv_prog_gnu_ld"; then
16635		version_type=linux # correct to gnu/linux during the next big refactor
16636	else
16637		version_type=irix
16638	fi ;;
16639  esac
16640  need_lib_prefix=no
16641  need_version=no
16642  soname_spec='$libname$release$shared_ext$major'
16643  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16644  case $host_os in
16645  irix5* | nonstopux*)
16646    libsuff= shlibsuff=
16647    ;;
16648  *)
16649    case $LD in # libtool.m4 will add one of these switches to LD
16650    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16651      libsuff= shlibsuff= libmagic=32-bit;;
16652    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16653      libsuff=32 shlibsuff=N32 libmagic=N32;;
16654    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16655      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16656    *) libsuff= shlibsuff= libmagic=never-match;;
16657    esac
16658    ;;
16659  esac
16660  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16661  shlibpath_overrides_runpath=no
16662  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16663  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16664  hardcode_into_libs=yes
16665  ;;
16666
16667# No shared lib support for Linux oldld, aout, or coff.
16668linux*oldld* | linux*aout* | linux*coff*)
16669  dynamic_linker=no
16670  ;;
16671
16672linux*android*)
16673  version_type=none # Android doesn't support versioned libraries.
16674  need_lib_prefix=no
16675  need_version=no
16676  library_names_spec='$libname$release$shared_ext'
16677  soname_spec='$libname$release$shared_ext'
16678  finish_cmds=
16679  shlibpath_var=LD_LIBRARY_PATH
16680  shlibpath_overrides_runpath=yes
16681
16682  # This implies no fast_install, which is unacceptable.
16683  # Some rework will be needed to allow for fast_install
16684  # before this can be enabled.
16685  hardcode_into_libs=yes
16686
16687  dynamic_linker='Android linker'
16688  # Don't embed -rpath directories since the linker doesn't support them.
16689  hardcode_libdir_flag_spec_CXX='-L$libdir'
16690  ;;
16691
16692# This must be glibc/ELF.
16693linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16694  version_type=linux # correct to gnu/linux during the next big refactor
16695  need_lib_prefix=no
16696  need_version=no
16697  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16698  soname_spec='$libname$release$shared_ext$major'
16699  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16700  shlibpath_var=LD_LIBRARY_PATH
16701  shlibpath_overrides_runpath=no
16702
16703  # Some binutils ld are patched to set DT_RUNPATH
16704  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16705  $as_echo_n "(cached) " >&6
16706else
16707  lt_cv_shlibpath_overrides_runpath=no
16708    save_LDFLAGS=$LDFLAGS
16709    save_libdir=$libdir
16710    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16711	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16712    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713/* end confdefs.h.  */
16714
16715int
16716main ()
16717{
16718
16719  ;
16720  return 0;
16721}
16722_ACEOF
16723if ac_fn_cxx_try_link "$LINENO"; then :
16724  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16725  lt_cv_shlibpath_overrides_runpath=yes
16726fi
16727fi
16728rm -f core conftest.err conftest.$ac_objext \
16729    conftest$ac_exeext conftest.$ac_ext
16730    LDFLAGS=$save_LDFLAGS
16731    libdir=$save_libdir
16732
16733fi
16734
16735  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16736
16737  # This implies no fast_install, which is unacceptable.
16738  # Some rework will be needed to allow for fast_install
16739  # before this can be enabled.
16740  hardcode_into_libs=yes
16741
16742  # Add ABI-specific directories to the system library path.
16743  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16744
16745  # Ideally, we could use ldconfig to report *all* directores which are
16746  # searched for libraries, however this is still not possible.  Aside from not
16747  # being certain /sbin/ldconfig is available, command
16748  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16749  # even though it is searched at run-time.  Try to do the best guess by
16750  # appending ld.so.conf contents (and includes) to the search path.
16751  if test -f /etc/ld.so.conf; then
16752    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' ' '`
16753    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16754  fi
16755
16756  # We used to test for /lib/ld.so.1 and disable shared libraries on
16757  # powerpc, because MkLinux only supported shared libraries with the
16758  # GNU dynamic linker.  Since this was broken with cross compilers,
16759  # most powerpc-linux boxes support dynamic linking these days and
16760  # people can always --disable-shared, the test was removed, and we
16761  # assume the GNU/Linux dynamic linker is in use.
16762  dynamic_linker='GNU/Linux ld.so'
16763  ;;
16764
16765netbsd*)
16766  version_type=sunos
16767  need_lib_prefix=no
16768  need_version=no
16769  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16770    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16771    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16772    dynamic_linker='NetBSD (a.out) ld.so'
16773  else
16774    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16775    soname_spec='$libname$release$shared_ext$major'
16776    dynamic_linker='NetBSD ld.elf_so'
16777  fi
16778  shlibpath_var=LD_LIBRARY_PATH
16779  shlibpath_overrides_runpath=yes
16780  hardcode_into_libs=yes
16781  ;;
16782
16783newsos6)
16784  version_type=linux # correct to gnu/linux during the next big refactor
16785  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16786  shlibpath_var=LD_LIBRARY_PATH
16787  shlibpath_overrides_runpath=yes
16788  ;;
16789
16790*nto* | *qnx*)
16791  version_type=qnx
16792  need_lib_prefix=no
16793  need_version=no
16794  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16795  soname_spec='$libname$release$shared_ext$major'
16796  shlibpath_var=LD_LIBRARY_PATH
16797  shlibpath_overrides_runpath=no
16798  hardcode_into_libs=yes
16799  dynamic_linker='ldqnx.so'
16800  ;;
16801
16802openbsd* | bitrig*)
16803  version_type=sunos
16804  sys_lib_dlsearch_path_spec=/usr/lib
16805  need_lib_prefix=no
16806  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16807    need_version=no
16808  else
16809    need_version=yes
16810  fi
16811  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16812  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16813  shlibpath_var=LD_LIBRARY_PATH
16814  shlibpath_overrides_runpath=yes
16815  ;;
16816
16817os2*)
16818  libname_spec='$name'
16819  version_type=windows
16820  shrext_cmds=.dll
16821  need_version=no
16822  need_lib_prefix=no
16823  # OS/2 can only load a DLL with a base name of 8 characters or less.
16824  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16825    v=$($ECHO $release$versuffix | tr -d .-);
16826    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16827    $ECHO $n$v`$shared_ext'
16828  library_names_spec='${libname}_dll.$libext'
16829  dynamic_linker='OS/2 ld.exe'
16830  shlibpath_var=BEGINLIBPATH
16831  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16832  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16833  postinstall_cmds='base_file=`basename \$file`~
16834    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16835    dldir=$destdir/`dirname \$dlpath`~
16836    test -d \$dldir || mkdir -p \$dldir~
16837    $install_prog $dir/$dlname \$dldir/$dlname~
16838    chmod a+x \$dldir/$dlname~
16839    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16840      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16841    fi'
16842  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16843    dlpath=$dir/\$dldll~
16844    $RM \$dlpath'
16845  ;;
16846
16847osf3* | osf4* | osf5*)
16848  version_type=osf
16849  need_lib_prefix=no
16850  need_version=no
16851  soname_spec='$libname$release$shared_ext$major'
16852  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16853  shlibpath_var=LD_LIBRARY_PATH
16854  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16855  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16856  ;;
16857
16858rdos*)
16859  dynamic_linker=no
16860  ;;
16861
16862solaris*)
16863  version_type=linux # correct to gnu/linux during the next big refactor
16864  need_lib_prefix=no
16865  need_version=no
16866  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16867  soname_spec='$libname$release$shared_ext$major'
16868  shlibpath_var=LD_LIBRARY_PATH
16869  shlibpath_overrides_runpath=yes
16870  hardcode_into_libs=yes
16871  # ldd complains unless libraries are executable
16872  postinstall_cmds='chmod +x $lib'
16873  ;;
16874
16875sunos4*)
16876  version_type=sunos
16877  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16878  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16879  shlibpath_var=LD_LIBRARY_PATH
16880  shlibpath_overrides_runpath=yes
16881  if test yes = "$with_gnu_ld"; then
16882    need_lib_prefix=no
16883  fi
16884  need_version=yes
16885  ;;
16886
16887sysv4 | sysv4.3*)
16888  version_type=linux # correct to gnu/linux during the next big refactor
16889  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16890  soname_spec='$libname$release$shared_ext$major'
16891  shlibpath_var=LD_LIBRARY_PATH
16892  case $host_vendor in
16893    sni)
16894      shlibpath_overrides_runpath=no
16895      need_lib_prefix=no
16896      runpath_var=LD_RUN_PATH
16897      ;;
16898    siemens)
16899      need_lib_prefix=no
16900      ;;
16901    motorola)
16902      need_lib_prefix=no
16903      need_version=no
16904      shlibpath_overrides_runpath=no
16905      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16906      ;;
16907  esac
16908  ;;
16909
16910sysv4*MP*)
16911  if test -d /usr/nec; then
16912    version_type=linux # correct to gnu/linux during the next big refactor
16913    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16914    soname_spec='$libname$shared_ext.$major'
16915    shlibpath_var=LD_LIBRARY_PATH
16916  fi
16917  ;;
16918
16919sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16920  version_type=sco
16921  need_lib_prefix=no
16922  need_version=no
16923  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16924  soname_spec='$libname$release$shared_ext$major'
16925  shlibpath_var=LD_LIBRARY_PATH
16926  shlibpath_overrides_runpath=yes
16927  hardcode_into_libs=yes
16928  if test yes = "$with_gnu_ld"; then
16929    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16930  else
16931    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16932    case $host_os in
16933      sco3.2v5*)
16934        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16935	;;
16936    esac
16937  fi
16938  sys_lib_dlsearch_path_spec='/usr/lib'
16939  ;;
16940
16941tpf*)
16942  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16943  version_type=linux # correct to gnu/linux during the next big refactor
16944  need_lib_prefix=no
16945  need_version=no
16946  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16947  shlibpath_var=LD_LIBRARY_PATH
16948  shlibpath_overrides_runpath=no
16949  hardcode_into_libs=yes
16950  ;;
16951
16952uts4*)
16953  version_type=linux # correct to gnu/linux during the next big refactor
16954  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16955  soname_spec='$libname$release$shared_ext$major'
16956  shlibpath_var=LD_LIBRARY_PATH
16957  ;;
16958
16959*)
16960  dynamic_linker=no
16961  ;;
16962esac
16963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16964$as_echo "$dynamic_linker" >&6; }
16965test no = "$dynamic_linker" && can_build_shared=no
16966
16967variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16968if test yes = "$GCC"; then
16969  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16970fi
16971
16972if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16973  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16974fi
16975
16976if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16977  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16978fi
16979
16980# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16981configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16982
16983# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16984func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16985
16986# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16987configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17029$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17030hardcode_action_CXX=
17031if test -n "$hardcode_libdir_flag_spec_CXX" ||
17032   test -n "$runpath_var_CXX" ||
17033   test yes = "$hardcode_automatic_CXX"; then
17034
17035  # We can hardcode non-existent directories.
17036  if test no != "$hardcode_direct_CXX" &&
17037     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17038     # have to relink, otherwise we might link with an installed library
17039     # when we should be linking with a yet-to-be-installed one
17040     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17041     test no != "$hardcode_minus_L_CXX"; then
17042    # Linking always hardcodes the temporary library directory.
17043    hardcode_action_CXX=relink
17044  else
17045    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17046    hardcode_action_CXX=immediate
17047  fi
17048else
17049  # We cannot hardcode anything, or else we can only hardcode existing
17050  # directories.
17051  hardcode_action_CXX=unsupported
17052fi
17053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17054$as_echo "$hardcode_action_CXX" >&6; }
17055
17056if test relink = "$hardcode_action_CXX" ||
17057   test yes = "$inherit_rpath_CXX"; then
17058  # Fast installation is not supported
17059  enable_fast_install=no
17060elif test yes = "$shlibpath_overrides_runpath" ||
17061     test no = "$enable_shared"; then
17062  # Fast installation is not necessary
17063  enable_fast_install=needless
17064fi
17065
17066
17067
17068
17069
17070
17071
17072  fi # test -n "$compiler"
17073
17074  CC=$lt_save_CC
17075  CFLAGS=$lt_save_CFLAGS
17076  LDCXX=$LD
17077  LD=$lt_save_LD
17078  GCC=$lt_save_GCC
17079  with_gnu_ld=$lt_save_with_gnu_ld
17080  lt_cv_path_LDCXX=$lt_cv_path_LD
17081  lt_cv_path_LD=$lt_save_path_LD
17082  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17083  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17084fi # test yes != "$_lt_caught_CXX_error"
17085
17086ac_ext=c
17087ac_cpp='$CPP $CPPFLAGS'
17088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17090ac_compiler_gnu=$ac_cv_c_compiler_gnu
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106        ac_config_commands="$ac_config_commands libtool"
17107
17108
17109
17110
17111# Only expand once:
17112
17113
17114
17115
17116# Extract the first word of "pkg-config", so it can be a program name with args.
17117set dummy pkg-config; ac_word=$2
17118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17119$as_echo_n "checking for $ac_word... " >&6; }
17120if ${ac_cv_path_PKGCONFIG+:} false; then :
17121  $as_echo_n "(cached) " >&6
17122else
17123  case $PKGCONFIG in
17124  [\\/]* | ?:[\\/]*)
17125  ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
17126  ;;
17127  *)
17128  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17129for as_dir in $PATH
17130do
17131  IFS=$as_save_IFS
17132  test -z "$as_dir" && as_dir=.
17133    for ac_exec_ext in '' $ac_executable_extensions; do
17134  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17135    ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
17136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17137    break 2
17138  fi
17139done
17140  done
17141IFS=$as_save_IFS
17142
17143  ;;
17144esac
17145fi
17146PKGCONFIG=$ac_cv_path_PKGCONFIG
17147if test -n "$PKGCONFIG"; then
17148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
17149$as_echo "$PKGCONFIG" >&6; }
17150else
17151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17152$as_echo "no" >&6; }
17153fi
17154
17155
17156
17157
17158mkdir_p="$MKDIR_P"
17159case $mkdir_p in
17160  [\\/$]* | ?:[\\/]*) ;;
17161  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
17162esac
17163
17164
17165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17166$as_echo_n "checking whether NLS is requested... " >&6; }
17167    # Check whether --enable-nls was given.
17168if test "${enable_nls+set}" = set; then :
17169  enableval=$enable_nls; USE_NLS=$enableval
17170else
17171  USE_NLS=yes
17172fi
17173
17174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17175$as_echo "$USE_NLS" >&6; }
17176
17177
17178
17179
17180      GETTEXT_MACRO_VERSION=0.18
17181
17182
17183
17184
17185# Prepare PATH_SEPARATOR.
17186# The user is always right.
17187if test "${PATH_SEPARATOR+set}" != set; then
17188  echo "#! /bin/sh" >conf$$.sh
17189  echo  "exit 0"   >>conf$$.sh
17190  chmod +x conf$$.sh
17191  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17192    PATH_SEPARATOR=';'
17193  else
17194    PATH_SEPARATOR=:
17195  fi
17196  rm -f conf$$.sh
17197fi
17198
17199# Find out how to test for executable files. Don't use a zero-byte file,
17200# as systems may use methods other than mode bits to determine executability.
17201cat >conf$$.file <<_ASEOF
17202#! /bin/sh
17203exit 0
17204_ASEOF
17205chmod +x conf$$.file
17206if test -x conf$$.file >/dev/null 2>&1; then
17207  ac_executable_p="test -x"
17208else
17209  ac_executable_p="test -f"
17210fi
17211rm -f conf$$.file
17212
17213# Extract the first word of "msgfmt", so it can be a program name with args.
17214set dummy msgfmt; ac_word=$2
17215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17216$as_echo_n "checking for $ac_word... " >&6; }
17217if ${ac_cv_path_MSGFMT+:} false; then :
17218  $as_echo_n "(cached) " >&6
17219else
17220  case "$MSGFMT" in
17221  [\\/]* | ?:[\\/]*)
17222    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17223    ;;
17224  *)
17225    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17226    for ac_dir in $PATH; do
17227      IFS="$ac_save_IFS"
17228      test -z "$ac_dir" && ac_dir=.
17229      for ac_exec_ext in '' $ac_executable_extensions; do
17230        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17231          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17232          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
17233     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17234            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
17235            break 2
17236          fi
17237        fi
17238      done
17239    done
17240    IFS="$ac_save_IFS"
17241  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
17242    ;;
17243esac
17244fi
17245MSGFMT="$ac_cv_path_MSGFMT"
17246if test "$MSGFMT" != ":"; then
17247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17248$as_echo "$MSGFMT" >&6; }
17249else
17250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17251$as_echo "no" >&6; }
17252fi
17253
17254  # Extract the first word of "gmsgfmt", so it can be a program name with args.
17255set dummy gmsgfmt; ac_word=$2
17256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17257$as_echo_n "checking for $ac_word... " >&6; }
17258if ${ac_cv_path_GMSGFMT+:} false; then :
17259  $as_echo_n "(cached) " >&6
17260else
17261  case $GMSGFMT in
17262  [\\/]* | ?:[\\/]*)
17263  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17264  ;;
17265  *)
17266  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17267for as_dir in $PATH
17268do
17269  IFS=$as_save_IFS
17270  test -z "$as_dir" && as_dir=.
17271    for ac_exec_ext in '' $ac_executable_extensions; do
17272  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17273    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17274    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17275    break 2
17276  fi
17277done
17278  done
17279IFS=$as_save_IFS
17280
17281  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17282  ;;
17283esac
17284fi
17285GMSGFMT=$ac_cv_path_GMSGFMT
17286if test -n "$GMSGFMT"; then
17287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17288$as_echo "$GMSGFMT" >&6; }
17289else
17290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17291$as_echo "no" >&6; }
17292fi
17293
17294
17295
17296    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17297    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
17298    *) MSGFMT_015=$MSGFMT ;;
17299  esac
17300
17301  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17302    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
17303    *) GMSGFMT_015=$GMSGFMT ;;
17304  esac
17305
17306
17307
17308# Prepare PATH_SEPARATOR.
17309# The user is always right.
17310if test "${PATH_SEPARATOR+set}" != set; then
17311  echo "#! /bin/sh" >conf$$.sh
17312  echo  "exit 0"   >>conf$$.sh
17313  chmod +x conf$$.sh
17314  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17315    PATH_SEPARATOR=';'
17316  else
17317    PATH_SEPARATOR=:
17318  fi
17319  rm -f conf$$.sh
17320fi
17321
17322# Find out how to test for executable files. Don't use a zero-byte file,
17323# as systems may use methods other than mode bits to determine executability.
17324cat >conf$$.file <<_ASEOF
17325#! /bin/sh
17326exit 0
17327_ASEOF
17328chmod +x conf$$.file
17329if test -x conf$$.file >/dev/null 2>&1; then
17330  ac_executable_p="test -x"
17331else
17332  ac_executable_p="test -f"
17333fi
17334rm -f conf$$.file
17335
17336# Extract the first word of "xgettext", so it can be a program name with args.
17337set dummy xgettext; ac_word=$2
17338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17339$as_echo_n "checking for $ac_word... " >&6; }
17340if ${ac_cv_path_XGETTEXT+:} false; then :
17341  $as_echo_n "(cached) " >&6
17342else
17343  case "$XGETTEXT" in
17344  [\\/]* | ?:[\\/]*)
17345    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17346    ;;
17347  *)
17348    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17349    for ac_dir in $PATH; do
17350      IFS="$ac_save_IFS"
17351      test -z "$ac_dir" && ac_dir=.
17352      for ac_exec_ext in '' $ac_executable_extensions; do
17353        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17354          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17355          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
17356     (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
17357            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
17358            break 2
17359          fi
17360        fi
17361      done
17362    done
17363    IFS="$ac_save_IFS"
17364  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17365    ;;
17366esac
17367fi
17368XGETTEXT="$ac_cv_path_XGETTEXT"
17369if test "$XGETTEXT" != ":"; then
17370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17371$as_echo "$XGETTEXT" >&6; }
17372else
17373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17374$as_echo "no" >&6; }
17375fi
17376
17377    rm -f messages.po
17378
17379    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17380    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
17381    *) XGETTEXT_015=$XGETTEXT ;;
17382  esac
17383
17384
17385
17386# Prepare PATH_SEPARATOR.
17387# The user is always right.
17388if test "${PATH_SEPARATOR+set}" != set; then
17389  echo "#! /bin/sh" >conf$$.sh
17390  echo  "exit 0"   >>conf$$.sh
17391  chmod +x conf$$.sh
17392  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17393    PATH_SEPARATOR=';'
17394  else
17395    PATH_SEPARATOR=:
17396  fi
17397  rm -f conf$$.sh
17398fi
17399
17400# Find out how to test for executable files. Don't use a zero-byte file,
17401# as systems may use methods other than mode bits to determine executability.
17402cat >conf$$.file <<_ASEOF
17403#! /bin/sh
17404exit 0
17405_ASEOF
17406chmod +x conf$$.file
17407if test -x conf$$.file >/dev/null 2>&1; then
17408  ac_executable_p="test -x"
17409else
17410  ac_executable_p="test -f"
17411fi
17412rm -f conf$$.file
17413
17414# Extract the first word of "msgmerge", so it can be a program name with args.
17415set dummy msgmerge; ac_word=$2
17416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17417$as_echo_n "checking for $ac_word... " >&6; }
17418if ${ac_cv_path_MSGMERGE+:} false; then :
17419  $as_echo_n "(cached) " >&6
17420else
17421  case "$MSGMERGE" in
17422  [\\/]* | ?:[\\/]*)
17423    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17424    ;;
17425  *)
17426    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17427    for ac_dir in $PATH; do
17428      IFS="$ac_save_IFS"
17429      test -z "$ac_dir" && ac_dir=.
17430      for ac_exec_ext in '' $ac_executable_extensions; do
17431        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17432          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17433          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
17434            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
17435            break 2
17436          fi
17437        fi
17438      done
17439    done
17440    IFS="$ac_save_IFS"
17441  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
17442    ;;
17443esac
17444fi
17445MSGMERGE="$ac_cv_path_MSGMERGE"
17446if test "$MSGMERGE" != ":"; then
17447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17448$as_echo "$MSGMERGE" >&6; }
17449else
17450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17451$as_echo "no" >&6; }
17452fi
17453
17454
17455        test -n "$localedir" || localedir='${datadir}/locale'
17456
17457
17458    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
17459
17460
17461  ac_config_commands="$ac_config_commands po-directories"
17462
17463
17464
17465      if test "X$prefix" = "XNONE"; then
17466    acl_final_prefix="$ac_default_prefix"
17467  else
17468    acl_final_prefix="$prefix"
17469  fi
17470  if test "X$exec_prefix" = "XNONE"; then
17471    acl_final_exec_prefix='${prefix}'
17472  else
17473    acl_final_exec_prefix="$exec_prefix"
17474  fi
17475  acl_save_prefix="$prefix"
17476  prefix="$acl_final_prefix"
17477  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17478  prefix="$acl_save_prefix"
17479
17480
17481# Check whether --with-gnu-ld was given.
17482if test "${with_gnu_ld+set}" = set; then :
17483  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17484else
17485  with_gnu_ld=no
17486fi
17487
17488# Prepare PATH_SEPARATOR.
17489# The user is always right.
17490if test "${PATH_SEPARATOR+set}" != set; then
17491  echo "#! /bin/sh" >conf$$.sh
17492  echo  "exit 0"   >>conf$$.sh
17493  chmod +x conf$$.sh
17494  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17495    PATH_SEPARATOR=';'
17496  else
17497    PATH_SEPARATOR=:
17498  fi
17499  rm -f conf$$.sh
17500fi
17501ac_prog=ld
17502if test "$GCC" = yes; then
17503  # Check if gcc -print-prog-name=ld gives a path.
17504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17505$as_echo_n "checking for ld used by GCC... " >&6; }
17506  case $host in
17507  *-*-mingw*)
17508    # gcc leaves a trailing carriage return which upsets mingw
17509    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17510  *)
17511    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17512  esac
17513  case $ac_prog in
17514    # Accept absolute paths.
17515    [\\/]* | [A-Za-z]:[\\/]*)
17516      re_direlt='/[^/][^/]*/\.\./'
17517      # Canonicalize the path of ld
17518      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17519      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17520        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17521      done
17522      test -z "$LD" && LD="$ac_prog"
17523      ;;
17524  "")
17525    # If it fails, then pretend we aren't using GCC.
17526    ac_prog=ld
17527    ;;
17528  *)
17529    # If it is relative, then search for the first ld in PATH.
17530    with_gnu_ld=unknown
17531    ;;
17532  esac
17533elif test "$with_gnu_ld" = yes; then
17534  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17535$as_echo_n "checking for GNU ld... " >&6; }
17536else
17537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17538$as_echo_n "checking for non-GNU ld... " >&6; }
17539fi
17540if ${acl_cv_path_LD+:} false; then :
17541  $as_echo_n "(cached) " >&6
17542else
17543  if test -z "$LD"; then
17544  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17545  for ac_dir in $PATH; do
17546    test -z "$ac_dir" && ac_dir=.
17547    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17548      acl_cv_path_LD="$ac_dir/$ac_prog"
17549      # Check to see if the program is GNU ld.  I'd rather use --version,
17550      # but apparently some GNU ld's only accept -v.
17551      # Break only if it was the GNU/non-GNU ld that we prefer.
17552      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
17553      *GNU* | *'with BFD'*)
17554        test "$with_gnu_ld" != no && break ;;
17555      *)
17556        test "$with_gnu_ld" != yes && break ;;
17557      esac
17558    fi
17559  done
17560  IFS="$ac_save_ifs"
17561else
17562  acl_cv_path_LD="$LD" # Let the user override the test with a path.
17563fi
17564fi
17565
17566LD="$acl_cv_path_LD"
17567if test -n "$LD"; then
17568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17569$as_echo "$LD" >&6; }
17570else
17571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17572$as_echo "no" >&6; }
17573fi
17574test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17576$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17577if ${acl_cv_prog_gnu_ld+:} false; then :
17578  $as_echo_n "(cached) " >&6
17579else
17580  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17581case `$LD -v 2>&1 </dev/null` in
17582*GNU* | *'with BFD'*)
17583  acl_cv_prog_gnu_ld=yes ;;
17584*)
17585  acl_cv_prog_gnu_ld=no ;;
17586esac
17587fi
17588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17589$as_echo "$acl_cv_prog_gnu_ld" >&6; }
17590with_gnu_ld=$acl_cv_prog_gnu_ld
17591
17592
17593
17594
17595                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17596$as_echo_n "checking for shared library run path origin... " >&6; }
17597if ${acl_cv_rpath+:} false; then :
17598  $as_echo_n "(cached) " >&6
17599else
17600
17601    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17602    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17603    . ./conftest.sh
17604    rm -f ./conftest.sh
17605    acl_cv_rpath=done
17606
17607fi
17608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17609$as_echo "$acl_cv_rpath" >&6; }
17610  wl="$acl_cv_wl"
17611  acl_libext="$acl_cv_libext"
17612  acl_shlibext="$acl_cv_shlibext"
17613  acl_libname_spec="$acl_cv_libname_spec"
17614  acl_library_names_spec="$acl_cv_library_names_spec"
17615  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17616  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17617  acl_hardcode_direct="$acl_cv_hardcode_direct"
17618  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17619    # Check whether --enable-rpath was given.
17620if test "${enable_rpath+set}" = set; then :
17621  enableval=$enable_rpath; :
17622else
17623  enable_rpath=yes
17624fi
17625
17626
17627
17628
17629  acl_libdirstem=lib
17630  acl_libdirstem2=
17631  case "$host_os" in
17632    solaris*)
17633                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
17634$as_echo_n "checking for 64-bit host... " >&6; }
17635if ${gl_cv_solaris_64bit+:} false; then :
17636  $as_echo_n "(cached) " >&6
17637else
17638  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639/* end confdefs.h.  */
17640
17641#ifdef _LP64
17642sixtyfour bits
17643#endif
17644
17645_ACEOF
17646if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17647  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
17648  gl_cv_solaris_64bit=yes
17649else
17650  gl_cv_solaris_64bit=no
17651fi
17652rm -f conftest*
17653
17654
17655fi
17656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
17657$as_echo "$gl_cv_solaris_64bit" >&6; }
17658      if test $gl_cv_solaris_64bit = yes; then
17659        acl_libdirstem=lib/64
17660        case "$host_cpu" in
17661          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
17662          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17663        esac
17664      fi
17665      ;;
17666    *)
17667      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17668      if test -n "$searchpath"; then
17669        acl_save_IFS="${IFS= 	}"; IFS=":"
17670        for searchdir in $searchpath; do
17671          if test -d "$searchdir"; then
17672            case "$searchdir" in
17673              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17674              */../ | */.. )
17675                # Better ignore directories of this form. They are misleading.
17676                ;;
17677              *) searchdir=`cd "$searchdir" && pwd`
17678                 case "$searchdir" in
17679                   */lib64 ) acl_libdirstem=lib64 ;;
17680                 esac ;;
17681            esac
17682          fi
17683        done
17684        IFS="$acl_save_IFS"
17685      fi
17686      ;;
17687  esac
17688  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701    use_additional=yes
17702
17703  acl_save_prefix="$prefix"
17704  prefix="$acl_final_prefix"
17705  acl_save_exec_prefix="$exec_prefix"
17706  exec_prefix="$acl_final_exec_prefix"
17707
17708    eval additional_includedir=\"$includedir\"
17709    eval additional_libdir=\"$libdir\"
17710
17711  exec_prefix="$acl_save_exec_prefix"
17712  prefix="$acl_save_prefix"
17713
17714
17715# Check whether --with-libiconv-prefix was given.
17716if test "${with_libiconv_prefix+set}" = set; then :
17717  withval=$with_libiconv_prefix;
17718    if test "X$withval" = "Xno"; then
17719      use_additional=no
17720    else
17721      if test "X$withval" = "X"; then
17722
17723  acl_save_prefix="$prefix"
17724  prefix="$acl_final_prefix"
17725  acl_save_exec_prefix="$exec_prefix"
17726  exec_prefix="$acl_final_exec_prefix"
17727
17728          eval additional_includedir=\"$includedir\"
17729          eval additional_libdir=\"$libdir\"
17730
17731  exec_prefix="$acl_save_exec_prefix"
17732  prefix="$acl_save_prefix"
17733
17734      else
17735        additional_includedir="$withval/include"
17736        additional_libdir="$withval/$acl_libdirstem"
17737        if test "$acl_libdirstem2" != "$acl_libdirstem" \
17738           && ! test -d "$withval/$acl_libdirstem"; then
17739          additional_libdir="$withval/$acl_libdirstem2"
17740        fi
17741      fi
17742    fi
17743
17744fi
17745
17746      LIBICONV=
17747  LTLIBICONV=
17748  INCICONV=
17749  LIBICONV_PREFIX=
17750      HAVE_LIBICONV=
17751  rpathdirs=
17752  ltrpathdirs=
17753  names_already_handled=
17754  names_next_round='iconv '
17755  while test -n "$names_next_round"; do
17756    names_this_round="$names_next_round"
17757    names_next_round=
17758    for name in $names_this_round; do
17759      already_handled=
17760      for n in $names_already_handled; do
17761        if test "$n" = "$name"; then
17762          already_handled=yes
17763          break
17764        fi
17765      done
17766      if test -z "$already_handled"; then
17767        names_already_handled="$names_already_handled $name"
17768                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17769        eval value=\"\$HAVE_LIB$uppername\"
17770        if test -n "$value"; then
17771          if test "$value" = yes; then
17772            eval value=\"\$LIB$uppername\"
17773            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17774            eval value=\"\$LTLIB$uppername\"
17775            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17776          else
17777                                    :
17778          fi
17779        else
17780                              found_dir=
17781          found_la=
17782          found_so=
17783          found_a=
17784          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17785          if test -n "$acl_shlibext"; then
17786            shrext=".$acl_shlibext"             # typically: shrext=.so
17787          else
17788            shrext=
17789          fi
17790          if test $use_additional = yes; then
17791            dir="$additional_libdir"
17792                                    if test -n "$acl_shlibext"; then
17793              if test -f "$dir/$libname$shrext"; then
17794                found_dir="$dir"
17795                found_so="$dir/$libname$shrext"
17796              else
17797                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17798                  ver=`(cd "$dir" && \
17799                        for f in "$libname$shrext".*; do echo "$f"; done \
17800                        | sed -e "s,^$libname$shrext\\\\.,," \
17801                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17802                        | sed 1q ) 2>/dev/null`
17803                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17804                    found_dir="$dir"
17805                    found_so="$dir/$libname$shrext.$ver"
17806                  fi
17807                else
17808                  eval library_names=\"$acl_library_names_spec\"
17809                  for f in $library_names; do
17810                    if test -f "$dir/$f"; then
17811                      found_dir="$dir"
17812                      found_so="$dir/$f"
17813                      break
17814                    fi
17815                  done
17816                fi
17817              fi
17818            fi
17819                        if test "X$found_dir" = "X"; then
17820              if test -f "$dir/$libname.$acl_libext"; then
17821                found_dir="$dir"
17822                found_a="$dir/$libname.$acl_libext"
17823              fi
17824            fi
17825            if test "X$found_dir" != "X"; then
17826              if test -f "$dir/$libname.la"; then
17827                found_la="$dir/$libname.la"
17828              fi
17829            fi
17830          fi
17831          if test "X$found_dir" = "X"; then
17832            for x in $LDFLAGS $LTLIBICONV; do
17833
17834  acl_save_prefix="$prefix"
17835  prefix="$acl_final_prefix"
17836  acl_save_exec_prefix="$exec_prefix"
17837  exec_prefix="$acl_final_exec_prefix"
17838  eval x=\"$x\"
17839  exec_prefix="$acl_save_exec_prefix"
17840  prefix="$acl_save_prefix"
17841
17842              case "$x" in
17843                -L*)
17844                  dir=`echo "X$x" | sed -e 's/^X-L//'`
17845                                    if test -n "$acl_shlibext"; then
17846                    if test -f "$dir/$libname$shrext"; then
17847                      found_dir="$dir"
17848                      found_so="$dir/$libname$shrext"
17849                    else
17850                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17851                        ver=`(cd "$dir" && \
17852                              for f in "$libname$shrext".*; do echo "$f"; done \
17853                              | sed -e "s,^$libname$shrext\\\\.,," \
17854                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17855                              | sed 1q ) 2>/dev/null`
17856                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17857                          found_dir="$dir"
17858                          found_so="$dir/$libname$shrext.$ver"
17859                        fi
17860                      else
17861                        eval library_names=\"$acl_library_names_spec\"
17862                        for f in $library_names; do
17863                          if test -f "$dir/$f"; then
17864                            found_dir="$dir"
17865                            found_so="$dir/$f"
17866                            break
17867                          fi
17868                        done
17869                      fi
17870                    fi
17871                  fi
17872                                    if test "X$found_dir" = "X"; then
17873                    if test -f "$dir/$libname.$acl_libext"; then
17874                      found_dir="$dir"
17875                      found_a="$dir/$libname.$acl_libext"
17876                    fi
17877                  fi
17878                  if test "X$found_dir" != "X"; then
17879                    if test -f "$dir/$libname.la"; then
17880                      found_la="$dir/$libname.la"
17881                    fi
17882                  fi
17883                  ;;
17884              esac
17885              if test "X$found_dir" != "X"; then
17886                break
17887              fi
17888            done
17889          fi
17890          if test "X$found_dir" != "X"; then
17891                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17892            if test "X$found_so" != "X"; then
17893                                                        if test "$enable_rpath" = no \
17894                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17895                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17896                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17897              else
17898                                                                                haveit=
17899                for x in $ltrpathdirs; do
17900                  if test "X$x" = "X$found_dir"; then
17901                    haveit=yes
17902                    break
17903                  fi
17904                done
17905                if test -z "$haveit"; then
17906                  ltrpathdirs="$ltrpathdirs $found_dir"
17907                fi
17908                                if test "$acl_hardcode_direct" = yes; then
17909                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17910                else
17911                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17912                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17913                                                            haveit=
17914                    for x in $rpathdirs; do
17915                      if test "X$x" = "X$found_dir"; then
17916                        haveit=yes
17917                        break
17918                      fi
17919                    done
17920                    if test -z "$haveit"; then
17921                      rpathdirs="$rpathdirs $found_dir"
17922                    fi
17923                  else
17924                                                                                haveit=
17925                    for x in $LDFLAGS $LIBICONV; do
17926
17927  acl_save_prefix="$prefix"
17928  prefix="$acl_final_prefix"
17929  acl_save_exec_prefix="$exec_prefix"
17930  exec_prefix="$acl_final_exec_prefix"
17931  eval x=\"$x\"
17932  exec_prefix="$acl_save_exec_prefix"
17933  prefix="$acl_save_prefix"
17934
17935                      if test "X$x" = "X-L$found_dir"; then
17936                        haveit=yes
17937                        break
17938                      fi
17939                    done
17940                    if test -z "$haveit"; then
17941                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17942                    fi
17943                    if test "$acl_hardcode_minus_L" != no; then
17944                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17945                    else
17946                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17947                    fi
17948                  fi
17949                fi
17950              fi
17951            else
17952              if test "X$found_a" != "X"; then
17953                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17954              else
17955                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17956              fi
17957            fi
17958                        additional_includedir=
17959            case "$found_dir" in
17960              */$acl_libdirstem | */$acl_libdirstem/)
17961                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17962                if test "$name" = 'iconv'; then
17963                  LIBICONV_PREFIX="$basedir"
17964                fi
17965                additional_includedir="$basedir/include"
17966                ;;
17967              */$acl_libdirstem2 | */$acl_libdirstem2/)
17968                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17969                if test "$name" = 'iconv'; then
17970                  LIBICONV_PREFIX="$basedir"
17971                fi
17972                additional_includedir="$basedir/include"
17973                ;;
17974            esac
17975            if test "X$additional_includedir" != "X"; then
17976                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
17977                haveit=
17978                if test "X$additional_includedir" = "X/usr/local/include"; then
17979                  if test -n "$GCC"; then
17980                    case $host_os in
17981                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17982                    esac
17983                  fi
17984                fi
17985                if test -z "$haveit"; then
17986                  for x in $CPPFLAGS $INCICONV; do
17987
17988  acl_save_prefix="$prefix"
17989  prefix="$acl_final_prefix"
17990  acl_save_exec_prefix="$exec_prefix"
17991  exec_prefix="$acl_final_exec_prefix"
17992  eval x=\"$x\"
17993  exec_prefix="$acl_save_exec_prefix"
17994  prefix="$acl_save_prefix"
17995
17996                    if test "X$x" = "X-I$additional_includedir"; then
17997                      haveit=yes
17998                      break
17999                    fi
18000                  done
18001                  if test -z "$haveit"; then
18002                    if test -d "$additional_includedir"; then
18003                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18004                    fi
18005                  fi
18006                fi
18007              fi
18008            fi
18009                        if test -n "$found_la"; then
18010                                                        save_libdir="$libdir"
18011              case "$found_la" in
18012                */* | *\\*) . "$found_la" ;;
18013                *) . "./$found_la" ;;
18014              esac
18015              libdir="$save_libdir"
18016                            for dep in $dependency_libs; do
18017                case "$dep" in
18018                  -L*)
18019                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18020                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18021                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18022                      haveit=
18023                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18024                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18025                        if test -n "$GCC"; then
18026                          case $host_os in
18027                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18028                          esac
18029                        fi
18030                      fi
18031                      if test -z "$haveit"; then
18032                        haveit=
18033                        for x in $LDFLAGS $LIBICONV; do
18034
18035  acl_save_prefix="$prefix"
18036  prefix="$acl_final_prefix"
18037  acl_save_exec_prefix="$exec_prefix"
18038  exec_prefix="$acl_final_exec_prefix"
18039  eval x=\"$x\"
18040  exec_prefix="$acl_save_exec_prefix"
18041  prefix="$acl_save_prefix"
18042
18043                          if test "X$x" = "X-L$additional_libdir"; then
18044                            haveit=yes
18045                            break
18046                          fi
18047                        done
18048                        if test -z "$haveit"; then
18049                          if test -d "$additional_libdir"; then
18050                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18051                          fi
18052                        fi
18053                        haveit=
18054                        for x in $LDFLAGS $LTLIBICONV; do
18055
18056  acl_save_prefix="$prefix"
18057  prefix="$acl_final_prefix"
18058  acl_save_exec_prefix="$exec_prefix"
18059  exec_prefix="$acl_final_exec_prefix"
18060  eval x=\"$x\"
18061  exec_prefix="$acl_save_exec_prefix"
18062  prefix="$acl_save_prefix"
18063
18064                          if test "X$x" = "X-L$additional_libdir"; then
18065                            haveit=yes
18066                            break
18067                          fi
18068                        done
18069                        if test -z "$haveit"; then
18070                          if test -d "$additional_libdir"; then
18071                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18072                          fi
18073                        fi
18074                      fi
18075                    fi
18076                    ;;
18077                  -R*)
18078                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
18079                    if test "$enable_rpath" != no; then
18080                                                                  haveit=
18081                      for x in $rpathdirs; do
18082                        if test "X$x" = "X$dir"; then
18083                          haveit=yes
18084                          break
18085                        fi
18086                      done
18087                      if test -z "$haveit"; then
18088                        rpathdirs="$rpathdirs $dir"
18089                      fi
18090                                                                  haveit=
18091                      for x in $ltrpathdirs; do
18092                        if test "X$x" = "X$dir"; then
18093                          haveit=yes
18094                          break
18095                        fi
18096                      done
18097                      if test -z "$haveit"; then
18098                        ltrpathdirs="$ltrpathdirs $dir"
18099                      fi
18100                    fi
18101                    ;;
18102                  -l*)
18103                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18104                    ;;
18105                  *.la)
18106                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18107                    ;;
18108                  *)
18109                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18110                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18111                    ;;
18112                esac
18113              done
18114            fi
18115          else
18116                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18117            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18118          fi
18119        fi
18120      fi
18121    done
18122  done
18123  if test "X$rpathdirs" != "X"; then
18124    if test -n "$acl_hardcode_libdir_separator"; then
18125                        alldirs=
18126      for found_dir in $rpathdirs; do
18127        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18128      done
18129            acl_save_libdir="$libdir"
18130      libdir="$alldirs"
18131      eval flag=\"$acl_hardcode_libdir_flag_spec\"
18132      libdir="$acl_save_libdir"
18133      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18134    else
18135            for found_dir in $rpathdirs; do
18136        acl_save_libdir="$libdir"
18137        libdir="$found_dir"
18138        eval flag=\"$acl_hardcode_libdir_flag_spec\"
18139        libdir="$acl_save_libdir"
18140        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18141      done
18142    fi
18143  fi
18144  if test "X$ltrpathdirs" != "X"; then
18145            for found_dir in $ltrpathdirs; do
18146      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18147    done
18148  fi
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
18181$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
18182if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
18183  $as_echo_n "(cached) " >&6
18184else
18185  gt_save_LIBS="$LIBS"
18186     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18187     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188/* end confdefs.h.  */
18189#include <CoreFoundation/CFPreferences.h>
18190int
18191main ()
18192{
18193CFPreferencesCopyAppValue(NULL, NULL)
18194  ;
18195  return 0;
18196}
18197_ACEOF
18198if ac_fn_c_try_link "$LINENO"; then :
18199  gt_cv_func_CFPreferencesCopyAppValue=yes
18200else
18201  gt_cv_func_CFPreferencesCopyAppValue=no
18202fi
18203rm -f core conftest.err conftest.$ac_objext \
18204    conftest$ac_exeext conftest.$ac_ext
18205     LIBS="$gt_save_LIBS"
18206fi
18207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
18208$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
18209  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
18210
18211$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
18212
18213  fi
18214    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
18215$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
18216if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
18217  $as_echo_n "(cached) " >&6
18218else
18219  gt_save_LIBS="$LIBS"
18220     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18221     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222/* end confdefs.h.  */
18223#include <CoreFoundation/CFLocale.h>
18224int
18225main ()
18226{
18227CFLocaleCopyCurrent();
18228  ;
18229  return 0;
18230}
18231_ACEOF
18232if ac_fn_c_try_link "$LINENO"; then :
18233  gt_cv_func_CFLocaleCopyCurrent=yes
18234else
18235  gt_cv_func_CFLocaleCopyCurrent=no
18236fi
18237rm -f core conftest.err conftest.$ac_objext \
18238    conftest$ac_exeext conftest.$ac_ext
18239     LIBS="$gt_save_LIBS"
18240fi
18241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
18242$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
18243  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18244
18245$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
18246
18247  fi
18248  INTL_MACOSX_LIBS=
18249  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18250    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
18251  fi
18252
18253
18254
18255
18256
18257
18258  LIBINTL=
18259  LTLIBINTL=
18260  POSUB=
18261
18262    case " $gt_needs " in
18263    *" need-formatstring-macros "*) gt_api_version=3 ;;
18264    *" need-ngettext "*) gt_api_version=2 ;;
18265    *) gt_api_version=1 ;;
18266  esac
18267  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
18268  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
18269
18270    if test "$USE_NLS" = "yes"; then
18271    gt_use_preinstalled_gnugettext=no
18272
18273
18274        if test $gt_api_version -ge 3; then
18275          gt_revision_test_code='
18276#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
18277#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
18278#endif
18279typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
18280'
18281        else
18282          gt_revision_test_code=
18283        fi
18284        if test $gt_api_version -ge 2; then
18285          gt_expression_test_code=' + * ngettext ("", "", 0)'
18286        else
18287          gt_expression_test_code=
18288        fi
18289
18290        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
18291$as_echo_n "checking for GNU gettext in libc... " >&6; }
18292if eval \${$gt_func_gnugettext_libc+:} false; then :
18293  $as_echo_n "(cached) " >&6
18294else
18295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296/* end confdefs.h.  */
18297#include <libintl.h>
18298$gt_revision_test_code
18299extern int _nl_msg_cat_cntr;
18300extern int *_nl_domain_bindings;
18301int
18302main ()
18303{
18304bindtextdomain ("", "");
18305return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
18306  ;
18307  return 0;
18308}
18309_ACEOF
18310if ac_fn_c_try_link "$LINENO"; then :
18311  eval "$gt_func_gnugettext_libc=yes"
18312else
18313  eval "$gt_func_gnugettext_libc=no"
18314fi
18315rm -f core conftest.err conftest.$ac_objext \
18316    conftest$ac_exeext conftest.$ac_ext
18317fi
18318eval ac_res=\$$gt_func_gnugettext_libc
18319	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18320$as_echo "$ac_res" >&6; }
18321
18322        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
18323
18324
18325
18326
18327
18328          am_save_CPPFLAGS="$CPPFLAGS"
18329
18330  for element in $INCICONV; do
18331    haveit=
18332    for x in $CPPFLAGS; do
18333
18334  acl_save_prefix="$prefix"
18335  prefix="$acl_final_prefix"
18336  acl_save_exec_prefix="$exec_prefix"
18337  exec_prefix="$acl_final_exec_prefix"
18338  eval x=\"$x\"
18339  exec_prefix="$acl_save_exec_prefix"
18340  prefix="$acl_save_prefix"
18341
18342      if test "X$x" = "X$element"; then
18343        haveit=yes
18344        break
18345      fi
18346    done
18347    if test -z "$haveit"; then
18348      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18349    fi
18350  done
18351
18352
18353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18354$as_echo_n "checking for iconv... " >&6; }
18355if ${am_cv_func_iconv+:} false; then :
18356  $as_echo_n "(cached) " >&6
18357else
18358
18359    am_cv_func_iconv="no, consider installing GNU libiconv"
18360    am_cv_lib_iconv=no
18361    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362/* end confdefs.h.  */
18363#include <stdlib.h>
18364#include <iconv.h>
18365int
18366main ()
18367{
18368iconv_t cd = iconv_open("","");
18369       iconv(cd,NULL,NULL,NULL,NULL);
18370       iconv_close(cd);
18371  ;
18372  return 0;
18373}
18374_ACEOF
18375if ac_fn_c_try_link "$LINENO"; then :
18376  am_cv_func_iconv=yes
18377fi
18378rm -f core conftest.err conftest.$ac_objext \
18379    conftest$ac_exeext conftest.$ac_ext
18380    if test "$am_cv_func_iconv" != yes; then
18381      am_save_LIBS="$LIBS"
18382      LIBS="$LIBS $LIBICONV"
18383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384/* end confdefs.h.  */
18385#include <stdlib.h>
18386#include <iconv.h>
18387int
18388main ()
18389{
18390iconv_t cd = iconv_open("","");
18391         iconv(cd,NULL,NULL,NULL,NULL);
18392         iconv_close(cd);
18393  ;
18394  return 0;
18395}
18396_ACEOF
18397if ac_fn_c_try_link "$LINENO"; then :
18398  am_cv_lib_iconv=yes
18399        am_cv_func_iconv=yes
18400fi
18401rm -f core conftest.err conftest.$ac_objext \
18402    conftest$ac_exeext conftest.$ac_ext
18403      LIBS="$am_save_LIBS"
18404    fi
18405
18406fi
18407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18408$as_echo "$am_cv_func_iconv" >&6; }
18409  if test "$am_cv_func_iconv" = yes; then
18410    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18411$as_echo_n "checking for working iconv... " >&6; }
18412if ${am_cv_func_iconv_works+:} false; then :
18413  $as_echo_n "(cached) " >&6
18414else
18415
18416            am_save_LIBS="$LIBS"
18417      if test $am_cv_lib_iconv = yes; then
18418        LIBS="$LIBS $LIBICONV"
18419      fi
18420      if test "$cross_compiling" = yes; then :
18421  case "$host_os" in
18422           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18423           *)            am_cv_func_iconv_works="guessing yes" ;;
18424         esac
18425else
18426  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427/* end confdefs.h.  */
18428
18429#include <iconv.h>
18430#include <string.h>
18431int main ()
18432{
18433  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18434     returns.  */
18435  {
18436    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18437    if (cd_utf8_to_88591 != (iconv_t)(-1))
18438      {
18439        static const char input[] = "\342\202\254"; /* EURO SIGN */
18440        char buf[10];
18441        const char *inptr = input;
18442        size_t inbytesleft = strlen (input);
18443        char *outptr = buf;
18444        size_t outbytesleft = sizeof (buf);
18445        size_t res = iconv (cd_utf8_to_88591,
18446                            (char **) &inptr, &inbytesleft,
18447                            &outptr, &outbytesleft);
18448        if (res == 0)
18449          return 1;
18450      }
18451  }
18452  /* Test against Solaris 10 bug: Failures are not distinguishable from
18453     successful returns.  */
18454  {
18455    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
18456    if (cd_ascii_to_88591 != (iconv_t)(-1))
18457      {
18458        static const char input[] = "\263";
18459        char buf[10];
18460        const char *inptr = input;
18461        size_t inbytesleft = strlen (input);
18462        char *outptr = buf;
18463        size_t outbytesleft = sizeof (buf);
18464        size_t res = iconv (cd_ascii_to_88591,
18465                            (char **) &inptr, &inbytesleft,
18466                            &outptr, &outbytesleft);
18467        if (res == 0)
18468          return 1;
18469      }
18470  }
18471#if 0 /* This bug could be worked around by the caller.  */
18472  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
18473  {
18474    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18475    if (cd_88591_to_utf8 != (iconv_t)(-1))
18476      {
18477        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18478        char buf[50];
18479        const char *inptr = input;
18480        size_t inbytesleft = strlen (input);
18481        char *outptr = buf;
18482        size_t outbytesleft = sizeof (buf);
18483        size_t res = iconv (cd_88591_to_utf8,
18484                            (char **) &inptr, &inbytesleft,
18485                            &outptr, &outbytesleft);
18486        if ((int)res > 0)
18487          return 1;
18488      }
18489  }
18490#endif
18491  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18492     provided.  */
18493  if (/* Try standardized names.  */
18494      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18495      /* Try IRIX, OSF/1 names.  */
18496      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18497      /* Try AIX names.  */
18498      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18499      /* Try HP-UX names.  */
18500      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18501    return 1;
18502  return 0;
18503}
18504_ACEOF
18505if ac_fn_c_try_run "$LINENO"; then :
18506  am_cv_func_iconv_works=yes
18507else
18508  am_cv_func_iconv_works=no
18509fi
18510rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18511  conftest.$ac_objext conftest.beam conftest.$ac_ext
18512fi
18513
18514      LIBS="$am_save_LIBS"
18515
18516fi
18517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18518$as_echo "$am_cv_func_iconv_works" >&6; }
18519    case "$am_cv_func_iconv_works" in
18520      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18521      *)   am_func_iconv=yes ;;
18522    esac
18523  else
18524    am_func_iconv=no am_cv_lib_iconv=no
18525  fi
18526  if test "$am_func_iconv" = yes; then
18527
18528$as_echo "#define HAVE_ICONV 1" >>confdefs.h
18529
18530  fi
18531  if test "$am_cv_lib_iconv" = yes; then
18532    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18533$as_echo_n "checking how to link with libiconv... " >&6; }
18534    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18535$as_echo "$LIBICONV" >&6; }
18536  else
18537            CPPFLAGS="$am_save_CPPFLAGS"
18538    LIBICONV=
18539    LTLIBICONV=
18540  fi
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552    use_additional=yes
18553
18554  acl_save_prefix="$prefix"
18555  prefix="$acl_final_prefix"
18556  acl_save_exec_prefix="$exec_prefix"
18557  exec_prefix="$acl_final_exec_prefix"
18558
18559    eval additional_includedir=\"$includedir\"
18560    eval additional_libdir=\"$libdir\"
18561
18562  exec_prefix="$acl_save_exec_prefix"
18563  prefix="$acl_save_prefix"
18564
18565
18566# Check whether --with-libintl-prefix was given.
18567if test "${with_libintl_prefix+set}" = set; then :
18568  withval=$with_libintl_prefix;
18569    if test "X$withval" = "Xno"; then
18570      use_additional=no
18571    else
18572      if test "X$withval" = "X"; then
18573
18574  acl_save_prefix="$prefix"
18575  prefix="$acl_final_prefix"
18576  acl_save_exec_prefix="$exec_prefix"
18577  exec_prefix="$acl_final_exec_prefix"
18578
18579          eval additional_includedir=\"$includedir\"
18580          eval additional_libdir=\"$libdir\"
18581
18582  exec_prefix="$acl_save_exec_prefix"
18583  prefix="$acl_save_prefix"
18584
18585      else
18586        additional_includedir="$withval/include"
18587        additional_libdir="$withval/$acl_libdirstem"
18588        if test "$acl_libdirstem2" != "$acl_libdirstem" \
18589           && ! test -d "$withval/$acl_libdirstem"; then
18590          additional_libdir="$withval/$acl_libdirstem2"
18591        fi
18592      fi
18593    fi
18594
18595fi
18596
18597      LIBINTL=
18598  LTLIBINTL=
18599  INCINTL=
18600  LIBINTL_PREFIX=
18601      HAVE_LIBINTL=
18602  rpathdirs=
18603  ltrpathdirs=
18604  names_already_handled=
18605  names_next_round='intl '
18606  while test -n "$names_next_round"; do
18607    names_this_round="$names_next_round"
18608    names_next_round=
18609    for name in $names_this_round; do
18610      already_handled=
18611      for n in $names_already_handled; do
18612        if test "$n" = "$name"; then
18613          already_handled=yes
18614          break
18615        fi
18616      done
18617      if test -z "$already_handled"; then
18618        names_already_handled="$names_already_handled $name"
18619                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18620        eval value=\"\$HAVE_LIB$uppername\"
18621        if test -n "$value"; then
18622          if test "$value" = yes; then
18623            eval value=\"\$LIB$uppername\"
18624            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
18625            eval value=\"\$LTLIB$uppername\"
18626            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
18627          else
18628                                    :
18629          fi
18630        else
18631                              found_dir=
18632          found_la=
18633          found_so=
18634          found_a=
18635          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
18636          if test -n "$acl_shlibext"; then
18637            shrext=".$acl_shlibext"             # typically: shrext=.so
18638          else
18639            shrext=
18640          fi
18641          if test $use_additional = yes; then
18642            dir="$additional_libdir"
18643                                    if test -n "$acl_shlibext"; then
18644              if test -f "$dir/$libname$shrext"; then
18645                found_dir="$dir"
18646                found_so="$dir/$libname$shrext"
18647              else
18648                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18649                  ver=`(cd "$dir" && \
18650                        for f in "$libname$shrext".*; do echo "$f"; done \
18651                        | sed -e "s,^$libname$shrext\\\\.,," \
18652                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18653                        | sed 1q ) 2>/dev/null`
18654                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18655                    found_dir="$dir"
18656                    found_so="$dir/$libname$shrext.$ver"
18657                  fi
18658                else
18659                  eval library_names=\"$acl_library_names_spec\"
18660                  for f in $library_names; do
18661                    if test -f "$dir/$f"; then
18662                      found_dir="$dir"
18663                      found_so="$dir/$f"
18664                      break
18665                    fi
18666                  done
18667                fi
18668              fi
18669            fi
18670                        if test "X$found_dir" = "X"; then
18671              if test -f "$dir/$libname.$acl_libext"; then
18672                found_dir="$dir"
18673                found_a="$dir/$libname.$acl_libext"
18674              fi
18675            fi
18676            if test "X$found_dir" != "X"; then
18677              if test -f "$dir/$libname.la"; then
18678                found_la="$dir/$libname.la"
18679              fi
18680            fi
18681          fi
18682          if test "X$found_dir" = "X"; then
18683            for x in $LDFLAGS $LTLIBINTL; do
18684
18685  acl_save_prefix="$prefix"
18686  prefix="$acl_final_prefix"
18687  acl_save_exec_prefix="$exec_prefix"
18688  exec_prefix="$acl_final_exec_prefix"
18689  eval x=\"$x\"
18690  exec_prefix="$acl_save_exec_prefix"
18691  prefix="$acl_save_prefix"
18692
18693              case "$x" in
18694                -L*)
18695                  dir=`echo "X$x" | sed -e 's/^X-L//'`
18696                                    if test -n "$acl_shlibext"; then
18697                    if test -f "$dir/$libname$shrext"; then
18698                      found_dir="$dir"
18699                      found_so="$dir/$libname$shrext"
18700                    else
18701                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18702                        ver=`(cd "$dir" && \
18703                              for f in "$libname$shrext".*; do echo "$f"; done \
18704                              | sed -e "s,^$libname$shrext\\\\.,," \
18705                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18706                              | sed 1q ) 2>/dev/null`
18707                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18708                          found_dir="$dir"
18709                          found_so="$dir/$libname$shrext.$ver"
18710                        fi
18711                      else
18712                        eval library_names=\"$acl_library_names_spec\"
18713                        for f in $library_names; do
18714                          if test -f "$dir/$f"; then
18715                            found_dir="$dir"
18716                            found_so="$dir/$f"
18717                            break
18718                          fi
18719                        done
18720                      fi
18721                    fi
18722                  fi
18723                                    if test "X$found_dir" = "X"; then
18724                    if test -f "$dir/$libname.$acl_libext"; then
18725                      found_dir="$dir"
18726                      found_a="$dir/$libname.$acl_libext"
18727                    fi
18728                  fi
18729                  if test "X$found_dir" != "X"; then
18730                    if test -f "$dir/$libname.la"; then
18731                      found_la="$dir/$libname.la"
18732                    fi
18733                  fi
18734                  ;;
18735              esac
18736              if test "X$found_dir" != "X"; then
18737                break
18738              fi
18739            done
18740          fi
18741          if test "X$found_dir" != "X"; then
18742                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
18743            if test "X$found_so" != "X"; then
18744                                                        if test "$enable_rpath" = no \
18745                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18746                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18747                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18748              else
18749                                                                                haveit=
18750                for x in $ltrpathdirs; do
18751                  if test "X$x" = "X$found_dir"; then
18752                    haveit=yes
18753                    break
18754                  fi
18755                done
18756                if test -z "$haveit"; then
18757                  ltrpathdirs="$ltrpathdirs $found_dir"
18758                fi
18759                                if test "$acl_hardcode_direct" = yes; then
18760                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18761                else
18762                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18763                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18764                                                            haveit=
18765                    for x in $rpathdirs; do
18766                      if test "X$x" = "X$found_dir"; then
18767                        haveit=yes
18768                        break
18769                      fi
18770                    done
18771                    if test -z "$haveit"; then
18772                      rpathdirs="$rpathdirs $found_dir"
18773                    fi
18774                  else
18775                                                                                haveit=
18776                    for x in $LDFLAGS $LIBINTL; do
18777
18778  acl_save_prefix="$prefix"
18779  prefix="$acl_final_prefix"
18780  acl_save_exec_prefix="$exec_prefix"
18781  exec_prefix="$acl_final_exec_prefix"
18782  eval x=\"$x\"
18783  exec_prefix="$acl_save_exec_prefix"
18784  prefix="$acl_save_prefix"
18785
18786                      if test "X$x" = "X-L$found_dir"; then
18787                        haveit=yes
18788                        break
18789                      fi
18790                    done
18791                    if test -z "$haveit"; then
18792                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
18793                    fi
18794                    if test "$acl_hardcode_minus_L" != no; then
18795                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18796                    else
18797                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18798                    fi
18799                  fi
18800                fi
18801              fi
18802            else
18803              if test "X$found_a" != "X"; then
18804                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
18805              else
18806                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
18807              fi
18808            fi
18809                        additional_includedir=
18810            case "$found_dir" in
18811              */$acl_libdirstem | */$acl_libdirstem/)
18812                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18813                if test "$name" = 'intl'; then
18814                  LIBINTL_PREFIX="$basedir"
18815                fi
18816                additional_includedir="$basedir/include"
18817                ;;
18818              */$acl_libdirstem2 | */$acl_libdirstem2/)
18819                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18820                if test "$name" = 'intl'; then
18821                  LIBINTL_PREFIX="$basedir"
18822                fi
18823                additional_includedir="$basedir/include"
18824                ;;
18825            esac
18826            if test "X$additional_includedir" != "X"; then
18827                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
18828                haveit=
18829                if test "X$additional_includedir" = "X/usr/local/include"; then
18830                  if test -n "$GCC"; then
18831                    case $host_os in
18832                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18833                    esac
18834                  fi
18835                fi
18836                if test -z "$haveit"; then
18837                  for x in $CPPFLAGS $INCINTL; do
18838
18839  acl_save_prefix="$prefix"
18840  prefix="$acl_final_prefix"
18841  acl_save_exec_prefix="$exec_prefix"
18842  exec_prefix="$acl_final_exec_prefix"
18843  eval x=\"$x\"
18844  exec_prefix="$acl_save_exec_prefix"
18845  prefix="$acl_save_prefix"
18846
18847                    if test "X$x" = "X-I$additional_includedir"; then
18848                      haveit=yes
18849                      break
18850                    fi
18851                  done
18852                  if test -z "$haveit"; then
18853                    if test -d "$additional_includedir"; then
18854                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
18855                    fi
18856                  fi
18857                fi
18858              fi
18859            fi
18860                        if test -n "$found_la"; then
18861                                                        save_libdir="$libdir"
18862              case "$found_la" in
18863                */* | *\\*) . "$found_la" ;;
18864                *) . "./$found_la" ;;
18865              esac
18866              libdir="$save_libdir"
18867                            for dep in $dependency_libs; do
18868                case "$dep" in
18869                  -L*)
18870                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18871                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18872                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18873                      haveit=
18874                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18875                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18876                        if test -n "$GCC"; then
18877                          case $host_os in
18878                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18879                          esac
18880                        fi
18881                      fi
18882                      if test -z "$haveit"; then
18883                        haveit=
18884                        for x in $LDFLAGS $LIBINTL; do
18885
18886  acl_save_prefix="$prefix"
18887  prefix="$acl_final_prefix"
18888  acl_save_exec_prefix="$exec_prefix"
18889  exec_prefix="$acl_final_exec_prefix"
18890  eval x=\"$x\"
18891  exec_prefix="$acl_save_exec_prefix"
18892  prefix="$acl_save_prefix"
18893
18894                          if test "X$x" = "X-L$additional_libdir"; then
18895                            haveit=yes
18896                            break
18897                          fi
18898                        done
18899                        if test -z "$haveit"; then
18900                          if test -d "$additional_libdir"; then
18901                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
18902                          fi
18903                        fi
18904                        haveit=
18905                        for x in $LDFLAGS $LTLIBINTL; do
18906
18907  acl_save_prefix="$prefix"
18908  prefix="$acl_final_prefix"
18909  acl_save_exec_prefix="$exec_prefix"
18910  exec_prefix="$acl_final_exec_prefix"
18911  eval x=\"$x\"
18912  exec_prefix="$acl_save_exec_prefix"
18913  prefix="$acl_save_prefix"
18914
18915                          if test "X$x" = "X-L$additional_libdir"; then
18916                            haveit=yes
18917                            break
18918                          fi
18919                        done
18920                        if test -z "$haveit"; then
18921                          if test -d "$additional_libdir"; then
18922                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
18923                          fi
18924                        fi
18925                      fi
18926                    fi
18927                    ;;
18928                  -R*)
18929                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
18930                    if test "$enable_rpath" != no; then
18931                                                                  haveit=
18932                      for x in $rpathdirs; do
18933                        if test "X$x" = "X$dir"; then
18934                          haveit=yes
18935                          break
18936                        fi
18937                      done
18938                      if test -z "$haveit"; then
18939                        rpathdirs="$rpathdirs $dir"
18940                      fi
18941                                                                  haveit=
18942                      for x in $ltrpathdirs; do
18943                        if test "X$x" = "X$dir"; then
18944                          haveit=yes
18945                          break
18946                        fi
18947                      done
18948                      if test -z "$haveit"; then
18949                        ltrpathdirs="$ltrpathdirs $dir"
18950                      fi
18951                    fi
18952                    ;;
18953                  -l*)
18954                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18955                    ;;
18956                  *.la)
18957                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18958                    ;;
18959                  *)
18960                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
18961                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
18962                    ;;
18963                esac
18964              done
18965            fi
18966          else
18967                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18968            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
18969          fi
18970        fi
18971      fi
18972    done
18973  done
18974  if test "X$rpathdirs" != "X"; then
18975    if test -n "$acl_hardcode_libdir_separator"; then
18976                        alldirs=
18977      for found_dir in $rpathdirs; do
18978        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18979      done
18980            acl_save_libdir="$libdir"
18981      libdir="$alldirs"
18982      eval flag=\"$acl_hardcode_libdir_flag_spec\"
18983      libdir="$acl_save_libdir"
18984      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18985    else
18986            for found_dir in $rpathdirs; do
18987        acl_save_libdir="$libdir"
18988        libdir="$found_dir"
18989        eval flag=\"$acl_hardcode_libdir_flag_spec\"
18990        libdir="$acl_save_libdir"
18991        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18992      done
18993    fi
18994  fi
18995  if test "X$ltrpathdirs" != "X"; then
18996            for found_dir in $ltrpathdirs; do
18997      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
18998    done
18999  fi
19000
19001
19002
19003
19004
19005
19006          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
19007$as_echo_n "checking for GNU gettext in libintl... " >&6; }
19008if eval \${$gt_func_gnugettext_libintl+:} false; then :
19009  $as_echo_n "(cached) " >&6
19010else
19011  gt_save_CPPFLAGS="$CPPFLAGS"
19012            CPPFLAGS="$CPPFLAGS $INCINTL"
19013            gt_save_LIBS="$LIBS"
19014            LIBS="$LIBS $LIBINTL"
19015                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19016/* end confdefs.h.  */
19017#include <libintl.h>
19018$gt_revision_test_code
19019extern int _nl_msg_cat_cntr;
19020extern
19021#ifdef __cplusplus
19022"C"
19023#endif
19024const char *_nl_expand_alias (const char *);
19025int
19026main ()
19027{
19028bindtextdomain ("", "");
19029return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
19030  ;
19031  return 0;
19032}
19033_ACEOF
19034if ac_fn_c_try_link "$LINENO"; then :
19035  eval "$gt_func_gnugettext_libintl=yes"
19036else
19037  eval "$gt_func_gnugettext_libintl=no"
19038fi
19039rm -f core conftest.err conftest.$ac_objext \
19040    conftest$ac_exeext conftest.$ac_ext
19041                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
19042              LIBS="$LIBS $LIBICONV"
19043              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044/* end confdefs.h.  */
19045#include <libintl.h>
19046$gt_revision_test_code
19047extern int _nl_msg_cat_cntr;
19048extern
19049#ifdef __cplusplus
19050"C"
19051#endif
19052const char *_nl_expand_alias (const char *);
19053int
19054main ()
19055{
19056bindtextdomain ("", "");
19057return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
19058  ;
19059  return 0;
19060}
19061_ACEOF
19062if ac_fn_c_try_link "$LINENO"; then :
19063  LIBINTL="$LIBINTL $LIBICONV"
19064                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
19065                eval "$gt_func_gnugettext_libintl=yes"
19066
19067fi
19068rm -f core conftest.err conftest.$ac_objext \
19069    conftest$ac_exeext conftest.$ac_ext
19070            fi
19071            CPPFLAGS="$gt_save_CPPFLAGS"
19072            LIBS="$gt_save_LIBS"
19073fi
19074eval ac_res=\$$gt_func_gnugettext_libintl
19075	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19076$as_echo "$ac_res" >&6; }
19077        fi
19078
19079                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
19080           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
19081                && test "$PACKAGE" != gettext-runtime \
19082                && test "$PACKAGE" != gettext-tools; }; then
19083          gt_use_preinstalled_gnugettext=yes
19084        else
19085                    LIBINTL=
19086          LTLIBINTL=
19087          INCINTL=
19088        fi
19089
19090
19091
19092    if test -n "$INTL_MACOSX_LIBS"; then
19093      if test "$gt_use_preinstalled_gnugettext" = "yes" \
19094         || test "$nls_cv_use_gnu_gettext" = "yes"; then
19095                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
19096        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
19097      fi
19098    fi
19099
19100    if test "$gt_use_preinstalled_gnugettext" = "yes" \
19101       || test "$nls_cv_use_gnu_gettext" = "yes"; then
19102
19103$as_echo "#define ENABLE_NLS 1" >>confdefs.h
19104
19105    else
19106      USE_NLS=no
19107    fi
19108  fi
19109
19110  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
19111$as_echo_n "checking whether to use NLS... " >&6; }
19112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
19113$as_echo "$USE_NLS" >&6; }
19114  if test "$USE_NLS" = "yes"; then
19115    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
19116$as_echo_n "checking where the gettext function comes from... " >&6; }
19117    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19118      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19119        gt_source="external libintl"
19120      else
19121        gt_source="libc"
19122      fi
19123    else
19124      gt_source="included intl directory"
19125    fi
19126    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
19127$as_echo "$gt_source" >&6; }
19128  fi
19129
19130  if test "$USE_NLS" = "yes"; then
19131
19132    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19133      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19134        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
19135$as_echo_n "checking how to link with libintl... " >&6; }
19136        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
19137$as_echo "$LIBINTL" >&6; }
19138
19139  for element in $INCINTL; do
19140    haveit=
19141    for x in $CPPFLAGS; do
19142
19143  acl_save_prefix="$prefix"
19144  prefix="$acl_final_prefix"
19145  acl_save_exec_prefix="$exec_prefix"
19146  exec_prefix="$acl_final_exec_prefix"
19147  eval x=\"$x\"
19148  exec_prefix="$acl_save_exec_prefix"
19149  prefix="$acl_save_prefix"
19150
19151      if test "X$x" = "X$element"; then
19152        haveit=yes
19153        break
19154      fi
19155    done
19156    if test -z "$haveit"; then
19157      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19158    fi
19159  done
19160
19161      fi
19162
19163
19164$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19165
19166
19167$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
19168
19169    fi
19170
19171        POSUB=po
19172  fi
19173
19174
19175
19176    INTLLIBS="$LIBINTL"
19177
19178
19179
19180
19181
19182
19183
19184
19185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19186$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19187if ${ac_cv_c_const+:} false; then :
19188  $as_echo_n "(cached) " >&6
19189else
19190  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191/* end confdefs.h.  */
19192
19193int
19194main ()
19195{
19196
19197#ifndef __cplusplus
19198  /* Ultrix mips cc rejects this sort of thing.  */
19199  typedef int charset[2];
19200  const charset cs = { 0, 0 };
19201  /* SunOS 4.1.1 cc rejects this.  */
19202  char const *const *pcpcc;
19203  char **ppc;
19204  /* NEC SVR4.0.2 mips cc rejects this.  */
19205  struct point {int x, y;};
19206  static struct point const zero = {0,0};
19207  /* AIX XL C 1.02.0.0 rejects this.
19208     It does not let you subtract one const X* pointer from another in
19209     an arm of an if-expression whose if-part is not a constant
19210     expression */
19211  const char *g = "string";
19212  pcpcc = &g + (g ? g-g : 0);
19213  /* HPUX 7.0 cc rejects these. */
19214  ++pcpcc;
19215  ppc = (char**) pcpcc;
19216  pcpcc = (char const *const *) ppc;
19217  { /* SCO 3.2v4 cc rejects this sort of thing.  */
19218    char tx;
19219    char *t = &tx;
19220    char const *s = 0 ? (char *) 0 : (char const *) 0;
19221
19222    *t++ = 0;
19223    if (s) return 0;
19224  }
19225  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19226    int x[] = {25, 17};
19227    const int *foo = &x[0];
19228    ++foo;
19229  }
19230  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19231    typedef const int *iptr;
19232    iptr p = 0;
19233    ++p;
19234  }
19235  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
19236       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19237    struct s { int j; const int *ap[3]; } bx;
19238    struct s *b = &bx; b->j = 5;
19239  }
19240  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19241    const int foo = 10;
19242    if (!foo) return 0;
19243  }
19244  return !cs[0] && !zero.x;
19245#endif
19246
19247  ;
19248  return 0;
19249}
19250_ACEOF
19251if ac_fn_c_try_compile "$LINENO"; then :
19252  ac_cv_c_const=yes
19253else
19254  ac_cv_c_const=no
19255fi
19256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19257fi
19258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19259$as_echo "$ac_cv_c_const" >&6; }
19260if test $ac_cv_c_const = no; then
19261
19262$as_echo "#define const /**/" >>confdefs.h
19263
19264fi
19265
19266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
19267$as_echo_n "checking for working volatile... " >&6; }
19268if ${ac_cv_c_volatile+:} false; then :
19269  $as_echo_n "(cached) " >&6
19270else
19271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272/* end confdefs.h.  */
19273
19274int
19275main ()
19276{
19277
19278volatile int x;
19279int * volatile y = (int *) 0;
19280return !x && !y;
19281  ;
19282  return 0;
19283}
19284_ACEOF
19285if ac_fn_c_try_compile "$LINENO"; then :
19286  ac_cv_c_volatile=yes
19287else
19288  ac_cv_c_volatile=no
19289fi
19290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291fi
19292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
19293$as_echo "$ac_cv_c_volatile" >&6; }
19294if test $ac_cv_c_volatile = no; then
19295
19296$as_echo "#define volatile /**/" >>confdefs.h
19297
19298fi
19299
19300
19301# Check whether --enable-largefile was given.
19302if test "${enable_largefile+set}" = set; then :
19303  enableval=$enable_largefile;
19304fi
19305
19306if test "$enable_largefile" != no; then
19307
19308  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
19309$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
19310if ${ac_cv_sys_largefile_CC+:} false; then :
19311  $as_echo_n "(cached) " >&6
19312else
19313  ac_cv_sys_largefile_CC=no
19314     if test "$GCC" != yes; then
19315       ac_save_CC=$CC
19316       while :; do
19317	 # IRIX 6.2 and later do not support large files by default,
19318	 # so use the C compiler's -n32 option if that helps.
19319	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320/* end confdefs.h.  */
19321#include <sys/types.h>
19322 /* Check that off_t can represent 2**63 - 1 correctly.
19323    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19324    since some C++ compilers masquerading as C compilers
19325    incorrectly reject 9223372036854775807.  */
19326#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19327  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19328		       && LARGE_OFF_T % 2147483647 == 1)
19329		      ? 1 : -1];
19330int
19331main ()
19332{
19333
19334  ;
19335  return 0;
19336}
19337_ACEOF
19338	 if ac_fn_c_try_compile "$LINENO"; then :
19339  break
19340fi
19341rm -f core conftest.err conftest.$ac_objext
19342	 CC="$CC -n32"
19343	 if ac_fn_c_try_compile "$LINENO"; then :
19344  ac_cv_sys_largefile_CC=' -n32'; break
19345fi
19346rm -f core conftest.err conftest.$ac_objext
19347	 break
19348       done
19349       CC=$ac_save_CC
19350       rm -f conftest.$ac_ext
19351    fi
19352fi
19353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
19354$as_echo "$ac_cv_sys_largefile_CC" >&6; }
19355  if test "$ac_cv_sys_largefile_CC" != no; then
19356    CC=$CC$ac_cv_sys_largefile_CC
19357  fi
19358
19359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19360$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
19361if ${ac_cv_sys_file_offset_bits+:} false; then :
19362  $as_echo_n "(cached) " >&6
19363else
19364  while :; do
19365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366/* end confdefs.h.  */
19367#include <sys/types.h>
19368 /* Check that off_t can represent 2**63 - 1 correctly.
19369    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19370    since some C++ compilers masquerading as C compilers
19371    incorrectly reject 9223372036854775807.  */
19372#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19373  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19374		       && LARGE_OFF_T % 2147483647 == 1)
19375		      ? 1 : -1];
19376int
19377main ()
19378{
19379
19380  ;
19381  return 0;
19382}
19383_ACEOF
19384if ac_fn_c_try_compile "$LINENO"; then :
19385  ac_cv_sys_file_offset_bits=no; break
19386fi
19387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19388  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19389/* end confdefs.h.  */
19390#define _FILE_OFFSET_BITS 64
19391#include <sys/types.h>
19392 /* Check that off_t can represent 2**63 - 1 correctly.
19393    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19394    since some C++ compilers masquerading as C compilers
19395    incorrectly reject 9223372036854775807.  */
19396#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19397  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19398		       && LARGE_OFF_T % 2147483647 == 1)
19399		      ? 1 : -1];
19400int
19401main ()
19402{
19403
19404  ;
19405  return 0;
19406}
19407_ACEOF
19408if ac_fn_c_try_compile "$LINENO"; then :
19409  ac_cv_sys_file_offset_bits=64; break
19410fi
19411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412  ac_cv_sys_file_offset_bits=unknown
19413  break
19414done
19415fi
19416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
19417$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
19418case $ac_cv_sys_file_offset_bits in #(
19419  no | unknown) ;;
19420  *)
19421cat >>confdefs.h <<_ACEOF
19422#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19423_ACEOF
19424;;
19425esac
19426rm -rf conftest*
19427  if test $ac_cv_sys_file_offset_bits = unknown; then
19428    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
19429$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
19430if ${ac_cv_sys_large_files+:} false; then :
19431  $as_echo_n "(cached) " >&6
19432else
19433  while :; do
19434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435/* end confdefs.h.  */
19436#include <sys/types.h>
19437 /* Check that off_t can represent 2**63 - 1 correctly.
19438    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19439    since some C++ compilers masquerading as C compilers
19440    incorrectly reject 9223372036854775807.  */
19441#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19442  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19443		       && LARGE_OFF_T % 2147483647 == 1)
19444		      ? 1 : -1];
19445int
19446main ()
19447{
19448
19449  ;
19450  return 0;
19451}
19452_ACEOF
19453if ac_fn_c_try_compile "$LINENO"; then :
19454  ac_cv_sys_large_files=no; break
19455fi
19456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19457  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19458/* end confdefs.h.  */
19459#define _LARGE_FILES 1
19460#include <sys/types.h>
19461 /* Check that off_t can represent 2**63 - 1 correctly.
19462    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19463    since some C++ compilers masquerading as C compilers
19464    incorrectly reject 9223372036854775807.  */
19465#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19466  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19467		       && LARGE_OFF_T % 2147483647 == 1)
19468		      ? 1 : -1];
19469int
19470main ()
19471{
19472
19473  ;
19474  return 0;
19475}
19476_ACEOF
19477if ac_fn_c_try_compile "$LINENO"; then :
19478  ac_cv_sys_large_files=1; break
19479fi
19480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19481  ac_cv_sys_large_files=unknown
19482  break
19483done
19484fi
19485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
19486$as_echo "$ac_cv_sys_large_files" >&6; }
19487case $ac_cv_sys_large_files in #(
19488  no | unknown) ;;
19489  *)
19490cat >>confdefs.h <<_ACEOF
19491#define _LARGE_FILES $ac_cv_sys_large_files
19492_ACEOF
19493;;
19494esac
19495rm -rf conftest*
19496  fi
19497
19498
19499fi
19500
19501
19502
19503
19504  # Check whether --enable-shared-libs was given.
19505if test "${enable_shared_libs+set}" = set; then :
19506  enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval
19507else
19508  ac_cv_enable_shared_libs="yes"
19509fi
19510
19511    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5
19512$as_echo_n "checking whether to disable disable shared library support... " >&6; }
19513if ${ac_cv_enable_shared_libs+:} false; then :
19514  $as_echo_n "(cached) " >&6
19515else
19516  ac_cv_enable_shared_libs="yes"
19517fi
19518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5
19519$as_echo "$ac_cv_enable_shared_libs" >&6; }
19520
19521
19522
19523
19524  # Check whether --enable-static-executables was given.
19525if test "${enable_static_executables+set}" = set; then :
19526  enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval
19527else
19528  ac_cv_enable_static_executables=no
19529fi
19530
19531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5
19532$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; }
19533if ${ac_cv_enable_static_executables+:} false; then :
19534  $as_echo_n "(cached) " >&6
19535else
19536  ac_cv_enable_static_executables=no
19537fi
19538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5
19539$as_echo "$ac_cv_enable_static_executables" >&6; }
19540
19541  if test "x$ac_cv_enable_static_executables" != xno; then :
19542  STATIC_LDFLAGS="-all-static";
19543
19544
19545
19546    ac_cv_enable_static_executables=yes
19547    enable_shared=no
19548fi
19549
19550
19551
19552
19553  # Check whether --enable-winapi was given.
19554if test "${enable_winapi+set}" = set; then :
19555  enableval=$enable_winapi; ac_cv_enable_winapi=$enableval
19556else
19557  ac_cv_enable_winapi=auto-detect
19558fi
19559
19560    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5
19561$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; }
19562if ${ac_cv_enable_winapi+:} false; then :
19563  $as_echo_n "(cached) " >&6
19564else
19565  ac_cv_enable_winapi=auto-detect
19566fi
19567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5
19568$as_echo "$ac_cv_enable_winapi" >&6; }
19569
19570  if test "x$ac_cv_enable_winapi" = xauto-detect; then :
19571  ac_common_check_winapi_target_string="$target"
19572
19573    if test "x$ac_common_check_winapi_target_string" = x; then :
19574  ac_common_check_winapi_target_string="$host"
19575fi
19576
19577    case $ac_common_check_winapi_target_string in #(
19578  *mingw*) :
19579    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5
19580$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;}
19581        ac_cv_enable_winapi=yes ;; #(
19582  *msys*) :
19583    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5
19584$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;}
19585        ac_cv_enable_winapi=yes ;; #(
19586  *) :
19587    ac_cv_enable_winapi=no ;; #(
19588  *) :
19589     ;;
19590esac
19591
19592fi
19593
19594
19595
19596
19597  # Check whether --enable-wide-character-type was given.
19598if test "${enable_wide_character_type+set}" = set; then :
19599  enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval
19600else
19601  ac_cv_enable_wide_character_type=no
19602fi
19603
19604    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5
19605$as_echo_n "checking whether to enable enable wide character type support... " >&6; }
19606if ${ac_cv_enable_wide_character_type+:} false; then :
19607  $as_echo_n "(cached) " >&6
19608else
19609  ac_cv_enable_wide_character_type=no
19610fi
19611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5
19612$as_echo "$ac_cv_enable_wide_character_type" >&6; }
19613
19614
19615
19616
19617  # Check whether --enable-verbose-output was given.
19618if test "${enable_verbose_output+set}" = set; then :
19619  enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval
19620else
19621  ac_cv_enable_verbose_output=no
19622fi
19623
19624    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5
19625$as_echo_n "checking whether to enable enable verbose output... " >&6; }
19626if ${ac_cv_enable_verbose_output+:} false; then :
19627  $as_echo_n "(cached) " >&6
19628else
19629  ac_cv_enable_verbose_output=no
19630fi
19631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5
19632$as_echo "$ac_cv_enable_verbose_output" >&6; }
19633
19634  if test "x$ac_cv_enable_verbose_output" != xno ; then :
19635
19636$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h
19637
19638
19639    ac_cv_enable_verbose_output=yes
19640fi
19641
19642
19643
19644
19645  # Check whether --enable-debug-output was given.
19646if test "${enable_debug_output+set}" = set; then :
19647  enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval
19648else
19649  ac_cv_enable_debug_output=no
19650fi
19651
19652    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5
19653$as_echo_n "checking whether to enable enable debug output... " >&6; }
19654if ${ac_cv_enable_debug_output+:} false; then :
19655  $as_echo_n "(cached) " >&6
19656else
19657  ac_cv_enable_debug_output=no
19658fi
19659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5
19660$as_echo "$ac_cv_enable_debug_output" >&6; }
19661
19662  if test "x$ac_cv_enable_debug_output" != xno ; then :
19663
19664$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h
19665
19666
19667    ac_cv_enable_debug_output=yes
19668fi
19669
19670
19671if test "x$ac_cv_enable_winapi" = xyes; then :
19672  ac_cv_enable_wide_character_type=yes
19673fi
19674
19675 if test "x$ac_cv_enable_wide_character_type" = xyes; then :
19676
19677$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h
19678
19679  HAVE_WIDE_CHARACTER_TYPE=1
19680
19681else
19682  HAVE_WIDE_CHARACTER_TYPE=0
19683
19684
19685fi
19686
19687 for ac_header in sys/types.h inttypes.h stdint.h wchar.h
19688do :
19689  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19690ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19691if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19692  cat >>confdefs.h <<_ACEOF
19693#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19694_ACEOF
19695
19696fi
19697
19698done
19699
19700
19701 if test "x$ac_cv_header_sys_types_h" = xyes; then :
19702  HAVE_SYS_TYPES_H=1
19703
19704else
19705  HAVE_SYS_TYPES_H=0
19706
19707
19708fi
19709
19710 if test "x$ac_cv_header_inttypes_h" = xyes; then :
19711  HAVE_INTTYPES_H=1
19712
19713else
19714  HAVE_INTTYPES_H=0
19715
19716
19717fi
19718
19719 if test "x$ac_cv_header_stdint_h" = xyes; then :
19720  HAVE_STDINT_H=1
19721
19722else
19723  HAVE_STDINT_H=0
19724
19725
19726fi
19727
19728 if test "x$ac_cv_header_wchar_h" = xyes; then :
19729  HAVE_WCHAR_H=1
19730
19731else
19732  HAVE_WCHAR_H=0
19733
19734
19735fi
19736
19737 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
19738if test "x$ac_cv_type_mode_t" = xyes; then :
19739
19740else
19741
19742cat >>confdefs.h <<_ACEOF
19743#define mode_t int
19744_ACEOF
19745
19746fi
19747
19748 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
19749if test "x$ac_cv_type_off_t" = xyes; then :
19750
19751else
19752
19753cat >>confdefs.h <<_ACEOF
19754#define off_t long int
19755_ACEOF
19756
19757fi
19758
19759 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19760if test "x$ac_cv_type_size_t" = xyes; then :
19761
19762else
19763
19764cat >>confdefs.h <<_ACEOF
19765#define size_t unsigned int
19766_ACEOF
19767
19768fi
19769
19770
19771 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default"
19772if test "x$ac_cv_type_size32_t" = xyes; then :
19773  HAVE_SIZE32_T=1
19774
19775else
19776  HAVE_SIZE32_T=0
19777
19778
19779fi
19780
19781
19782 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default"
19783if test "x$ac_cv_type_ssize32_t" = xyes; then :
19784  HAVE_SSIZE32_T=1
19785
19786else
19787  HAVE_SSIZE32_T=0
19788
19789
19790fi
19791
19792
19793 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default"
19794if test "x$ac_cv_type_size64_t" = xyes; then :
19795  HAVE_SIZE64_T=1
19796
19797else
19798  HAVE_SIZE64_T=0
19799
19800
19801fi
19802
19803
19804 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default"
19805if test "x$ac_cv_type_ssize64_t" = xyes; then :
19806  HAVE_SSIZE64_T=1
19807
19808else
19809  HAVE_SSIZE64_T=0
19810
19811
19812fi
19813
19814
19815 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
19816if test "x$ac_cv_type_off64_t" = xyes; then :
19817  HAVE_OFF64_T=1
19818
19819else
19820  HAVE_OFF64_T=0
19821
19822
19823fi
19824
19825
19826 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
19827if test "x$ac_cv_type_ssize_t" = xyes; then :
19828
19829fi
19830
19831 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default"
19832if test "x$ac_cv_type_u64" = xyes; then :
19833
19834fi
19835
19836
19837 # The cast to long int works around a bug in the HP C Compiler
19838# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19839# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19840# This bug is HP SR number 8606223364.
19841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
19842$as_echo_n "checking size of int... " >&6; }
19843if ${ac_cv_sizeof_int+:} false; then :
19844  $as_echo_n "(cached) " >&6
19845else
19846  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
19847
19848else
19849  if test "$ac_cv_type_int" = yes; then
19850     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19851$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19852as_fn_error 77 "cannot compute sizeof (int)
19853See \`config.log' for more details" "$LINENO" 5; }
19854   else
19855     ac_cv_sizeof_int=0
19856   fi
19857fi
19858
19859fi
19860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
19861$as_echo "$ac_cv_sizeof_int" >&6; }
19862
19863
19864
19865cat >>confdefs.h <<_ACEOF
19866#define SIZEOF_INT $ac_cv_sizeof_int
19867_ACEOF
19868
19869
19870 # The cast to long int works around a bug in the HP C Compiler
19871# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19872# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19873# This bug is HP SR number 8606223364.
19874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
19875$as_echo_n "checking size of long... " >&6; }
19876if ${ac_cv_sizeof_long+:} false; then :
19877  $as_echo_n "(cached) " >&6
19878else
19879  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
19880
19881else
19882  if test "$ac_cv_type_long" = yes; then
19883     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19885as_fn_error 77 "cannot compute sizeof (long)
19886See \`config.log' for more details" "$LINENO" 5; }
19887   else
19888     ac_cv_sizeof_long=0
19889   fi
19890fi
19891
19892fi
19893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
19894$as_echo "$ac_cv_sizeof_long" >&6; }
19895
19896
19897
19898cat >>confdefs.h <<_ACEOF
19899#define SIZEOF_LONG $ac_cv_sizeof_long
19900_ACEOF
19901
19902
19903 # The cast to long int works around a bug in the HP C Compiler
19904# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19905# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19906# This bug is HP SR number 8606223364.
19907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
19908$as_echo_n "checking size of off_t... " >&6; }
19909if ${ac_cv_sizeof_off_t+:} false; then :
19910  $as_echo_n "(cached) " >&6
19911else
19912  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
19913
19914else
19915  if test "$ac_cv_type_off_t" = yes; then
19916     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19917$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19918as_fn_error 77 "cannot compute sizeof (off_t)
19919See \`config.log' for more details" "$LINENO" 5; }
19920   else
19921     ac_cv_sizeof_off_t=0
19922   fi
19923fi
19924
19925fi
19926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
19927$as_echo "$ac_cv_sizeof_off_t" >&6; }
19928
19929
19930
19931cat >>confdefs.h <<_ACEOF
19932#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
19933_ACEOF
19934
19935
19936 # The cast to long int works around a bug in the HP C Compiler
19937# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19938# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19939# This bug is HP SR number 8606223364.
19940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
19941$as_echo_n "checking size of size_t... " >&6; }
19942if ${ac_cv_sizeof_size_t+:} false; then :
19943  $as_echo_n "(cached) " >&6
19944else
19945  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
19946
19947else
19948  if test "$ac_cv_type_size_t" = yes; then
19949     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19950$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19951as_fn_error 77 "cannot compute sizeof (size_t)
19952See \`config.log' for more details" "$LINENO" 5; }
19953   else
19954     ac_cv_sizeof_size_t=0
19955   fi
19956fi
19957
19958fi
19959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
19960$as_echo "$ac_cv_sizeof_size_t" >&6; }
19961
19962
19963
19964cat >>confdefs.h <<_ACEOF
19965#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19966_ACEOF
19967
19968
19969
19970 if test "x$ac_cv_header_wchar_h" = xyes; then :
19971  # The cast to long int works around a bug in the HP C Compiler
19972# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19973# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19974# This bug is HP SR number 8606223364.
19975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
19976$as_echo_n "checking size of wchar_t... " >&6; }
19977if ${ac_cv_sizeof_wchar_t+:} false; then :
19978  $as_echo_n "(cached) " >&6
19979else
19980  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "$ac_includes_default"; then :
19981
19982else
19983  if test "$ac_cv_type_wchar_t" = yes; 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 77 "cannot compute sizeof (wchar_t)
19987See \`config.log' for more details" "$LINENO" 5; }
19988   else
19989     ac_cv_sizeof_wchar_t=0
19990   fi
19991fi
19992
19993fi
19994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
19995$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
19996
19997
19998
19999cat >>confdefs.h <<_ACEOF
20000#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20001_ACEOF
20002
20003
20004fi
20005
20006
20007
20008    if test "x$ac_cv_enable_winapi" = xyes; then :
20009  for ac_header in windows.h
20010do :
20011  ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
20012if test "x$ac_cv_header_windows_h" = xyes; then :
20013  cat >>confdefs.h <<_ACEOF
20014#define HAVE_WINDOWS_H 1
20015_ACEOF
20016
20017fi
20018
20019done
20020
20021
20022    if test "x$ac_cv_header_windows_h" = xno; then :
20023  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20024$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20025as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support
20026See \`config.log' for more details" "$LINENO" 5; }
20027
20028fi
20029
20030fi
20031
20032  if test "x$ac_cv_enable_winapi" = xno; then :
20033  for ac_header in libintl.h
20034do :
20035  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
20036if test "x$ac_cv_header_libintl_h" = xyes; then :
20037  cat >>confdefs.h <<_ACEOF
20038#define HAVE_LIBINTL_H 1
20039_ACEOF
20040
20041fi
20042
20043done
20044
20045
20046fi
20047
20048    for ac_header in limits.h
20049do :
20050  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
20051if test "x$ac_cv_header_limits_h" = xyes; then :
20052  cat >>confdefs.h <<_ACEOF
20053#define HAVE_LIMITS_H 1
20054_ACEOF
20055
20056fi
20057
20058done
20059
20060
20061    for ac_header in stdlib.h string.h
20062do :
20063  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20064ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20065if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20066  cat >>confdefs.h <<_ACEOF
20067#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20068_ACEOF
20069
20070fi
20071
20072done
20073
20074
20075    for ac_header in wchar.h wctype.h
20076do :
20077  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20078ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20079if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20080  cat >>confdefs.h <<_ACEOF
20081#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20082_ACEOF
20083
20084fi
20085
20086done
20087
20088
20089    for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf
20090do :
20091  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20092ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20093if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20094  cat >>confdefs.h <<_ACEOF
20095#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20096_ACEOF
20097
20098fi
20099done
20100
20101
20102  if test "x$ac_cv_func_fclose" != xyes; then :
20103  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20104$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20105as_fn_error 1 "Missing function: fclose
20106See \`config.log' for more details" "$LINENO" 5; }
20107
20108fi
20109
20110  if test "x$ac_cv_func_feof" != xyes; then :
20111  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20113as_fn_error 1 "Missing function: feof
20114See \`config.log' for more details" "$LINENO" 5; }
20115
20116fi
20117
20118  if test "x$ac_cv_func_fgets" != xyes; then :
20119  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20120$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20121as_fn_error 1 "Missing function: fgets
20122See \`config.log' for more details" "$LINENO" 5; }
20123
20124fi
20125
20126  if test "x$ac_cv_func_fopen" != xyes; then :
20127  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20128$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20129as_fn_error 1 "Missing function: fopen
20130See \`config.log' for more details" "$LINENO" 5; }
20131
20132fi
20133
20134  if test "x$ac_cv_func_fread" != xyes; then :
20135  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20136$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20137as_fn_error 1 "Missing function: fread
20138See \`config.log' for more details" "$LINENO" 5; }
20139
20140fi
20141
20142  if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then :
20143  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20144$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20145as_fn_error 1 "Missing function: fseeko and fseeko64
20146See \`config.log' for more details" "$LINENO" 5; }
20147
20148fi
20149
20150  if test "x$ac_cv_func_fwrite" != xyes; then :
20151  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20152$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20153as_fn_error 1 "Missing function: fwrite
20154See \`config.log' for more details" "$LINENO" 5; }
20155
20156fi
20157
20158  if test "x$ac_cv_func_vfprintf" != xyes; then :
20159  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20161as_fn_error 1 "Missing function: vfprintf
20162See \`config.log' for more details" "$LINENO" 5; }
20163
20164fi
20165
20166  if test "x$ac_cv_enable_wide_character_type" != xno; then :
20167  for ac_func in fgetws
20168do :
20169  ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws"
20170if test "x$ac_cv_func_fgetws" = xyes; then :
20171  cat >>confdefs.h <<_ACEOF
20172#define HAVE_FGETWS 1
20173_ACEOF
20174
20175fi
20176done
20177
20178
20179    if test "x$ac_cv_func_fgetws" != 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: fgetws
20183See \`config.log' for more details" "$LINENO" 5; }
20184
20185fi
20186
20187fi
20188
20189    for ac_func in free malloc memcmp memcpy memset realloc
20190do :
20191  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20192ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20193if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20194  cat >>confdefs.h <<_ACEOF
20195#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20196_ACEOF
20197
20198fi
20199done
20200
20201
20202  if test "x$ac_cv_func_free" != xyes; then :
20203  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20205as_fn_error 1 "Missing function: free
20206See \`config.log' for more details" "$LINENO" 5; }
20207
20208fi
20209
20210  if test "x$ac_cv_func_malloc" != xyes; then :
20211  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20213as_fn_error 1 "Missing function: malloc
20214See \`config.log' for more details" "$LINENO" 5; }
20215
20216fi
20217
20218  if test "x$ac_cv_func_memcmp" != xyes; then :
20219  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20220$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20221as_fn_error 1 "Missing function: memcmp
20222See \`config.log' for more details" "$LINENO" 5; }
20223
20224fi
20225
20226  if test "x$ac_cv_func_memcpy" != xyes; then :
20227  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20228$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20229as_fn_error 1 "Missing function: memcpy
20230See \`config.log' for more details" "$LINENO" 5; }
20231
20232fi
20233
20234  if test "x$ac_cv_func_memset" != xyes; then :
20235  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20237as_fn_error 1 "Missing function: memset
20238See \`config.log' for more details" "$LINENO" 5; }
20239
20240fi
20241
20242  if test "x$ac_cv_func_realloc" != xyes; then :
20243  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20245as_fn_error 1 "Missing function: realloc
20246See \`config.log' for more details" "$LINENO" 5; }
20247
20248fi
20249
20250    for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf
20251do :
20252  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20253ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20254if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20255  cat >>confdefs.h <<_ACEOF
20256#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20257_ACEOF
20258
20259fi
20260done
20261
20262
20263  if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then :
20264  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20266as_fn_error 1 "Missing functions: memchr and strchr
20267See \`config.log' for more details" "$LINENO" 5; }
20268
20269fi
20270
20271  if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then :
20272  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20273$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20274as_fn_error 1 "Missing functions: memcmp and strncmp
20275See \`config.log' for more details" "$LINENO" 5; }
20276
20277fi
20278
20279  if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then :
20280  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20282as_fn_error 1 "Missing functions: memcpy and strncpy
20283See \`config.log' for more details" "$LINENO" 5; }
20284
20285fi
20286
20287  if test "x$ac_cv_func_memrchr" = xyes; then :
20288  ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
20289if test "x$ac_cv_have_decl_memrchr" = xyes; then :
20290  ac_have_decl=1
20291else
20292  ac_have_decl=0
20293fi
20294
20295cat >>confdefs.h <<_ACEOF
20296#define HAVE_DECL_MEMRCHR $ac_have_decl
20297_ACEOF
20298
20299
20300    if test "x$ac_cv_decl_memrchr" != xyes; then :
20301  ac_cv_func_memrchr=no
20302fi
20303
20304fi
20305
20306  if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then :
20307  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20309as_fn_error 1 "Missing functions: strrchr and memrchr
20310See \`config.log' for more details" "$LINENO" 5; }
20311
20312fi
20313
20314  if test "x$ac_cv_func_snprintf" != xyes; then :
20315  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20317as_fn_error 1 "Missing function: snprintf
20318See \`config.log' for more details" "$LINENO" 5; }
20319
20320fi
20321
20322  if test "x$ac_cv_func_sscanf" != xyes; then :
20323  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20325as_fn_error 1 "Missing function: sscanf
20326See \`config.log' for more details" "$LINENO" 5; }
20327
20328fi
20329
20330  if test "x$ac_cv_func_strlen" != xyes; then :
20331  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20333as_fn_error 1 "Missing function: strlen
20334See \`config.log' for more details" "$LINENO" 5; }
20335
20336fi
20337
20338  if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then :
20339  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20341as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp
20342See \`config.log' for more details" "$LINENO" 5; }
20343
20344fi
20345
20346  if test "x$ac_cv_func_strstr" != xyes; then :
20347  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20348$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20349as_fn_error 1 "Missing function: strstr
20350See \`config.log' for more details" "$LINENO" 5; }
20351
20352fi
20353
20354  if test "x$ac_cv_func_vsnprintf" != xyes; then :
20355  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20357as_fn_error 1 "Missing function: vsnprintf
20358See \`config.log' for more details" "$LINENO" 5; }
20359
20360fi
20361
20362    if test "x$ac_cv_enable_wide_character_type" != xno; then :
20363  for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr
20364do :
20365  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20366ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20367if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20368  cat >>confdefs.h <<_ACEOF
20369#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20370_ACEOF
20371
20372fi
20373done
20374
20375
20376    if test "x$ac_cv_func_swprintf" != xyes; then :
20377  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20378$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20379as_fn_error 1 "Missing function: swprintf
20380See \`config.log' for more details" "$LINENO" 5; }
20381
20382fi
20383
20384    if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then :
20385  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20386$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20387as_fn_error 1 "Missing functions: wmemchr and wcschr
20388See \`config.log' for more details" "$LINENO" 5; }
20389
20390fi
20391
20392    if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then :
20393  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20394$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20395as_fn_error 1 "Missing functions: wmemcmp and wcsncmp
20396See \`config.log' for more details" "$LINENO" 5; }
20397
20398fi
20399
20400    if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then :
20401  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20403as_fn_error 1 "Missing functions: wmemcpy and wcsncpy
20404See \`config.log' for more details" "$LINENO" 5; }
20405
20406fi
20407
20408    if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then :
20409  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20410$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20411as_fn_error 1 "Missing functions: wmemrchr and wcsrchr
20412See \`config.log' for more details" "$LINENO" 5; }
20413
20414fi
20415
20416    if test "x$ac_cv_func_wcslen" != xyes; then :
20417  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20419as_fn_error 1 "Missing function: wcslen
20420See \`config.log' for more details" "$LINENO" 5; }
20421
20422fi
20423
20424    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 :
20425  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20426$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20427as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower
20428See \`config.log' for more details" "$LINENO" 5; }
20429
20430fi
20431
20432    if test "x$ac_cv_func_wcsstr" != xyes; then :
20433  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20435as_fn_error 1 "Missing function: wcsstr
20436See \`config.log' for more details" "$LINENO" 5; }
20437
20438fi
20439
20440fi
20441
20442
20443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5
20444$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; }
20445
20446  SAVE_CFLAGS="$CFLAGS"
20447  CFLAGS="$CFLAGS -Wall -Werror"
20448  ac_ext=c
20449ac_cpp='$CPP $CPPFLAGS'
20450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20452ac_compiler_gnu=$ac_cv_c_compiler_gnu
20453
20454
20455    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456/* end confdefs.h.  */
20457#include <stdio.h>
20458int
20459main ()
20460{
20461printf( "%jd" );
20462  ;
20463  return 0;
20464}
20465_ACEOF
20466if ac_fn_c_try_link "$LINENO"; then :
20467  ac_cv_cv_have_printf_jd=no
20468else
20469  ac_cv_cv_have_printf_jd=yes
20470fi
20471rm -f core conftest.err conftest.$ac_objext \
20472    conftest$ac_exeext conftest.$ac_ext
20473
20474    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20475  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20476/* end confdefs.h.  */
20477#include <sys/types.h>
20478#include <stdio.h>
20479int
20480main ()
20481{
20482printf( "%jd", (off_t) 10 );
20483  ;
20484  return 0;
20485}
20486_ACEOF
20487if ac_fn_c_try_link "$LINENO"; then :
20488  ac_cv_cv_have_printf_jd=yes
20489else
20490  ac_cv_cv_have_printf_jd=no
20491fi
20492rm -f core conftest.err conftest.$ac_objext \
20493    conftest$ac_exeext conftest.$ac_ext
20494
20495fi
20496
20497    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20498  if test "$cross_compiling" = yes; then :
20499  ac_cv_cv_have_printf_jd=undetermined
20500else
20501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20502/* end confdefs.h.  */
20503#include <sys/types.h>
20504#include <stdio.h>
20505int
20506main ()
20507{
20508char string[ 3 ];
20509if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 );
20510if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
20511  ;
20512  return 0;
20513}
20514_ACEOF
20515if ac_fn_c_try_run "$LINENO"; then :
20516  ac_cv_cv_have_printf_jd=yes
20517else
20518  ac_cv_cv_have_printf_jd=no
20519fi
20520rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20521  conftest.$ac_objext conftest.beam conftest.$ac_ext
20522fi
20523
20524
20525fi
20526
20527  ac_ext=c
20528ac_cpp='$CPP $CPPFLAGS'
20529ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20530ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20531ac_compiler_gnu=$ac_cv_c_compiler_gnu
20532
20533  CFLAGS="$SAVE_CFLAGS"
20534
20535  if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20537$as_echo "yes" >&6; }
20538
20539$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h
20540
20541else
20542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5
20543$as_echo "$ac_cv_cv_have_printf_jd" >&6; }
20544
20545fi
20546
20547
20548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5
20549$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; }
20550
20551  SAVE_CFLAGS="$CFLAGS"
20552  CFLAGS="$CFLAGS -Wall -Werror"
20553  ac_ext=c
20554ac_cpp='$CPP $CPPFLAGS'
20555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20557ac_compiler_gnu=$ac_cv_c_compiler_gnu
20558
20559
20560    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20561/* end confdefs.h.  */
20562#include <stdio.h>
20563int
20564main ()
20565{
20566printf( "%zd" );
20567  ;
20568  return 0;
20569}
20570_ACEOF
20571if ac_fn_c_try_link "$LINENO"; then :
20572  ac_cv_cv_have_printf_zd=no
20573else
20574  ac_cv_cv_have_printf_zd=yes
20575fi
20576rm -f core conftest.err conftest.$ac_objext \
20577    conftest$ac_exeext conftest.$ac_ext
20578
20579    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20580  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20581/* end confdefs.h.  */
20582#include <sys/types.h>
20583#include <stdio.h>
20584int
20585main ()
20586{
20587printf( "%zd", (size_t) 10 );
20588  ;
20589  return 0;
20590}
20591_ACEOF
20592if ac_fn_c_try_link "$LINENO"; then :
20593  ac_cv_cv_have_printf_zd=yes
20594else
20595  ac_cv_cv_have_printf_zd=no
20596fi
20597rm -f core conftest.err conftest.$ac_objext \
20598    conftest$ac_exeext conftest.$ac_ext
20599
20600fi
20601
20602    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20603  if test "$cross_compiling" = yes; then :
20604  ac_cv_cv_have_printf_zd=undetermined
20605else
20606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607/* end confdefs.h.  */
20608#include <sys/types.h>
20609#include <stdio.h>
20610int
20611main ()
20612{
20613char string[ 3 ];
20614if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 );
20615if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
20616  ;
20617  return 0;
20618}
20619_ACEOF
20620if ac_fn_c_try_run "$LINENO"; then :
20621  ac_cv_cv_have_printf_zd=yes
20622else
20623  ac_cv_cv_have_printf_zd=no
20624fi
20625rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20626  conftest.$ac_objext conftest.beam conftest.$ac_ext
20627fi
20628
20629
20630fi
20631
20632  ac_ext=c
20633ac_cpp='$CPP $CPPFLAGS'
20634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20636ac_compiler_gnu=$ac_cv_c_compiler_gnu
20637
20638  CFLAGS="$SAVE_CFLAGS"
20639
20640  if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20642$as_echo "yes" >&6; }
20643
20644$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h
20645
20646else
20647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5
20648$as_echo "$ac_cv_cv_have_printf_zd" >&6; }
20649
20650fi
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20662	if test -n "$ac_tool_prefix"; then
20663  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20664set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20666$as_echo_n "checking for $ac_word... " >&6; }
20667if ${ac_cv_path_PKG_CONFIG+:} false; then :
20668  $as_echo_n "(cached) " >&6
20669else
20670  case $PKG_CONFIG in
20671  [\\/]* | ?:[\\/]*)
20672  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20673  ;;
20674  *)
20675  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20676for as_dir in $PATH
20677do
20678  IFS=$as_save_IFS
20679  test -z "$as_dir" && as_dir=.
20680    for ac_exec_ext in '' $ac_executable_extensions; do
20681  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20682    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20683    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20684    break 2
20685  fi
20686done
20687  done
20688IFS=$as_save_IFS
20689
20690  ;;
20691esac
20692fi
20693PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20694if test -n "$PKG_CONFIG"; then
20695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20696$as_echo "$PKG_CONFIG" >&6; }
20697else
20698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20699$as_echo "no" >&6; }
20700fi
20701
20702
20703fi
20704if test -z "$ac_cv_path_PKG_CONFIG"; then
20705  ac_pt_PKG_CONFIG=$PKG_CONFIG
20706  # Extract the first word of "pkg-config", so it can be a program name with args.
20707set dummy pkg-config; ac_word=$2
20708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20709$as_echo_n "checking for $ac_word... " >&6; }
20710if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
20711  $as_echo_n "(cached) " >&6
20712else
20713  case $ac_pt_PKG_CONFIG in
20714  [\\/]* | ?:[\\/]*)
20715  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20716  ;;
20717  *)
20718  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20719for as_dir in $PATH
20720do
20721  IFS=$as_save_IFS
20722  test -z "$as_dir" && as_dir=.
20723    for ac_exec_ext in '' $ac_executable_extensions; do
20724  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20725    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20726    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20727    break 2
20728  fi
20729done
20730  done
20731IFS=$as_save_IFS
20732
20733  ;;
20734esac
20735fi
20736ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20737if test -n "$ac_pt_PKG_CONFIG"; then
20738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20739$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20740else
20741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20742$as_echo "no" >&6; }
20743fi
20744
20745  if test "x$ac_pt_PKG_CONFIG" = x; then
20746    PKG_CONFIG=""
20747  else
20748    case $cross_compiling:$ac_tool_warned in
20749yes:)
20750{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20751$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20752ac_tool_warned=yes ;;
20753esac
20754    PKG_CONFIG=$ac_pt_PKG_CONFIG
20755  fi
20756else
20757  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20758fi
20759
20760fi
20761if test -n "$PKG_CONFIG"; then
20762	_pkg_min_version=0.9.0
20763	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20764$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20765	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20766		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20767$as_echo "yes" >&6; }
20768	else
20769		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20770$as_echo "no" >&6; }
20771		PKG_CONFIG=""
20772	fi
20773fi
20774
20775
20776# Check whether --with-libcerror was given.
20777if test "${with_libcerror+set}" = set; then :
20778  withval=$with_libcerror; ac_cv_with_libcerror=$withval
20779else
20780  ac_cv_with_libcerror=auto-detect
20781fi
20782
20783    { $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
20784$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; }
20785if ${ac_cv_with_libcerror+:} false; then :
20786  $as_echo_n "(cached) " >&6
20787else
20788  ac_cv_with_libcerror=auto-detect
20789fi
20790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5
20791$as_echo "$ac_cv_with_libcerror" >&6; }
20792
20793    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then :
20794  ac_cv_libcerror=no
20795else
20796  ac_cv_libcerror=check
20797        if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then :
20798  if test -d "$ac_cv_with_libcerror"; then :
20799  CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include"
20800        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib"
20801else
20802  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20803$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20804as_fn_error 1 "no such directory: $ac_cv_with_libcerror
20805See \`config.log' for more details" "$LINENO" 5; }
20806
20807fi
20808
20809else
20810        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
20811
20812pkg_failed=no
20813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5
20814$as_echo_n "checking for libcerror... " >&6; }
20815
20816if test -n "$libcerror_CFLAGS"; then
20817    pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS"
20818 elif test -n "$PKG_CONFIG"; then
20819    if test -n "$PKG_CONFIG" && \
20820    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
20821  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
20822  ac_status=$?
20823  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20824  test $ac_status = 0; }; then
20825  pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null`
20826		      test "x$?" != "x0" && pkg_failed=yes
20827else
20828  pkg_failed=yes
20829fi
20830 else
20831    pkg_failed=untried
20832fi
20833if test -n "$libcerror_LIBS"; then
20834    pkg_cv_libcerror_LIBS="$libcerror_LIBS"
20835 elif test -n "$PKG_CONFIG"; then
20836    if test -n "$PKG_CONFIG" && \
20837    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
20838  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
20839  ac_status=$?
20840  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20841  test $ac_status = 0; }; then
20842  pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null`
20843		      test "x$?" != "x0" && pkg_failed=yes
20844else
20845  pkg_failed=yes
20846fi
20847 else
20848    pkg_failed=untried
20849fi
20850
20851
20852
20853if test $pkg_failed = yes; then
20854   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20855$as_echo "no" >&6; }
20856
20857if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20858        _pkg_short_errors_supported=yes
20859else
20860        _pkg_short_errors_supported=no
20861fi
20862        if test $_pkg_short_errors_supported = yes; then
20863	        libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
20864        else
20865	        libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
20866        fi
20867	# Put the nasty error message in config.log where it belongs
20868	echo "$libcerror_PKG_ERRORS" >&5
20869
20870	ac_cv_libcerror=check
20871elif test $pkg_failed = untried; then
20872     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20873$as_echo "no" >&6; }
20874	ac_cv_libcerror=check
20875else
20876	libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS
20877	libcerror_LIBS=$pkg_cv_libcerror_LIBS
20878        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20879$as_echo "yes" >&6; }
20880	ac_cv_libcerror=yes
20881fi
20882
20883fi
20884      if test "x$ac_cv_libcerror" = xyes; then :
20885  ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS"
20886        ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS"
20887fi
20888
20889fi
20890
20891    if test "x$ac_cv_libcerror" = xcheck; then :
20892        for ac_header in libcerror.h
20893do :
20894  ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default"
20895if test "x$ac_cv_header_libcerror_h" = xyes; then :
20896  cat >>confdefs.h <<_ACEOF
20897#define HAVE_LIBCERROR_H 1
20898_ACEOF
20899
20900fi
20901
20902done
20903
20904
20905      if test "x$ac_cv_header_libcerror_h" = xno; then :
20906  ac_cv_libcerror=no
20907else
20908          ac_cv_libcerror=yes
20909
20910        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5
20911$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; }
20912if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then :
20913  $as_echo_n "(cached) " >&6
20914else
20915  ac_check_lib_save_LIBS=$LIBS
20916LIBS="-lcerror  $LIBS"
20917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918/* end confdefs.h.  */
20919
20920/* Override any GCC internal prototype to avoid an error.
20921   Use char because int might match the return type of a GCC
20922   builtin and then its argument prototype would still apply.  */
20923#ifdef __cplusplus
20924extern "C"
20925#endif
20926char libcerror_get_version ();
20927int
20928main ()
20929{
20930return libcerror_get_version ();
20931  ;
20932  return 0;
20933}
20934_ACEOF
20935if ac_fn_c_try_link "$LINENO"; then :
20936  ac_cv_lib_cerror_libcerror_get_version=yes
20937else
20938  ac_cv_lib_cerror_libcerror_get_version=no
20939fi
20940rm -f core conftest.err conftest.$ac_objext \
20941    conftest$ac_exeext conftest.$ac_ext
20942LIBS=$ac_check_lib_save_LIBS
20943fi
20944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5
20945$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; }
20946if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then :
20947  ac_cv_libcerror_dummy=yes
20948else
20949  ac_cv_libcerror=no
20950fi
20951
20952
20953                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5
20954$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; }
20955if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then :
20956  $as_echo_n "(cached) " >&6
20957else
20958  ac_check_lib_save_LIBS=$LIBS
20959LIBS="-lcerror  $LIBS"
20960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961/* end confdefs.h.  */
20962
20963/* Override any GCC internal prototype to avoid an error.
20964   Use char because int might match the return type of a GCC
20965   builtin and then its argument prototype would still apply.  */
20966#ifdef __cplusplus
20967extern "C"
20968#endif
20969char libcerror_error_free ();
20970int
20971main ()
20972{
20973return libcerror_error_free ();
20974  ;
20975  return 0;
20976}
20977_ACEOF
20978if ac_fn_c_try_link "$LINENO"; then :
20979  ac_cv_lib_cerror_libcerror_error_free=yes
20980else
20981  ac_cv_lib_cerror_libcerror_error_free=no
20982fi
20983rm -f core conftest.err conftest.$ac_objext \
20984    conftest$ac_exeext conftest.$ac_ext
20985LIBS=$ac_check_lib_save_LIBS
20986fi
20987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5
20988$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; }
20989if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then :
20990  ac_cv_libcerror_dummy=yes
20991else
20992  ac_cv_libcerror=no
20993fi
20994
20995        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5
20996$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; }
20997if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then :
20998  $as_echo_n "(cached) " >&6
20999else
21000  ac_check_lib_save_LIBS=$LIBS
21001LIBS="-lcerror  $LIBS"
21002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003/* end confdefs.h.  */
21004
21005/* Override any GCC internal prototype to avoid an error.
21006   Use char because int might match the return type of a GCC
21007   builtin and then its argument prototype would still apply.  */
21008#ifdef __cplusplus
21009extern "C"
21010#endif
21011char libcerror_error_set ();
21012int
21013main ()
21014{
21015return libcerror_error_set ();
21016  ;
21017  return 0;
21018}
21019_ACEOF
21020if ac_fn_c_try_link "$LINENO"; then :
21021  ac_cv_lib_cerror_libcerror_error_set=yes
21022else
21023  ac_cv_lib_cerror_libcerror_error_set=no
21024fi
21025rm -f core conftest.err conftest.$ac_objext \
21026    conftest$ac_exeext conftest.$ac_ext
21027LIBS=$ac_check_lib_save_LIBS
21028fi
21029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5
21030$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; }
21031if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then :
21032  ac_cv_libcerror_dummy=yes
21033else
21034  ac_cv_libcerror=no
21035fi
21036
21037        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5
21038$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; }
21039if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then :
21040  $as_echo_n "(cached) " >&6
21041else
21042  ac_check_lib_save_LIBS=$LIBS
21043LIBS="-lcerror  $LIBS"
21044cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045/* end confdefs.h.  */
21046
21047/* Override any GCC internal prototype to avoid an error.
21048   Use char because int might match the return type of a GCC
21049   builtin and then its argument prototype would still apply.  */
21050#ifdef __cplusplus
21051extern "C"
21052#endif
21053char libcerror_error_matches ();
21054int
21055main ()
21056{
21057return libcerror_error_matches ();
21058  ;
21059  return 0;
21060}
21061_ACEOF
21062if ac_fn_c_try_link "$LINENO"; then :
21063  ac_cv_lib_cerror_libcerror_error_matches=yes
21064else
21065  ac_cv_lib_cerror_libcerror_error_matches=no
21066fi
21067rm -f core conftest.err conftest.$ac_objext \
21068    conftest$ac_exeext conftest.$ac_ext
21069LIBS=$ac_check_lib_save_LIBS
21070fi
21071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5
21072$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; }
21073if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then :
21074  ac_cv_libcerror_dummy=yes
21075else
21076  ac_cv_libcerror=no
21077fi
21078
21079        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5
21080$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; }
21081if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then :
21082  $as_echo_n "(cached) " >&6
21083else
21084  ac_check_lib_save_LIBS=$LIBS
21085LIBS="-lcerror  $LIBS"
21086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087/* end confdefs.h.  */
21088
21089/* Override any GCC internal prototype to avoid an error.
21090   Use char because int might match the return type of a GCC
21091   builtin and then its argument prototype would still apply.  */
21092#ifdef __cplusplus
21093extern "C"
21094#endif
21095char libcerror_error_fprint ();
21096int
21097main ()
21098{
21099return libcerror_error_fprint ();
21100  ;
21101  return 0;
21102}
21103_ACEOF
21104if ac_fn_c_try_link "$LINENO"; then :
21105  ac_cv_lib_cerror_libcerror_error_fprint=yes
21106else
21107  ac_cv_lib_cerror_libcerror_error_fprint=no
21108fi
21109rm -f core conftest.err conftest.$ac_objext \
21110    conftest$ac_exeext conftest.$ac_ext
21111LIBS=$ac_check_lib_save_LIBS
21112fi
21113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5
21114$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; }
21115if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then :
21116  ac_cv_libcerror_dummy=yes
21117else
21118  ac_cv_libcerror=no
21119fi
21120
21121        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5
21122$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; }
21123if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then :
21124  $as_echo_n "(cached) " >&6
21125else
21126  ac_check_lib_save_LIBS=$LIBS
21127LIBS="-lcerror  $LIBS"
21128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129/* end confdefs.h.  */
21130
21131/* Override any GCC internal prototype to avoid an error.
21132   Use char because int might match the return type of a GCC
21133   builtin and then its argument prototype would still apply.  */
21134#ifdef __cplusplus
21135extern "C"
21136#endif
21137char libcerror_error_sprint ();
21138int
21139main ()
21140{
21141return libcerror_error_sprint ();
21142  ;
21143  return 0;
21144}
21145_ACEOF
21146if ac_fn_c_try_link "$LINENO"; then :
21147  ac_cv_lib_cerror_libcerror_error_sprint=yes
21148else
21149  ac_cv_lib_cerror_libcerror_error_sprint=no
21150fi
21151rm -f core conftest.err conftest.$ac_objext \
21152    conftest$ac_exeext conftest.$ac_ext
21153LIBS=$ac_check_lib_save_LIBS
21154fi
21155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5
21156$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; }
21157if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then :
21158  ac_cv_libcerror_dummy=yes
21159else
21160  ac_cv_libcerror=no
21161fi
21162
21163        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5
21164$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; }
21165if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then :
21166  $as_echo_n "(cached) " >&6
21167else
21168  ac_check_lib_save_LIBS=$LIBS
21169LIBS="-lcerror  $LIBS"
21170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21171/* end confdefs.h.  */
21172
21173/* Override any GCC internal prototype to avoid an error.
21174   Use char because int might match the return type of a GCC
21175   builtin and then its argument prototype would still apply.  */
21176#ifdef __cplusplus
21177extern "C"
21178#endif
21179char libcerror_error_backtrace_fprint ();
21180int
21181main ()
21182{
21183return libcerror_error_backtrace_fprint ();
21184  ;
21185  return 0;
21186}
21187_ACEOF
21188if ac_fn_c_try_link "$LINENO"; then :
21189  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes
21190else
21191  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no
21192fi
21193rm -f core conftest.err conftest.$ac_objext \
21194    conftest$ac_exeext conftest.$ac_ext
21195LIBS=$ac_check_lib_save_LIBS
21196fi
21197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5
21198$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; }
21199if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then :
21200  ac_cv_libcerror_dummy=yes
21201else
21202  ac_cv_libcerror=no
21203fi
21204
21205        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5
21206$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; }
21207if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then :
21208  $as_echo_n "(cached) " >&6
21209else
21210  ac_check_lib_save_LIBS=$LIBS
21211LIBS="-lcerror  $LIBS"
21212cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213/* end confdefs.h.  */
21214
21215/* Override any GCC internal prototype to avoid an error.
21216   Use char because int might match the return type of a GCC
21217   builtin and then its argument prototype would still apply.  */
21218#ifdef __cplusplus
21219extern "C"
21220#endif
21221char libcerror_error_backtrace_sprint ();
21222int
21223main ()
21224{
21225return libcerror_error_backtrace_sprint ();
21226  ;
21227  return 0;
21228}
21229_ACEOF
21230if ac_fn_c_try_link "$LINENO"; then :
21231  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes
21232else
21233  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no
21234fi
21235rm -f core conftest.err conftest.$ac_objext \
21236    conftest$ac_exeext conftest.$ac_ext
21237LIBS=$ac_check_lib_save_LIBS
21238fi
21239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5
21240$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; }
21241if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then :
21242  ac_cv_libcerror_dummy=yes
21243else
21244  ac_cv_libcerror=no
21245fi
21246
21247
21248                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5
21249$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; }
21250if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then :
21251  $as_echo_n "(cached) " >&6
21252else
21253  ac_check_lib_save_LIBS=$LIBS
21254LIBS="-lcerror  $LIBS"
21255cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256/* end confdefs.h.  */
21257
21258/* Override any GCC internal prototype to avoid an error.
21259   Use char because int might match the return type of a GCC
21260   builtin and then its argument prototype would still apply.  */
21261#ifdef __cplusplus
21262extern "C"
21263#endif
21264char libcerror_system_set_error ();
21265int
21266main ()
21267{
21268return libcerror_system_set_error ();
21269  ;
21270  return 0;
21271}
21272_ACEOF
21273if ac_fn_c_try_link "$LINENO"; then :
21274  ac_cv_lib_cerror_libcerror_system_set_error=yes
21275else
21276  ac_cv_lib_cerror_libcerror_system_set_error=no
21277fi
21278rm -f core conftest.err conftest.$ac_objext \
21279    conftest$ac_exeext conftest.$ac_ext
21280LIBS=$ac_check_lib_save_LIBS
21281fi
21282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5
21283$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; }
21284if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then :
21285  ac_cv_libcerror_dummy=yes
21286else
21287  ac_cv_libcerror=no
21288fi
21289
21290
21291        ac_cv_libcerror_LIBADD="-lcerror"
21292fi
21293
21294fi
21295    if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then :
21296  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21297$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21298as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror
21299See \`config.log' for more details" "$LINENO" 5; }
21300
21301fi
21302
21303fi
21304
21305  if test "x$ac_cv_libcerror" = xyes; then :
21306
21307$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h
21308
21309
21310fi
21311
21312  if test "x$ac_cv_libcerror" = xyes; then :
21313  HAVE_LIBCERROR=1
21314
21315else
21316  HAVE_LIBCERROR=0
21317
21318
21319fi
21320
21321
21322    if test "x$ac_cv_libcerror" != xyes; then :
21323    for ac_header in stdarg.h varargs.h
21324do :
21325  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21326ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21327if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21328  cat >>confdefs.h <<_ACEOF
21329#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21330_ACEOF
21331
21332fi
21333
21334done
21335
21336
21337  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
21338  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21339$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21340as_fn_error 1 "Missing headers: stdarg.h and varargs.h
21341See \`config.log' for more details" "$LINENO" 5; }
21342
21343fi
21344
21345    if test "x$ac_cv_enable_wide_character_type" != xno; then :
21346  for ac_func in wcstombs
21347do :
21348  ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs"
21349if test "x$ac_cv_func_wcstombs" = xyes; then :
21350  cat >>confdefs.h <<_ACEOF
21351#define HAVE_WCSTOMBS 1
21352_ACEOF
21353
21354fi
21355done
21356
21357
21358    if test "x$ac_cv_func_wcstombs" != xyes; then :
21359  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21361as_fn_error 1 "Missing function: wcstombs
21362See \`config.log' for more details" "$LINENO" 5; }
21363
21364fi
21365
21366fi
21367
21368    ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
21369if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
21370  ac_have_decl=1
21371else
21372  ac_have_decl=0
21373fi
21374
21375cat >>confdefs.h <<_ACEOF
21376#define HAVE_DECL_STRERROR_R $ac_have_decl
21377_ACEOF
21378
21379for ac_func in strerror_r
21380do :
21381  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
21382if test "x$ac_cv_func_strerror_r" = xyes; then :
21383  cat >>confdefs.h <<_ACEOF
21384#define HAVE_STRERROR_R 1
21385_ACEOF
21386
21387fi
21388done
21389
21390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
21391$as_echo_n "checking whether strerror_r returns char *... " >&6; }
21392if ${ac_cv_func_strerror_r_char_p+:} false; then :
21393  $as_echo_n "(cached) " >&6
21394else
21395
21396    ac_cv_func_strerror_r_char_p=no
21397    if test $ac_cv_have_decl_strerror_r = yes; then
21398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21399/* end confdefs.h.  */
21400$ac_includes_default
21401int
21402main ()
21403{
21404
21405	  char buf[100];
21406	  char x = *strerror_r (0, buf, sizeof buf);
21407	  char *p = strerror_r (0, buf, sizeof buf);
21408	  return !p || x;
21409
21410  ;
21411  return 0;
21412}
21413_ACEOF
21414if ac_fn_c_try_compile "$LINENO"; then :
21415  ac_cv_func_strerror_r_char_p=yes
21416fi
21417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21418    else
21419      # strerror_r is not declared.  Choose between
21420      # systems that have relatively inaccessible declarations for the
21421      # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
21422      # former has a strerror_r that returns char*, while the latter
21423      # has a strerror_r that returns `int'.
21424      # This test should segfault on the DEC system.
21425      if test "$cross_compiling" = yes; then :
21426  :
21427else
21428  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21429/* end confdefs.h.  */
21430$ac_includes_default
21431	extern char *strerror_r ();
21432int
21433main ()
21434{
21435char buf[100];
21436	  char x = *strerror_r (0, buf, sizeof buf);
21437	  return ! isalpha (x);
21438  ;
21439  return 0;
21440}
21441_ACEOF
21442if ac_fn_c_try_run "$LINENO"; then :
21443  ac_cv_func_strerror_r_char_p=yes
21444fi
21445rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21446  conftest.$ac_objext conftest.beam conftest.$ac_ext
21447fi
21448
21449    fi
21450
21451fi
21452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
21453$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
21454if test $ac_cv_func_strerror_r_char_p = yes; then
21455
21456$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
21457
21458fi
21459
21460
21461  if test "x$ac_cv_have_decl_strerror_r" != xyes; then :
21462  for ac_func in strerror
21463do :
21464  ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
21465if test "x$ac_cv_func_strerror" = xyes; then :
21466  cat >>confdefs.h <<_ACEOF
21467#define HAVE_STRERROR 1
21468_ACEOF
21469
21470fi
21471done
21472
21473
21474    if test "x$ac_cv_func_strerror" != xyes; then :
21475  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21476$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21477as_fn_error 1 "Missing functions: strerror_r and strerror
21478See \`config.log' for more details" "$LINENO" 5; }
21479
21480fi
21481
21482fi
21483
21484  ac_cv_libcerror_CPPFLAGS="-I../libcerror";
21485  ac_cv_libcerror_LIBADD="../libcerror/libcerror.la";
21486
21487  ac_cv_libcerror=local
21488
21489
21490
21491$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h
21492
21493    HAVE_LOCAL_LIBCERROR=1
21494
21495
21496fi
21497
21498   if test "x$ac_cv_libcerror" = xlocal; then
21499  HAVE_LOCAL_LIBCERROR_TRUE=
21500  HAVE_LOCAL_LIBCERROR_FALSE='#'
21501else
21502  HAVE_LOCAL_LIBCERROR_TRUE='#'
21503  HAVE_LOCAL_LIBCERROR_FALSE=
21504fi
21505
21506  if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then :
21507  LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS
21508
21509
21510fi
21511  if test "x$ac_cv_libcerror_LIBADD" != "x"; then :
21512  LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD
21513
21514
21515fi
21516
21517  if test "x$ac_cv_libcerror" = xyes; then :
21518  ax_libcerror_pc_libs_private=-lcerror
21519
21520
21521fi
21522
21523  if test "x$ac_cv_libcerror" = xyes; then :
21524  ax_libcerror_spec_requires=libcerror
21525
21526    ax_libcerror_spec_build_requires=libcerror-devel
21527
21528
21529fi
21530
21531
21532
21533  # Check whether --enable-multi-threading-support was given.
21534if test "${enable_multi_threading_support+set}" = set; then :
21535  enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval
21536else
21537  ac_cv_enable_multi_threading_support=yes
21538fi
21539
21540    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5
21541$as_echo_n "checking whether to enable enable multi-threading support... " >&6; }
21542if ${ac_cv_enable_multi_threading_support+:} false; then :
21543  $as_echo_n "(cached) " >&6
21544else
21545  ac_cv_enable_multi_threading_support=yes
21546fi
21547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5
21548$as_echo "$ac_cv_enable_multi_threading_support" >&6; }
21549
21550
21551# Check whether --with-libcthreads was given.
21552if test "${with_libcthreads+set}" = set; then :
21553  withval=$with_libcthreads; ac_cv_with_libcthreads=$withval
21554else
21555  ac_cv_with_libcthreads=auto-detect
21556fi
21557
21558    { $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
21559$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; }
21560if ${ac_cv_with_libcthreads+:} false; then :
21561  $as_echo_n "(cached) " >&6
21562else
21563  ac_cv_with_libcthreads=auto-detect
21564fi
21565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5
21566$as_echo "$ac_cv_with_libcthreads" >&6; }
21567
21568  if test "x$ac_cv_enable_multi_threading_support" = xno; then :
21569  ac_cv_libcthreads="no"
21570    ac_cv_libcthreads_multi_threading="no"
21571else
21572      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then :
21573  ac_cv_libcthreads=no
21574else
21575  ac_cv_libcthreads=check
21576        if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then :
21577  if test -d "$ac_cv_with_libcthreads"; then :
21578  CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include"
21579        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib"
21580else
21581  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21582$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21583as_fn_error 1 "no such directory: $ac_cv_with_libcthreads
21584See \`config.log' for more details" "$LINENO" 5; }
21585
21586fi
21587
21588else
21589        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
21590
21591pkg_failed=no
21592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5
21593$as_echo_n "checking for libcthreads... " >&6; }
21594
21595if test -n "$libcthreads_CFLAGS"; then
21596    pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS"
21597 elif test -n "$PKG_CONFIG"; then
21598    if test -n "$PKG_CONFIG" && \
21599    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
21600  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
21601  ac_status=$?
21602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21603  test $ac_status = 0; }; then
21604  pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null`
21605		      test "x$?" != "x0" && pkg_failed=yes
21606else
21607  pkg_failed=yes
21608fi
21609 else
21610    pkg_failed=untried
21611fi
21612if test -n "$libcthreads_LIBS"; then
21613    pkg_cv_libcthreads_LIBS="$libcthreads_LIBS"
21614 elif test -n "$PKG_CONFIG"; then
21615    if test -n "$PKG_CONFIG" && \
21616    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
21617  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
21618  ac_status=$?
21619  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21620  test $ac_status = 0; }; then
21621  pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null`
21622		      test "x$?" != "x0" && pkg_failed=yes
21623else
21624  pkg_failed=yes
21625fi
21626 else
21627    pkg_failed=untried
21628fi
21629
21630
21631
21632if test $pkg_failed = yes; then
21633   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21634$as_echo "no" >&6; }
21635
21636if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21637        _pkg_short_errors_supported=yes
21638else
21639        _pkg_short_errors_supported=no
21640fi
21641        if test $_pkg_short_errors_supported = yes; then
21642	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
21643        else
21644	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
21645        fi
21646	# Put the nasty error message in config.log where it belongs
21647	echo "$libcthreads_PKG_ERRORS" >&5
21648
21649	ac_cv_libcthreads=check
21650elif test $pkg_failed = untried; then
21651     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21652$as_echo "no" >&6; }
21653	ac_cv_libcthreads=check
21654else
21655	libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS
21656	libcthreads_LIBS=$pkg_cv_libcthreads_LIBS
21657        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21658$as_echo "yes" >&6; }
21659	ac_cv_libcthreads=yes
21660fi
21661
21662fi
21663      if test "x$ac_cv_libcthreads" = xyes; then :
21664  ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS"
21665        ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS"
21666fi
21667
21668fi
21669
21670    if test "x$ac_cv_libcthreads" = xcheck; then :
21671        for ac_header in libcthreads.h
21672do :
21673  ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default"
21674if test "x$ac_cv_header_libcthreads_h" = xyes; then :
21675  cat >>confdefs.h <<_ACEOF
21676#define HAVE_LIBCTHREADS_H 1
21677_ACEOF
21678
21679fi
21680
21681done
21682
21683
21684      if test "x$ac_cv_header_libcthreads_h" = xno; then :
21685  ac_cv_libcthreads=no
21686else
21687          ac_cv_libcthreads=yes
21688
21689        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5
21690$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; }
21691if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then :
21692  $as_echo_n "(cached) " >&6
21693else
21694  ac_check_lib_save_LIBS=$LIBS
21695LIBS="-lcthreads  $LIBS"
21696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697/* end confdefs.h.  */
21698
21699/* Override any GCC internal prototype to avoid an error.
21700   Use char because int might match the return type of a GCC
21701   builtin and then its argument prototype would still apply.  */
21702#ifdef __cplusplus
21703extern "C"
21704#endif
21705char libcthreads_get_version ();
21706int
21707main ()
21708{
21709return libcthreads_get_version ();
21710  ;
21711  return 0;
21712}
21713_ACEOF
21714if ac_fn_c_try_link "$LINENO"; then :
21715  ac_cv_lib_cthreads_libcthreads_get_version=yes
21716else
21717  ac_cv_lib_cthreads_libcthreads_get_version=no
21718fi
21719rm -f core conftest.err conftest.$ac_objext \
21720    conftest$ac_exeext conftest.$ac_ext
21721LIBS=$ac_check_lib_save_LIBS
21722fi
21723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5
21724$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; }
21725if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then :
21726  ac_cv_libcthreads_dummy=yes
21727else
21728  ac_cv_libcthreads=no
21729fi
21730
21731
21732                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5
21733$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; }
21734if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then :
21735  $as_echo_n "(cached) " >&6
21736else
21737  ac_check_lib_save_LIBS=$LIBS
21738LIBS="-lcthreads  $LIBS"
21739cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740/* end confdefs.h.  */
21741
21742/* Override any GCC internal prototype to avoid an error.
21743   Use char because int might match the return type of a GCC
21744   builtin and then its argument prototype would still apply.  */
21745#ifdef __cplusplus
21746extern "C"
21747#endif
21748char libcthreads_thread_create ();
21749int
21750main ()
21751{
21752return libcthreads_thread_create ();
21753  ;
21754  return 0;
21755}
21756_ACEOF
21757if ac_fn_c_try_link "$LINENO"; then :
21758  ac_cv_lib_cthreads_libcthreads_thread_create=yes
21759else
21760  ac_cv_lib_cthreads_libcthreads_thread_create=no
21761fi
21762rm -f core conftest.err conftest.$ac_objext \
21763    conftest$ac_exeext conftest.$ac_ext
21764LIBS=$ac_check_lib_save_LIBS
21765fi
21766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5
21767$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; }
21768if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then :
21769  ac_cv_libcthreads_dummy=yes
21770else
21771  ac_cv_libcthreads=no
21772fi
21773
21774        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5
21775$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; }
21776if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then :
21777  $as_echo_n "(cached) " >&6
21778else
21779  ac_check_lib_save_LIBS=$LIBS
21780LIBS="-lcthreads  $LIBS"
21781cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21782/* end confdefs.h.  */
21783
21784/* Override any GCC internal prototype to avoid an error.
21785   Use char because int might match the return type of a GCC
21786   builtin and then its argument prototype would still apply.  */
21787#ifdef __cplusplus
21788extern "C"
21789#endif
21790char libcthreads_thread_join ();
21791int
21792main ()
21793{
21794return libcthreads_thread_join ();
21795  ;
21796  return 0;
21797}
21798_ACEOF
21799if ac_fn_c_try_link "$LINENO"; then :
21800  ac_cv_lib_cthreads_libcthreads_thread_join=yes
21801else
21802  ac_cv_lib_cthreads_libcthreads_thread_join=no
21803fi
21804rm -f core conftest.err conftest.$ac_objext \
21805    conftest$ac_exeext conftest.$ac_ext
21806LIBS=$ac_check_lib_save_LIBS
21807fi
21808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5
21809$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; }
21810if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then :
21811  ac_cv_libcthreads_dummy=yes
21812else
21813  ac_cv_libcthreads=no
21814fi
21815
21816
21817                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5
21818$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; }
21819if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then :
21820  $as_echo_n "(cached) " >&6
21821else
21822  ac_check_lib_save_LIBS=$LIBS
21823LIBS="-lcthreads  $LIBS"
21824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21825/* end confdefs.h.  */
21826
21827/* Override any GCC internal prototype to avoid an error.
21828   Use char because int might match the return type of a GCC
21829   builtin and then its argument prototype would still apply.  */
21830#ifdef __cplusplus
21831extern "C"
21832#endif
21833char libcthreads_thread_attributes_initialize ();
21834int
21835main ()
21836{
21837return libcthreads_thread_attributes_initialize ();
21838  ;
21839  return 0;
21840}
21841_ACEOF
21842if ac_fn_c_try_link "$LINENO"; then :
21843  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes
21844else
21845  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no
21846fi
21847rm -f core conftest.err conftest.$ac_objext \
21848    conftest$ac_exeext conftest.$ac_ext
21849LIBS=$ac_check_lib_save_LIBS
21850fi
21851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5
21852$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; }
21853if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then :
21854  ac_cv_libcthreads_dummy=yes
21855else
21856  ac_cv_libcthreads=no
21857fi
21858
21859        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5
21860$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; }
21861if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then :
21862  $as_echo_n "(cached) " >&6
21863else
21864  ac_check_lib_save_LIBS=$LIBS
21865LIBS="-lcthreads  $LIBS"
21866cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21867/* end confdefs.h.  */
21868
21869/* Override any GCC internal prototype to avoid an error.
21870   Use char because int might match the return type of a GCC
21871   builtin and then its argument prototype would still apply.  */
21872#ifdef __cplusplus
21873extern "C"
21874#endif
21875char libcthreads_thread_attributes_free ();
21876int
21877main ()
21878{
21879return libcthreads_thread_attributes_free ();
21880  ;
21881  return 0;
21882}
21883_ACEOF
21884if ac_fn_c_try_link "$LINENO"; then :
21885  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes
21886else
21887  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no
21888fi
21889rm -f core conftest.err conftest.$ac_objext \
21890    conftest$ac_exeext conftest.$ac_ext
21891LIBS=$ac_check_lib_save_LIBS
21892fi
21893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5
21894$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; }
21895if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then :
21896  ac_cv_libcthreads_dummy=yes
21897else
21898  ac_cv_libcthreads=no
21899fi
21900
21901
21902                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5
21903$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; }
21904if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then :
21905  $as_echo_n "(cached) " >&6
21906else
21907  ac_check_lib_save_LIBS=$LIBS
21908LIBS="-lcthreads  $LIBS"
21909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910/* end confdefs.h.  */
21911
21912/* Override any GCC internal prototype to avoid an error.
21913   Use char because int might match the return type of a GCC
21914   builtin and then its argument prototype would still apply.  */
21915#ifdef __cplusplus
21916extern "C"
21917#endif
21918char libcthreads_condition_initialize ();
21919int
21920main ()
21921{
21922return libcthreads_condition_initialize ();
21923  ;
21924  return 0;
21925}
21926_ACEOF
21927if ac_fn_c_try_link "$LINENO"; then :
21928  ac_cv_lib_cthreads_libcthreads_condition_initialize=yes
21929else
21930  ac_cv_lib_cthreads_libcthreads_condition_initialize=no
21931fi
21932rm -f core conftest.err conftest.$ac_objext \
21933    conftest$ac_exeext conftest.$ac_ext
21934LIBS=$ac_check_lib_save_LIBS
21935fi
21936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5
21937$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; }
21938if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then :
21939  ac_cv_libcthreads_dummy=yes
21940else
21941  ac_cv_libcthreads=no
21942fi
21943
21944        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5
21945$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; }
21946if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then :
21947  $as_echo_n "(cached) " >&6
21948else
21949  ac_check_lib_save_LIBS=$LIBS
21950LIBS="-lcthreads  $LIBS"
21951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21952/* end confdefs.h.  */
21953
21954/* Override any GCC internal prototype to avoid an error.
21955   Use char because int might match the return type of a GCC
21956   builtin and then its argument prototype would still apply.  */
21957#ifdef __cplusplus
21958extern "C"
21959#endif
21960char libcthreads_condition_free ();
21961int
21962main ()
21963{
21964return libcthreads_condition_free ();
21965  ;
21966  return 0;
21967}
21968_ACEOF
21969if ac_fn_c_try_link "$LINENO"; then :
21970  ac_cv_lib_cthreads_libcthreads_condition_free=yes
21971else
21972  ac_cv_lib_cthreads_libcthreads_condition_free=no
21973fi
21974rm -f core conftest.err conftest.$ac_objext \
21975    conftest$ac_exeext conftest.$ac_ext
21976LIBS=$ac_check_lib_save_LIBS
21977fi
21978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5
21979$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; }
21980if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then :
21981  ac_cv_libcthreads_dummy=yes
21982else
21983  ac_cv_libcthreads=no
21984fi
21985
21986        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5
21987$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; }
21988if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then :
21989  $as_echo_n "(cached) " >&6
21990else
21991  ac_check_lib_save_LIBS=$LIBS
21992LIBS="-lcthreads  $LIBS"
21993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994/* end confdefs.h.  */
21995
21996/* Override any GCC internal prototype to avoid an error.
21997   Use char because int might match the return type of a GCC
21998   builtin and then its argument prototype would still apply.  */
21999#ifdef __cplusplus
22000extern "C"
22001#endif
22002char libcthreads_condition_broadcast ();
22003int
22004main ()
22005{
22006return libcthreads_condition_broadcast ();
22007  ;
22008  return 0;
22009}
22010_ACEOF
22011if ac_fn_c_try_link "$LINENO"; then :
22012  ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes
22013else
22014  ac_cv_lib_cthreads_libcthreads_condition_broadcast=no
22015fi
22016rm -f core conftest.err conftest.$ac_objext \
22017    conftest$ac_exeext conftest.$ac_ext
22018LIBS=$ac_check_lib_save_LIBS
22019fi
22020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5
22021$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; }
22022if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then :
22023  ac_cv_libcthreads_dummy=yes
22024else
22025  ac_cv_libcthreads=no
22026fi
22027
22028        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5
22029$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; }
22030if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then :
22031  $as_echo_n "(cached) " >&6
22032else
22033  ac_check_lib_save_LIBS=$LIBS
22034LIBS="-lcthreads  $LIBS"
22035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22036/* end confdefs.h.  */
22037
22038/* Override any GCC internal prototype to avoid an error.
22039   Use char because int might match the return type of a GCC
22040   builtin and then its argument prototype would still apply.  */
22041#ifdef __cplusplus
22042extern "C"
22043#endif
22044char libcthreads_condition_signal ();
22045int
22046main ()
22047{
22048return libcthreads_condition_signal ();
22049  ;
22050  return 0;
22051}
22052_ACEOF
22053if ac_fn_c_try_link "$LINENO"; then :
22054  ac_cv_lib_cthreads_libcthreads_condition_signal=yes
22055else
22056  ac_cv_lib_cthreads_libcthreads_condition_signal=no
22057fi
22058rm -f core conftest.err conftest.$ac_objext \
22059    conftest$ac_exeext conftest.$ac_ext
22060LIBS=$ac_check_lib_save_LIBS
22061fi
22062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5
22063$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; }
22064if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then :
22065  ac_cv_libcthreads_dummy=yes
22066else
22067  ac_cv_libcthreads=no
22068fi
22069
22070        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5
22071$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; }
22072if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then :
22073  $as_echo_n "(cached) " >&6
22074else
22075  ac_check_lib_save_LIBS=$LIBS
22076LIBS="-lcthreads  $LIBS"
22077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22078/* end confdefs.h.  */
22079
22080/* Override any GCC internal prototype to avoid an error.
22081   Use char because int might match the return type of a GCC
22082   builtin and then its argument prototype would still apply.  */
22083#ifdef __cplusplus
22084extern "C"
22085#endif
22086char libcthreads_condition_wait ();
22087int
22088main ()
22089{
22090return libcthreads_condition_wait ();
22091  ;
22092  return 0;
22093}
22094_ACEOF
22095if ac_fn_c_try_link "$LINENO"; then :
22096  ac_cv_lib_cthreads_libcthreads_condition_wait=yes
22097else
22098  ac_cv_lib_cthreads_libcthreads_condition_wait=no
22099fi
22100rm -f core conftest.err conftest.$ac_objext \
22101    conftest$ac_exeext conftest.$ac_ext
22102LIBS=$ac_check_lib_save_LIBS
22103fi
22104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5
22105$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; }
22106if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then :
22107  ac_cv_libcthreads_dummy=yes
22108else
22109  ac_cv_libcthreads=no
22110fi
22111
22112
22113                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5
22114$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; }
22115if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then :
22116  $as_echo_n "(cached) " >&6
22117else
22118  ac_check_lib_save_LIBS=$LIBS
22119LIBS="-lcthreads  $LIBS"
22120cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22121/* end confdefs.h.  */
22122
22123/* Override any GCC internal prototype to avoid an error.
22124   Use char because int might match the return type of a GCC
22125   builtin and then its argument prototype would still apply.  */
22126#ifdef __cplusplus
22127extern "C"
22128#endif
22129char libcthreads_lock_initialize ();
22130int
22131main ()
22132{
22133return libcthreads_lock_initialize ();
22134  ;
22135  return 0;
22136}
22137_ACEOF
22138if ac_fn_c_try_link "$LINENO"; then :
22139  ac_cv_lib_cthreads_libcthreads_lock_initialize=yes
22140else
22141  ac_cv_lib_cthreads_libcthreads_lock_initialize=no
22142fi
22143rm -f core conftest.err conftest.$ac_objext \
22144    conftest$ac_exeext conftest.$ac_ext
22145LIBS=$ac_check_lib_save_LIBS
22146fi
22147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5
22148$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; }
22149if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then :
22150  ac_cv_libcthreads_dummy=yes
22151else
22152  ac_cv_libcthreads=no
22153fi
22154
22155        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5
22156$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; }
22157if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then :
22158  $as_echo_n "(cached) " >&6
22159else
22160  ac_check_lib_save_LIBS=$LIBS
22161LIBS="-lcthreads  $LIBS"
22162cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22163/* end confdefs.h.  */
22164
22165/* Override any GCC internal prototype to avoid an error.
22166   Use char because int might match the return type of a GCC
22167   builtin and then its argument prototype would still apply.  */
22168#ifdef __cplusplus
22169extern "C"
22170#endif
22171char libcthreads_lock_free ();
22172int
22173main ()
22174{
22175return libcthreads_lock_free ();
22176  ;
22177  return 0;
22178}
22179_ACEOF
22180if ac_fn_c_try_link "$LINENO"; then :
22181  ac_cv_lib_cthreads_libcthreads_lock_free=yes
22182else
22183  ac_cv_lib_cthreads_libcthreads_lock_free=no
22184fi
22185rm -f core conftest.err conftest.$ac_objext \
22186    conftest$ac_exeext conftest.$ac_ext
22187LIBS=$ac_check_lib_save_LIBS
22188fi
22189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5
22190$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; }
22191if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then :
22192  ac_cv_libcthreads_dummy=yes
22193else
22194  ac_cv_libcthreads=no
22195fi
22196
22197        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5
22198$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; }
22199if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then :
22200  $as_echo_n "(cached) " >&6
22201else
22202  ac_check_lib_save_LIBS=$LIBS
22203LIBS="-lcthreads  $LIBS"
22204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22205/* end confdefs.h.  */
22206
22207/* Override any GCC internal prototype to avoid an error.
22208   Use char because int might match the return type of a GCC
22209   builtin and then its argument prototype would still apply.  */
22210#ifdef __cplusplus
22211extern "C"
22212#endif
22213char libcthreads_lock_grab ();
22214int
22215main ()
22216{
22217return libcthreads_lock_grab ();
22218  ;
22219  return 0;
22220}
22221_ACEOF
22222if ac_fn_c_try_link "$LINENO"; then :
22223  ac_cv_lib_cthreads_libcthreads_lock_grab=yes
22224else
22225  ac_cv_lib_cthreads_libcthreads_lock_grab=no
22226fi
22227rm -f core conftest.err conftest.$ac_objext \
22228    conftest$ac_exeext conftest.$ac_ext
22229LIBS=$ac_check_lib_save_LIBS
22230fi
22231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5
22232$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; }
22233if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then :
22234  ac_cv_libcthreads_dummy=yes
22235else
22236  ac_cv_libcthreads=no
22237fi
22238
22239        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5
22240$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; }
22241if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then :
22242  $as_echo_n "(cached) " >&6
22243else
22244  ac_check_lib_save_LIBS=$LIBS
22245LIBS="-lcthreads  $LIBS"
22246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22247/* end confdefs.h.  */
22248
22249/* Override any GCC internal prototype to avoid an error.
22250   Use char because int might match the return type of a GCC
22251   builtin and then its argument prototype would still apply.  */
22252#ifdef __cplusplus
22253extern "C"
22254#endif
22255char libcthreads_lock_release ();
22256int
22257main ()
22258{
22259return libcthreads_lock_release ();
22260  ;
22261  return 0;
22262}
22263_ACEOF
22264if ac_fn_c_try_link "$LINENO"; then :
22265  ac_cv_lib_cthreads_libcthreads_lock_release=yes
22266else
22267  ac_cv_lib_cthreads_libcthreads_lock_release=no
22268fi
22269rm -f core conftest.err conftest.$ac_objext \
22270    conftest$ac_exeext conftest.$ac_ext
22271LIBS=$ac_check_lib_save_LIBS
22272fi
22273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5
22274$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; }
22275if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then :
22276  ac_cv_libcthreads_dummy=yes
22277else
22278  ac_cv_libcthreads=no
22279fi
22280
22281
22282                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5
22283$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; }
22284if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then :
22285  $as_echo_n "(cached) " >&6
22286else
22287  ac_check_lib_save_LIBS=$LIBS
22288LIBS="-lcthreads  $LIBS"
22289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22290/* end confdefs.h.  */
22291
22292/* Override any GCC internal prototype to avoid an error.
22293   Use char because int might match the return type of a GCC
22294   builtin and then its argument prototype would still apply.  */
22295#ifdef __cplusplus
22296extern "C"
22297#endif
22298char libcthreads_mutex_initialize ();
22299int
22300main ()
22301{
22302return libcthreads_mutex_initialize ();
22303  ;
22304  return 0;
22305}
22306_ACEOF
22307if ac_fn_c_try_link "$LINENO"; then :
22308  ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes
22309else
22310  ac_cv_lib_cthreads_libcthreads_mutex_initialize=no
22311fi
22312rm -f core conftest.err conftest.$ac_objext \
22313    conftest$ac_exeext conftest.$ac_ext
22314LIBS=$ac_check_lib_save_LIBS
22315fi
22316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5
22317$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; }
22318if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then :
22319  ac_cv_libcthreads_dummy=yes
22320else
22321  ac_cv_libcthreads=no
22322fi
22323
22324        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5
22325$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; }
22326if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then :
22327  $as_echo_n "(cached) " >&6
22328else
22329  ac_check_lib_save_LIBS=$LIBS
22330LIBS="-lcthreads  $LIBS"
22331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22332/* end confdefs.h.  */
22333
22334/* Override any GCC internal prototype to avoid an error.
22335   Use char because int might match the return type of a GCC
22336   builtin and then its argument prototype would still apply.  */
22337#ifdef __cplusplus
22338extern "C"
22339#endif
22340char libcthreads_mutex_free ();
22341int
22342main ()
22343{
22344return libcthreads_mutex_free ();
22345  ;
22346  return 0;
22347}
22348_ACEOF
22349if ac_fn_c_try_link "$LINENO"; then :
22350  ac_cv_lib_cthreads_libcthreads_mutex_free=yes
22351else
22352  ac_cv_lib_cthreads_libcthreads_mutex_free=no
22353fi
22354rm -f core conftest.err conftest.$ac_objext \
22355    conftest$ac_exeext conftest.$ac_ext
22356LIBS=$ac_check_lib_save_LIBS
22357fi
22358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5
22359$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; }
22360if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then :
22361  ac_cv_libcthreads_dummy=yes
22362else
22363  ac_cv_libcthreads=no
22364fi
22365
22366        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5
22367$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; }
22368if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then :
22369  $as_echo_n "(cached) " >&6
22370else
22371  ac_check_lib_save_LIBS=$LIBS
22372LIBS="-lcthreads  $LIBS"
22373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22374/* end confdefs.h.  */
22375
22376/* Override any GCC internal prototype to avoid an error.
22377   Use char because int might match the return type of a GCC
22378   builtin and then its argument prototype would still apply.  */
22379#ifdef __cplusplus
22380extern "C"
22381#endif
22382char libcthreads_mutex_grab ();
22383int
22384main ()
22385{
22386return libcthreads_mutex_grab ();
22387  ;
22388  return 0;
22389}
22390_ACEOF
22391if ac_fn_c_try_link "$LINENO"; then :
22392  ac_cv_lib_cthreads_libcthreads_mutex_grab=yes
22393else
22394  ac_cv_lib_cthreads_libcthreads_mutex_grab=no
22395fi
22396rm -f core conftest.err conftest.$ac_objext \
22397    conftest$ac_exeext conftest.$ac_ext
22398LIBS=$ac_check_lib_save_LIBS
22399fi
22400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5
22401$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; }
22402if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then :
22403  ac_cv_libcthreads_dummy=yes
22404else
22405  ac_cv_libcthreads=no
22406fi
22407
22408        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5
22409$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; }
22410if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then :
22411  $as_echo_n "(cached) " >&6
22412else
22413  ac_check_lib_save_LIBS=$LIBS
22414LIBS="-lcthreads  $LIBS"
22415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416/* end confdefs.h.  */
22417
22418/* Override any GCC internal prototype to avoid an error.
22419   Use char because int might match the return type of a GCC
22420   builtin and then its argument prototype would still apply.  */
22421#ifdef __cplusplus
22422extern "C"
22423#endif
22424char libcthreads_mutex_try_grab ();
22425int
22426main ()
22427{
22428return libcthreads_mutex_try_grab ();
22429  ;
22430  return 0;
22431}
22432_ACEOF
22433if ac_fn_c_try_link "$LINENO"; then :
22434  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes
22435else
22436  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no
22437fi
22438rm -f core conftest.err conftest.$ac_objext \
22439    conftest$ac_exeext conftest.$ac_ext
22440LIBS=$ac_check_lib_save_LIBS
22441fi
22442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5
22443$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; }
22444if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then :
22445  ac_cv_libcthreads_dummy=yes
22446else
22447  ac_cv_libcthreads=no
22448fi
22449
22450        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5
22451$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; }
22452if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then :
22453  $as_echo_n "(cached) " >&6
22454else
22455  ac_check_lib_save_LIBS=$LIBS
22456LIBS="-lcthreads  $LIBS"
22457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22458/* end confdefs.h.  */
22459
22460/* Override any GCC internal prototype to avoid an error.
22461   Use char because int might match the return type of a GCC
22462   builtin and then its argument prototype would still apply.  */
22463#ifdef __cplusplus
22464extern "C"
22465#endif
22466char libcthreads_mutex_release ();
22467int
22468main ()
22469{
22470return libcthreads_mutex_release ();
22471  ;
22472  return 0;
22473}
22474_ACEOF
22475if ac_fn_c_try_link "$LINENO"; then :
22476  ac_cv_lib_cthreads_libcthreads_mutex_release=yes
22477else
22478  ac_cv_lib_cthreads_libcthreads_mutex_release=no
22479fi
22480rm -f core conftest.err conftest.$ac_objext \
22481    conftest$ac_exeext conftest.$ac_ext
22482LIBS=$ac_check_lib_save_LIBS
22483fi
22484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5
22485$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; }
22486if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then :
22487  ac_cv_libcthreads_dummy=yes
22488else
22489  ac_cv_libcthreads=no
22490fi
22491
22492
22493                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5
22494$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; }
22495if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then :
22496  $as_echo_n "(cached) " >&6
22497else
22498  ac_check_lib_save_LIBS=$LIBS
22499LIBS="-lcthreads  $LIBS"
22500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22501/* end confdefs.h.  */
22502
22503/* Override any GCC internal prototype to avoid an error.
22504   Use char because int might match the return type of a GCC
22505   builtin and then its argument prototype would still apply.  */
22506#ifdef __cplusplus
22507extern "C"
22508#endif
22509char libcthreads_read_write_lock_initialize ();
22510int
22511main ()
22512{
22513return libcthreads_read_write_lock_initialize ();
22514  ;
22515  return 0;
22516}
22517_ACEOF
22518if ac_fn_c_try_link "$LINENO"; then :
22519  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes
22520else
22521  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no
22522fi
22523rm -f core conftest.err conftest.$ac_objext \
22524    conftest$ac_exeext conftest.$ac_ext
22525LIBS=$ac_check_lib_save_LIBS
22526fi
22527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5
22528$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; }
22529if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then :
22530  ac_cv_libcthreads_dummy=yes
22531else
22532  ac_cv_libcthreads=no
22533fi
22534
22535        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5
22536$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; }
22537if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then :
22538  $as_echo_n "(cached) " >&6
22539else
22540  ac_check_lib_save_LIBS=$LIBS
22541LIBS="-lcthreads  $LIBS"
22542cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22543/* end confdefs.h.  */
22544
22545/* Override any GCC internal prototype to avoid an error.
22546   Use char because int might match the return type of a GCC
22547   builtin and then its argument prototype would still apply.  */
22548#ifdef __cplusplus
22549extern "C"
22550#endif
22551char libcthreads_read_write_lock_free ();
22552int
22553main ()
22554{
22555return libcthreads_read_write_lock_free ();
22556  ;
22557  return 0;
22558}
22559_ACEOF
22560if ac_fn_c_try_link "$LINENO"; then :
22561  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes
22562else
22563  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no
22564fi
22565rm -f core conftest.err conftest.$ac_objext \
22566    conftest$ac_exeext conftest.$ac_ext
22567LIBS=$ac_check_lib_save_LIBS
22568fi
22569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5
22570$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; }
22571if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then :
22572  ac_cv_libcthreads_dummy=yes
22573else
22574  ac_cv_libcthreads=no
22575fi
22576
22577        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5
22578$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; }
22579if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then :
22580  $as_echo_n "(cached) " >&6
22581else
22582  ac_check_lib_save_LIBS=$LIBS
22583LIBS="-lcthreads  $LIBS"
22584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22585/* end confdefs.h.  */
22586
22587/* Override any GCC internal prototype to avoid an error.
22588   Use char because int might match the return type of a GCC
22589   builtin and then its argument prototype would still apply.  */
22590#ifdef __cplusplus
22591extern "C"
22592#endif
22593char libcthreads_read_write_lock_grab_for_read ();
22594int
22595main ()
22596{
22597return libcthreads_read_write_lock_grab_for_read ();
22598  ;
22599  return 0;
22600}
22601_ACEOF
22602if ac_fn_c_try_link "$LINENO"; then :
22603  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes
22604else
22605  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no
22606fi
22607rm -f core conftest.err conftest.$ac_objext \
22608    conftest$ac_exeext conftest.$ac_ext
22609LIBS=$ac_check_lib_save_LIBS
22610fi
22611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5
22612$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; }
22613if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then :
22614  ac_cv_libcthreads_dummy=yes
22615else
22616  ac_cv_libcthreads=no
22617fi
22618
22619        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5
22620$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; }
22621if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then :
22622  $as_echo_n "(cached) " >&6
22623else
22624  ac_check_lib_save_LIBS=$LIBS
22625LIBS="-lcthreads  $LIBS"
22626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22627/* end confdefs.h.  */
22628
22629/* Override any GCC internal prototype to avoid an error.
22630   Use char because int might match the return type of a GCC
22631   builtin and then its argument prototype would still apply.  */
22632#ifdef __cplusplus
22633extern "C"
22634#endif
22635char libcthreads_read_write_lock_grab_for_write ();
22636int
22637main ()
22638{
22639return libcthreads_read_write_lock_grab_for_write ();
22640  ;
22641  return 0;
22642}
22643_ACEOF
22644if ac_fn_c_try_link "$LINENO"; then :
22645  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes
22646else
22647  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no
22648fi
22649rm -f core conftest.err conftest.$ac_objext \
22650    conftest$ac_exeext conftest.$ac_ext
22651LIBS=$ac_check_lib_save_LIBS
22652fi
22653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5
22654$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; }
22655if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then :
22656  ac_cv_libcthreads_dummy=yes
22657else
22658  ac_cv_libcthreads=no
22659fi
22660
22661        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5
22662$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; }
22663if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then :
22664  $as_echo_n "(cached) " >&6
22665else
22666  ac_check_lib_save_LIBS=$LIBS
22667LIBS="-lcthreads  $LIBS"
22668cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669/* end confdefs.h.  */
22670
22671/* Override any GCC internal prototype to avoid an error.
22672   Use char because int might match the return type of a GCC
22673   builtin and then its argument prototype would still apply.  */
22674#ifdef __cplusplus
22675extern "C"
22676#endif
22677char libcthreads_read_write_lock_release_for_read ();
22678int
22679main ()
22680{
22681return libcthreads_read_write_lock_release_for_read ();
22682  ;
22683  return 0;
22684}
22685_ACEOF
22686if ac_fn_c_try_link "$LINENO"; then :
22687  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes
22688else
22689  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no
22690fi
22691rm -f core conftest.err conftest.$ac_objext \
22692    conftest$ac_exeext conftest.$ac_ext
22693LIBS=$ac_check_lib_save_LIBS
22694fi
22695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5
22696$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; }
22697if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then :
22698  ac_cv_libcthreads_dummy=yes
22699else
22700  ac_cv_libcthreads=no
22701fi
22702
22703        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5
22704$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; }
22705if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then :
22706  $as_echo_n "(cached) " >&6
22707else
22708  ac_check_lib_save_LIBS=$LIBS
22709LIBS="-lcthreads  $LIBS"
22710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22711/* end confdefs.h.  */
22712
22713/* Override any GCC internal prototype to avoid an error.
22714   Use char because int might match the return type of a GCC
22715   builtin and then its argument prototype would still apply.  */
22716#ifdef __cplusplus
22717extern "C"
22718#endif
22719char libcthreads_read_write_lock_release_for_write ();
22720int
22721main ()
22722{
22723return libcthreads_read_write_lock_release_for_write ();
22724  ;
22725  return 0;
22726}
22727_ACEOF
22728if ac_fn_c_try_link "$LINENO"; then :
22729  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes
22730else
22731  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no
22732fi
22733rm -f core conftest.err conftest.$ac_objext \
22734    conftest$ac_exeext conftest.$ac_ext
22735LIBS=$ac_check_lib_save_LIBS
22736fi
22737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5
22738$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; }
22739if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then :
22740  ac_cv_libcthreads_dummy=yes
22741else
22742  ac_cv_libcthreads=no
22743fi
22744
22745
22746                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5
22747$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; }
22748if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then :
22749  $as_echo_n "(cached) " >&6
22750else
22751  ac_check_lib_save_LIBS=$LIBS
22752LIBS="-lcthreads  $LIBS"
22753cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22754/* end confdefs.h.  */
22755
22756/* Override any GCC internal prototype to avoid an error.
22757   Use char because int might match the return type of a GCC
22758   builtin and then its argument prototype would still apply.  */
22759#ifdef __cplusplus
22760extern "C"
22761#endif
22762char libcthreads_queue_initialize ();
22763int
22764main ()
22765{
22766return libcthreads_queue_initialize ();
22767  ;
22768  return 0;
22769}
22770_ACEOF
22771if ac_fn_c_try_link "$LINENO"; then :
22772  ac_cv_lib_cthreads_libcthreads_queue_initialize=yes
22773else
22774  ac_cv_lib_cthreads_libcthreads_queue_initialize=no
22775fi
22776rm -f core conftest.err conftest.$ac_objext \
22777    conftest$ac_exeext conftest.$ac_ext
22778LIBS=$ac_check_lib_save_LIBS
22779fi
22780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5
22781$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; }
22782if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then :
22783  ac_cv_libcthreads_dummy=yes
22784else
22785  ac_cv_libcthreads=no
22786fi
22787
22788        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5
22789$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; }
22790if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then :
22791  $as_echo_n "(cached) " >&6
22792else
22793  ac_check_lib_save_LIBS=$LIBS
22794LIBS="-lcthreads  $LIBS"
22795cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796/* end confdefs.h.  */
22797
22798/* Override any GCC internal prototype to avoid an error.
22799   Use char because int might match the return type of a GCC
22800   builtin and then its argument prototype would still apply.  */
22801#ifdef __cplusplus
22802extern "C"
22803#endif
22804char libcthreads_queue_free ();
22805int
22806main ()
22807{
22808return libcthreads_queue_free ();
22809  ;
22810  return 0;
22811}
22812_ACEOF
22813if ac_fn_c_try_link "$LINENO"; then :
22814  ac_cv_lib_cthreads_libcthreads_queue_free=yes
22815else
22816  ac_cv_lib_cthreads_libcthreads_queue_free=no
22817fi
22818rm -f core conftest.err conftest.$ac_objext \
22819    conftest$ac_exeext conftest.$ac_ext
22820LIBS=$ac_check_lib_save_LIBS
22821fi
22822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5
22823$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; }
22824if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then :
22825  ac_cv_libcthreads_dummy=yes
22826else
22827  ac_cv_libcthreads=no
22828fi
22829
22830        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5
22831$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; }
22832if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then :
22833  $as_echo_n "(cached) " >&6
22834else
22835  ac_check_lib_save_LIBS=$LIBS
22836LIBS="-lcthreads  $LIBS"
22837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838/* end confdefs.h.  */
22839
22840/* Override any GCC internal prototype to avoid an error.
22841   Use char because int might match the return type of a GCC
22842   builtin and then its argument prototype would still apply.  */
22843#ifdef __cplusplus
22844extern "C"
22845#endif
22846char libcthreads_queue_type_pop ();
22847int
22848main ()
22849{
22850return libcthreads_queue_type_pop ();
22851  ;
22852  return 0;
22853}
22854_ACEOF
22855if ac_fn_c_try_link "$LINENO"; then :
22856  ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes
22857else
22858  ac_cv_lib_cthreads_libcthreads_queue_type_pop=no
22859fi
22860rm -f core conftest.err conftest.$ac_objext \
22861    conftest$ac_exeext conftest.$ac_ext
22862LIBS=$ac_check_lib_save_LIBS
22863fi
22864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5
22865$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; }
22866if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then :
22867  ac_cv_libcthreads_dummy=yes
22868else
22869  ac_cv_libcthreads=no
22870fi
22871
22872        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5
22873$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; }
22874if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then :
22875  $as_echo_n "(cached) " >&6
22876else
22877  ac_check_lib_save_LIBS=$LIBS
22878LIBS="-lcthreads  $LIBS"
22879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22880/* end confdefs.h.  */
22881
22882/* Override any GCC internal prototype to avoid an error.
22883   Use char because int might match the return type of a GCC
22884   builtin and then its argument prototype would still apply.  */
22885#ifdef __cplusplus
22886extern "C"
22887#endif
22888char libcthreads_queue_pop ();
22889int
22890main ()
22891{
22892return libcthreads_queue_pop ();
22893  ;
22894  return 0;
22895}
22896_ACEOF
22897if ac_fn_c_try_link "$LINENO"; then :
22898  ac_cv_lib_cthreads_libcthreads_queue_pop=yes
22899else
22900  ac_cv_lib_cthreads_libcthreads_queue_pop=no
22901fi
22902rm -f core conftest.err conftest.$ac_objext \
22903    conftest$ac_exeext conftest.$ac_ext
22904LIBS=$ac_check_lib_save_LIBS
22905fi
22906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5
22907$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; }
22908if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then :
22909  ac_cv_libcthreads_dummy=yes
22910else
22911  ac_cv_libcthreads=no
22912fi
22913
22914        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5
22915$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; }
22916if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then :
22917  $as_echo_n "(cached) " >&6
22918else
22919  ac_check_lib_save_LIBS=$LIBS
22920LIBS="-lcthreads  $LIBS"
22921cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22922/* end confdefs.h.  */
22923
22924/* Override any GCC internal prototype to avoid an error.
22925   Use char because int might match the return type of a GCC
22926   builtin and then its argument prototype would still apply.  */
22927#ifdef __cplusplus
22928extern "C"
22929#endif
22930char libcthreads_queue_try_push ();
22931int
22932main ()
22933{
22934return libcthreads_queue_try_push ();
22935  ;
22936  return 0;
22937}
22938_ACEOF
22939if ac_fn_c_try_link "$LINENO"; then :
22940  ac_cv_lib_cthreads_libcthreads_queue_try_push=yes
22941else
22942  ac_cv_lib_cthreads_libcthreads_queue_try_push=no
22943fi
22944rm -f core conftest.err conftest.$ac_objext \
22945    conftest$ac_exeext conftest.$ac_ext
22946LIBS=$ac_check_lib_save_LIBS
22947fi
22948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5
22949$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; }
22950if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then :
22951  ac_cv_libcthreads_dummy=yes
22952else
22953  ac_cv_libcthreads=no
22954fi
22955
22956        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5
22957$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; }
22958if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then :
22959  $as_echo_n "(cached) " >&6
22960else
22961  ac_check_lib_save_LIBS=$LIBS
22962LIBS="-lcthreads  $LIBS"
22963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964/* end confdefs.h.  */
22965
22966/* Override any GCC internal prototype to avoid an error.
22967   Use char because int might match the return type of a GCC
22968   builtin and then its argument prototype would still apply.  */
22969#ifdef __cplusplus
22970extern "C"
22971#endif
22972char libcthreads_queue_push ();
22973int
22974main ()
22975{
22976return libcthreads_queue_push ();
22977  ;
22978  return 0;
22979}
22980_ACEOF
22981if ac_fn_c_try_link "$LINENO"; then :
22982  ac_cv_lib_cthreads_libcthreads_queue_push=yes
22983else
22984  ac_cv_lib_cthreads_libcthreads_queue_push=no
22985fi
22986rm -f core conftest.err conftest.$ac_objext \
22987    conftest$ac_exeext conftest.$ac_ext
22988LIBS=$ac_check_lib_save_LIBS
22989fi
22990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5
22991$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; }
22992if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then :
22993  ac_cv_libcthreads_dummy=yes
22994else
22995  ac_cv_libcthreads=no
22996fi
22997
22998        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5
22999$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; }
23000if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then :
23001  $as_echo_n "(cached) " >&6
23002else
23003  ac_check_lib_save_LIBS=$LIBS
23004LIBS="-lcthreads  $LIBS"
23005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23006/* end confdefs.h.  */
23007
23008/* Override any GCC internal prototype to avoid an error.
23009   Use char because int might match the return type of a GCC
23010   builtin and then its argument prototype would still apply.  */
23011#ifdef __cplusplus
23012extern "C"
23013#endif
23014char libcthreads_queue_push_sorted ();
23015int
23016main ()
23017{
23018return libcthreads_queue_push_sorted ();
23019  ;
23020  return 0;
23021}
23022_ACEOF
23023if ac_fn_c_try_link "$LINENO"; then :
23024  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes
23025else
23026  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no
23027fi
23028rm -f core conftest.err conftest.$ac_objext \
23029    conftest$ac_exeext conftest.$ac_ext
23030LIBS=$ac_check_lib_save_LIBS
23031fi
23032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5
23033$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; }
23034if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then :
23035  ac_cv_libcthreads_dummy=yes
23036else
23037  ac_cv_libcthreads=no
23038fi
23039
23040
23041                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5
23042$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; }
23043if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then :
23044  $as_echo_n "(cached) " >&6
23045else
23046  ac_check_lib_save_LIBS=$LIBS
23047LIBS="-lcthreads  $LIBS"
23048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23049/* end confdefs.h.  */
23050
23051/* Override any GCC internal prototype to avoid an error.
23052   Use char because int might match the return type of a GCC
23053   builtin and then its argument prototype would still apply.  */
23054#ifdef __cplusplus
23055extern "C"
23056#endif
23057char libcthreads_thread_pool_create ();
23058int
23059main ()
23060{
23061return libcthreads_thread_pool_create ();
23062  ;
23063  return 0;
23064}
23065_ACEOF
23066if ac_fn_c_try_link "$LINENO"; then :
23067  ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes
23068else
23069  ac_cv_lib_cthreads_libcthreads_thread_pool_create=no
23070fi
23071rm -f core conftest.err conftest.$ac_objext \
23072    conftest$ac_exeext conftest.$ac_ext
23073LIBS=$ac_check_lib_save_LIBS
23074fi
23075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5
23076$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; }
23077if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then :
23078  ac_cv_libcthreads_dummy=yes
23079else
23080  ac_cv_libcthreads=no
23081fi
23082
23083        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5
23084$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; }
23085if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then :
23086  $as_echo_n "(cached) " >&6
23087else
23088  ac_check_lib_save_LIBS=$LIBS
23089LIBS="-lcthreads  $LIBS"
23090cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091/* end confdefs.h.  */
23092
23093/* Override any GCC internal prototype to avoid an error.
23094   Use char because int might match the return type of a GCC
23095   builtin and then its argument prototype would still apply.  */
23096#ifdef __cplusplus
23097extern "C"
23098#endif
23099char libcthreads_thread_pool_push ();
23100int
23101main ()
23102{
23103return libcthreads_thread_pool_push ();
23104  ;
23105  return 0;
23106}
23107_ACEOF
23108if ac_fn_c_try_link "$LINENO"; then :
23109  ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes
23110else
23111  ac_cv_lib_cthreads_libcthreads_thread_pool_push=no
23112fi
23113rm -f core conftest.err conftest.$ac_objext \
23114    conftest$ac_exeext conftest.$ac_ext
23115LIBS=$ac_check_lib_save_LIBS
23116fi
23117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5
23118$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; }
23119if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then :
23120  ac_cv_libcthreads_dummy=yes
23121else
23122  ac_cv_libcthreads=no
23123fi
23124
23125        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5
23126$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; }
23127if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then :
23128  $as_echo_n "(cached) " >&6
23129else
23130  ac_check_lib_save_LIBS=$LIBS
23131LIBS="-lcthreads  $LIBS"
23132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23133/* end confdefs.h.  */
23134
23135/* Override any GCC internal prototype to avoid an error.
23136   Use char because int might match the return type of a GCC
23137   builtin and then its argument prototype would still apply.  */
23138#ifdef __cplusplus
23139extern "C"
23140#endif
23141char libcthreads_thread_pool_push_sorted ();
23142int
23143main ()
23144{
23145return libcthreads_thread_pool_push_sorted ();
23146  ;
23147  return 0;
23148}
23149_ACEOF
23150if ac_fn_c_try_link "$LINENO"; then :
23151  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes
23152else
23153  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no
23154fi
23155rm -f core conftest.err conftest.$ac_objext \
23156    conftest$ac_exeext conftest.$ac_ext
23157LIBS=$ac_check_lib_save_LIBS
23158fi
23159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5
23160$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; }
23161if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then :
23162  ac_cv_libcthreads_dummy=yes
23163else
23164  ac_cv_libcthreads=no
23165fi
23166
23167        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5
23168$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; }
23169if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then :
23170  $as_echo_n "(cached) " >&6
23171else
23172  ac_check_lib_save_LIBS=$LIBS
23173LIBS="-lcthreads  $LIBS"
23174cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175/* end confdefs.h.  */
23176
23177/* Override any GCC internal prototype to avoid an error.
23178   Use char because int might match the return type of a GCC
23179   builtin and then its argument prototype would still apply.  */
23180#ifdef __cplusplus
23181extern "C"
23182#endif
23183char libcthreads_thread_pool_join ();
23184int
23185main ()
23186{
23187return libcthreads_thread_pool_join ();
23188  ;
23189  return 0;
23190}
23191_ACEOF
23192if ac_fn_c_try_link "$LINENO"; then :
23193  ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes
23194else
23195  ac_cv_lib_cthreads_libcthreads_thread_pool_join=no
23196fi
23197rm -f core conftest.err conftest.$ac_objext \
23198    conftest$ac_exeext conftest.$ac_ext
23199LIBS=$ac_check_lib_save_LIBS
23200fi
23201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5
23202$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; }
23203if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then :
23204  ac_cv_libcthreads_dummy=yes
23205else
23206  ac_cv_libcthreads=no
23207fi
23208
23209
23210        ac_cv_libcthreads_LIBADD="-lcthreads"
23211fi
23212
23213fi
23214
23215    if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then :
23216  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23217$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23218as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads
23219See \`config.log' for more details" "$LINENO" 5; }
23220
23221fi
23222
23223fi
23224
23225  if test "x$ac_cv_libcthreads" = xyes; then :
23226
23227$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h
23228
23229
23230fi
23231
23232  if test "x$ac_cv_libcthreads" = xyes; then :
23233  ac_cv_libcthreads_multi_threading=libcthreads
23234else
23235  ac_cv_libcthreads_multi_threading=no
23236fi
23237
23238  if test "x$ac_cv_libcthreads" = xyes; then :
23239  HAVE_LIBCTHREADS=1
23240
23241else
23242  HAVE_LIBCTHREADS=0
23243
23244
23245fi
23246
23247
23248        if test "x$ac_cv_libcthreads" != xyes; then :
23249  if test "x$ac_cv_enable_winapi" = xno; then :
23250
23251
23252# Check whether --with-pthread was given.
23253if test "${with_pthread+set}" = set; then :
23254  withval=$with_pthread; ac_cv_with_pthread=$withval
23255else
23256  ac_cv_with_pthread=auto-detect
23257fi
23258
23259    { $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
23260$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; }
23261if ${ac_cv_with_pthread+:} false; then :
23262  $as_echo_n "(cached) " >&6
23263else
23264  ac_cv_with_pthread=auto-detect
23265fi
23266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5
23267$as_echo "$ac_cv_with_pthread" >&6; }
23268
23269   if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then :
23270  if test -d "$ac_cv_with_pthread"; then :
23271  CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include"
23272   LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib"
23273else
23274  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5
23275$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;}
23276
23277fi
23278
23279fi
23280
23281 if test "x$ac_cv_with_pthread" = xno; then :
23282  ac_cv_pthread=no
23283else
23284    for ac_header in pthread.h
23285do :
23286  ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
23287if test "x$ac_cv_header_pthread_h" = xyes; then :
23288  cat >>confdefs.h <<_ACEOF
23289#define HAVE_PTHREAD_H 1
23290_ACEOF
23291
23292fi
23293
23294done
23295
23296
23297  if test "x$ac_cv_header_pthread_h" = xno; then :
23298  ac_cv_pthread=no
23299else
23300     ac_cv_pthread=pthread
23301
23302      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
23303$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
23304if ${ac_cv_lib_pthread_pthread_create+:} false; then :
23305  $as_echo_n "(cached) " >&6
23306else
23307  ac_check_lib_save_LIBS=$LIBS
23308LIBS="-lpthread  $LIBS"
23309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23310/* end confdefs.h.  */
23311
23312/* Override any GCC internal prototype to avoid an error.
23313   Use char because int might match the return type of a GCC
23314   builtin and then its argument prototype would still apply.  */
23315#ifdef __cplusplus
23316extern "C"
23317#endif
23318char pthread_create ();
23319int
23320main ()
23321{
23322return pthread_create ();
23323  ;
23324  return 0;
23325}
23326_ACEOF
23327if ac_fn_c_try_link "$LINENO"; then :
23328  ac_cv_lib_pthread_pthread_create=yes
23329else
23330  ac_cv_lib_pthread_pthread_create=no
23331fi
23332rm -f core conftest.err conftest.$ac_objext \
23333    conftest$ac_exeext conftest.$ac_ext
23334LIBS=$ac_check_lib_save_LIBS
23335fi
23336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
23337$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
23338if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
23339  ac_pthread_dummy=yes
23340else
23341  ac_cv_pthread=no
23342fi
23343
23344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5
23345$as_echo_n "checking for pthread_exit in -lpthread... " >&6; }
23346if ${ac_cv_lib_pthread_pthread_exit+:} false; then :
23347  $as_echo_n "(cached) " >&6
23348else
23349  ac_check_lib_save_LIBS=$LIBS
23350LIBS="-lpthread  $LIBS"
23351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23352/* end confdefs.h.  */
23353
23354/* Override any GCC internal prototype to avoid an error.
23355   Use char because int might match the return type of a GCC
23356   builtin and then its argument prototype would still apply.  */
23357#ifdef __cplusplus
23358extern "C"
23359#endif
23360char pthread_exit ();
23361int
23362main ()
23363{
23364return pthread_exit ();
23365  ;
23366  return 0;
23367}
23368_ACEOF
23369if ac_fn_c_try_link "$LINENO"; then :
23370  ac_cv_lib_pthread_pthread_exit=yes
23371else
23372  ac_cv_lib_pthread_pthread_exit=no
23373fi
23374rm -f core conftest.err conftest.$ac_objext \
23375    conftest$ac_exeext conftest.$ac_ext
23376LIBS=$ac_check_lib_save_LIBS
23377fi
23378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5
23379$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; }
23380if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then :
23381  ac_pthread_dummy=yes
23382else
23383  ac_cv_pthread=no
23384fi
23385
23386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
23387$as_echo_n "checking for pthread_join in -lpthread... " >&6; }
23388if ${ac_cv_lib_pthread_pthread_join+:} false; then :
23389  $as_echo_n "(cached) " >&6
23390else
23391  ac_check_lib_save_LIBS=$LIBS
23392LIBS="-lpthread  $LIBS"
23393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23394/* end confdefs.h.  */
23395
23396/* Override any GCC internal prototype to avoid an error.
23397   Use char because int might match the return type of a GCC
23398   builtin and then its argument prototype would still apply.  */
23399#ifdef __cplusplus
23400extern "C"
23401#endif
23402char pthread_join ();
23403int
23404main ()
23405{
23406return pthread_join ();
23407  ;
23408  return 0;
23409}
23410_ACEOF
23411if ac_fn_c_try_link "$LINENO"; then :
23412  ac_cv_lib_pthread_pthread_join=yes
23413else
23414  ac_cv_lib_pthread_pthread_join=no
23415fi
23416rm -f core conftest.err conftest.$ac_objext \
23417    conftest$ac_exeext conftest.$ac_ext
23418LIBS=$ac_check_lib_save_LIBS
23419fi
23420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
23421$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
23422if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
23423  ac_pthread_dummy=yes
23424else
23425  ac_cv_pthread=no
23426fi
23427
23428
23429      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5
23430$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; }
23431if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then :
23432  $as_echo_n "(cached) " >&6
23433else
23434  ac_check_lib_save_LIBS=$LIBS
23435LIBS="-lpthread  $LIBS"
23436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437/* end confdefs.h.  */
23438
23439/* Override any GCC internal prototype to avoid an error.
23440   Use char because int might match the return type of a GCC
23441   builtin and then its argument prototype would still apply.  */
23442#ifdef __cplusplus
23443extern "C"
23444#endif
23445char pthread_cond_init ();
23446int
23447main ()
23448{
23449return pthread_cond_init ();
23450  ;
23451  return 0;
23452}
23453_ACEOF
23454if ac_fn_c_try_link "$LINENO"; then :
23455  ac_cv_lib_pthread_pthread_cond_init=yes
23456else
23457  ac_cv_lib_pthread_pthread_cond_init=no
23458fi
23459rm -f core conftest.err conftest.$ac_objext \
23460    conftest$ac_exeext conftest.$ac_ext
23461LIBS=$ac_check_lib_save_LIBS
23462fi
23463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5
23464$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; }
23465if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then :
23466  ac_pthread_dummy=yes
23467else
23468  ac_cv_pthread=no
23469fi
23470
23471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5
23472$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; }
23473if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then :
23474  $as_echo_n "(cached) " >&6
23475else
23476  ac_check_lib_save_LIBS=$LIBS
23477LIBS="-lpthread  $LIBS"
23478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23479/* end confdefs.h.  */
23480
23481/* Override any GCC internal prototype to avoid an error.
23482   Use char because int might match the return type of a GCC
23483   builtin and then its argument prototype would still apply.  */
23484#ifdef __cplusplus
23485extern "C"
23486#endif
23487char pthread_cond_destroy ();
23488int
23489main ()
23490{
23491return pthread_cond_destroy ();
23492  ;
23493  return 0;
23494}
23495_ACEOF
23496if ac_fn_c_try_link "$LINENO"; then :
23497  ac_cv_lib_pthread_pthread_cond_destroy=yes
23498else
23499  ac_cv_lib_pthread_pthread_cond_destroy=no
23500fi
23501rm -f core conftest.err conftest.$ac_objext \
23502    conftest$ac_exeext conftest.$ac_ext
23503LIBS=$ac_check_lib_save_LIBS
23504fi
23505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5
23506$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; }
23507if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then :
23508  ac_pthread_dummy=yes
23509else
23510  ac_cv_pthread=no
23511fi
23512
23513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5
23514$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; }
23515if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then :
23516  $as_echo_n "(cached) " >&6
23517else
23518  ac_check_lib_save_LIBS=$LIBS
23519LIBS="-lpthread  $LIBS"
23520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23521/* end confdefs.h.  */
23522
23523/* Override any GCC internal prototype to avoid an error.
23524   Use char because int might match the return type of a GCC
23525   builtin and then its argument prototype would still apply.  */
23526#ifdef __cplusplus
23527extern "C"
23528#endif
23529char pthread_cond_broadcast ();
23530int
23531main ()
23532{
23533return pthread_cond_broadcast ();
23534  ;
23535  return 0;
23536}
23537_ACEOF
23538if ac_fn_c_try_link "$LINENO"; then :
23539  ac_cv_lib_pthread_pthread_cond_broadcast=yes
23540else
23541  ac_cv_lib_pthread_pthread_cond_broadcast=no
23542fi
23543rm -f core conftest.err conftest.$ac_objext \
23544    conftest$ac_exeext conftest.$ac_ext
23545LIBS=$ac_check_lib_save_LIBS
23546fi
23547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5
23548$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; }
23549if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then :
23550  ac_pthread_dummy=yes
23551else
23552  ac_cv_pthread=no
23553fi
23554
23555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5
23556$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; }
23557if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then :
23558  $as_echo_n "(cached) " >&6
23559else
23560  ac_check_lib_save_LIBS=$LIBS
23561LIBS="-lpthread  $LIBS"
23562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23563/* end confdefs.h.  */
23564
23565/* Override any GCC internal prototype to avoid an error.
23566   Use char because int might match the return type of a GCC
23567   builtin and then its argument prototype would still apply.  */
23568#ifdef __cplusplus
23569extern "C"
23570#endif
23571char pthread_cond_signal ();
23572int
23573main ()
23574{
23575return pthread_cond_signal ();
23576  ;
23577  return 0;
23578}
23579_ACEOF
23580if ac_fn_c_try_link "$LINENO"; then :
23581  ac_cv_lib_pthread_pthread_cond_signal=yes
23582else
23583  ac_cv_lib_pthread_pthread_cond_signal=no
23584fi
23585rm -f core conftest.err conftest.$ac_objext \
23586    conftest$ac_exeext conftest.$ac_ext
23587LIBS=$ac_check_lib_save_LIBS
23588fi
23589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5
23590$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; }
23591if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then :
23592  ac_pthread_dummy=yes
23593else
23594  ac_cv_pthread=no
23595fi
23596
23597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5
23598$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; }
23599if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then :
23600  $as_echo_n "(cached) " >&6
23601else
23602  ac_check_lib_save_LIBS=$LIBS
23603LIBS="-lpthread  $LIBS"
23604cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23605/* end confdefs.h.  */
23606
23607/* Override any GCC internal prototype to avoid an error.
23608   Use char because int might match the return type of a GCC
23609   builtin and then its argument prototype would still apply.  */
23610#ifdef __cplusplus
23611extern "C"
23612#endif
23613char pthread_cond_wait ();
23614int
23615main ()
23616{
23617return pthread_cond_wait ();
23618  ;
23619  return 0;
23620}
23621_ACEOF
23622if ac_fn_c_try_link "$LINENO"; then :
23623  ac_cv_lib_pthread_pthread_cond_wait=yes
23624else
23625  ac_cv_lib_pthread_pthread_cond_wait=no
23626fi
23627rm -f core conftest.err conftest.$ac_objext \
23628    conftest$ac_exeext conftest.$ac_ext
23629LIBS=$ac_check_lib_save_LIBS
23630fi
23631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5
23632$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; }
23633if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then :
23634  ac_pthread_dummy=yes
23635else
23636  ac_cv_pthread=no
23637fi
23638
23639
23640      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
23641$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
23642if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
23643  $as_echo_n "(cached) " >&6
23644else
23645  ac_check_lib_save_LIBS=$LIBS
23646LIBS="-lpthread  $LIBS"
23647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23648/* end confdefs.h.  */
23649
23650/* Override any GCC internal prototype to avoid an error.
23651   Use char because int might match the return type of a GCC
23652   builtin and then its argument prototype would still apply.  */
23653#ifdef __cplusplus
23654extern "C"
23655#endif
23656char pthread_mutex_init ();
23657int
23658main ()
23659{
23660return pthread_mutex_init ();
23661  ;
23662  return 0;
23663}
23664_ACEOF
23665if ac_fn_c_try_link "$LINENO"; then :
23666  ac_cv_lib_pthread_pthread_mutex_init=yes
23667else
23668  ac_cv_lib_pthread_pthread_mutex_init=no
23669fi
23670rm -f core conftest.err conftest.$ac_objext \
23671    conftest$ac_exeext conftest.$ac_ext
23672LIBS=$ac_check_lib_save_LIBS
23673fi
23674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
23675$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
23676if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
23677  ac_pthread_dummy=yes
23678else
23679  ac_cv_pthread=no
23680fi
23681
23682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5
23683$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; }
23684if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then :
23685  $as_echo_n "(cached) " >&6
23686else
23687  ac_check_lib_save_LIBS=$LIBS
23688LIBS="-lpthread  $LIBS"
23689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23690/* end confdefs.h.  */
23691
23692/* Override any GCC internal prototype to avoid an error.
23693   Use char because int might match the return type of a GCC
23694   builtin and then its argument prototype would still apply.  */
23695#ifdef __cplusplus
23696extern "C"
23697#endif
23698char pthread_mutex_destroy ();
23699int
23700main ()
23701{
23702return pthread_mutex_destroy ();
23703  ;
23704  return 0;
23705}
23706_ACEOF
23707if ac_fn_c_try_link "$LINENO"; then :
23708  ac_cv_lib_pthread_pthread_mutex_destroy=yes
23709else
23710  ac_cv_lib_pthread_pthread_mutex_destroy=no
23711fi
23712rm -f core conftest.err conftest.$ac_objext \
23713    conftest$ac_exeext conftest.$ac_ext
23714LIBS=$ac_check_lib_save_LIBS
23715fi
23716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5
23717$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; }
23718if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then :
23719  ac_pthread_dummy=yes
23720else
23721  ac_cv_pthread=no
23722fi
23723
23724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
23725$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
23726if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then :
23727  $as_echo_n "(cached) " >&6
23728else
23729  ac_check_lib_save_LIBS=$LIBS
23730LIBS="-lpthread  $LIBS"
23731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23732/* end confdefs.h.  */
23733
23734/* Override any GCC internal prototype to avoid an error.
23735   Use char because int might match the return type of a GCC
23736   builtin and then its argument prototype would still apply.  */
23737#ifdef __cplusplus
23738extern "C"
23739#endif
23740char pthread_mutex_lock ();
23741int
23742main ()
23743{
23744return pthread_mutex_lock ();
23745  ;
23746  return 0;
23747}
23748_ACEOF
23749if ac_fn_c_try_link "$LINENO"; then :
23750  ac_cv_lib_pthread_pthread_mutex_lock=yes
23751else
23752  ac_cv_lib_pthread_pthread_mutex_lock=no
23753fi
23754rm -f core conftest.err conftest.$ac_objext \
23755    conftest$ac_exeext conftest.$ac_ext
23756LIBS=$ac_check_lib_save_LIBS
23757fi
23758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
23759$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
23760if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then :
23761  ac_pthread_dummy=yes
23762else
23763  ac_cv_pthread=no
23764fi
23765
23766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5
23767$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; }
23768if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then :
23769  $as_echo_n "(cached) " >&6
23770else
23771  ac_check_lib_save_LIBS=$LIBS
23772LIBS="-lpthread  $LIBS"
23773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23774/* end confdefs.h.  */
23775
23776/* Override any GCC internal prototype to avoid an error.
23777   Use char because int might match the return type of a GCC
23778   builtin and then its argument prototype would still apply.  */
23779#ifdef __cplusplus
23780extern "C"
23781#endif
23782char pthread_mutex_trylock ();
23783int
23784main ()
23785{
23786return pthread_mutex_trylock ();
23787  ;
23788  return 0;
23789}
23790_ACEOF
23791if ac_fn_c_try_link "$LINENO"; then :
23792  ac_cv_lib_pthread_pthread_mutex_trylock=yes
23793else
23794  ac_cv_lib_pthread_pthread_mutex_trylock=no
23795fi
23796rm -f core conftest.err conftest.$ac_objext \
23797    conftest$ac_exeext conftest.$ac_ext
23798LIBS=$ac_check_lib_save_LIBS
23799fi
23800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5
23801$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; }
23802if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then :
23803  ac_pthread_dummy=yes
23804else
23805  ac_cv_pthread=no
23806fi
23807
23808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5
23809$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; }
23810if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then :
23811  $as_echo_n "(cached) " >&6
23812else
23813  ac_check_lib_save_LIBS=$LIBS
23814LIBS="-lpthread  $LIBS"
23815cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23816/* end confdefs.h.  */
23817
23818/* Override any GCC internal prototype to avoid an error.
23819   Use char because int might match the return type of a GCC
23820   builtin and then its argument prototype would still apply.  */
23821#ifdef __cplusplus
23822extern "C"
23823#endif
23824char pthread_mutex_unlock ();
23825int
23826main ()
23827{
23828return pthread_mutex_unlock ();
23829  ;
23830  return 0;
23831}
23832_ACEOF
23833if ac_fn_c_try_link "$LINENO"; then :
23834  ac_cv_lib_pthread_pthread_mutex_unlock=yes
23835else
23836  ac_cv_lib_pthread_pthread_mutex_unlock=no
23837fi
23838rm -f core conftest.err conftest.$ac_objext \
23839    conftest$ac_exeext conftest.$ac_ext
23840LIBS=$ac_check_lib_save_LIBS
23841fi
23842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5
23843$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; }
23844if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then :
23845  ac_pthread_dummy=yes
23846else
23847  ac_cv_pthread=no
23848fi
23849
23850
23851      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5
23852$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; }
23853if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then :
23854  $as_echo_n "(cached) " >&6
23855else
23856  ac_check_lib_save_LIBS=$LIBS
23857LIBS="-lpthread  $LIBS"
23858cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23859/* end confdefs.h.  */
23860
23861/* Override any GCC internal prototype to avoid an error.
23862   Use char because int might match the return type of a GCC
23863   builtin and then its argument prototype would still apply.  */
23864#ifdef __cplusplus
23865extern "C"
23866#endif
23867char pthread_rwlock_init ();
23868int
23869main ()
23870{
23871return pthread_rwlock_init ();
23872  ;
23873  return 0;
23874}
23875_ACEOF
23876if ac_fn_c_try_link "$LINENO"; then :
23877  ac_cv_lib_pthread_pthread_rwlock_init=yes
23878else
23879  ac_cv_lib_pthread_pthread_rwlock_init=no
23880fi
23881rm -f core conftest.err conftest.$ac_objext \
23882    conftest$ac_exeext conftest.$ac_ext
23883LIBS=$ac_check_lib_save_LIBS
23884fi
23885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5
23886$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; }
23887if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then :
23888  ac_pthread_dummy=yes
23889else
23890  ac_cv_pthread=no
23891fi
23892
23893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5
23894$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; }
23895if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then :
23896  $as_echo_n "(cached) " >&6
23897else
23898  ac_check_lib_save_LIBS=$LIBS
23899LIBS="-lpthread  $LIBS"
23900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23901/* end confdefs.h.  */
23902
23903/* Override any GCC internal prototype to avoid an error.
23904   Use char because int might match the return type of a GCC
23905   builtin and then its argument prototype would still apply.  */
23906#ifdef __cplusplus
23907extern "C"
23908#endif
23909char pthread_rwlock_destroy ();
23910int
23911main ()
23912{
23913return pthread_rwlock_destroy ();
23914  ;
23915  return 0;
23916}
23917_ACEOF
23918if ac_fn_c_try_link "$LINENO"; then :
23919  ac_cv_lib_pthread_pthread_rwlock_destroy=yes
23920else
23921  ac_cv_lib_pthread_pthread_rwlock_destroy=no
23922fi
23923rm -f core conftest.err conftest.$ac_objext \
23924    conftest$ac_exeext conftest.$ac_ext
23925LIBS=$ac_check_lib_save_LIBS
23926fi
23927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5
23928$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; }
23929if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then :
23930  ac_pthread_dummy=yes
23931else
23932  ac_cv_pthread=no
23933fi
23934
23935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5
23936$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; }
23937if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then :
23938  $as_echo_n "(cached) " >&6
23939else
23940  ac_check_lib_save_LIBS=$LIBS
23941LIBS="-lpthread  $LIBS"
23942cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23943/* end confdefs.h.  */
23944
23945/* Override any GCC internal prototype to avoid an error.
23946   Use char because int might match the return type of a GCC
23947   builtin and then its argument prototype would still apply.  */
23948#ifdef __cplusplus
23949extern "C"
23950#endif
23951char pthread_rwlock_rdlock ();
23952int
23953main ()
23954{
23955return pthread_rwlock_rdlock ();
23956  ;
23957  return 0;
23958}
23959_ACEOF
23960if ac_fn_c_try_link "$LINENO"; then :
23961  ac_cv_lib_pthread_pthread_rwlock_rdlock=yes
23962else
23963  ac_cv_lib_pthread_pthread_rwlock_rdlock=no
23964fi
23965rm -f core conftest.err conftest.$ac_objext \
23966    conftest$ac_exeext conftest.$ac_ext
23967LIBS=$ac_check_lib_save_LIBS
23968fi
23969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5
23970$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; }
23971if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then :
23972  ac_pthread_dummy=yes
23973else
23974  ac_cv_pthread=no
23975fi
23976
23977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5
23978$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; }
23979if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then :
23980  $as_echo_n "(cached) " >&6
23981else
23982  ac_check_lib_save_LIBS=$LIBS
23983LIBS="-lpthread  $LIBS"
23984cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23985/* end confdefs.h.  */
23986
23987/* Override any GCC internal prototype to avoid an error.
23988   Use char because int might match the return type of a GCC
23989   builtin and then its argument prototype would still apply.  */
23990#ifdef __cplusplus
23991extern "C"
23992#endif
23993char pthread_rwlock_wrlock ();
23994int
23995main ()
23996{
23997return pthread_rwlock_wrlock ();
23998  ;
23999  return 0;
24000}
24001_ACEOF
24002if ac_fn_c_try_link "$LINENO"; then :
24003  ac_cv_lib_pthread_pthread_rwlock_wrlock=yes
24004else
24005  ac_cv_lib_pthread_pthread_rwlock_wrlock=no
24006fi
24007rm -f core conftest.err conftest.$ac_objext \
24008    conftest$ac_exeext conftest.$ac_ext
24009LIBS=$ac_check_lib_save_LIBS
24010fi
24011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5
24012$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; }
24013if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then :
24014  ac_pthread_dummy=yes
24015else
24016  ac_cv_pthread=no
24017fi
24018
24019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5
24020$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; }
24021if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then :
24022  $as_echo_n "(cached) " >&6
24023else
24024  ac_check_lib_save_LIBS=$LIBS
24025LIBS="-lpthread  $LIBS"
24026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027/* end confdefs.h.  */
24028
24029/* Override any GCC internal prototype to avoid an error.
24030   Use char because int might match the return type of a GCC
24031   builtin and then its argument prototype would still apply.  */
24032#ifdef __cplusplus
24033extern "C"
24034#endif
24035char pthread_rwlock_unlock ();
24036int
24037main ()
24038{
24039return pthread_rwlock_unlock ();
24040  ;
24041  return 0;
24042}
24043_ACEOF
24044if ac_fn_c_try_link "$LINENO"; then :
24045  ac_cv_lib_pthread_pthread_rwlock_unlock=yes
24046else
24047  ac_cv_lib_pthread_pthread_rwlock_unlock=no
24048fi
24049rm -f core conftest.err conftest.$ac_objext \
24050    conftest$ac_exeext conftest.$ac_ext
24051LIBS=$ac_check_lib_save_LIBS
24052fi
24053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5
24054$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; }
24055if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then :
24056  ac_pthread_dummy=yes
24057else
24058  ac_cv_pthread=no
24059fi
24060
24061
24062   ac_cv_pthread_LIBADD="-lpthread";
24063
24064fi
24065
24066fi
24067
24068 if test "x$ac_cv_pthread" = xpthread; then :
24069
24070$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
24071
24072
24073fi
24074
24075 if test "x$ac_cv_pthread" != xno; then :
24076  HAVE_PTHREAD=1
24077
24078else
24079  HAVE_PTHREAD=0
24080
24081
24082fi
24083
24084
24085 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then :
24086  PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS
24087
24088
24089fi
24090 if test "x$ac_cv_pthread_LIBADD" != "x"; then :
24091  PTHREAD_LIBADD=$ac_cv_pthread_LIBADD
24092
24093
24094fi
24095
24096 if test "x$ac_cv_pthread" = xpthread; then :
24097  ax_pthread_pc_libs_private=-lpthread
24098
24099
24100fi
24101
24102      ac_cv_libcthreads_multi_threading=$ac_cv_pthread
24103else
24104  ac_cv_libcthreads_multi_threading="winapi"
24105fi
24106
24107  if test "x$ac_cv_libcthreads_multi_threading" != xno; then :
24108  ac_cv_libcthreads_CPPFLAGS="-I../libcthreads";
24109    ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la";
24110
24111    ac_cv_libcthreads=local
24112else
24113  ac_cv_libcthreads=no
24114fi
24115
24116
24117
24118$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h
24119
24120      HAVE_LOCAL_LIBCTHREADS=1
24121
24122
24123fi
24124
24125fi
24126
24127   if test "x$ac_cv_libcthreads" = xlocal; then
24128  HAVE_LOCAL_LIBCTHREADS_TRUE=
24129  HAVE_LOCAL_LIBCTHREADS_FALSE='#'
24130else
24131  HAVE_LOCAL_LIBCTHREADS_TRUE='#'
24132  HAVE_LOCAL_LIBCTHREADS_FALSE=
24133fi
24134
24135  if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then :
24136  LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS
24137
24138
24139fi
24140  if test "x$ac_cv_libcthreads_LIBADD" != "x"; then :
24141  LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD
24142
24143
24144fi
24145
24146  if test "x$ac_cv_libcthreads" != xno; then :
24147
24148$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h
24149
24150    HAVE_MULTI_THREAD_SUPPORT=1
24151
24152else
24153  HAVE_MULTI_THREAD_SUPPORT=0
24154
24155
24156fi
24157
24158  if test "x$ac_cv_libcthreads" = xyes; then :
24159  ax_libcthreads_pc_libs_private=-lcthreads
24160
24161
24162fi
24163
24164  if test "x$ac_cv_libcthreads" = xyes; then :
24165  ax_libcthreads_spec_requires=libcthreads
24166
24167    ax_libcthreads_spec_build_requires=libcthreads-devel
24168
24169
24170fi
24171
24172
24173
24174
24175# Check whether --with-libcdata was given.
24176if test "${with_libcdata+set}" = set; then :
24177  withval=$with_libcdata; ac_cv_with_libcdata=$withval
24178else
24179  ac_cv_with_libcdata=auto-detect
24180fi
24181
24182    { $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
24183$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; }
24184if ${ac_cv_with_libcdata+:} false; then :
24185  $as_echo_n "(cached) " >&6
24186else
24187  ac_cv_with_libcdata=auto-detect
24188fi
24189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5
24190$as_echo "$ac_cv_with_libcdata" >&6; }
24191
24192    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then :
24193  ac_cv_libcdata=no
24194else
24195  ac_cv_libcdata=check
24196        if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then :
24197  if test -d "$ac_cv_with_libcdata"; then :
24198  CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include"
24199        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib"
24200else
24201  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24203as_fn_error 1 "no such directory: $ac_cv_with_libcdata
24204See \`config.log' for more details" "$LINENO" 5; }
24205
24206fi
24207
24208else
24209        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
24210
24211pkg_failed=no
24212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5
24213$as_echo_n "checking for libcdata... " >&6; }
24214
24215if test -n "$libcdata_CFLAGS"; then
24216    pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS"
24217 elif test -n "$PKG_CONFIG"; then
24218    if test -n "$PKG_CONFIG" && \
24219    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
24220  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
24221  ac_status=$?
24222  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24223  test $ac_status = 0; }; then
24224  pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null`
24225		      test "x$?" != "x0" && pkg_failed=yes
24226else
24227  pkg_failed=yes
24228fi
24229 else
24230    pkg_failed=untried
24231fi
24232if test -n "$libcdata_LIBS"; then
24233    pkg_cv_libcdata_LIBS="$libcdata_LIBS"
24234 elif test -n "$PKG_CONFIG"; then
24235    if test -n "$PKG_CONFIG" && \
24236    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
24237  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
24238  ac_status=$?
24239  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24240  test $ac_status = 0; }; then
24241  pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null`
24242		      test "x$?" != "x0" && pkg_failed=yes
24243else
24244  pkg_failed=yes
24245fi
24246 else
24247    pkg_failed=untried
24248fi
24249
24250
24251
24252if test $pkg_failed = yes; then
24253   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24254$as_echo "no" >&6; }
24255
24256if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24257        _pkg_short_errors_supported=yes
24258else
24259        _pkg_short_errors_supported=no
24260fi
24261        if test $_pkg_short_errors_supported = yes; then
24262	        libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
24263        else
24264	        libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
24265        fi
24266	# Put the nasty error message in config.log where it belongs
24267	echo "$libcdata_PKG_ERRORS" >&5
24268
24269	ac_cv_libcdata=check
24270elif test $pkg_failed = untried; then
24271     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24272$as_echo "no" >&6; }
24273	ac_cv_libcdata=check
24274else
24275	libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS
24276	libcdata_LIBS=$pkg_cv_libcdata_LIBS
24277        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24278$as_echo "yes" >&6; }
24279	ac_cv_libcdata=yes
24280fi
24281
24282fi
24283      if test "x$ac_cv_libcdata" = xyes; then :
24284  ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS"
24285        ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS"
24286fi
24287
24288fi
24289
24290    if test "x$ac_cv_libcdata" = xcheck; then :
24291        for ac_header in libcdata.h
24292do :
24293  ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default"
24294if test "x$ac_cv_header_libcdata_h" = xyes; then :
24295  cat >>confdefs.h <<_ACEOF
24296#define HAVE_LIBCDATA_H 1
24297_ACEOF
24298
24299fi
24300
24301done
24302
24303
24304      if test "x$ac_cv_header_libcdata_h" = xno; then :
24305  ac_cv_libcdata=no
24306else
24307          ac_cv_libcdata=yes
24308
24309        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5
24310$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; }
24311if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then :
24312  $as_echo_n "(cached) " >&6
24313else
24314  ac_check_lib_save_LIBS=$LIBS
24315LIBS="-lcdata  $LIBS"
24316cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24317/* end confdefs.h.  */
24318
24319/* Override any GCC internal prototype to avoid an error.
24320   Use char because int might match the return type of a GCC
24321   builtin and then its argument prototype would still apply.  */
24322#ifdef __cplusplus
24323extern "C"
24324#endif
24325char libcdata_get_version ();
24326int
24327main ()
24328{
24329return libcdata_get_version ();
24330  ;
24331  return 0;
24332}
24333_ACEOF
24334if ac_fn_c_try_link "$LINENO"; then :
24335  ac_cv_lib_cdata_libcdata_get_version=yes
24336else
24337  ac_cv_lib_cdata_libcdata_get_version=no
24338fi
24339rm -f core conftest.err conftest.$ac_objext \
24340    conftest$ac_exeext conftest.$ac_ext
24341LIBS=$ac_check_lib_save_LIBS
24342fi
24343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5
24344$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; }
24345if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then :
24346  ac_cv_libcdata_dummy=yes
24347else
24348  ac_cv_libcdata=no
24349fi
24350
24351
24352                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5
24353$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; }
24354if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then :
24355  $as_echo_n "(cached) " >&6
24356else
24357  ac_check_lib_save_LIBS=$LIBS
24358LIBS="-lcdata  $LIBS"
24359cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360/* end confdefs.h.  */
24361
24362/* Override any GCC internal prototype to avoid an error.
24363   Use char because int might match the return type of a GCC
24364   builtin and then its argument prototype would still apply.  */
24365#ifdef __cplusplus
24366extern "C"
24367#endif
24368char libcdata_array_initialize ();
24369int
24370main ()
24371{
24372return libcdata_array_initialize ();
24373  ;
24374  return 0;
24375}
24376_ACEOF
24377if ac_fn_c_try_link "$LINENO"; then :
24378  ac_cv_lib_cdata_libcdata_array_initialize=yes
24379else
24380  ac_cv_lib_cdata_libcdata_array_initialize=no
24381fi
24382rm -f core conftest.err conftest.$ac_objext \
24383    conftest$ac_exeext conftest.$ac_ext
24384LIBS=$ac_check_lib_save_LIBS
24385fi
24386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5
24387$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; }
24388if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then :
24389  ac_cv_libcdata_dummy=yes
24390else
24391  ac_cv_libcdata=no
24392fi
24393
24394        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5
24395$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; }
24396if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then :
24397  $as_echo_n "(cached) " >&6
24398else
24399  ac_check_lib_save_LIBS=$LIBS
24400LIBS="-lcdata  $LIBS"
24401cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402/* end confdefs.h.  */
24403
24404/* Override any GCC internal prototype to avoid an error.
24405   Use char because int might match the return type of a GCC
24406   builtin and then its argument prototype would still apply.  */
24407#ifdef __cplusplus
24408extern "C"
24409#endif
24410char libcdata_array_free ();
24411int
24412main ()
24413{
24414return libcdata_array_free ();
24415  ;
24416  return 0;
24417}
24418_ACEOF
24419if ac_fn_c_try_link "$LINENO"; then :
24420  ac_cv_lib_cdata_libcdata_array_free=yes
24421else
24422  ac_cv_lib_cdata_libcdata_array_free=no
24423fi
24424rm -f core conftest.err conftest.$ac_objext \
24425    conftest$ac_exeext conftest.$ac_ext
24426LIBS=$ac_check_lib_save_LIBS
24427fi
24428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5
24429$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; }
24430if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then :
24431  ac_cv_libcdata_dummy=yes
24432else
24433  ac_cv_libcdata=no
24434fi
24435
24436        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5
24437$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; }
24438if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then :
24439  $as_echo_n "(cached) " >&6
24440else
24441  ac_check_lib_save_LIBS=$LIBS
24442LIBS="-lcdata  $LIBS"
24443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24444/* end confdefs.h.  */
24445
24446/* Override any GCC internal prototype to avoid an error.
24447   Use char because int might match the return type of a GCC
24448   builtin and then its argument prototype would still apply.  */
24449#ifdef __cplusplus
24450extern "C"
24451#endif
24452char libcdata_array_empty ();
24453int
24454main ()
24455{
24456return libcdata_array_empty ();
24457  ;
24458  return 0;
24459}
24460_ACEOF
24461if ac_fn_c_try_link "$LINENO"; then :
24462  ac_cv_lib_cdata_libcdata_array_empty=yes
24463else
24464  ac_cv_lib_cdata_libcdata_array_empty=no
24465fi
24466rm -f core conftest.err conftest.$ac_objext \
24467    conftest$ac_exeext conftest.$ac_ext
24468LIBS=$ac_check_lib_save_LIBS
24469fi
24470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5
24471$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; }
24472if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then :
24473  ac_cv_libcdata_dummy=yes
24474else
24475  ac_cv_libcdata=no
24476fi
24477
24478        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5
24479$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; }
24480if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then :
24481  $as_echo_n "(cached) " >&6
24482else
24483  ac_check_lib_save_LIBS=$LIBS
24484LIBS="-lcdata  $LIBS"
24485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24486/* end confdefs.h.  */
24487
24488/* Override any GCC internal prototype to avoid an error.
24489   Use char because int might match the return type of a GCC
24490   builtin and then its argument prototype would still apply.  */
24491#ifdef __cplusplus
24492extern "C"
24493#endif
24494char libcdata_array_clone ();
24495int
24496main ()
24497{
24498return libcdata_array_clone ();
24499  ;
24500  return 0;
24501}
24502_ACEOF
24503if ac_fn_c_try_link "$LINENO"; then :
24504  ac_cv_lib_cdata_libcdata_array_clone=yes
24505else
24506  ac_cv_lib_cdata_libcdata_array_clone=no
24507fi
24508rm -f core conftest.err conftest.$ac_objext \
24509    conftest$ac_exeext conftest.$ac_ext
24510LIBS=$ac_check_lib_save_LIBS
24511fi
24512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5
24513$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; }
24514if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then :
24515  ac_cv_libcdata_dummy=yes
24516else
24517  ac_cv_libcdata=no
24518fi
24519
24520        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5
24521$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; }
24522if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then :
24523  $as_echo_n "(cached) " >&6
24524else
24525  ac_check_lib_save_LIBS=$LIBS
24526LIBS="-lcdata  $LIBS"
24527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24528/* end confdefs.h.  */
24529
24530/* Override any GCC internal prototype to avoid an error.
24531   Use char because int might match the return type of a GCC
24532   builtin and then its argument prototype would still apply.  */
24533#ifdef __cplusplus
24534extern "C"
24535#endif
24536char libcdata_array_resize ();
24537int
24538main ()
24539{
24540return libcdata_array_resize ();
24541  ;
24542  return 0;
24543}
24544_ACEOF
24545if ac_fn_c_try_link "$LINENO"; then :
24546  ac_cv_lib_cdata_libcdata_array_resize=yes
24547else
24548  ac_cv_lib_cdata_libcdata_array_resize=no
24549fi
24550rm -f core conftest.err conftest.$ac_objext \
24551    conftest$ac_exeext conftest.$ac_ext
24552LIBS=$ac_check_lib_save_LIBS
24553fi
24554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5
24555$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; }
24556if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then :
24557  ac_cv_libcdata_dummy=yes
24558else
24559  ac_cv_libcdata=no
24560fi
24561
24562        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5
24563$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; }
24564if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then :
24565  $as_echo_n "(cached) " >&6
24566else
24567  ac_check_lib_save_LIBS=$LIBS
24568LIBS="-lcdata  $LIBS"
24569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570/* end confdefs.h.  */
24571
24572/* Override any GCC internal prototype to avoid an error.
24573   Use char because int might match the return type of a GCC
24574   builtin and then its argument prototype would still apply.  */
24575#ifdef __cplusplus
24576extern "C"
24577#endif
24578char libcdata_array_reverse ();
24579int
24580main ()
24581{
24582return libcdata_array_reverse ();
24583  ;
24584  return 0;
24585}
24586_ACEOF
24587if ac_fn_c_try_link "$LINENO"; then :
24588  ac_cv_lib_cdata_libcdata_array_reverse=yes
24589else
24590  ac_cv_lib_cdata_libcdata_array_reverse=no
24591fi
24592rm -f core conftest.err conftest.$ac_objext \
24593    conftest$ac_exeext conftest.$ac_ext
24594LIBS=$ac_check_lib_save_LIBS
24595fi
24596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5
24597$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; }
24598if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then :
24599  ac_cv_libcdata_dummy=yes
24600else
24601  ac_cv_libcdata=no
24602fi
24603
24604        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5
24605$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; }
24606if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then :
24607  $as_echo_n "(cached) " >&6
24608else
24609  ac_check_lib_save_LIBS=$LIBS
24610LIBS="-lcdata  $LIBS"
24611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24612/* end confdefs.h.  */
24613
24614/* Override any GCC internal prototype to avoid an error.
24615   Use char because int might match the return type of a GCC
24616   builtin and then its argument prototype would still apply.  */
24617#ifdef __cplusplus
24618extern "C"
24619#endif
24620char libcdata_array_get_number_of_entries ();
24621int
24622main ()
24623{
24624return libcdata_array_get_number_of_entries ();
24625  ;
24626  return 0;
24627}
24628_ACEOF
24629if ac_fn_c_try_link "$LINENO"; then :
24630  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes
24631else
24632  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no
24633fi
24634rm -f core conftest.err conftest.$ac_objext \
24635    conftest$ac_exeext conftest.$ac_ext
24636LIBS=$ac_check_lib_save_LIBS
24637fi
24638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5
24639$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; }
24640if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then :
24641  ac_cv_libcdata_dummy=yes
24642else
24643  ac_cv_libcdata=no
24644fi
24645
24646        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5
24647$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; }
24648if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then :
24649  $as_echo_n "(cached) " >&6
24650else
24651  ac_check_lib_save_LIBS=$LIBS
24652LIBS="-lcdata  $LIBS"
24653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24654/* end confdefs.h.  */
24655
24656/* Override any GCC internal prototype to avoid an error.
24657   Use char because int might match the return type of a GCC
24658   builtin and then its argument prototype would still apply.  */
24659#ifdef __cplusplus
24660extern "C"
24661#endif
24662char libcdata_array_get_entry_by_index ();
24663int
24664main ()
24665{
24666return libcdata_array_get_entry_by_index ();
24667  ;
24668  return 0;
24669}
24670_ACEOF
24671if ac_fn_c_try_link "$LINENO"; then :
24672  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes
24673else
24674  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no
24675fi
24676rm -f core conftest.err conftest.$ac_objext \
24677    conftest$ac_exeext conftest.$ac_ext
24678LIBS=$ac_check_lib_save_LIBS
24679fi
24680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5
24681$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; }
24682if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then :
24683  ac_cv_libcdata_dummy=yes
24684else
24685  ac_cv_libcdata=no
24686fi
24687
24688        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5
24689$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; }
24690if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then :
24691  $as_echo_n "(cached) " >&6
24692else
24693  ac_check_lib_save_LIBS=$LIBS
24694LIBS="-lcdata  $LIBS"
24695cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24696/* end confdefs.h.  */
24697
24698/* Override any GCC internal prototype to avoid an error.
24699   Use char because int might match the return type of a GCC
24700   builtin and then its argument prototype would still apply.  */
24701#ifdef __cplusplus
24702extern "C"
24703#endif
24704char libcdata_array_get_entry_by_value ();
24705int
24706main ()
24707{
24708return libcdata_array_get_entry_by_value ();
24709  ;
24710  return 0;
24711}
24712_ACEOF
24713if ac_fn_c_try_link "$LINENO"; then :
24714  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes
24715else
24716  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no
24717fi
24718rm -f core conftest.err conftest.$ac_objext \
24719    conftest$ac_exeext conftest.$ac_ext
24720LIBS=$ac_check_lib_save_LIBS
24721fi
24722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5
24723$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; }
24724if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then :
24725  ac_cv_libcdata_dummy=yes
24726else
24727  ac_cv_libcdata=no
24728fi
24729
24730        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5
24731$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; }
24732if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then :
24733  $as_echo_n "(cached) " >&6
24734else
24735  ac_check_lib_save_LIBS=$LIBS
24736LIBS="-lcdata  $LIBS"
24737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24738/* end confdefs.h.  */
24739
24740/* Override any GCC internal prototype to avoid an error.
24741   Use char because int might match the return type of a GCC
24742   builtin and then its argument prototype would still apply.  */
24743#ifdef __cplusplus
24744extern "C"
24745#endif
24746char libcdata_array_set_entry_by_index ();
24747int
24748main ()
24749{
24750return libcdata_array_set_entry_by_index ();
24751  ;
24752  return 0;
24753}
24754_ACEOF
24755if ac_fn_c_try_link "$LINENO"; then :
24756  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes
24757else
24758  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no
24759fi
24760rm -f core conftest.err conftest.$ac_objext \
24761    conftest$ac_exeext conftest.$ac_ext
24762LIBS=$ac_check_lib_save_LIBS
24763fi
24764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5
24765$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; }
24766if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then :
24767  ac_cv_libcdata_dummy=yes
24768else
24769  ac_cv_libcdata=no
24770fi
24771
24772        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5
24773$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; }
24774if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then :
24775  $as_echo_n "(cached) " >&6
24776else
24777  ac_check_lib_save_LIBS=$LIBS
24778LIBS="-lcdata  $LIBS"
24779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24780/* end confdefs.h.  */
24781
24782/* Override any GCC internal prototype to avoid an error.
24783   Use char because int might match the return type of a GCC
24784   builtin and then its argument prototype would still apply.  */
24785#ifdef __cplusplus
24786extern "C"
24787#endif
24788char libcdata_array_prepend_entry ();
24789int
24790main ()
24791{
24792return libcdata_array_prepend_entry ();
24793  ;
24794  return 0;
24795}
24796_ACEOF
24797if ac_fn_c_try_link "$LINENO"; then :
24798  ac_cv_lib_cdata_libcdata_array_prepend_entry=yes
24799else
24800  ac_cv_lib_cdata_libcdata_array_prepend_entry=no
24801fi
24802rm -f core conftest.err conftest.$ac_objext \
24803    conftest$ac_exeext conftest.$ac_ext
24804LIBS=$ac_check_lib_save_LIBS
24805fi
24806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5
24807$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; }
24808if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then :
24809  ac_cv_libcdata_dummy=yes
24810else
24811  ac_cv_libcdata=no
24812fi
24813
24814        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5
24815$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; }
24816if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then :
24817  $as_echo_n "(cached) " >&6
24818else
24819  ac_check_lib_save_LIBS=$LIBS
24820LIBS="-lcdata  $LIBS"
24821cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24822/* end confdefs.h.  */
24823
24824/* Override any GCC internal prototype to avoid an error.
24825   Use char because int might match the return type of a GCC
24826   builtin and then its argument prototype would still apply.  */
24827#ifdef __cplusplus
24828extern "C"
24829#endif
24830char libcdata_array_append_entry ();
24831int
24832main ()
24833{
24834return libcdata_array_append_entry ();
24835  ;
24836  return 0;
24837}
24838_ACEOF
24839if ac_fn_c_try_link "$LINENO"; then :
24840  ac_cv_lib_cdata_libcdata_array_append_entry=yes
24841else
24842  ac_cv_lib_cdata_libcdata_array_append_entry=no
24843fi
24844rm -f core conftest.err conftest.$ac_objext \
24845    conftest$ac_exeext conftest.$ac_ext
24846LIBS=$ac_check_lib_save_LIBS
24847fi
24848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5
24849$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; }
24850if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then :
24851  ac_cv_libcdata_dummy=yes
24852else
24853  ac_cv_libcdata=no
24854fi
24855
24856        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5
24857$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; }
24858if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then :
24859  $as_echo_n "(cached) " >&6
24860else
24861  ac_check_lib_save_LIBS=$LIBS
24862LIBS="-lcdata  $LIBS"
24863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24864/* end confdefs.h.  */
24865
24866/* Override any GCC internal prototype to avoid an error.
24867   Use char because int might match the return type of a GCC
24868   builtin and then its argument prototype would still apply.  */
24869#ifdef __cplusplus
24870extern "C"
24871#endif
24872char libcdata_array_insert_entry ();
24873int
24874main ()
24875{
24876return libcdata_array_insert_entry ();
24877  ;
24878  return 0;
24879}
24880_ACEOF
24881if ac_fn_c_try_link "$LINENO"; then :
24882  ac_cv_lib_cdata_libcdata_array_insert_entry=yes
24883else
24884  ac_cv_lib_cdata_libcdata_array_insert_entry=no
24885fi
24886rm -f core conftest.err conftest.$ac_objext \
24887    conftest$ac_exeext conftest.$ac_ext
24888LIBS=$ac_check_lib_save_LIBS
24889fi
24890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5
24891$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; }
24892if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then :
24893  ac_cv_libcdata_dummy=yes
24894else
24895  ac_cv_libcdata=no
24896fi
24897
24898        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5
24899$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; }
24900if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then :
24901  $as_echo_n "(cached) " >&6
24902else
24903  ac_check_lib_save_LIBS=$LIBS
24904LIBS="-lcdata  $LIBS"
24905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24906/* end confdefs.h.  */
24907
24908/* Override any GCC internal prototype to avoid an error.
24909   Use char because int might match the return type of a GCC
24910   builtin and then its argument prototype would still apply.  */
24911#ifdef __cplusplus
24912extern "C"
24913#endif
24914char libcdata_array_remove_entry ();
24915int
24916main ()
24917{
24918return libcdata_array_remove_entry ();
24919  ;
24920  return 0;
24921}
24922_ACEOF
24923if ac_fn_c_try_link "$LINENO"; then :
24924  ac_cv_lib_cdata_libcdata_array_remove_entry=yes
24925else
24926  ac_cv_lib_cdata_libcdata_array_remove_entry=no
24927fi
24928rm -f core conftest.err conftest.$ac_objext \
24929    conftest$ac_exeext conftest.$ac_ext
24930LIBS=$ac_check_lib_save_LIBS
24931fi
24932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5
24933$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; }
24934if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then :
24935  ac_cv_libcdata_dummy=yes
24936else
24937  ac_cv_libcdata=no
24938fi
24939
24940
24941                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5
24942$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; }
24943if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then :
24944  $as_echo_n "(cached) " >&6
24945else
24946  ac_check_lib_save_LIBS=$LIBS
24947LIBS="-lcdata  $LIBS"
24948cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24949/* end confdefs.h.  */
24950
24951/* Override any GCC internal prototype to avoid an error.
24952   Use char because int might match the return type of a GCC
24953   builtin and then its argument prototype would still apply.  */
24954#ifdef __cplusplus
24955extern "C"
24956#endif
24957char libfdata_btree_initialize ();
24958int
24959main ()
24960{
24961return libfdata_btree_initialize ();
24962  ;
24963  return 0;
24964}
24965_ACEOF
24966if ac_fn_c_try_link "$LINENO"; then :
24967  ac_cv_lib_cdata_libfdata_btree_initialize=yes
24968else
24969  ac_cv_lib_cdata_libfdata_btree_initialize=no
24970fi
24971rm -f core conftest.err conftest.$ac_objext \
24972    conftest$ac_exeext conftest.$ac_ext
24973LIBS=$ac_check_lib_save_LIBS
24974fi
24975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5
24976$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; }
24977if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then :
24978  ac_cv_libcdata_dummy=yes
24979else
24980  ac_cv_libcdata=no
24981fi
24982
24983        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5
24984$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; }
24985if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then :
24986  $as_echo_n "(cached) " >&6
24987else
24988  ac_check_lib_save_LIBS=$LIBS
24989LIBS="-lcdata  $LIBS"
24990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991/* end confdefs.h.  */
24992
24993/* Override any GCC internal prototype to avoid an error.
24994   Use char because int might match the return type of a GCC
24995   builtin and then its argument prototype would still apply.  */
24996#ifdef __cplusplus
24997extern "C"
24998#endif
24999char libcdata_btree_free ();
25000int
25001main ()
25002{
25003return libcdata_btree_free ();
25004  ;
25005  return 0;
25006}
25007_ACEOF
25008if ac_fn_c_try_link "$LINENO"; then :
25009  ac_cv_lib_cdata_libcdata_btree_free=yes
25010else
25011  ac_cv_lib_cdata_libcdata_btree_free=no
25012fi
25013rm -f core conftest.err conftest.$ac_objext \
25014    conftest$ac_exeext conftest.$ac_ext
25015LIBS=$ac_check_lib_save_LIBS
25016fi
25017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5
25018$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; }
25019if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then :
25020  ac_cv_libcdata_dummy=yes
25021else
25022  ac_cv_libcdata=no
25023fi
25024
25025        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5
25026$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; }
25027if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then :
25028  $as_echo_n "(cached) " >&6
25029else
25030  ac_check_lib_save_LIBS=$LIBS
25031LIBS="-lcdata  $LIBS"
25032cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25033/* end confdefs.h.  */
25034
25035/* Override any GCC internal prototype to avoid an error.
25036   Use char because int might match the return type of a GCC
25037   builtin and then its argument prototype would still apply.  */
25038#ifdef __cplusplus
25039extern "C"
25040#endif
25041char libcdata_btree_get_number_of_values ();
25042int
25043main ()
25044{
25045return libcdata_btree_get_number_of_values ();
25046  ;
25047  return 0;
25048}
25049_ACEOF
25050if ac_fn_c_try_link "$LINENO"; then :
25051  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes
25052else
25053  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no
25054fi
25055rm -f core conftest.err conftest.$ac_objext \
25056    conftest$ac_exeext conftest.$ac_ext
25057LIBS=$ac_check_lib_save_LIBS
25058fi
25059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5
25060$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; }
25061if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then :
25062  ac_cv_libcdata_dummy=yes
25063else
25064  ac_cv_libcdata=no
25065fi
25066
25067        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5
25068$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; }
25069if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then :
25070  $as_echo_n "(cached) " >&6
25071else
25072  ac_check_lib_save_LIBS=$LIBS
25073LIBS="-lcdata  $LIBS"
25074cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25075/* end confdefs.h.  */
25076
25077/* Override any GCC internal prototype to avoid an error.
25078   Use char because int might match the return type of a GCC
25079   builtin and then its argument prototype would still apply.  */
25080#ifdef __cplusplus
25081extern "C"
25082#endif
25083char libcdata_btree_get_value_by_index ();
25084int
25085main ()
25086{
25087return libcdata_btree_get_value_by_index ();
25088  ;
25089  return 0;
25090}
25091_ACEOF
25092if ac_fn_c_try_link "$LINENO"; then :
25093  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes
25094else
25095  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no
25096fi
25097rm -f core conftest.err conftest.$ac_objext \
25098    conftest$ac_exeext conftest.$ac_ext
25099LIBS=$ac_check_lib_save_LIBS
25100fi
25101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5
25102$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; }
25103if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then :
25104  ac_cv_libcdata_dummy=yes
25105else
25106  ac_cv_libcdata=no
25107fi
25108
25109        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5
25110$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; }
25111if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then :
25112  $as_echo_n "(cached) " >&6
25113else
25114  ac_check_lib_save_LIBS=$LIBS
25115LIBS="-lcdata  $LIBS"
25116cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25117/* end confdefs.h.  */
25118
25119/* Override any GCC internal prototype to avoid an error.
25120   Use char because int might match the return type of a GCC
25121   builtin and then its argument prototype would still apply.  */
25122#ifdef __cplusplus
25123extern "C"
25124#endif
25125char libcdata_btree_get_value_by_value ();
25126int
25127main ()
25128{
25129return libcdata_btree_get_value_by_value ();
25130  ;
25131  return 0;
25132}
25133_ACEOF
25134if ac_fn_c_try_link "$LINENO"; then :
25135  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes
25136else
25137  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no
25138fi
25139rm -f core conftest.err conftest.$ac_objext \
25140    conftest$ac_exeext conftest.$ac_ext
25141LIBS=$ac_check_lib_save_LIBS
25142fi
25143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5
25144$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; }
25145if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then :
25146  ac_cv_libcdata_dummy=yes
25147else
25148  ac_cv_libcdata=no
25149fi
25150
25151        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5
25152$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; }
25153if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then :
25154  $as_echo_n "(cached) " >&6
25155else
25156  ac_check_lib_save_LIBS=$LIBS
25157LIBS="-lcdata  $LIBS"
25158cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25159/* end confdefs.h.  */
25160
25161/* Override any GCC internal prototype to avoid an error.
25162   Use char because int might match the return type of a GCC
25163   builtin and then its argument prototype would still apply.  */
25164#ifdef __cplusplus
25165extern "C"
25166#endif
25167char libcdata_btree_insert_value ();
25168int
25169main ()
25170{
25171return libcdata_btree_insert_value ();
25172  ;
25173  return 0;
25174}
25175_ACEOF
25176if ac_fn_c_try_link "$LINENO"; then :
25177  ac_cv_lib_cdata_libcdata_btree_insert_value=yes
25178else
25179  ac_cv_lib_cdata_libcdata_btree_insert_value=no
25180fi
25181rm -f core conftest.err conftest.$ac_objext \
25182    conftest$ac_exeext conftest.$ac_ext
25183LIBS=$ac_check_lib_save_LIBS
25184fi
25185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5
25186$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; }
25187if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then :
25188  ac_cv_libcdata_dummy=yes
25189else
25190  ac_cv_libcdata=no
25191fi
25192
25193        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5
25194$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; }
25195if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then :
25196  $as_echo_n "(cached) " >&6
25197else
25198  ac_check_lib_save_LIBS=$LIBS
25199LIBS="-lcdata  $LIBS"
25200cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25201/* end confdefs.h.  */
25202
25203/* Override any GCC internal prototype to avoid an error.
25204   Use char because int might match the return type of a GCC
25205   builtin and then its argument prototype would still apply.  */
25206#ifdef __cplusplus
25207extern "C"
25208#endif
25209char libcdata_btree_replace_value ();
25210int
25211main ()
25212{
25213return libcdata_btree_replace_value ();
25214  ;
25215  return 0;
25216}
25217_ACEOF
25218if ac_fn_c_try_link "$LINENO"; then :
25219  ac_cv_lib_cdata_libcdata_btree_replace_value=yes
25220else
25221  ac_cv_lib_cdata_libcdata_btree_replace_value=no
25222fi
25223rm -f core conftest.err conftest.$ac_objext \
25224    conftest$ac_exeext conftest.$ac_ext
25225LIBS=$ac_check_lib_save_LIBS
25226fi
25227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5
25228$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; }
25229if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then :
25230  ac_cv_libcdata_dummy=yes
25231else
25232  ac_cv_libcdata=no
25233fi
25234
25235        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5
25236$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; }
25237if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then :
25238  $as_echo_n "(cached) " >&6
25239else
25240  ac_check_lib_save_LIBS=$LIBS
25241LIBS="-lcdata  $LIBS"
25242cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25243/* end confdefs.h.  */
25244
25245/* Override any GCC internal prototype to avoid an error.
25246   Use char because int might match the return type of a GCC
25247   builtin and then its argument prototype would still apply.  */
25248#ifdef __cplusplus
25249extern "C"
25250#endif
25251char libcdata_btree_remove_value ();
25252int
25253main ()
25254{
25255return libcdata_btree_remove_value ();
25256  ;
25257  return 0;
25258}
25259_ACEOF
25260if ac_fn_c_try_link "$LINENO"; then :
25261  ac_cv_lib_cdata_libcdata_btree_remove_value=yes
25262else
25263  ac_cv_lib_cdata_libcdata_btree_remove_value=no
25264fi
25265rm -f core conftest.err conftest.$ac_objext \
25266    conftest$ac_exeext conftest.$ac_ext
25267LIBS=$ac_check_lib_save_LIBS
25268fi
25269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5
25270$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; }
25271if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then :
25272  ac_cv_libcdata_dummy=yes
25273else
25274  ac_cv_libcdata=no
25275fi
25276
25277
25278                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5
25279$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; }
25280if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then :
25281  $as_echo_n "(cached) " >&6
25282else
25283  ac_check_lib_save_LIBS=$LIBS
25284LIBS="-lcdata  $LIBS"
25285cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25286/* end confdefs.h.  */
25287
25288/* Override any GCC internal prototype to avoid an error.
25289   Use char because int might match the return type of a GCC
25290   builtin and then its argument prototype would still apply.  */
25291#ifdef __cplusplus
25292extern "C"
25293#endif
25294char libcdata_list_initialize ();
25295int
25296main ()
25297{
25298return libcdata_list_initialize ();
25299  ;
25300  return 0;
25301}
25302_ACEOF
25303if ac_fn_c_try_link "$LINENO"; then :
25304  ac_cv_lib_cdata_libcdata_list_initialize=yes
25305else
25306  ac_cv_lib_cdata_libcdata_list_initialize=no
25307fi
25308rm -f core conftest.err conftest.$ac_objext \
25309    conftest$ac_exeext conftest.$ac_ext
25310LIBS=$ac_check_lib_save_LIBS
25311fi
25312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5
25313$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; }
25314if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then :
25315  ac_cv_libcdata_dummy=yes
25316else
25317  ac_cv_libcdata=no
25318fi
25319
25320        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5
25321$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; }
25322if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then :
25323  $as_echo_n "(cached) " >&6
25324else
25325  ac_check_lib_save_LIBS=$LIBS
25326LIBS="-lcdata  $LIBS"
25327cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25328/* end confdefs.h.  */
25329
25330/* Override any GCC internal prototype to avoid an error.
25331   Use char because int might match the return type of a GCC
25332   builtin and then its argument prototype would still apply.  */
25333#ifdef __cplusplus
25334extern "C"
25335#endif
25336char libcdata_list_free ();
25337int
25338main ()
25339{
25340return libcdata_list_free ();
25341  ;
25342  return 0;
25343}
25344_ACEOF
25345if ac_fn_c_try_link "$LINENO"; then :
25346  ac_cv_lib_cdata_libcdata_list_free=yes
25347else
25348  ac_cv_lib_cdata_libcdata_list_free=no
25349fi
25350rm -f core conftest.err conftest.$ac_objext \
25351    conftest$ac_exeext conftest.$ac_ext
25352LIBS=$ac_check_lib_save_LIBS
25353fi
25354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5
25355$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; }
25356if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then :
25357  ac_cv_libcdata_dummy=yes
25358else
25359  ac_cv_libcdata=no
25360fi
25361
25362        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5
25363$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; }
25364if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then :
25365  $as_echo_n "(cached) " >&6
25366else
25367  ac_check_lib_save_LIBS=$LIBS
25368LIBS="-lcdata  $LIBS"
25369cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25370/* end confdefs.h.  */
25371
25372/* Override any GCC internal prototype to avoid an error.
25373   Use char because int might match the return type of a GCC
25374   builtin and then its argument prototype would still apply.  */
25375#ifdef __cplusplus
25376extern "C"
25377#endif
25378char libcdata_list_empty ();
25379int
25380main ()
25381{
25382return libcdata_list_empty ();
25383  ;
25384  return 0;
25385}
25386_ACEOF
25387if ac_fn_c_try_link "$LINENO"; then :
25388  ac_cv_lib_cdata_libcdata_list_empty=yes
25389else
25390  ac_cv_lib_cdata_libcdata_list_empty=no
25391fi
25392rm -f core conftest.err conftest.$ac_objext \
25393    conftest$ac_exeext conftest.$ac_ext
25394LIBS=$ac_check_lib_save_LIBS
25395fi
25396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5
25397$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; }
25398if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then :
25399  ac_cv_libcdata_dummy=yes
25400else
25401  ac_cv_libcdata=no
25402fi
25403
25404        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5
25405$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; }
25406if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then :
25407  $as_echo_n "(cached) " >&6
25408else
25409  ac_check_lib_save_LIBS=$LIBS
25410LIBS="-lcdata  $LIBS"
25411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25412/* end confdefs.h.  */
25413
25414/* Override any GCC internal prototype to avoid an error.
25415   Use char because int might match the return type of a GCC
25416   builtin and then its argument prototype would still apply.  */
25417#ifdef __cplusplus
25418extern "C"
25419#endif
25420char libcdata_list_clone ();
25421int
25422main ()
25423{
25424return libcdata_list_clone ();
25425  ;
25426  return 0;
25427}
25428_ACEOF
25429if ac_fn_c_try_link "$LINENO"; then :
25430  ac_cv_lib_cdata_libcdata_list_clone=yes
25431else
25432  ac_cv_lib_cdata_libcdata_list_clone=no
25433fi
25434rm -f core conftest.err conftest.$ac_objext \
25435    conftest$ac_exeext conftest.$ac_ext
25436LIBS=$ac_check_lib_save_LIBS
25437fi
25438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5
25439$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; }
25440if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then :
25441  ac_cv_libcdata_dummy=yes
25442else
25443  ac_cv_libcdata=no
25444fi
25445
25446        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5
25447$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; }
25448if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then :
25449  $as_echo_n "(cached) " >&6
25450else
25451  ac_check_lib_save_LIBS=$LIBS
25452LIBS="-lcdata  $LIBS"
25453cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454/* end confdefs.h.  */
25455
25456/* Override any GCC internal prototype to avoid an error.
25457   Use char because int might match the return type of a GCC
25458   builtin and then its argument prototype would still apply.  */
25459#ifdef __cplusplus
25460extern "C"
25461#endif
25462char libcdata_list_get_number_of_elements ();
25463int
25464main ()
25465{
25466return libcdata_list_get_number_of_elements ();
25467  ;
25468  return 0;
25469}
25470_ACEOF
25471if ac_fn_c_try_link "$LINENO"; then :
25472  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes
25473else
25474  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no
25475fi
25476rm -f core conftest.err conftest.$ac_objext \
25477    conftest$ac_exeext conftest.$ac_ext
25478LIBS=$ac_check_lib_save_LIBS
25479fi
25480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5
25481$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; }
25482if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then :
25483  ac_cv_libcdata_dummy=yes
25484else
25485  ac_cv_libcdata=no
25486fi
25487
25488        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5
25489$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; }
25490if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then :
25491  $as_echo_n "(cached) " >&6
25492else
25493  ac_check_lib_save_LIBS=$LIBS
25494LIBS="-lcdata  $LIBS"
25495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25496/* end confdefs.h.  */
25497
25498/* Override any GCC internal prototype to avoid an error.
25499   Use char because int might match the return type of a GCC
25500   builtin and then its argument prototype would still apply.  */
25501#ifdef __cplusplus
25502extern "C"
25503#endif
25504char libcdata_list_get_first_element ();
25505int
25506main ()
25507{
25508return libcdata_list_get_first_element ();
25509  ;
25510  return 0;
25511}
25512_ACEOF
25513if ac_fn_c_try_link "$LINENO"; then :
25514  ac_cv_lib_cdata_libcdata_list_get_first_element=yes
25515else
25516  ac_cv_lib_cdata_libcdata_list_get_first_element=no
25517fi
25518rm -f core conftest.err conftest.$ac_objext \
25519    conftest$ac_exeext conftest.$ac_ext
25520LIBS=$ac_check_lib_save_LIBS
25521fi
25522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5
25523$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; }
25524if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then :
25525  ac_cv_libcdata_dummy=yes
25526else
25527  ac_cv_libcdata=no
25528fi
25529
25530        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5
25531$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; }
25532if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then :
25533  $as_echo_n "(cached) " >&6
25534else
25535  ac_check_lib_save_LIBS=$LIBS
25536LIBS="-lcdata  $LIBS"
25537cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25538/* end confdefs.h.  */
25539
25540/* Override any GCC internal prototype to avoid an error.
25541   Use char because int might match the return type of a GCC
25542   builtin and then its argument prototype would still apply.  */
25543#ifdef __cplusplus
25544extern "C"
25545#endif
25546char libcdata_list_get_last_element ();
25547int
25548main ()
25549{
25550return libcdata_list_get_last_element ();
25551  ;
25552  return 0;
25553}
25554_ACEOF
25555if ac_fn_c_try_link "$LINENO"; then :
25556  ac_cv_lib_cdata_libcdata_list_get_last_element=yes
25557else
25558  ac_cv_lib_cdata_libcdata_list_get_last_element=no
25559fi
25560rm -f core conftest.err conftest.$ac_objext \
25561    conftest$ac_exeext conftest.$ac_ext
25562LIBS=$ac_check_lib_save_LIBS
25563fi
25564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5
25565$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; }
25566if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then :
25567  ac_cv_libcdata_dummy=yes
25568else
25569  ac_cv_libcdata=no
25570fi
25571
25572        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5
25573$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; }
25574if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then :
25575  $as_echo_n "(cached) " >&6
25576else
25577  ac_check_lib_save_LIBS=$LIBS
25578LIBS="-lcdata  $LIBS"
25579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25580/* end confdefs.h.  */
25581
25582/* Override any GCC internal prototype to avoid an error.
25583   Use char because int might match the return type of a GCC
25584   builtin and then its argument prototype would still apply.  */
25585#ifdef __cplusplus
25586extern "C"
25587#endif
25588char libcdata_list_get_element_by_index ();
25589int
25590main ()
25591{
25592return libcdata_list_get_element_by_index ();
25593  ;
25594  return 0;
25595}
25596_ACEOF
25597if ac_fn_c_try_link "$LINENO"; then :
25598  ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes
25599else
25600  ac_cv_lib_cdata_libcdata_list_get_element_by_index=no
25601fi
25602rm -f core conftest.err conftest.$ac_objext \
25603    conftest$ac_exeext conftest.$ac_ext
25604LIBS=$ac_check_lib_save_LIBS
25605fi
25606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5
25607$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; }
25608if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then :
25609  ac_cv_libcdata_dummy=yes
25610else
25611  ac_cv_libcdata=no
25612fi
25613
25614        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5
25615$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; }
25616if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then :
25617  $as_echo_n "(cached) " >&6
25618else
25619  ac_check_lib_save_LIBS=$LIBS
25620LIBS="-lcdata  $LIBS"
25621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25622/* end confdefs.h.  */
25623
25624/* Override any GCC internal prototype to avoid an error.
25625   Use char because int might match the return type of a GCC
25626   builtin and then its argument prototype would still apply.  */
25627#ifdef __cplusplus
25628extern "C"
25629#endif
25630char libcdata_list_get_value_by_index ();
25631int
25632main ()
25633{
25634return libcdata_list_get_value_by_index ();
25635  ;
25636  return 0;
25637}
25638_ACEOF
25639if ac_fn_c_try_link "$LINENO"; then :
25640  ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes
25641else
25642  ac_cv_lib_cdata_libcdata_list_get_value_by_index=no
25643fi
25644rm -f core conftest.err conftest.$ac_objext \
25645    conftest$ac_exeext conftest.$ac_ext
25646LIBS=$ac_check_lib_save_LIBS
25647fi
25648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5
25649$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; }
25650if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then :
25651  ac_cv_libcdata_dummy=yes
25652else
25653  ac_cv_libcdata=no
25654fi
25655
25656        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5
25657$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; }
25658if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then :
25659  $as_echo_n "(cached) " >&6
25660else
25661  ac_check_lib_save_LIBS=$LIBS
25662LIBS="-lcdata  $LIBS"
25663cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25664/* end confdefs.h.  */
25665
25666/* Override any GCC internal prototype to avoid an error.
25667   Use char because int might match the return type of a GCC
25668   builtin and then its argument prototype would still apply.  */
25669#ifdef __cplusplus
25670extern "C"
25671#endif
25672char libcdata_list_prepend_element ();
25673int
25674main ()
25675{
25676return libcdata_list_prepend_element ();
25677  ;
25678  return 0;
25679}
25680_ACEOF
25681if ac_fn_c_try_link "$LINENO"; then :
25682  ac_cv_lib_cdata_libcdata_list_prepend_element=yes
25683else
25684  ac_cv_lib_cdata_libcdata_list_prepend_element=no
25685fi
25686rm -f core conftest.err conftest.$ac_objext \
25687    conftest$ac_exeext conftest.$ac_ext
25688LIBS=$ac_check_lib_save_LIBS
25689fi
25690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5
25691$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; }
25692if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then :
25693  ac_cv_libcdata_dummy=yes
25694else
25695  ac_cv_libcdata=no
25696fi
25697
25698        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5
25699$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; }
25700if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then :
25701  $as_echo_n "(cached) " >&6
25702else
25703  ac_check_lib_save_LIBS=$LIBS
25704LIBS="-lcdata  $LIBS"
25705cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25706/* end confdefs.h.  */
25707
25708/* Override any GCC internal prototype to avoid an error.
25709   Use char because int might match the return type of a GCC
25710   builtin and then its argument prototype would still apply.  */
25711#ifdef __cplusplus
25712extern "C"
25713#endif
25714char libcdata_list_prepend_value ();
25715int
25716main ()
25717{
25718return libcdata_list_prepend_value ();
25719  ;
25720  return 0;
25721}
25722_ACEOF
25723if ac_fn_c_try_link "$LINENO"; then :
25724  ac_cv_lib_cdata_libcdata_list_prepend_value=yes
25725else
25726  ac_cv_lib_cdata_libcdata_list_prepend_value=no
25727fi
25728rm -f core conftest.err conftest.$ac_objext \
25729    conftest$ac_exeext conftest.$ac_ext
25730LIBS=$ac_check_lib_save_LIBS
25731fi
25732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5
25733$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; }
25734if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then :
25735  ac_cv_libcdata_dummy=yes
25736else
25737  ac_cv_libcdata=no
25738fi
25739
25740        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5
25741$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; }
25742if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then :
25743  $as_echo_n "(cached) " >&6
25744else
25745  ac_check_lib_save_LIBS=$LIBS
25746LIBS="-lcdata  $LIBS"
25747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25748/* end confdefs.h.  */
25749
25750/* Override any GCC internal prototype to avoid an error.
25751   Use char because int might match the return type of a GCC
25752   builtin and then its argument prototype would still apply.  */
25753#ifdef __cplusplus
25754extern "C"
25755#endif
25756char libcdata_list_append_element ();
25757int
25758main ()
25759{
25760return libcdata_list_append_element ();
25761  ;
25762  return 0;
25763}
25764_ACEOF
25765if ac_fn_c_try_link "$LINENO"; then :
25766  ac_cv_lib_cdata_libcdata_list_append_element=yes
25767else
25768  ac_cv_lib_cdata_libcdata_list_append_element=no
25769fi
25770rm -f core conftest.err conftest.$ac_objext \
25771    conftest$ac_exeext conftest.$ac_ext
25772LIBS=$ac_check_lib_save_LIBS
25773fi
25774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5
25775$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; }
25776if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then :
25777  ac_cv_libcdata_dummy=yes
25778else
25779  ac_cv_libcdata=no
25780fi
25781
25782        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5
25783$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; }
25784if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then :
25785  $as_echo_n "(cached) " >&6
25786else
25787  ac_check_lib_save_LIBS=$LIBS
25788LIBS="-lcdata  $LIBS"
25789cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25790/* end confdefs.h.  */
25791
25792/* Override any GCC internal prototype to avoid an error.
25793   Use char because int might match the return type of a GCC
25794   builtin and then its argument prototype would still apply.  */
25795#ifdef __cplusplus
25796extern "C"
25797#endif
25798char libcdata_list_append_value ();
25799int
25800main ()
25801{
25802return libcdata_list_append_value ();
25803  ;
25804  return 0;
25805}
25806_ACEOF
25807if ac_fn_c_try_link "$LINENO"; then :
25808  ac_cv_lib_cdata_libcdata_list_append_value=yes
25809else
25810  ac_cv_lib_cdata_libcdata_list_append_value=no
25811fi
25812rm -f core conftest.err conftest.$ac_objext \
25813    conftest$ac_exeext conftest.$ac_ext
25814LIBS=$ac_check_lib_save_LIBS
25815fi
25816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5
25817$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; }
25818if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then :
25819  ac_cv_libcdata_dummy=yes
25820else
25821  ac_cv_libcdata=no
25822fi
25823
25824        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5
25825$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; }
25826if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then :
25827  $as_echo_n "(cached) " >&6
25828else
25829  ac_check_lib_save_LIBS=$LIBS
25830LIBS="-lcdata  $LIBS"
25831cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25832/* end confdefs.h.  */
25833
25834/* Override any GCC internal prototype to avoid an error.
25835   Use char because int might match the return type of a GCC
25836   builtin and then its argument prototype would still apply.  */
25837#ifdef __cplusplus
25838extern "C"
25839#endif
25840char libcdata_list_insert_element ();
25841int
25842main ()
25843{
25844return libcdata_list_insert_element ();
25845  ;
25846  return 0;
25847}
25848_ACEOF
25849if ac_fn_c_try_link "$LINENO"; then :
25850  ac_cv_lib_cdata_libcdata_list_insert_element=yes
25851else
25852  ac_cv_lib_cdata_libcdata_list_insert_element=no
25853fi
25854rm -f core conftest.err conftest.$ac_objext \
25855    conftest$ac_exeext conftest.$ac_ext
25856LIBS=$ac_check_lib_save_LIBS
25857fi
25858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5
25859$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; }
25860if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then :
25861  ac_cv_libcdata_dummy=yes
25862else
25863  ac_cv_libcdata=no
25864fi
25865
25866        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5
25867$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; }
25868if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then :
25869  $as_echo_n "(cached) " >&6
25870else
25871  ac_check_lib_save_LIBS=$LIBS
25872LIBS="-lcdata  $LIBS"
25873cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25874/* end confdefs.h.  */
25875
25876/* Override any GCC internal prototype to avoid an error.
25877   Use char because int might match the return type of a GCC
25878   builtin and then its argument prototype would still apply.  */
25879#ifdef __cplusplus
25880extern "C"
25881#endif
25882char libcdata_list_insert_value ();
25883int
25884main ()
25885{
25886return libcdata_list_insert_value ();
25887  ;
25888  return 0;
25889}
25890_ACEOF
25891if ac_fn_c_try_link "$LINENO"; then :
25892  ac_cv_lib_cdata_libcdata_list_insert_value=yes
25893else
25894  ac_cv_lib_cdata_libcdata_list_insert_value=no
25895fi
25896rm -f core conftest.err conftest.$ac_objext \
25897    conftest$ac_exeext conftest.$ac_ext
25898LIBS=$ac_check_lib_save_LIBS
25899fi
25900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5
25901$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; }
25902if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then :
25903  ac_cv_libcdata_dummy=yes
25904else
25905  ac_cv_libcdata=no
25906fi
25907
25908        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5
25909$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; }
25910if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then :
25911  $as_echo_n "(cached) " >&6
25912else
25913  ac_check_lib_save_LIBS=$LIBS
25914LIBS="-lcdata  $LIBS"
25915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916/* end confdefs.h.  */
25917
25918/* Override any GCC internal prototype to avoid an error.
25919   Use char because int might match the return type of a GCC
25920   builtin and then its argument prototype would still apply.  */
25921#ifdef __cplusplus
25922extern "C"
25923#endif
25924char libcdata_list_remove_element ();
25925int
25926main ()
25927{
25928return libcdata_list_remove_element ();
25929  ;
25930  return 0;
25931}
25932_ACEOF
25933if ac_fn_c_try_link "$LINENO"; then :
25934  ac_cv_lib_cdata_libcdata_list_remove_element=yes
25935else
25936  ac_cv_lib_cdata_libcdata_list_remove_element=no
25937fi
25938rm -f core conftest.err conftest.$ac_objext \
25939    conftest$ac_exeext conftest.$ac_ext
25940LIBS=$ac_check_lib_save_LIBS
25941fi
25942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5
25943$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; }
25944if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then :
25945  ac_cv_libcdata_dummy=yes
25946else
25947  ac_cv_libcdata=no
25948fi
25949
25950
25951                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5
25952$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; }
25953if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then :
25954  $as_echo_n "(cached) " >&6
25955else
25956  ac_check_lib_save_LIBS=$LIBS
25957LIBS="-lcdata  $LIBS"
25958cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25959/* end confdefs.h.  */
25960
25961/* Override any GCC internal prototype to avoid an error.
25962   Use char because int might match the return type of a GCC
25963   builtin and then its argument prototype would still apply.  */
25964#ifdef __cplusplus
25965extern "C"
25966#endif
25967char libcdata_list_element_initialize ();
25968int
25969main ()
25970{
25971return libcdata_list_element_initialize ();
25972  ;
25973  return 0;
25974}
25975_ACEOF
25976if ac_fn_c_try_link "$LINENO"; then :
25977  ac_cv_lib_cdata_libcdata_list_element_initialize=yes
25978else
25979  ac_cv_lib_cdata_libcdata_list_element_initialize=no
25980fi
25981rm -f core conftest.err conftest.$ac_objext \
25982    conftest$ac_exeext conftest.$ac_ext
25983LIBS=$ac_check_lib_save_LIBS
25984fi
25985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5
25986$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; }
25987if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then :
25988  ac_cv_libcdata_dummy=yes
25989else
25990  ac_cv_libcdata=no
25991fi
25992
25993        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5
25994$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; }
25995if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then :
25996  $as_echo_n "(cached) " >&6
25997else
25998  ac_check_lib_save_LIBS=$LIBS
25999LIBS="-lcdata  $LIBS"
26000cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26001/* end confdefs.h.  */
26002
26003/* Override any GCC internal prototype to avoid an error.
26004   Use char because int might match the return type of a GCC
26005   builtin and then its argument prototype would still apply.  */
26006#ifdef __cplusplus
26007extern "C"
26008#endif
26009char libcdata_list_element_free ();
26010int
26011main ()
26012{
26013return libcdata_list_element_free ();
26014  ;
26015  return 0;
26016}
26017_ACEOF
26018if ac_fn_c_try_link "$LINENO"; then :
26019  ac_cv_lib_cdata_libcdata_list_element_free=yes
26020else
26021  ac_cv_lib_cdata_libcdata_list_element_free=no
26022fi
26023rm -f core conftest.err conftest.$ac_objext \
26024    conftest$ac_exeext conftest.$ac_ext
26025LIBS=$ac_check_lib_save_LIBS
26026fi
26027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5
26028$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; }
26029if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then :
26030  ac_cv_libcdata_dummy=yes
26031else
26032  ac_cv_libcdata=no
26033fi
26034
26035        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5
26036$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; }
26037if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then :
26038  $as_echo_n "(cached) " >&6
26039else
26040  ac_check_lib_save_LIBS=$LIBS
26041LIBS="-lcdata  $LIBS"
26042cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26043/* end confdefs.h.  */
26044
26045/* Override any GCC internal prototype to avoid an error.
26046   Use char because int might match the return type of a GCC
26047   builtin and then its argument prototype would still apply.  */
26048#ifdef __cplusplus
26049extern "C"
26050#endif
26051char libcdata_list_element_get_value ();
26052int
26053main ()
26054{
26055return libcdata_list_element_get_value ();
26056  ;
26057  return 0;
26058}
26059_ACEOF
26060if ac_fn_c_try_link "$LINENO"; then :
26061  ac_cv_lib_cdata_libcdata_list_element_get_value=yes
26062else
26063  ac_cv_lib_cdata_libcdata_list_element_get_value=no
26064fi
26065rm -f core conftest.err conftest.$ac_objext \
26066    conftest$ac_exeext conftest.$ac_ext
26067LIBS=$ac_check_lib_save_LIBS
26068fi
26069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5
26070$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; }
26071if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then :
26072  ac_cv_libcdata_dummy=yes
26073else
26074  ac_cv_libcdata=no
26075fi
26076
26077        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5
26078$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; }
26079if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then :
26080  $as_echo_n "(cached) " >&6
26081else
26082  ac_check_lib_save_LIBS=$LIBS
26083LIBS="-lcdata  $LIBS"
26084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26085/* end confdefs.h.  */
26086
26087/* Override any GCC internal prototype to avoid an error.
26088   Use char because int might match the return type of a GCC
26089   builtin and then its argument prototype would still apply.  */
26090#ifdef __cplusplus
26091extern "C"
26092#endif
26093char libcdata_list_element_set_value ();
26094int
26095main ()
26096{
26097return libcdata_list_element_set_value ();
26098  ;
26099  return 0;
26100}
26101_ACEOF
26102if ac_fn_c_try_link "$LINENO"; then :
26103  ac_cv_lib_cdata_libcdata_list_element_set_value=yes
26104else
26105  ac_cv_lib_cdata_libcdata_list_element_set_value=no
26106fi
26107rm -f core conftest.err conftest.$ac_objext \
26108    conftest$ac_exeext conftest.$ac_ext
26109LIBS=$ac_check_lib_save_LIBS
26110fi
26111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5
26112$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; }
26113if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then :
26114  ac_cv_libcdata_dummy=yes
26115else
26116  ac_cv_libcdata=no
26117fi
26118
26119        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5
26120$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; }
26121if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then :
26122  $as_echo_n "(cached) " >&6
26123else
26124  ac_check_lib_save_LIBS=$LIBS
26125LIBS="-lcdata  $LIBS"
26126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26127/* end confdefs.h.  */
26128
26129/* Override any GCC internal prototype to avoid an error.
26130   Use char because int might match the return type of a GCC
26131   builtin and then its argument prototype would still apply.  */
26132#ifdef __cplusplus
26133extern "C"
26134#endif
26135char libcdata_list_element_get_previous_element ();
26136int
26137main ()
26138{
26139return libcdata_list_element_get_previous_element ();
26140  ;
26141  return 0;
26142}
26143_ACEOF
26144if ac_fn_c_try_link "$LINENO"; then :
26145  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes
26146else
26147  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no
26148fi
26149rm -f core conftest.err conftest.$ac_objext \
26150    conftest$ac_exeext conftest.$ac_ext
26151LIBS=$ac_check_lib_save_LIBS
26152fi
26153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5
26154$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; }
26155if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then :
26156  ac_cv_libcdata_dummy=yes
26157else
26158  ac_cv_libcdata=no
26159fi
26160
26161        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5
26162$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; }
26163if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then :
26164  $as_echo_n "(cached) " >&6
26165else
26166  ac_check_lib_save_LIBS=$LIBS
26167LIBS="-lcdata  $LIBS"
26168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26169/* end confdefs.h.  */
26170
26171/* Override any GCC internal prototype to avoid an error.
26172   Use char because int might match the return type of a GCC
26173   builtin and then its argument prototype would still apply.  */
26174#ifdef __cplusplus
26175extern "C"
26176#endif
26177char libcdata_list_element_set_previous_element ();
26178int
26179main ()
26180{
26181return libcdata_list_element_set_previous_element ();
26182  ;
26183  return 0;
26184}
26185_ACEOF
26186if ac_fn_c_try_link "$LINENO"; then :
26187  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes
26188else
26189  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no
26190fi
26191rm -f core conftest.err conftest.$ac_objext \
26192    conftest$ac_exeext conftest.$ac_ext
26193LIBS=$ac_check_lib_save_LIBS
26194fi
26195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5
26196$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; }
26197if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then :
26198  ac_cv_libcdata_dummy=yes
26199else
26200  ac_cv_libcdata=no
26201fi
26202
26203        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5
26204$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; }
26205if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then :
26206  $as_echo_n "(cached) " >&6
26207else
26208  ac_check_lib_save_LIBS=$LIBS
26209LIBS="-lcdata  $LIBS"
26210cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26211/* end confdefs.h.  */
26212
26213/* Override any GCC internal prototype to avoid an error.
26214   Use char because int might match the return type of a GCC
26215   builtin and then its argument prototype would still apply.  */
26216#ifdef __cplusplus
26217extern "C"
26218#endif
26219char libcdata_list_element_get_next_element ();
26220int
26221main ()
26222{
26223return libcdata_list_element_get_next_element ();
26224  ;
26225  return 0;
26226}
26227_ACEOF
26228if ac_fn_c_try_link "$LINENO"; then :
26229  ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes
26230else
26231  ac_cv_lib_cdata_libcdata_list_element_get_next_element=no
26232fi
26233rm -f core conftest.err conftest.$ac_objext \
26234    conftest$ac_exeext conftest.$ac_ext
26235LIBS=$ac_check_lib_save_LIBS
26236fi
26237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5
26238$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; }
26239if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then :
26240  ac_cv_libcdata_dummy=yes
26241else
26242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5
26243$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; }
26244if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then :
26245  $as_echo_n "(cached) " >&6
26246else
26247  ac_check_lib_save_LIBS=$LIBS
26248LIBS="-lcdata  $LIBS"
26249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26250/* end confdefs.h.  */
26251
26252/* Override any GCC internal prototype to avoid an error.
26253   Use char because int might match the return type of a GCC
26254   builtin and then its argument prototype would still apply.  */
26255#ifdef __cplusplus
26256extern "C"
26257#endif
26258char libcdata_list_element_set_next_element ();
26259int
26260main ()
26261{
26262return libcdata_list_element_set_next_element ();
26263  ;
26264  return 0;
26265}
26266_ACEOF
26267if ac_fn_c_try_link "$LINENO"; then :
26268  ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes
26269else
26270  ac_cv_lib_cdata_libcdata_list_element_set_next_element=no
26271fi
26272rm -f core conftest.err conftest.$ac_objext \
26273    conftest$ac_exeext conftest.$ac_ext
26274LIBS=$ac_check_lib_save_LIBS
26275fi
26276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5
26277$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; }
26278if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then :
26279  ac_cv_libcdata_dummy=yes
26280else
26281  ac_cv_libcdata=no
26282fi
26283
26284        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5
26285$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; }
26286if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then :
26287  $as_echo_n "(cached) " >&6
26288else
26289  ac_check_lib_save_LIBS=$LIBS
26290LIBS="-lcdata  $LIBS"
26291cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26292/* end confdefs.h.  */
26293
26294/* Override any GCC internal prototype to avoid an error.
26295   Use char because int might match the return type of a GCC
26296   builtin and then its argument prototype would still apply.  */
26297#ifdef __cplusplus
26298extern "C"
26299#endif
26300char libcdata_list_element_get_elements ();
26301int
26302main ()
26303{
26304return libcdata_list_element_get_elements ();
26305  ;
26306  return 0;
26307}
26308_ACEOF
26309if ac_fn_c_try_link "$LINENO"; then :
26310  ac_cv_lib_cdata_libcdata_list_element_get_elements=yes
26311else
26312  ac_cv_lib_cdata_libcdata_list_element_get_elements=no
26313fi
26314rm -f core conftest.err conftest.$ac_objext \
26315    conftest$ac_exeext conftest.$ac_ext
26316LIBS=$ac_check_lib_save_LIBS
26317fi
26318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5
26319$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; }
26320if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then :
26321  ac_cv_libcdata_dummy=yes
26322else
26323  ac_cv_libcdata=no
26324fi
26325
26326        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5
26327$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; }
26328if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then :
26329  $as_echo_n "(cached) " >&6
26330else
26331  ac_check_lib_save_LIBS=$LIBS
26332LIBS="-lcdata  $LIBS"
26333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334/* end confdefs.h.  */
26335
26336/* Override any GCC internal prototype to avoid an error.
26337   Use char because int might match the return type of a GCC
26338   builtin and then its argument prototype would still apply.  */
26339#ifdef __cplusplus
26340extern "C"
26341#endif
26342char libcdata_list_element_set_elements ();
26343int
26344main ()
26345{
26346return libcdata_list_element_set_elements ();
26347  ;
26348  return 0;
26349}
26350_ACEOF
26351if ac_fn_c_try_link "$LINENO"; then :
26352  ac_cv_lib_cdata_libcdata_list_element_set_elements=yes
26353else
26354  ac_cv_lib_cdata_libcdata_list_element_set_elements=no
26355fi
26356rm -f core conftest.err conftest.$ac_objext \
26357    conftest$ac_exeext conftest.$ac_ext
26358LIBS=$ac_check_lib_save_LIBS
26359fi
26360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5
26361$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; }
26362if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then :
26363  ac_cv_libcdata_dummy=yes
26364else
26365  ac_cv_libcdata=no
26366fi
26367
26368          ac_cv_libcdata=no
26369fi
26370
26371
26372                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5
26373$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; }
26374if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then :
26375  $as_echo_n "(cached) " >&6
26376else
26377  ac_check_lib_save_LIBS=$LIBS
26378LIBS="-lcdata  $LIBS"
26379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380/* end confdefs.h.  */
26381
26382/* Override any GCC internal prototype to avoid an error.
26383   Use char because int might match the return type of a GCC
26384   builtin and then its argument prototype would still apply.  */
26385#ifdef __cplusplus
26386extern "C"
26387#endif
26388char libcdata_range_list_initialize ();
26389int
26390main ()
26391{
26392return libcdata_range_list_initialize ();
26393  ;
26394  return 0;
26395}
26396_ACEOF
26397if ac_fn_c_try_link "$LINENO"; then :
26398  ac_cv_lib_cdata_libcdata_range_list_initialize=yes
26399else
26400  ac_cv_lib_cdata_libcdata_range_list_initialize=no
26401fi
26402rm -f core conftest.err conftest.$ac_objext \
26403    conftest$ac_exeext conftest.$ac_ext
26404LIBS=$ac_check_lib_save_LIBS
26405fi
26406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5
26407$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; }
26408if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then :
26409  ac_cv_libcdata_dummy=yes
26410else
26411  ac_cv_libcdata=no
26412fi
26413
26414        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5
26415$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; }
26416if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then :
26417  $as_echo_n "(cached) " >&6
26418else
26419  ac_check_lib_save_LIBS=$LIBS
26420LIBS="-lcdata  $LIBS"
26421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26422/* end confdefs.h.  */
26423
26424/* Override any GCC internal prototype to avoid an error.
26425   Use char because int might match the return type of a GCC
26426   builtin and then its argument prototype would still apply.  */
26427#ifdef __cplusplus
26428extern "C"
26429#endif
26430char libcdata_range_list_free ();
26431int
26432main ()
26433{
26434return libcdata_range_list_free ();
26435  ;
26436  return 0;
26437}
26438_ACEOF
26439if ac_fn_c_try_link "$LINENO"; then :
26440  ac_cv_lib_cdata_libcdata_range_list_free=yes
26441else
26442  ac_cv_lib_cdata_libcdata_range_list_free=no
26443fi
26444rm -f core conftest.err conftest.$ac_objext \
26445    conftest$ac_exeext conftest.$ac_ext
26446LIBS=$ac_check_lib_save_LIBS
26447fi
26448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5
26449$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; }
26450if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then :
26451  ac_cv_libcdata_dummy=yes
26452else
26453  ac_cv_libcdata=no
26454fi
26455
26456        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5
26457$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; }
26458if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then :
26459  $as_echo_n "(cached) " >&6
26460else
26461  ac_check_lib_save_LIBS=$LIBS
26462LIBS="-lcdata  $LIBS"
26463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26464/* end confdefs.h.  */
26465
26466/* Override any GCC internal prototype to avoid an error.
26467   Use char because int might match the return type of a GCC
26468   builtin and then its argument prototype would still apply.  */
26469#ifdef __cplusplus
26470extern "C"
26471#endif
26472char libcdata_range_list_empty ();
26473int
26474main ()
26475{
26476return libcdata_range_list_empty ();
26477  ;
26478  return 0;
26479}
26480_ACEOF
26481if ac_fn_c_try_link "$LINENO"; then :
26482  ac_cv_lib_cdata_libcdata_range_list_empty=yes
26483else
26484  ac_cv_lib_cdata_libcdata_range_list_empty=no
26485fi
26486rm -f core conftest.err conftest.$ac_objext \
26487    conftest$ac_exeext conftest.$ac_ext
26488LIBS=$ac_check_lib_save_LIBS
26489fi
26490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5
26491$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; }
26492if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then :
26493  ac_cv_libcdata_dummy=yes
26494else
26495  ac_cv_libcdata=no
26496fi
26497
26498        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5
26499$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; }
26500if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then :
26501  $as_echo_n "(cached) " >&6
26502else
26503  ac_check_lib_save_LIBS=$LIBS
26504LIBS="-lcdata  $LIBS"
26505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26506/* end confdefs.h.  */
26507
26508/* Override any GCC internal prototype to avoid an error.
26509   Use char because int might match the return type of a GCC
26510   builtin and then its argument prototype would still apply.  */
26511#ifdef __cplusplus
26512extern "C"
26513#endif
26514char libcdata_range_list_clone ();
26515int
26516main ()
26517{
26518return libcdata_range_list_clone ();
26519  ;
26520  return 0;
26521}
26522_ACEOF
26523if ac_fn_c_try_link "$LINENO"; then :
26524  ac_cv_lib_cdata_libcdata_range_list_clone=yes
26525else
26526  ac_cv_lib_cdata_libcdata_range_list_clone=no
26527fi
26528rm -f core conftest.err conftest.$ac_objext \
26529    conftest$ac_exeext conftest.$ac_ext
26530LIBS=$ac_check_lib_save_LIBS
26531fi
26532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5
26533$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; }
26534if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then :
26535  ac_cv_libcdata_dummy=yes
26536else
26537  ac_cv_libcdata=no
26538fi
26539
26540        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5
26541$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; }
26542if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then :
26543  $as_echo_n "(cached) " >&6
26544else
26545  ac_check_lib_save_LIBS=$LIBS
26546LIBS="-lcdata  $LIBS"
26547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26548/* end confdefs.h.  */
26549
26550/* Override any GCC internal prototype to avoid an error.
26551   Use char because int might match the return type of a GCC
26552   builtin and then its argument prototype would still apply.  */
26553#ifdef __cplusplus
26554extern "C"
26555#endif
26556char libcdata_range_list_get_number_of_elements ();
26557int
26558main ()
26559{
26560return libcdata_range_list_get_number_of_elements ();
26561  ;
26562  return 0;
26563}
26564_ACEOF
26565if ac_fn_c_try_link "$LINENO"; then :
26566  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes
26567else
26568  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no
26569fi
26570rm -f core conftest.err conftest.$ac_objext \
26571    conftest$ac_exeext conftest.$ac_ext
26572LIBS=$ac_check_lib_save_LIBS
26573fi
26574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5
26575$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; }
26576if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then :
26577  ac_cv_libcdata_dummy=yes
26578else
26579  ac_cv_libcdata=no
26580fi
26581
26582        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5
26583$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; }
26584if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then :
26585  $as_echo_n "(cached) " >&6
26586else
26587  ac_check_lib_save_LIBS=$LIBS
26588LIBS="-lcdata  $LIBS"
26589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26590/* end confdefs.h.  */
26591
26592/* Override any GCC internal prototype to avoid an error.
26593   Use char because int might match the return type of a GCC
26594   builtin and then its argument prototype would still apply.  */
26595#ifdef __cplusplus
26596extern "C"
26597#endif
26598char libcdata_range_list_insert_range ();
26599int
26600main ()
26601{
26602return libcdata_range_list_insert_range ();
26603  ;
26604  return 0;
26605}
26606_ACEOF
26607if ac_fn_c_try_link "$LINENO"; then :
26608  ac_cv_lib_cdata_libcdata_range_list_insert_range=yes
26609else
26610  ac_cv_lib_cdata_libcdata_range_list_insert_range=no
26611fi
26612rm -f core conftest.err conftest.$ac_objext \
26613    conftest$ac_exeext conftest.$ac_ext
26614LIBS=$ac_check_lib_save_LIBS
26615fi
26616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5
26617$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; }
26618if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then :
26619  ac_cv_libcdata_dummy=yes
26620else
26621  ac_cv_libcdata=no
26622fi
26623
26624        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5
26625$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; }
26626if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then :
26627  $as_echo_n "(cached) " >&6
26628else
26629  ac_check_lib_save_LIBS=$LIBS
26630LIBS="-lcdata  $LIBS"
26631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26632/* end confdefs.h.  */
26633
26634/* Override any GCC internal prototype to avoid an error.
26635   Use char because int might match the return type of a GCC
26636   builtin and then its argument prototype would still apply.  */
26637#ifdef __cplusplus
26638extern "C"
26639#endif
26640char libcdata_range_list_insert_range_list ();
26641int
26642main ()
26643{
26644return libcdata_range_list_insert_range_list ();
26645  ;
26646  return 0;
26647}
26648_ACEOF
26649if ac_fn_c_try_link "$LINENO"; then :
26650  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes
26651else
26652  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no
26653fi
26654rm -f core conftest.err conftest.$ac_objext \
26655    conftest$ac_exeext conftest.$ac_ext
26656LIBS=$ac_check_lib_save_LIBS
26657fi
26658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5
26659$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; }
26660if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then :
26661  ac_cv_libcdata_dummy=yes
26662else
26663  ac_cv_libcdata=no
26664fi
26665
26666        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5
26667$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; }
26668if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then :
26669  $as_echo_n "(cached) " >&6
26670else
26671  ac_check_lib_save_LIBS=$LIBS
26672LIBS="-lcdata  $LIBS"
26673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26674/* end confdefs.h.  */
26675
26676/* Override any GCC internal prototype to avoid an error.
26677   Use char because int might match the return type of a GCC
26678   builtin and then its argument prototype would still apply.  */
26679#ifdef __cplusplus
26680extern "C"
26681#endif
26682char libcdata_range_list_remove_range ();
26683int
26684main ()
26685{
26686return libcdata_range_list_remove_range ();
26687  ;
26688  return 0;
26689}
26690_ACEOF
26691if ac_fn_c_try_link "$LINENO"; then :
26692  ac_cv_lib_cdata_libcdata_range_list_remove_range=yes
26693else
26694  ac_cv_lib_cdata_libcdata_range_list_remove_range=no
26695fi
26696rm -f core conftest.err conftest.$ac_objext \
26697    conftest$ac_exeext conftest.$ac_ext
26698LIBS=$ac_check_lib_save_LIBS
26699fi
26700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5
26701$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; }
26702if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then :
26703  ac_cv_libcdata_dummy=yes
26704else
26705  ac_cv_libcdata=no
26706fi
26707
26708        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5
26709$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; }
26710if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then :
26711  $as_echo_n "(cached) " >&6
26712else
26713  ac_check_lib_save_LIBS=$LIBS
26714LIBS="-lcdata  $LIBS"
26715cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716/* end confdefs.h.  */
26717
26718/* Override any GCC internal prototype to avoid an error.
26719   Use char because int might match the return type of a GCC
26720   builtin and then its argument prototype would still apply.  */
26721#ifdef __cplusplus
26722extern "C"
26723#endif
26724char libcdata_range_list_get_range_by_index ();
26725int
26726main ()
26727{
26728return libcdata_range_list_get_range_by_index ();
26729  ;
26730  return 0;
26731}
26732_ACEOF
26733if ac_fn_c_try_link "$LINENO"; then :
26734  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes
26735else
26736  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no
26737fi
26738rm -f core conftest.err conftest.$ac_objext \
26739    conftest$ac_exeext conftest.$ac_ext
26740LIBS=$ac_check_lib_save_LIBS
26741fi
26742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5
26743$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; }
26744if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then :
26745  ac_cv_libcdata_dummy=yes
26746else
26747  ac_cv_libcdata=no
26748fi
26749
26750        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5
26751$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; }
26752if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then :
26753  $as_echo_n "(cached) " >&6
26754else
26755  ac_check_lib_save_LIBS=$LIBS
26756LIBS="-lcdata  $LIBS"
26757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26758/* end confdefs.h.  */
26759
26760/* Override any GCC internal prototype to avoid an error.
26761   Use char because int might match the return type of a GCC
26762   builtin and then its argument prototype would still apply.  */
26763#ifdef __cplusplus
26764extern "C"
26765#endif
26766char libcdata_range_list_get_range_at_offset ();
26767int
26768main ()
26769{
26770return libcdata_range_list_get_range_at_offset ();
26771  ;
26772  return 0;
26773}
26774_ACEOF
26775if ac_fn_c_try_link "$LINENO"; then :
26776  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes
26777else
26778  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no
26779fi
26780rm -f core conftest.err conftest.$ac_objext \
26781    conftest$ac_exeext conftest.$ac_ext
26782LIBS=$ac_check_lib_save_LIBS
26783fi
26784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5
26785$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; }
26786if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then :
26787  ac_cv_libcdata_dummy=yes
26788else
26789  ac_cv_libcdata=no
26790fi
26791
26792        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5
26793$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; }
26794if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then :
26795  $as_echo_n "(cached) " >&6
26796else
26797  ac_check_lib_save_LIBS=$LIBS
26798LIBS="-lcdata  $LIBS"
26799cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26800/* end confdefs.h.  */
26801
26802/* Override any GCC internal prototype to avoid an error.
26803   Use char because int might match the return type of a GCC
26804   builtin and then its argument prototype would still apply.  */
26805#ifdef __cplusplus
26806extern "C"
26807#endif
26808char libcdata_range_list_range_is_present ();
26809int
26810main ()
26811{
26812return libcdata_range_list_range_is_present ();
26813  ;
26814  return 0;
26815}
26816_ACEOF
26817if ac_fn_c_try_link "$LINENO"; then :
26818  ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes
26819else
26820  ac_cv_lib_cdata_libcdata_range_list_range_is_present=no
26821fi
26822rm -f core conftest.err conftest.$ac_objext \
26823    conftest$ac_exeext conftest.$ac_ext
26824LIBS=$ac_check_lib_save_LIBS
26825fi
26826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5
26827$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; }
26828if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then :
26829  ac_cv_libcdata_dummy=yes
26830else
26831  ac_cv_libcdata=no
26832fi
26833
26834        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5
26835$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; }
26836if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then :
26837  $as_echo_n "(cached) " >&6
26838else
26839  ac_check_lib_save_LIBS=$LIBS
26840LIBS="-lcdata  $LIBS"
26841cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26842/* end confdefs.h.  */
26843
26844/* Override any GCC internal prototype to avoid an error.
26845   Use char because int might match the return type of a GCC
26846   builtin and then its argument prototype would still apply.  */
26847#ifdef __cplusplus
26848extern "C"
26849#endif
26850char libcdata_range_list_get_spanning_range ();
26851int
26852main ()
26853{
26854return libcdata_range_list_get_spanning_range ();
26855  ;
26856  return 0;
26857}
26858_ACEOF
26859if ac_fn_c_try_link "$LINENO"; then :
26860  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes
26861else
26862  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no
26863fi
26864rm -f core conftest.err conftest.$ac_objext \
26865    conftest$ac_exeext conftest.$ac_ext
26866LIBS=$ac_check_lib_save_LIBS
26867fi
26868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5
26869$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; }
26870if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then :
26871  ac_cv_libcdata_dummy=yes
26872else
26873  ac_cv_libcdata=no
26874fi
26875
26876
26877                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5
26878$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; }
26879if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then :
26880  $as_echo_n "(cached) " >&6
26881else
26882  ac_check_lib_save_LIBS=$LIBS
26883LIBS="-lcdata  $LIBS"
26884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26885/* end confdefs.h.  */
26886
26887/* Override any GCC internal prototype to avoid an error.
26888   Use char because int might match the return type of a GCC
26889   builtin and then its argument prototype would still apply.  */
26890#ifdef __cplusplus
26891extern "C"
26892#endif
26893char libcdata_tree_node_initialize ();
26894int
26895main ()
26896{
26897return libcdata_tree_node_initialize ();
26898  ;
26899  return 0;
26900}
26901_ACEOF
26902if ac_fn_c_try_link "$LINENO"; then :
26903  ac_cv_lib_cdata_libcdata_tree_node_initialize=yes
26904else
26905  ac_cv_lib_cdata_libcdata_tree_node_initialize=no
26906fi
26907rm -f core conftest.err conftest.$ac_objext \
26908    conftest$ac_exeext conftest.$ac_ext
26909LIBS=$ac_check_lib_save_LIBS
26910fi
26911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5
26912$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; }
26913if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then :
26914  ac_cv_libcdata_dummy=yes
26915else
26916  ac_cv_libcdata=no
26917fi
26918
26919        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5
26920$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; }
26921if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then :
26922  $as_echo_n "(cached) " >&6
26923else
26924  ac_check_lib_save_LIBS=$LIBS
26925LIBS="-lcdata  $LIBS"
26926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26927/* end confdefs.h.  */
26928
26929/* Override any GCC internal prototype to avoid an error.
26930   Use char because int might match the return type of a GCC
26931   builtin and then its argument prototype would still apply.  */
26932#ifdef __cplusplus
26933extern "C"
26934#endif
26935char libcdata_tree_node_free ();
26936int
26937main ()
26938{
26939return libcdata_tree_node_free ();
26940  ;
26941  return 0;
26942}
26943_ACEOF
26944if ac_fn_c_try_link "$LINENO"; then :
26945  ac_cv_lib_cdata_libcdata_tree_node_free=yes
26946else
26947  ac_cv_lib_cdata_libcdata_tree_node_free=no
26948fi
26949rm -f core conftest.err conftest.$ac_objext \
26950    conftest$ac_exeext conftest.$ac_ext
26951LIBS=$ac_check_lib_save_LIBS
26952fi
26953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5
26954$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; }
26955if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then :
26956  ac_cv_libcdata_dummy=yes
26957else
26958  ac_cv_libcdata=no
26959fi
26960
26961        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5
26962$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; }
26963if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then :
26964  $as_echo_n "(cached) " >&6
26965else
26966  ac_check_lib_save_LIBS=$LIBS
26967LIBS="-lcdata  $LIBS"
26968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26969/* end confdefs.h.  */
26970
26971/* Override any GCC internal prototype to avoid an error.
26972   Use char because int might match the return type of a GCC
26973   builtin and then its argument prototype would still apply.  */
26974#ifdef __cplusplus
26975extern "C"
26976#endif
26977char libcdata_tree_node_empty ();
26978int
26979main ()
26980{
26981return libcdata_tree_node_empty ();
26982  ;
26983  return 0;
26984}
26985_ACEOF
26986if ac_fn_c_try_link "$LINENO"; then :
26987  ac_cv_lib_cdata_libcdata_tree_node_empty=yes
26988else
26989  ac_cv_lib_cdata_libcdata_tree_node_empty=no
26990fi
26991rm -f core conftest.err conftest.$ac_objext \
26992    conftest$ac_exeext conftest.$ac_ext
26993LIBS=$ac_check_lib_save_LIBS
26994fi
26995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5
26996$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; }
26997if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then :
26998  ac_cv_libcdata_dummy=yes
26999else
27000  ac_cv_libcdata=no
27001fi
27002
27003        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5
27004$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; }
27005if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then :
27006  $as_echo_n "(cached) " >&6
27007else
27008  ac_check_lib_save_LIBS=$LIBS
27009LIBS="-lcdata  $LIBS"
27010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27011/* end confdefs.h.  */
27012
27013/* Override any GCC internal prototype to avoid an error.
27014   Use char because int might match the return type of a GCC
27015   builtin and then its argument prototype would still apply.  */
27016#ifdef __cplusplus
27017extern "C"
27018#endif
27019char libcdata_tree_node_clone ();
27020int
27021main ()
27022{
27023return libcdata_tree_node_clone ();
27024  ;
27025  return 0;
27026}
27027_ACEOF
27028if ac_fn_c_try_link "$LINENO"; then :
27029  ac_cv_lib_cdata_libcdata_tree_node_clone=yes
27030else
27031  ac_cv_lib_cdata_libcdata_tree_node_clone=no
27032fi
27033rm -f core conftest.err conftest.$ac_objext \
27034    conftest$ac_exeext conftest.$ac_ext
27035LIBS=$ac_check_lib_save_LIBS
27036fi
27037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5
27038$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; }
27039if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then :
27040  ac_cv_libcdata_dummy=yes
27041else
27042  ac_cv_libcdata=no
27043fi
27044
27045        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5
27046$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; }
27047if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then :
27048  $as_echo_n "(cached) " >&6
27049else
27050  ac_check_lib_save_LIBS=$LIBS
27051LIBS="-lcdata  $LIBS"
27052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27053/* end confdefs.h.  */
27054
27055/* Override any GCC internal prototype to avoid an error.
27056   Use char because int might match the return type of a GCC
27057   builtin and then its argument prototype would still apply.  */
27058#ifdef __cplusplus
27059extern "C"
27060#endif
27061char libcdata_tree_node_get_value ();
27062int
27063main ()
27064{
27065return libcdata_tree_node_get_value ();
27066  ;
27067  return 0;
27068}
27069_ACEOF
27070if ac_fn_c_try_link "$LINENO"; then :
27071  ac_cv_lib_cdata_libcdata_tree_node_get_value=yes
27072else
27073  ac_cv_lib_cdata_libcdata_tree_node_get_value=no
27074fi
27075rm -f core conftest.err conftest.$ac_objext \
27076    conftest$ac_exeext conftest.$ac_ext
27077LIBS=$ac_check_lib_save_LIBS
27078fi
27079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5
27080$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; }
27081if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then :
27082  ac_cv_libcdata_dummy=yes
27083else
27084  ac_cv_libcdata=no
27085fi
27086
27087        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5
27088$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; }
27089if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then :
27090  $as_echo_n "(cached) " >&6
27091else
27092  ac_check_lib_save_LIBS=$LIBS
27093LIBS="-lcdata  $LIBS"
27094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095/* end confdefs.h.  */
27096
27097/* Override any GCC internal prototype to avoid an error.
27098   Use char because int might match the return type of a GCC
27099   builtin and then its argument prototype would still apply.  */
27100#ifdef __cplusplus
27101extern "C"
27102#endif
27103char libcdata_tree_node_set_value ();
27104int
27105main ()
27106{
27107return libcdata_tree_node_set_value ();
27108  ;
27109  return 0;
27110}
27111_ACEOF
27112if ac_fn_c_try_link "$LINENO"; then :
27113  ac_cv_lib_cdata_libcdata_tree_node_set_value=yes
27114else
27115  ac_cv_lib_cdata_libcdata_tree_node_set_value=no
27116fi
27117rm -f core conftest.err conftest.$ac_objext \
27118    conftest$ac_exeext conftest.$ac_ext
27119LIBS=$ac_check_lib_save_LIBS
27120fi
27121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5
27122$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; }
27123if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then :
27124  ac_cv_libcdata_dummy=yes
27125else
27126  ac_cv_libcdata=no
27127fi
27128
27129        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5
27130$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; }
27131if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then :
27132  $as_echo_n "(cached) " >&6
27133else
27134  ac_check_lib_save_LIBS=$LIBS
27135LIBS="-lcdata  $LIBS"
27136cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27137/* end confdefs.h.  */
27138
27139/* Override any GCC internal prototype to avoid an error.
27140   Use char because int might match the return type of a GCC
27141   builtin and then its argument prototype would still apply.  */
27142#ifdef __cplusplus
27143extern "C"
27144#endif
27145char libcdata_tree_node_get_parent_node ();
27146int
27147main ()
27148{
27149return libcdata_tree_node_get_parent_node ();
27150  ;
27151  return 0;
27152}
27153_ACEOF
27154if ac_fn_c_try_link "$LINENO"; then :
27155  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes
27156else
27157  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no
27158fi
27159rm -f core conftest.err conftest.$ac_objext \
27160    conftest$ac_exeext conftest.$ac_ext
27161LIBS=$ac_check_lib_save_LIBS
27162fi
27163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5
27164$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; }
27165if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then :
27166  ac_cv_libcdata_dummy=yes
27167else
27168  ac_cv_libcdata=no
27169fi
27170
27171        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5
27172$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; }
27173if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then :
27174  $as_echo_n "(cached) " >&6
27175else
27176  ac_check_lib_save_LIBS=$LIBS
27177LIBS="-lcdata  $LIBS"
27178cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27179/* end confdefs.h.  */
27180
27181/* Override any GCC internal prototype to avoid an error.
27182   Use char because int might match the return type of a GCC
27183   builtin and then its argument prototype would still apply.  */
27184#ifdef __cplusplus
27185extern "C"
27186#endif
27187char libcdata_tree_node_set_parent_node ();
27188int
27189main ()
27190{
27191return libcdata_tree_node_set_parent_node ();
27192  ;
27193  return 0;
27194}
27195_ACEOF
27196if ac_fn_c_try_link "$LINENO"; then :
27197  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes
27198else
27199  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no
27200fi
27201rm -f core conftest.err conftest.$ac_objext \
27202    conftest$ac_exeext conftest.$ac_ext
27203LIBS=$ac_check_lib_save_LIBS
27204fi
27205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5
27206$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; }
27207if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then :
27208  ac_cv_libcdata_dummy=yes
27209else
27210  ac_cv_libcdata=no
27211fi
27212
27213        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5
27214$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; }
27215if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then :
27216  $as_echo_n "(cached) " >&6
27217else
27218  ac_check_lib_save_LIBS=$LIBS
27219LIBS="-lcdata  $LIBS"
27220cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27221/* end confdefs.h.  */
27222
27223/* Override any GCC internal prototype to avoid an error.
27224   Use char because int might match the return type of a GCC
27225   builtin and then its argument prototype would still apply.  */
27226#ifdef __cplusplus
27227extern "C"
27228#endif
27229char libcdata_tree_node_get_previous_node ();
27230int
27231main ()
27232{
27233return libcdata_tree_node_get_previous_node ();
27234  ;
27235  return 0;
27236}
27237_ACEOF
27238if ac_fn_c_try_link "$LINENO"; then :
27239  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes
27240else
27241  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no
27242fi
27243rm -f core conftest.err conftest.$ac_objext \
27244    conftest$ac_exeext conftest.$ac_ext
27245LIBS=$ac_check_lib_save_LIBS
27246fi
27247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5
27248$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; }
27249if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then :
27250  ac_cv_libcdata_dummy=yes
27251else
27252  ac_cv_libcdata=no
27253fi
27254
27255        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5
27256$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; }
27257if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then :
27258  $as_echo_n "(cached) " >&6
27259else
27260  ac_check_lib_save_LIBS=$LIBS
27261LIBS="-lcdata  $LIBS"
27262cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27263/* end confdefs.h.  */
27264
27265/* Override any GCC internal prototype to avoid an error.
27266   Use char because int might match the return type of a GCC
27267   builtin and then its argument prototype would still apply.  */
27268#ifdef __cplusplus
27269extern "C"
27270#endif
27271char libcdata_tree_node_set_previous_node ();
27272int
27273main ()
27274{
27275return libcdata_tree_node_set_previous_node ();
27276  ;
27277  return 0;
27278}
27279_ACEOF
27280if ac_fn_c_try_link "$LINENO"; then :
27281  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes
27282else
27283  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no
27284fi
27285rm -f core conftest.err conftest.$ac_objext \
27286    conftest$ac_exeext conftest.$ac_ext
27287LIBS=$ac_check_lib_save_LIBS
27288fi
27289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5
27290$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; }
27291if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then :
27292  ac_cv_libcdata_dummy=yes
27293else
27294  ac_cv_libcdata=no
27295fi
27296
27297        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5
27298$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; }
27299if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then :
27300  $as_echo_n "(cached) " >&6
27301else
27302  ac_check_lib_save_LIBS=$LIBS
27303LIBS="-lcdata  $LIBS"
27304cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27305/* end confdefs.h.  */
27306
27307/* Override any GCC internal prototype to avoid an error.
27308   Use char because int might match the return type of a GCC
27309   builtin and then its argument prototype would still apply.  */
27310#ifdef __cplusplus
27311extern "C"
27312#endif
27313char libcdata_tree_node_get_next_node ();
27314int
27315main ()
27316{
27317return libcdata_tree_node_get_next_node ();
27318  ;
27319  return 0;
27320}
27321_ACEOF
27322if ac_fn_c_try_link "$LINENO"; then :
27323  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes
27324else
27325  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no
27326fi
27327rm -f core conftest.err conftest.$ac_objext \
27328    conftest$ac_exeext conftest.$ac_ext
27329LIBS=$ac_check_lib_save_LIBS
27330fi
27331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5
27332$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; }
27333if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then :
27334  ac_cv_libcdata_dummy=yes
27335else
27336  ac_cv_libcdata=no
27337fi
27338
27339        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5
27340$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; }
27341if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then :
27342  $as_echo_n "(cached) " >&6
27343else
27344  ac_check_lib_save_LIBS=$LIBS
27345LIBS="-lcdata  $LIBS"
27346cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27347/* end confdefs.h.  */
27348
27349/* Override any GCC internal prototype to avoid an error.
27350   Use char because int might match the return type of a GCC
27351   builtin and then its argument prototype would still apply.  */
27352#ifdef __cplusplus
27353extern "C"
27354#endif
27355char libcdata_tree_node_set_next_node ();
27356int
27357main ()
27358{
27359return libcdata_tree_node_set_next_node ();
27360  ;
27361  return 0;
27362}
27363_ACEOF
27364if ac_fn_c_try_link "$LINENO"; then :
27365  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes
27366else
27367  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no
27368fi
27369rm -f core conftest.err conftest.$ac_objext \
27370    conftest$ac_exeext conftest.$ac_ext
27371LIBS=$ac_check_lib_save_LIBS
27372fi
27373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5
27374$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; }
27375if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then :
27376  ac_cv_libcdata_dummy=yes
27377else
27378  ac_cv_libcdata=no
27379fi
27380
27381        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5
27382$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; }
27383if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then :
27384  $as_echo_n "(cached) " >&6
27385else
27386  ac_check_lib_save_LIBS=$LIBS
27387LIBS="-lcdata  $LIBS"
27388cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27389/* end confdefs.h.  */
27390
27391/* Override any GCC internal prototype to avoid an error.
27392   Use char because int might match the return type of a GCC
27393   builtin and then its argument prototype would still apply.  */
27394#ifdef __cplusplus
27395extern "C"
27396#endif
27397char libcdata_tree_node_get_nodes ();
27398int
27399main ()
27400{
27401return libcdata_tree_node_get_nodes ();
27402  ;
27403  return 0;
27404}
27405_ACEOF
27406if ac_fn_c_try_link "$LINENO"; then :
27407  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes
27408else
27409  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no
27410fi
27411rm -f core conftest.err conftest.$ac_objext \
27412    conftest$ac_exeext conftest.$ac_ext
27413LIBS=$ac_check_lib_save_LIBS
27414fi
27415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5
27416$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; }
27417if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then :
27418  ac_cv_libcdata_dummy=yes
27419else
27420  ac_cv_libcdata=no
27421fi
27422
27423        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5
27424$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; }
27425if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then :
27426  $as_echo_n "(cached) " >&6
27427else
27428  ac_check_lib_save_LIBS=$LIBS
27429LIBS="-lcdata  $LIBS"
27430cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431/* end confdefs.h.  */
27432
27433/* Override any GCC internal prototype to avoid an error.
27434   Use char because int might match the return type of a GCC
27435   builtin and then its argument prototype would still apply.  */
27436#ifdef __cplusplus
27437extern "C"
27438#endif
27439char libcdata_tree_node_set_nodes ();
27440int
27441main ()
27442{
27443return libcdata_tree_node_set_nodes ();
27444  ;
27445  return 0;
27446}
27447_ACEOF
27448if ac_fn_c_try_link "$LINENO"; then :
27449  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes
27450else
27451  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no
27452fi
27453rm -f core conftest.err conftest.$ac_objext \
27454    conftest$ac_exeext conftest.$ac_ext
27455LIBS=$ac_check_lib_save_LIBS
27456fi
27457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5
27458$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; }
27459if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then :
27460  ac_cv_libcdata_dummy=yes
27461else
27462  ac_cv_libcdata=no
27463fi
27464
27465        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5
27466$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; }
27467if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then :
27468  $as_echo_n "(cached) " >&6
27469else
27470  ac_check_lib_save_LIBS=$LIBS
27471LIBS="-lcdata  $LIBS"
27472cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27473/* end confdefs.h.  */
27474
27475/* Override any GCC internal prototype to avoid an error.
27476   Use char because int might match the return type of a GCC
27477   builtin and then its argument prototype would still apply.  */
27478#ifdef __cplusplus
27479extern "C"
27480#endif
27481char libcdata_tree_node_append_node ();
27482int
27483main ()
27484{
27485return libcdata_tree_node_append_node ();
27486  ;
27487  return 0;
27488}
27489_ACEOF
27490if ac_fn_c_try_link "$LINENO"; then :
27491  ac_cv_lib_cdata_libcdata_tree_node_append_node=yes
27492else
27493  ac_cv_lib_cdata_libcdata_tree_node_append_node=no
27494fi
27495rm -f core conftest.err conftest.$ac_objext \
27496    conftest$ac_exeext conftest.$ac_ext
27497LIBS=$ac_check_lib_save_LIBS
27498fi
27499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5
27500$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; }
27501if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then :
27502  ac_cv_libcdata_dummy=yes
27503else
27504  ac_cv_libcdata=no
27505fi
27506
27507        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5
27508$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; }
27509if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then :
27510  $as_echo_n "(cached) " >&6
27511else
27512  ac_check_lib_save_LIBS=$LIBS
27513LIBS="-lcdata  $LIBS"
27514cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27515/* end confdefs.h.  */
27516
27517/* Override any GCC internal prototype to avoid an error.
27518   Use char because int might match the return type of a GCC
27519   builtin and then its argument prototype would still apply.  */
27520#ifdef __cplusplus
27521extern "C"
27522#endif
27523char libcdata_tree_node_append_value ();
27524int
27525main ()
27526{
27527return libcdata_tree_node_append_value ();
27528  ;
27529  return 0;
27530}
27531_ACEOF
27532if ac_fn_c_try_link "$LINENO"; then :
27533  ac_cv_lib_cdata_libcdata_tree_node_append_value=yes
27534else
27535  ac_cv_lib_cdata_libcdata_tree_node_append_value=no
27536fi
27537rm -f core conftest.err conftest.$ac_objext \
27538    conftest$ac_exeext conftest.$ac_ext
27539LIBS=$ac_check_lib_save_LIBS
27540fi
27541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5
27542$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; }
27543if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then :
27544  ac_cv_libcdata_dummy=yes
27545else
27546  ac_cv_libcdata=no
27547fi
27548
27549        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5
27550$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; }
27551if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then :
27552  $as_echo_n "(cached) " >&6
27553else
27554  ac_check_lib_save_LIBS=$LIBS
27555LIBS="-lcdata  $LIBS"
27556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27557/* end confdefs.h.  */
27558
27559/* Override any GCC internal prototype to avoid an error.
27560   Use char because int might match the return type of a GCC
27561   builtin and then its argument prototype would still apply.  */
27562#ifdef __cplusplus
27563extern "C"
27564#endif
27565char libcdata_tree_node_insert_node ();
27566int
27567main ()
27568{
27569return libcdata_tree_node_insert_node ();
27570  ;
27571  return 0;
27572}
27573_ACEOF
27574if ac_fn_c_try_link "$LINENO"; then :
27575  ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes
27576else
27577  ac_cv_lib_cdata_libcdata_tree_node_insert_node=no
27578fi
27579rm -f core conftest.err conftest.$ac_objext \
27580    conftest$ac_exeext conftest.$ac_ext
27581LIBS=$ac_check_lib_save_LIBS
27582fi
27583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5
27584$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; }
27585if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then :
27586  ac_cv_libcdata_dummy=yes
27587else
27588  ac_cv_libcdata=no
27589fi
27590
27591        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5
27592$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; }
27593if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then :
27594  $as_echo_n "(cached) " >&6
27595else
27596  ac_check_lib_save_LIBS=$LIBS
27597LIBS="-lcdata  $LIBS"
27598cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27599/* end confdefs.h.  */
27600
27601/* Override any GCC internal prototype to avoid an error.
27602   Use char because int might match the return type of a GCC
27603   builtin and then its argument prototype would still apply.  */
27604#ifdef __cplusplus
27605extern "C"
27606#endif
27607char libcdata_tree_node_insert_value ();
27608int
27609main ()
27610{
27611return libcdata_tree_node_insert_value ();
27612  ;
27613  return 0;
27614}
27615_ACEOF
27616if ac_fn_c_try_link "$LINENO"; then :
27617  ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes
27618else
27619  ac_cv_lib_cdata_libcdata_tree_node_insert_value=no
27620fi
27621rm -f core conftest.err conftest.$ac_objext \
27622    conftest$ac_exeext conftest.$ac_ext
27623LIBS=$ac_check_lib_save_LIBS
27624fi
27625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5
27626$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; }
27627if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then :
27628  ac_cv_libcdata_dummy=yes
27629else
27630  ac_cv_libcdata=no
27631fi
27632
27633        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5
27634$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; }
27635if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then :
27636  $as_echo_n "(cached) " >&6
27637else
27638  ac_check_lib_save_LIBS=$LIBS
27639LIBS="-lcdata  $LIBS"
27640cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641/* end confdefs.h.  */
27642
27643/* Override any GCC internal prototype to avoid an error.
27644   Use char because int might match the return type of a GCC
27645   builtin and then its argument prototype would still apply.  */
27646#ifdef __cplusplus
27647extern "C"
27648#endif
27649char libcdata_tree_node_replace_node ();
27650int
27651main ()
27652{
27653return libcdata_tree_node_replace_node ();
27654  ;
27655  return 0;
27656}
27657_ACEOF
27658if ac_fn_c_try_link "$LINENO"; then :
27659  ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes
27660else
27661  ac_cv_lib_cdata_libcdata_tree_node_replace_node=no
27662fi
27663rm -f core conftest.err conftest.$ac_objext \
27664    conftest$ac_exeext conftest.$ac_ext
27665LIBS=$ac_check_lib_save_LIBS
27666fi
27667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5
27668$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; }
27669if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then :
27670  ac_cv_libcdata_dummy=yes
27671else
27672  ac_cv_libcdata=no
27673fi
27674
27675        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5
27676$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; }
27677if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then :
27678  $as_echo_n "(cached) " >&6
27679else
27680  ac_check_lib_save_LIBS=$LIBS
27681LIBS="-lcdata  $LIBS"
27682cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27683/* end confdefs.h.  */
27684
27685/* Override any GCC internal prototype to avoid an error.
27686   Use char because int might match the return type of a GCC
27687   builtin and then its argument prototype would still apply.  */
27688#ifdef __cplusplus
27689extern "C"
27690#endif
27691char libcdata_tree_node_remove_node ();
27692int
27693main ()
27694{
27695return libcdata_tree_node_remove_node ();
27696  ;
27697  return 0;
27698}
27699_ACEOF
27700if ac_fn_c_try_link "$LINENO"; then :
27701  ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes
27702else
27703  ac_cv_lib_cdata_libcdata_tree_node_remove_node=no
27704fi
27705rm -f core conftest.err conftest.$ac_objext \
27706    conftest$ac_exeext conftest.$ac_ext
27707LIBS=$ac_check_lib_save_LIBS
27708fi
27709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5
27710$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; }
27711if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then :
27712  ac_cv_libcdata_dummy=yes
27713else
27714  ac_cv_libcdata=no
27715fi
27716
27717        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5
27718$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; }
27719if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then :
27720  $as_echo_n "(cached) " >&6
27721else
27722  ac_check_lib_save_LIBS=$LIBS
27723LIBS="-lcdata  $LIBS"
27724cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27725/* end confdefs.h.  */
27726
27727/* Override any GCC internal prototype to avoid an error.
27728   Use char because int might match the return type of a GCC
27729   builtin and then its argument prototype would still apply.  */
27730#ifdef __cplusplus
27731extern "C"
27732#endif
27733char libcdata_tree_node_get_number_of_sub_nodes ();
27734int
27735main ()
27736{
27737return libcdata_tree_node_get_number_of_sub_nodes ();
27738  ;
27739  return 0;
27740}
27741_ACEOF
27742if ac_fn_c_try_link "$LINENO"; then :
27743  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes
27744else
27745  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no
27746fi
27747rm -f core conftest.err conftest.$ac_objext \
27748    conftest$ac_exeext conftest.$ac_ext
27749LIBS=$ac_check_lib_save_LIBS
27750fi
27751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5
27752$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; }
27753if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then :
27754  ac_cv_libcdata_dummy=yes
27755else
27756  ac_cv_libcdata=no
27757fi
27758
27759        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5
27760$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; }
27761if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then :
27762  $as_echo_n "(cached) " >&6
27763else
27764  ac_check_lib_save_LIBS=$LIBS
27765LIBS="-lcdata  $LIBS"
27766cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27767/* end confdefs.h.  */
27768
27769/* Override any GCC internal prototype to avoid an error.
27770   Use char because int might match the return type of a GCC
27771   builtin and then its argument prototype would still apply.  */
27772#ifdef __cplusplus
27773extern "C"
27774#endif
27775char libcdata_tree_node_get_sub_node_by_index ();
27776int
27777main ()
27778{
27779return libcdata_tree_node_get_sub_node_by_index ();
27780  ;
27781  return 0;
27782}
27783_ACEOF
27784if ac_fn_c_try_link "$LINENO"; then :
27785  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes
27786else
27787  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no
27788fi
27789rm -f core conftest.err conftest.$ac_objext \
27790    conftest$ac_exeext conftest.$ac_ext
27791LIBS=$ac_check_lib_save_LIBS
27792fi
27793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5
27794$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; }
27795if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then :
27796  ac_cv_libcdata_dummy=yes
27797else
27798  ac_cv_libcdata=no
27799fi
27800
27801        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5
27802$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; }
27803if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then :
27804  $as_echo_n "(cached) " >&6
27805else
27806  ac_check_lib_save_LIBS=$LIBS
27807LIBS="-lcdata  $LIBS"
27808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27809/* end confdefs.h.  */
27810
27811/* Override any GCC internal prototype to avoid an error.
27812   Use char because int might match the return type of a GCC
27813   builtin and then its argument prototype would still apply.  */
27814#ifdef __cplusplus
27815extern "C"
27816#endif
27817char libcdata_tree_node_get_leaf_node_list ();
27818int
27819main ()
27820{
27821return libcdata_tree_node_get_leaf_node_list ();
27822  ;
27823  return 0;
27824}
27825_ACEOF
27826if ac_fn_c_try_link "$LINENO"; then :
27827  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes
27828else
27829  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no
27830fi
27831rm -f core conftest.err conftest.$ac_objext \
27832    conftest$ac_exeext conftest.$ac_ext
27833LIBS=$ac_check_lib_save_LIBS
27834fi
27835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5
27836$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; }
27837if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then :
27838  ac_cv_libcdata_dummy=yes
27839else
27840  ac_cv_libcdata=no
27841fi
27842
27843
27844        ac_cv_libcdata_LIBADD="-lcdata"
27845fi
27846
27847fi
27848    if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then :
27849  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27850$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27851as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata
27852See \`config.log' for more details" "$LINENO" 5; }
27853
27854fi
27855
27856fi
27857
27858  if test "x$ac_cv_libcdata" = xyes; then :
27859
27860$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h
27861
27862
27863fi
27864
27865  if test "x$ac_cv_libcdata" = xyes; then :
27866  HAVE_LIBCDATA=1
27867
27868else
27869  HAVE_LIBCDATA=0
27870
27871
27872fi
27873
27874
27875    if test "x$ac_cv_libcdata" != xyes; then :
27876
27877  ac_cv_libcdata_CPPFLAGS="-I../libcdata";
27878  ac_cv_libcdata_LIBADD="../libcdata/libcdata.la";
27879
27880  ac_cv_libcdata=local
27881
27882
27883
27884$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h
27885
27886    HAVE_LOCAL_LIBCDATA=1
27887
27888
27889fi
27890
27891   if test "x$ac_cv_libcdata" = xlocal; then
27892  HAVE_LOCAL_LIBCDATA_TRUE=
27893  HAVE_LOCAL_LIBCDATA_FALSE='#'
27894else
27895  HAVE_LOCAL_LIBCDATA_TRUE='#'
27896  HAVE_LOCAL_LIBCDATA_FALSE=
27897fi
27898
27899  if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then :
27900  LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS
27901
27902
27903fi
27904  if test "x$ac_cv_libcdata_LIBADD" != "x"; then :
27905  LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD
27906
27907
27908fi
27909
27910  if test "x$ac_cv_libcdata" = xyes; then :
27911  ax_libcdata_pc_libs_private=-lcdata
27912
27913
27914fi
27915
27916  if test "x$ac_cv_libcdata" = xyes; then :
27917  ax_libcdata_spec_requires=libcdata
27918
27919    ax_libcdata_spec_build_requires=libcdata-devel
27920
27921
27922fi
27923
27924
27925
27926
27927# Check whether --with-libclocale was given.
27928if test "${with_libclocale+set}" = set; then :
27929  withval=$with_libclocale; ac_cv_with_libclocale=$withval
27930else
27931  ac_cv_with_libclocale=auto-detect
27932fi
27933
27934    { $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
27935$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; }
27936if ${ac_cv_with_libclocale+:} false; then :
27937  $as_echo_n "(cached) " >&6
27938else
27939  ac_cv_with_libclocale=auto-detect
27940fi
27941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5
27942$as_echo "$ac_cv_with_libclocale" >&6; }
27943
27944    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then :
27945  ac_cv_libclocale=no
27946else
27947  ac_cv_libclocale=check
27948        if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then :
27949  if test -d "$ac_cv_with_libclocale"; then :
27950  CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include"
27951        LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib"
27952else
27953  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27954$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27955as_fn_error 1 "no such directory: $ac_cv_with_libclocale
27956See \`config.log' for more details" "$LINENO" 5; }
27957
27958fi
27959
27960else
27961        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
27962
27963pkg_failed=no
27964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5
27965$as_echo_n "checking for libclocale... " >&6; }
27966
27967if test -n "$libclocale_CFLAGS"; then
27968    pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS"
27969 elif test -n "$PKG_CONFIG"; then
27970    if test -n "$PKG_CONFIG" && \
27971    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
27972  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
27973  ac_status=$?
27974  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27975  test $ac_status = 0; }; then
27976  pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null`
27977		      test "x$?" != "x0" && pkg_failed=yes
27978else
27979  pkg_failed=yes
27980fi
27981 else
27982    pkg_failed=untried
27983fi
27984if test -n "$libclocale_LIBS"; then
27985    pkg_cv_libclocale_LIBS="$libclocale_LIBS"
27986 elif test -n "$PKG_CONFIG"; then
27987    if test -n "$PKG_CONFIG" && \
27988    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
27989  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
27990  ac_status=$?
27991  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27992  test $ac_status = 0; }; then
27993  pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null`
27994		      test "x$?" != "x0" && pkg_failed=yes
27995else
27996  pkg_failed=yes
27997fi
27998 else
27999    pkg_failed=untried
28000fi
28001
28002
28003
28004if test $pkg_failed = yes; then
28005   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28006$as_echo "no" >&6; }
28007
28008if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28009        _pkg_short_errors_supported=yes
28010else
28011        _pkg_short_errors_supported=no
28012fi
28013        if test $_pkg_short_errors_supported = yes; then
28014	        libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
28015        else
28016	        libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
28017        fi
28018	# Put the nasty error message in config.log where it belongs
28019	echo "$libclocale_PKG_ERRORS" >&5
28020
28021	ac_cv_libclocale=check
28022elif test $pkg_failed = untried; then
28023     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28024$as_echo "no" >&6; }
28025	ac_cv_libclocale=check
28026else
28027	libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS
28028	libclocale_LIBS=$pkg_cv_libclocale_LIBS
28029        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28030$as_echo "yes" >&6; }
28031	ac_cv_libclocale=yes
28032fi
28033
28034fi
28035      if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
28036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
28037$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
28038if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then :
28039  $as_echo_n "(cached) " >&6
28040else
28041  ac_ext=c
28042ac_cpp='$CPP $CPPFLAGS'
28043ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28044ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28045ac_compiler_gnu=$ac_cv_c_compiler_gnu
28046
28047          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28048/* end confdefs.h.  */
28049#include <libclocale/features.h>
28050int
28051main ()
28052{
28053#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 )
28054#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined
28055#endif
28056  ;
28057  return 0;
28058}
28059_ACEOF
28060if ac_fn_c_try_compile "$LINENO"; then :
28061  ac_cv_header_libclocale_features_h_have_wide_character_type=yes
28062else
28063  ac_cv_header_libclocale_features_h_have_wide_character_type=no
28064fi
28065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28066          ac_ext=c
28067ac_cpp='$CPP $CPPFLAGS'
28068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28070ac_compiler_gnu=$ac_cv_c_compiler_gnu
28071
28072fi
28073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5
28074$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; }
28075
28076        if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then :
28077  ac_cv_libclocale=no
28078fi
28079
28080fi
28081      if test "x$ac_cv_libclocale" = xyes; then :
28082  ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS"
28083        ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS"
28084fi
28085
28086fi
28087
28088    if test "x$ac_cv_libclocale" = xcheck; then :
28089        for ac_header in libclocale.h
28090do :
28091  ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default"
28092if test "x$ac_cv_header_libclocale_h" = xyes; then :
28093  cat >>confdefs.h <<_ACEOF
28094#define HAVE_LIBCLOCALE_H 1
28095_ACEOF
28096
28097fi
28098
28099done
28100
28101
28102      if test "x$ac_cv_header_libclocale_h" = xno; then :
28103  ac_cv_libclocale=no
28104else
28105          ac_cv_libclocale=yes
28106
28107        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5
28108$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; }
28109if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then :
28110  $as_echo_n "(cached) " >&6
28111else
28112  ac_check_lib_save_LIBS=$LIBS
28113LIBS="-lclocale  $LIBS"
28114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28115/* end confdefs.h.  */
28116
28117/* Override any GCC internal prototype to avoid an error.
28118   Use char because int might match the return type of a GCC
28119   builtin and then its argument prototype would still apply.  */
28120#ifdef __cplusplus
28121extern "C"
28122#endif
28123char libclocale_get_version ();
28124int
28125main ()
28126{
28127return libclocale_get_version ();
28128  ;
28129  return 0;
28130}
28131_ACEOF
28132if ac_fn_c_try_link "$LINENO"; then :
28133  ac_cv_lib_clocale_libclocale_get_version=yes
28134else
28135  ac_cv_lib_clocale_libclocale_get_version=no
28136fi
28137rm -f core conftest.err conftest.$ac_objext \
28138    conftest$ac_exeext conftest.$ac_ext
28139LIBS=$ac_check_lib_save_LIBS
28140fi
28141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5
28142$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; }
28143if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then :
28144  ac_cv_libclocale_dummy=yes
28145else
28146  ac_cv_libclocale=no
28147fi
28148
28149
28150                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5
28151$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; }
28152if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then :
28153  $as_echo_n "(cached) " >&6
28154else
28155  ac_check_lib_save_LIBS=$LIBS
28156LIBS="-lclocale  $LIBS"
28157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28158/* end confdefs.h.  */
28159
28160/* Override any GCC internal prototype to avoid an error.
28161   Use char because int might match the return type of a GCC
28162   builtin and then its argument prototype would still apply.  */
28163#ifdef __cplusplus
28164extern "C"
28165#endif
28166char libclocale_codepage ();
28167int
28168main ()
28169{
28170return libclocale_codepage ();
28171  ;
28172  return 0;
28173}
28174_ACEOF
28175if ac_fn_c_try_link "$LINENO"; then :
28176  ac_cv_lib_clocale_libclocale_codepage=yes
28177else
28178  ac_cv_lib_clocale_libclocale_codepage=no
28179fi
28180rm -f core conftest.err conftest.$ac_objext \
28181    conftest$ac_exeext conftest.$ac_ext
28182LIBS=$ac_check_lib_save_LIBS
28183fi
28184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5
28185$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; }
28186if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then :
28187  ac_cv_libclocale_dummy=yes
28188else
28189  ac_cv_libclocale=no
28190fi
28191
28192        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5
28193$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; }
28194if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then :
28195  $as_echo_n "(cached) " >&6
28196else
28197  ac_check_lib_save_LIBS=$LIBS
28198LIBS="-lclocale  $LIBS"
28199cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200/* end confdefs.h.  */
28201
28202/* Override any GCC internal prototype to avoid an error.
28203   Use char because int might match the return type of a GCC
28204   builtin and then its argument prototype would still apply.  */
28205#ifdef __cplusplus
28206extern "C"
28207#endif
28208char libclocale_codepage_get ();
28209int
28210main ()
28211{
28212return libclocale_codepage_get ();
28213  ;
28214  return 0;
28215}
28216_ACEOF
28217if ac_fn_c_try_link "$LINENO"; then :
28218  ac_cv_lib_clocale_libclocale_codepage_get=yes
28219else
28220  ac_cv_lib_clocale_libclocale_codepage_get=no
28221fi
28222rm -f core conftest.err conftest.$ac_objext \
28223    conftest$ac_exeext conftest.$ac_ext
28224LIBS=$ac_check_lib_save_LIBS
28225fi
28226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5
28227$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; }
28228if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then :
28229  ac_cv_libclocale_dummy=yes
28230else
28231  ac_cv_libclocale=no
28232fi
28233
28234        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5
28235$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; }
28236if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then :
28237  $as_echo_n "(cached) " >&6
28238else
28239  ac_check_lib_save_LIBS=$LIBS
28240LIBS="-lclocale  $LIBS"
28241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28242/* end confdefs.h.  */
28243
28244/* Override any GCC internal prototype to avoid an error.
28245   Use char because int might match the return type of a GCC
28246   builtin and then its argument prototype would still apply.  */
28247#ifdef __cplusplus
28248extern "C"
28249#endif
28250char libclocale_codepage_set ();
28251int
28252main ()
28253{
28254return libclocale_codepage_set ();
28255  ;
28256  return 0;
28257}
28258_ACEOF
28259if ac_fn_c_try_link "$LINENO"; then :
28260  ac_cv_lib_clocale_libclocale_codepage_set=yes
28261else
28262  ac_cv_lib_clocale_libclocale_codepage_set=no
28263fi
28264rm -f core conftest.err conftest.$ac_objext \
28265    conftest$ac_exeext conftest.$ac_ext
28266LIBS=$ac_check_lib_save_LIBS
28267fi
28268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5
28269$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; }
28270if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then :
28271  ac_cv_libclocale_dummy=yes
28272else
28273  ac_cv_libclocale=no
28274fi
28275
28276        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5
28277$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; }
28278if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then :
28279  $as_echo_n "(cached) " >&6
28280else
28281  ac_check_lib_save_LIBS=$LIBS
28282LIBS="-lclocale  $LIBS"
28283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28284/* end confdefs.h.  */
28285
28286/* Override any GCC internal prototype to avoid an error.
28287   Use char because int might match the return type of a GCC
28288   builtin and then its argument prototype would still apply.  */
28289#ifdef __cplusplus
28290extern "C"
28291#endif
28292char libclocale_codepage_copy_from_string ();
28293int
28294main ()
28295{
28296return libclocale_codepage_copy_from_string ();
28297  ;
28298  return 0;
28299}
28300_ACEOF
28301if ac_fn_c_try_link "$LINENO"; then :
28302  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes
28303else
28304  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no
28305fi
28306rm -f core conftest.err conftest.$ac_objext \
28307    conftest$ac_exeext conftest.$ac_ext
28308LIBS=$ac_check_lib_save_LIBS
28309fi
28310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5
28311$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; }
28312if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then :
28313  ac_cv_libclocale_dummy=yes
28314else
28315  ac_cv_libclocale=no
28316fi
28317
28318
28319        if test "x$ac_cv_enable_wide_character_type" != xno; then :
28320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5
28321$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; }
28322if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then :
28323  $as_echo_n "(cached) " >&6
28324else
28325  ac_check_lib_save_LIBS=$LIBS
28326LIBS="-lclocale  $LIBS"
28327cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28328/* end confdefs.h.  */
28329
28330/* Override any GCC internal prototype to avoid an error.
28331   Use char because int might match the return type of a GCC
28332   builtin and then its argument prototype would still apply.  */
28333#ifdef __cplusplus
28334extern "C"
28335#endif
28336char libclocale_codepage_copy_from_string_wide ();
28337int
28338main ()
28339{
28340return libclocale_codepage_copy_from_string_wide ();
28341  ;
28342  return 0;
28343}
28344_ACEOF
28345if ac_fn_c_try_link "$LINENO"; then :
28346  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes
28347else
28348  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no
28349fi
28350rm -f core conftest.err conftest.$ac_objext \
28351    conftest$ac_exeext conftest.$ac_ext
28352LIBS=$ac_check_lib_save_LIBS
28353fi
28354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5
28355$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; }
28356if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then :
28357  ac_cv_libclocale_dummy=yes
28358else
28359  ac_cv_libclocale=no
28360fi
28361
28362
28363fi
28364
28365                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5
28366$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; }
28367if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then :
28368  $as_echo_n "(cached) " >&6
28369else
28370  ac_check_lib_save_LIBS=$LIBS
28371LIBS="-lclocale  $LIBS"
28372cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28373/* end confdefs.h.  */
28374
28375/* Override any GCC internal prototype to avoid an error.
28376   Use char because int might match the return type of a GCC
28377   builtin and then its argument prototype would still apply.  */
28378#ifdef __cplusplus
28379extern "C"
28380#endif
28381char libclocale_locale_get_codepage ();
28382int
28383main ()
28384{
28385return libclocale_locale_get_codepage ();
28386  ;
28387  return 0;
28388}
28389_ACEOF
28390if ac_fn_c_try_link "$LINENO"; then :
28391  ac_cv_lib_clocale_libclocale_locale_get_codepage=yes
28392else
28393  ac_cv_lib_clocale_libclocale_locale_get_codepage=no
28394fi
28395rm -f core conftest.err conftest.$ac_objext \
28396    conftest$ac_exeext conftest.$ac_ext
28397LIBS=$ac_check_lib_save_LIBS
28398fi
28399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5
28400$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; }
28401if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then :
28402  ac_cv_libclocale_dummy=yes
28403else
28404  ac_cv_libclocale=no
28405fi
28406
28407        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5
28408$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; }
28409if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then :
28410  $as_echo_n "(cached) " >&6
28411else
28412  ac_check_lib_save_LIBS=$LIBS
28413LIBS="-lclocale  $LIBS"
28414cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28415/* end confdefs.h.  */
28416
28417/* Override any GCC internal prototype to avoid an error.
28418   Use char because int might match the return type of a GCC
28419   builtin and then its argument prototype would still apply.  */
28420#ifdef __cplusplus
28421extern "C"
28422#endif
28423char libclocale_locale_get_decimal_point ();
28424int
28425main ()
28426{
28427return libclocale_locale_get_decimal_point ();
28428  ;
28429  return 0;
28430}
28431_ACEOF
28432if ac_fn_c_try_link "$LINENO"; then :
28433  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes
28434else
28435  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no
28436fi
28437rm -f core conftest.err conftest.$ac_objext \
28438    conftest$ac_exeext conftest.$ac_ext
28439LIBS=$ac_check_lib_save_LIBS
28440fi
28441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5
28442$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; }
28443if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then :
28444  ac_cv_libclocale_dummy=yes
28445else
28446  ac_cv_libclocale=no
28447fi
28448
28449
28450                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5
28451$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; }
28452if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then :
28453  $as_echo_n "(cached) " >&6
28454else
28455  ac_check_lib_save_LIBS=$LIBS
28456LIBS="-lclocale  $LIBS"
28457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28458/* end confdefs.h.  */
28459
28460/* Override any GCC internal prototype to avoid an error.
28461   Use char because int might match the return type of a GCC
28462   builtin and then its argument prototype would still apply.  */
28463#ifdef __cplusplus
28464extern "C"
28465#endif
28466char libclocale_initialize ();
28467int
28468main ()
28469{
28470return libclocale_initialize ();
28471  ;
28472  return 0;
28473}
28474_ACEOF
28475if ac_fn_c_try_link "$LINENO"; then :
28476  ac_cv_lib_clocale_libclocale_initialize=yes
28477else
28478  ac_cv_lib_clocale_libclocale_initialize=no
28479fi
28480rm -f core conftest.err conftest.$ac_objext \
28481    conftest$ac_exeext conftest.$ac_ext
28482LIBS=$ac_check_lib_save_LIBS
28483fi
28484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5
28485$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; }
28486if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then :
28487  ac_cv_libclocale_dummy=yes
28488else
28489  ac_cv_libclocale=no
28490fi
28491
28492
28493        ac_cv_libclocale_LIBADD="-lclocale"
28494fi
28495
28496fi
28497    if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then :
28498  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28500as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale
28501See \`config.log' for more details" "$LINENO" 5; }
28502
28503fi
28504
28505fi
28506
28507  if test "x$ac_cv_libclocale" = xyes; then :
28508
28509$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h
28510
28511
28512fi
28513
28514  if test "x$ac_cv_libclocale" = xyes; then :
28515  HAVE_LIBCLOCALE=1
28516
28517else
28518  HAVE_LIBCLOCALE=0
28519
28520
28521fi
28522
28523
28524    if test "x$ac_cv_libclocale" != xyes; then :
28525    for ac_header in langinfo.h locale.h
28526do :
28527  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28528ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
28529if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
28530  cat >>confdefs.h <<_ACEOF
28531#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28532_ACEOF
28533
28534fi
28535
28536done
28537
28538
28539    for ac_func in getenv
28540do :
28541  ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
28542if test "x$ac_cv_func_getenv" = xyes; then :
28543  cat >>confdefs.h <<_ACEOF
28544#define HAVE_GETENV 1
28545_ACEOF
28546
28547fi
28548done
28549
28550
28551  if test "x$ac_cv_func_getenv" != xyes; then :
28552  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28554as_fn_error 1 "Missing function: getenv
28555See \`config.log' for more details" "$LINENO" 5; }
28556
28557fi
28558
28559    if test "x$ac_cv_enable_winapi" = xno; then :
28560  for ac_func in localeconv
28561do :
28562  ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv"
28563if test "x$ac_cv_func_localeconv" = xyes; then :
28564  cat >>confdefs.h <<_ACEOF
28565#define HAVE_LOCALECONV 1
28566_ACEOF
28567
28568fi
28569done
28570
28571
28572    if test "x$ac_cv_func_localeconv" != xyes; then :
28573  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28574$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28575as_fn_error 1 "Missing function: localeconv
28576See \`config.log' for more details" "$LINENO" 5; }
28577
28578fi
28579
28580fi
28581
28582  for ac_func in setlocale
28583do :
28584  ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
28585if test "x$ac_cv_func_setlocale" = xyes; then :
28586  cat >>confdefs.h <<_ACEOF
28587#define HAVE_SETLOCALE 1
28588_ACEOF
28589
28590fi
28591done
28592
28593
28594  if test "x$ac_cv_func_setlocale" != xyes; then :
28595  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28596$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28597as_fn_error 1 "Missing function: setlocale
28598See \`config.log' for more details" "$LINENO" 5; }
28599
28600fi
28601
28602  for ac_func in nl_langinfo
28603do :
28604  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
28605if test "x$ac_cv_func_nl_langinfo" = xyes; then :
28606  cat >>confdefs.h <<_ACEOF
28607#define HAVE_NL_LANGINFO 1
28608_ACEOF
28609
28610fi
28611done
28612
28613
28614  if test "x$ac_cv_func_nl_langinfo" = xyes; then :
28615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5
28616$as_echo_n "checking for nl_langinfo CODESET support... " >&6; }
28617if ${ac_cv_cv_langinfo_codeset+:} false; then :
28618  $as_echo_n "(cached) " >&6
28619else
28620  ac_ext=c
28621ac_cpp='$CPP $CPPFLAGS'
28622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28624ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625
28626      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28627/* end confdefs.h.  */
28628#include <langinfo.h>
28629int
28630main ()
28631{
28632char* charset = nl_langinfo( CODESET );
28633  ;
28634  return 0;
28635}
28636_ACEOF
28637if ac_fn_c_try_link "$LINENO"; then :
28638  ac_cv_cv_langinfo_codeset=yes
28639else
28640  ac_cv_cv_langinfo_codeset=no
28641fi
28642rm -f core conftest.err conftest.$ac_objext \
28643    conftest$ac_exeext conftest.$ac_ext
28644      ac_ext=c
28645ac_cpp='$CPP $CPPFLAGS'
28646ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28647ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28648ac_compiler_gnu=$ac_cv_c_compiler_gnu
28649
28650fi
28651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5
28652$as_echo "$ac_cv_cv_langinfo_codeset" >&6; }
28653else
28654  ac_cv_cv_langinfo_codeset=no
28655fi
28656
28657  if test "x$ac_cv_cv_langinfo_codeset" = xyes; then :
28658
28659$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
28660
28661
28662fi
28663
28664
28665  ac_cv_libclocale_CPPFLAGS="-I../libclocale";
28666  ac_cv_libclocale_LIBADD="../libclocale/libclocale.la";
28667
28668  ac_cv_libclocale=local
28669
28670
28671
28672$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h
28673
28674    HAVE_LOCAL_LIBCLOCALE=1
28675
28676
28677fi
28678
28679   if test "x$ac_cv_libclocale" = xlocal; then
28680  HAVE_LOCAL_LIBCLOCALE_TRUE=
28681  HAVE_LOCAL_LIBCLOCALE_FALSE='#'
28682else
28683  HAVE_LOCAL_LIBCLOCALE_TRUE='#'
28684  HAVE_LOCAL_LIBCLOCALE_FALSE=
28685fi
28686
28687  if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then :
28688  LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS
28689
28690
28691fi
28692  if test "x$ac_cv_libclocale_LIBADD" != "x"; then :
28693  LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD
28694
28695
28696fi
28697
28698  if test "x$ac_cv_libclocale" = xyes; then :
28699  ax_libclocale_pc_libs_private=-lclocale
28700
28701
28702fi
28703
28704  if test "x$ac_cv_libclocale" = xyes; then :
28705  ax_libclocale_spec_requires=libclocale
28706
28707    ax_libclocale_spec_build_requires=libclocale-devel
28708
28709
28710fi
28711
28712
28713
28714
28715# Check whether --with-libcnotify was given.
28716if test "${with_libcnotify+set}" = set; then :
28717  withval=$with_libcnotify; ac_cv_with_libcnotify=$withval
28718else
28719  ac_cv_with_libcnotify=auto-detect
28720fi
28721
28722    { $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
28723$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; }
28724if ${ac_cv_with_libcnotify+:} false; then :
28725  $as_echo_n "(cached) " >&6
28726else
28727  ac_cv_with_libcnotify=auto-detect
28728fi
28729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5
28730$as_echo "$ac_cv_with_libcnotify" >&6; }
28731
28732    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then :
28733  ac_cv_libcnotify=no
28734else
28735  ac_cv_libcnotify=check
28736        if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then :
28737  if test -d "$ac_cv_with_libcnotify"; then :
28738  CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include"
28739        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib"
28740else
28741  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28742$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28743as_fn_error 1 "no such directory: $ac_cv_with_libcnotify
28744See \`config.log' for more details" "$LINENO" 5; }
28745
28746fi
28747
28748else
28749        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
28750
28751pkg_failed=no
28752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5
28753$as_echo_n "checking for libcnotify... " >&6; }
28754
28755if test -n "$libcnotify_CFLAGS"; then
28756    pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS"
28757 elif test -n "$PKG_CONFIG"; then
28758    if test -n "$PKG_CONFIG" && \
28759    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
28760  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
28761  ac_status=$?
28762  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28763  test $ac_status = 0; }; then
28764  pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null`
28765		      test "x$?" != "x0" && pkg_failed=yes
28766else
28767  pkg_failed=yes
28768fi
28769 else
28770    pkg_failed=untried
28771fi
28772if test -n "$libcnotify_LIBS"; then
28773    pkg_cv_libcnotify_LIBS="$libcnotify_LIBS"
28774 elif test -n "$PKG_CONFIG"; then
28775    if test -n "$PKG_CONFIG" && \
28776    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
28777  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
28778  ac_status=$?
28779  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28780  test $ac_status = 0; }; then
28781  pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null`
28782		      test "x$?" != "x0" && pkg_failed=yes
28783else
28784  pkg_failed=yes
28785fi
28786 else
28787    pkg_failed=untried
28788fi
28789
28790
28791
28792if test $pkg_failed = yes; then
28793   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28794$as_echo "no" >&6; }
28795
28796if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28797        _pkg_short_errors_supported=yes
28798else
28799        _pkg_short_errors_supported=no
28800fi
28801        if test $_pkg_short_errors_supported = yes; then
28802	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
28803        else
28804	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
28805        fi
28806	# Put the nasty error message in config.log where it belongs
28807	echo "$libcnotify_PKG_ERRORS" >&5
28808
28809	ac_cv_libcnotify=check
28810elif test $pkg_failed = untried; then
28811     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28812$as_echo "no" >&6; }
28813	ac_cv_libcnotify=check
28814else
28815	libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS
28816	libcnotify_LIBS=$pkg_cv_libcnotify_LIBS
28817        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28818$as_echo "yes" >&6; }
28819	ac_cv_libcnotify=yes
28820fi
28821
28822fi
28823      if test "x$ac_cv_libcnotify" = xyes; then :
28824  ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS"
28825        ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS"
28826fi
28827
28828fi
28829
28830    if test "x$ac_cv_libcnotify" = xcheck; then :
28831        for ac_header in libcnotify.h
28832do :
28833  ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default"
28834if test "x$ac_cv_header_libcnotify_h" = xyes; then :
28835  cat >>confdefs.h <<_ACEOF
28836#define HAVE_LIBCNOTIFY_H 1
28837_ACEOF
28838
28839fi
28840
28841done
28842
28843
28844      if test "x$ac_cv_header_libcnotify_h" = xno; then :
28845  ac_cv_libcnotify=no
28846else
28847          ac_cv_libcnotify=yes
28848
28849        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5
28850$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; }
28851if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then :
28852  $as_echo_n "(cached) " >&6
28853else
28854  ac_check_lib_save_LIBS=$LIBS
28855LIBS="-lcnotify  $LIBS"
28856cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28857/* end confdefs.h.  */
28858
28859/* Override any GCC internal prototype to avoid an error.
28860   Use char because int might match the return type of a GCC
28861   builtin and then its argument prototype would still apply.  */
28862#ifdef __cplusplus
28863extern "C"
28864#endif
28865char libcnotify_get_version ();
28866int
28867main ()
28868{
28869return libcnotify_get_version ();
28870  ;
28871  return 0;
28872}
28873_ACEOF
28874if ac_fn_c_try_link "$LINENO"; then :
28875  ac_cv_lib_cnotify_libcnotify_get_version=yes
28876else
28877  ac_cv_lib_cnotify_libcnotify_get_version=no
28878fi
28879rm -f core conftest.err conftest.$ac_objext \
28880    conftest$ac_exeext conftest.$ac_ext
28881LIBS=$ac_check_lib_save_LIBS
28882fi
28883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5
28884$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; }
28885if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then :
28886  ac_cv_libcnotify_dummy=yes
28887else
28888  ac_cv_libcnotify=no
28889fi
28890
28891
28892                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5
28893$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; }
28894if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then :
28895  $as_echo_n "(cached) " >&6
28896else
28897  ac_check_lib_save_LIBS=$LIBS
28898LIBS="-lcnotify  $LIBS"
28899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28900/* end confdefs.h.  */
28901
28902/* Override any GCC internal prototype to avoid an error.
28903   Use char because int might match the return type of a GCC
28904   builtin and then its argument prototype would still apply.  */
28905#ifdef __cplusplus
28906extern "C"
28907#endif
28908char libcnotify_printf ();
28909int
28910main ()
28911{
28912return libcnotify_printf ();
28913  ;
28914  return 0;
28915}
28916_ACEOF
28917if ac_fn_c_try_link "$LINENO"; then :
28918  ac_cv_lib_cnotify_libcnotify_printf=yes
28919else
28920  ac_cv_lib_cnotify_libcnotify_printf=no
28921fi
28922rm -f core conftest.err conftest.$ac_objext \
28923    conftest$ac_exeext conftest.$ac_ext
28924LIBS=$ac_check_lib_save_LIBS
28925fi
28926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5
28927$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; }
28928if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then :
28929  ac_cv_libcnotify_dummy=yes
28930else
28931  ac_cv_libcnotify=no
28932fi
28933
28934        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5
28935$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; }
28936if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then :
28937  $as_echo_n "(cached) " >&6
28938else
28939  ac_check_lib_save_LIBS=$LIBS
28940LIBS="-lcnotify  $LIBS"
28941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28942/* end confdefs.h.  */
28943
28944/* Override any GCC internal prototype to avoid an error.
28945   Use char because int might match the return type of a GCC
28946   builtin and then its argument prototype would still apply.  */
28947#ifdef __cplusplus
28948extern "C"
28949#endif
28950char libcnotify_print_data ();
28951int
28952main ()
28953{
28954return libcnotify_print_data ();
28955  ;
28956  return 0;
28957}
28958_ACEOF
28959if ac_fn_c_try_link "$LINENO"; then :
28960  ac_cv_lib_cnotify_libcnotify_print_data=yes
28961else
28962  ac_cv_lib_cnotify_libcnotify_print_data=no
28963fi
28964rm -f core conftest.err conftest.$ac_objext \
28965    conftest$ac_exeext conftest.$ac_ext
28966LIBS=$ac_check_lib_save_LIBS
28967fi
28968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5
28969$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; }
28970if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then :
28971  ac_cv_libcnotify_dummy=yes
28972else
28973  ac_cv_libcnotify=no
28974fi
28975
28976        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5
28977$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; }
28978if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then :
28979  $as_echo_n "(cached) " >&6
28980else
28981  ac_check_lib_save_LIBS=$LIBS
28982LIBS="-lcnotify  $LIBS"
28983cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28984/* end confdefs.h.  */
28985
28986/* Override any GCC internal prototype to avoid an error.
28987   Use char because int might match the return type of a GCC
28988   builtin and then its argument prototype would still apply.  */
28989#ifdef __cplusplus
28990extern "C"
28991#endif
28992char libcnotify_print_error_backtrace ();
28993int
28994main ()
28995{
28996return libcnotify_print_error_backtrace ();
28997  ;
28998  return 0;
28999}
29000_ACEOF
29001if ac_fn_c_try_link "$LINENO"; then :
29002  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes
29003else
29004  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no
29005fi
29006rm -f core conftest.err conftest.$ac_objext \
29007    conftest$ac_exeext conftest.$ac_ext
29008LIBS=$ac_check_lib_save_LIBS
29009fi
29010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5
29011$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; }
29012if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then :
29013  ac_cv_libcnotify_dummy=yes
29014else
29015  ac_cv_libcnotify=no
29016fi
29017
29018
29019                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5
29020$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; }
29021if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then :
29022  $as_echo_n "(cached) " >&6
29023else
29024  ac_check_lib_save_LIBS=$LIBS
29025LIBS="-lcnotify  $LIBS"
29026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29027/* end confdefs.h.  */
29028
29029/* Override any GCC internal prototype to avoid an error.
29030   Use char because int might match the return type of a GCC
29031   builtin and then its argument prototype would still apply.  */
29032#ifdef __cplusplus
29033extern "C"
29034#endif
29035char libcnotify_stream_set ();
29036int
29037main ()
29038{
29039return libcnotify_stream_set ();
29040  ;
29041  return 0;
29042}
29043_ACEOF
29044if ac_fn_c_try_link "$LINENO"; then :
29045  ac_cv_lib_cnotify_libcnotify_stream_set=yes
29046else
29047  ac_cv_lib_cnotify_libcnotify_stream_set=no
29048fi
29049rm -f core conftest.err conftest.$ac_objext \
29050    conftest$ac_exeext conftest.$ac_ext
29051LIBS=$ac_check_lib_save_LIBS
29052fi
29053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5
29054$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; }
29055if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then :
29056  ac_cv_libcnotify_dummy=yes
29057else
29058  ac_cv_libcnotify=no
29059fi
29060
29061        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5
29062$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; }
29063if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then :
29064  $as_echo_n "(cached) " >&6
29065else
29066  ac_check_lib_save_LIBS=$LIBS
29067LIBS="-lcnotify  $LIBS"
29068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29069/* end confdefs.h.  */
29070
29071/* Override any GCC internal prototype to avoid an error.
29072   Use char because int might match the return type of a GCC
29073   builtin and then its argument prototype would still apply.  */
29074#ifdef __cplusplus
29075extern "C"
29076#endif
29077char libcnotify_stream_open ();
29078int
29079main ()
29080{
29081return libcnotify_stream_open ();
29082  ;
29083  return 0;
29084}
29085_ACEOF
29086if ac_fn_c_try_link "$LINENO"; then :
29087  ac_cv_lib_cnotify_libcnotify_stream_open=yes
29088else
29089  ac_cv_lib_cnotify_libcnotify_stream_open=no
29090fi
29091rm -f core conftest.err conftest.$ac_objext \
29092    conftest$ac_exeext conftest.$ac_ext
29093LIBS=$ac_check_lib_save_LIBS
29094fi
29095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5
29096$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; }
29097if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then :
29098  ac_cv_libcnotify_dummy=yes
29099else
29100  ac_cv_libcnotify=no
29101fi
29102
29103        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5
29104$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; }
29105if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then :
29106  $as_echo_n "(cached) " >&6
29107else
29108  ac_check_lib_save_LIBS=$LIBS
29109LIBS="-lcnotify  $LIBS"
29110cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29111/* end confdefs.h.  */
29112
29113/* Override any GCC internal prototype to avoid an error.
29114   Use char because int might match the return type of a GCC
29115   builtin and then its argument prototype would still apply.  */
29116#ifdef __cplusplus
29117extern "C"
29118#endif
29119char libcnotify_stream_close ();
29120int
29121main ()
29122{
29123return libcnotify_stream_close ();
29124  ;
29125  return 0;
29126}
29127_ACEOF
29128if ac_fn_c_try_link "$LINENO"; then :
29129  ac_cv_lib_cnotify_libcnotify_stream_close=yes
29130else
29131  ac_cv_lib_cnotify_libcnotify_stream_close=no
29132fi
29133rm -f core conftest.err conftest.$ac_objext \
29134    conftest$ac_exeext conftest.$ac_ext
29135LIBS=$ac_check_lib_save_LIBS
29136fi
29137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5
29138$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; }
29139if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then :
29140  ac_cv_libcnotify_dummy=yes
29141else
29142  ac_cv_libcnotify=no
29143fi
29144
29145
29146                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5
29147$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; }
29148if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then :
29149  $as_echo_n "(cached) " >&6
29150else
29151  ac_check_lib_save_LIBS=$LIBS
29152LIBS="-lcnotify  $LIBS"
29153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29154/* end confdefs.h.  */
29155
29156/* Override any GCC internal prototype to avoid an error.
29157   Use char because int might match the return type of a GCC
29158   builtin and then its argument prototype would still apply.  */
29159#ifdef __cplusplus
29160extern "C"
29161#endif
29162char libcnotify_verbose_set ();
29163int
29164main ()
29165{
29166return libcnotify_verbose_set ();
29167  ;
29168  return 0;
29169}
29170_ACEOF
29171if ac_fn_c_try_link "$LINENO"; then :
29172  ac_cv_lib_cnotify_libcnotify_verbose_set=yes
29173else
29174  ac_cv_lib_cnotify_libcnotify_verbose_set=no
29175fi
29176rm -f core conftest.err conftest.$ac_objext \
29177    conftest$ac_exeext conftest.$ac_ext
29178LIBS=$ac_check_lib_save_LIBS
29179fi
29180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5
29181$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; }
29182if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then :
29183  ac_cv_libcnotify_dummy=yes
29184else
29185  ac_cv_libcnotify=no
29186fi
29187
29188
29189        ac_cv_libcnotify_LIBADD="-lcnotify"
29190fi
29191
29192fi
29193    if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then :
29194  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29196as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify
29197See \`config.log' for more details" "$LINENO" 5; }
29198
29199fi
29200
29201fi
29202
29203  if test "x$ac_cv_libcnotify" = xyes; then :
29204
29205$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h
29206
29207
29208fi
29209
29210  if test "x$ac_cv_libcnotify" = xyes; then :
29211  HAVE_LIBCNOTIFY=1
29212
29213else
29214  HAVE_LIBCNOTIFY=0
29215
29216
29217fi
29218
29219
29220    if test "x$ac_cv_libcnotify" != xyes; then :
29221    for ac_header in stdarg.h varargs.h
29222do :
29223  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29224ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
29225if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
29226  cat >>confdefs.h <<_ACEOF
29227#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29228_ACEOF
29229
29230fi
29231
29232done
29233
29234
29235  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
29236  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29238as_fn_error 1 "Missing headers: stdarg.h and varargs.h
29239See \`config.log' for more details" "$LINENO" 5; }
29240
29241fi
29242
29243    for ac_header in errno.h
29244do :
29245  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
29246if test "x$ac_cv_header_errno_h" = xyes; then :
29247  cat >>confdefs.h <<_ACEOF
29248#define HAVE_ERRNO_H 1
29249_ACEOF
29250
29251fi
29252
29253done
29254
29255
29256  ac_cv_libcnotify_CPPFLAGS="-I../libcnotify";
29257  ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la";
29258
29259  ac_cv_libcnotify=local
29260
29261
29262
29263$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h
29264
29265    HAVE_LOCAL_LIBCNOTIFY=1
29266
29267
29268fi
29269
29270   if test "x$ac_cv_libcnotify" = xlocal; then
29271  HAVE_LOCAL_LIBCNOTIFY_TRUE=
29272  HAVE_LOCAL_LIBCNOTIFY_FALSE='#'
29273else
29274  HAVE_LOCAL_LIBCNOTIFY_TRUE='#'
29275  HAVE_LOCAL_LIBCNOTIFY_FALSE=
29276fi
29277
29278  if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then :
29279  LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS
29280
29281
29282fi
29283  if test "x$ac_cv_libcnotify_LIBADD" != "x"; then :
29284  LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD
29285
29286
29287fi
29288
29289  if test "x$ac_cv_libcnotify" = xyes; then :
29290  ax_libcnotify_pc_libs_private=-lcnotify
29291
29292
29293fi
29294
29295  if test "x$ac_cv_libcnotify" = xyes; then :
29296  ax_libcnotify_spec_requires=libcnotify
29297
29298    ax_libcnotify_spec_build_requires=libcnotify-devel
29299
29300
29301fi
29302
29303
29304
29305
29306# Check whether --with-libcsplit was given.
29307if test "${with_libcsplit+set}" = set; then :
29308  withval=$with_libcsplit; ac_cv_with_libcsplit=$withval
29309else
29310  ac_cv_with_libcsplit=auto-detect
29311fi
29312
29313    { $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
29314$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; }
29315if ${ac_cv_with_libcsplit+:} false; then :
29316  $as_echo_n "(cached) " >&6
29317else
29318  ac_cv_with_libcsplit=auto-detect
29319fi
29320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5
29321$as_echo "$ac_cv_with_libcsplit" >&6; }
29322
29323    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then :
29324  ac_cv_libcsplit=no
29325else
29326  ac_cv_libcsplit=check
29327        if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then :
29328  if test -d "$ac_cv_with_libcsplit"; then :
29329  CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include"
29330        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib"
29331else
29332  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29334as_fn_error 1 "no such directory: $ac_cv_with_libcsplit
29335See \`config.log' for more details" "$LINENO" 5; }
29336
29337fi
29338
29339else
29340        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
29341
29342pkg_failed=no
29343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5
29344$as_echo_n "checking for libcsplit... " >&6; }
29345
29346if test -n "$libcsplit_CFLAGS"; then
29347    pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS"
29348 elif test -n "$PKG_CONFIG"; then
29349    if test -n "$PKG_CONFIG" && \
29350    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
29351  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
29352  ac_status=$?
29353  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29354  test $ac_status = 0; }; then
29355  pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null`
29356		      test "x$?" != "x0" && pkg_failed=yes
29357else
29358  pkg_failed=yes
29359fi
29360 else
29361    pkg_failed=untried
29362fi
29363if test -n "$libcsplit_LIBS"; then
29364    pkg_cv_libcsplit_LIBS="$libcsplit_LIBS"
29365 elif test -n "$PKG_CONFIG"; then
29366    if test -n "$PKG_CONFIG" && \
29367    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
29368  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
29369  ac_status=$?
29370  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29371  test $ac_status = 0; }; then
29372  pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null`
29373		      test "x$?" != "x0" && pkg_failed=yes
29374else
29375  pkg_failed=yes
29376fi
29377 else
29378    pkg_failed=untried
29379fi
29380
29381
29382
29383if test $pkg_failed = yes; then
29384   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29385$as_echo "no" >&6; }
29386
29387if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29388        _pkg_short_errors_supported=yes
29389else
29390        _pkg_short_errors_supported=no
29391fi
29392        if test $_pkg_short_errors_supported = yes; then
29393	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
29394        else
29395	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
29396        fi
29397	# Put the nasty error message in config.log where it belongs
29398	echo "$libcsplit_PKG_ERRORS" >&5
29399
29400	ac_cv_libcsplit=check
29401elif test $pkg_failed = untried; then
29402     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29403$as_echo "no" >&6; }
29404	ac_cv_libcsplit=check
29405else
29406	libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS
29407	libcsplit_LIBS=$pkg_cv_libcsplit_LIBS
29408        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29409$as_echo "yes" >&6; }
29410	ac_cv_libcsplit=yes
29411fi
29412
29413fi
29414      if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
29415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
29416$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
29417if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then :
29418  $as_echo_n "(cached) " >&6
29419else
29420  ac_ext=c
29421ac_cpp='$CPP $CPPFLAGS'
29422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29424ac_compiler_gnu=$ac_cv_c_compiler_gnu
29425
29426          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29427/* end confdefs.h.  */
29428#include <libcsplit/features.h>
29429int
29430main ()
29431{
29432#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 )
29433#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined
29434#endif
29435  ;
29436  return 0;
29437}
29438_ACEOF
29439if ac_fn_c_try_compile "$LINENO"; then :
29440  ac_cv_header_libcsplit_features_h_have_wide_character_type=yes
29441else
29442  ac_cv_header_libcsplit_features_h_have_wide_character_type=no
29443fi
29444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29445          ac_ext=c
29446ac_cpp='$CPP $CPPFLAGS'
29447ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449ac_compiler_gnu=$ac_cv_c_compiler_gnu
29450
29451fi
29452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5
29453$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; }
29454
29455         if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then :
29456  ac_cv_libcsplit=no
29457fi
29458
29459fi
29460      if test "x$ac_cv_libcsplit" = xyes; then :
29461  ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS"
29462        ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS"
29463fi
29464
29465fi
29466
29467    if test "x$ac_cv_libcsplit" = xcheck; then :
29468        for ac_header in libcsplit.h
29469do :
29470  ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default"
29471if test "x$ac_cv_header_libcsplit_h" = xyes; then :
29472  cat >>confdefs.h <<_ACEOF
29473#define HAVE_LIBCSPLIT_H 1
29474_ACEOF
29475
29476fi
29477
29478done
29479
29480
29481      if test "x$ac_cv_header_libcsplit_h" = xno; then :
29482  ac_cv_libcsplit=no
29483else
29484          ac_cv_libcsplit=yes
29485
29486        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5
29487$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; }
29488if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then :
29489  $as_echo_n "(cached) " >&6
29490else
29491  ac_check_lib_save_LIBS=$LIBS
29492LIBS="-lcsplit  $LIBS"
29493cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29494/* end confdefs.h.  */
29495
29496/* Override any GCC internal prototype to avoid an error.
29497   Use char because int might match the return type of a GCC
29498   builtin and then its argument prototype would still apply.  */
29499#ifdef __cplusplus
29500extern "C"
29501#endif
29502char libcsplit_get_version ();
29503int
29504main ()
29505{
29506return libcsplit_get_version ();
29507  ;
29508  return 0;
29509}
29510_ACEOF
29511if ac_fn_c_try_link "$LINENO"; then :
29512  ac_cv_lib_csplit_libcsplit_get_version=yes
29513else
29514  ac_cv_lib_csplit_libcsplit_get_version=no
29515fi
29516rm -f core conftest.err conftest.$ac_objext \
29517    conftest$ac_exeext conftest.$ac_ext
29518LIBS=$ac_check_lib_save_LIBS
29519fi
29520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5
29521$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; }
29522if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then :
29523  ac_cv_libcsplit_dummy=yes
29524else
29525  ac_cv_libcsplit=no
29526fi
29527
29528
29529                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5
29530$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; }
29531if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then :
29532  $as_echo_n "(cached) " >&6
29533else
29534  ac_check_lib_save_LIBS=$LIBS
29535LIBS="-lcsplit  $LIBS"
29536cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29537/* end confdefs.h.  */
29538
29539/* Override any GCC internal prototype to avoid an error.
29540   Use char because int might match the return type of a GCC
29541   builtin and then its argument prototype would still apply.  */
29542#ifdef __cplusplus
29543extern "C"
29544#endif
29545char libcsplit_narrow_string_split ();
29546int
29547main ()
29548{
29549return libcsplit_narrow_string_split ();
29550  ;
29551  return 0;
29552}
29553_ACEOF
29554if ac_fn_c_try_link "$LINENO"; then :
29555  ac_cv_lib_csplit_libcsplit_narrow_string_split=yes
29556else
29557  ac_cv_lib_csplit_libcsplit_narrow_string_split=no
29558fi
29559rm -f core conftest.err conftest.$ac_objext \
29560    conftest$ac_exeext conftest.$ac_ext
29561LIBS=$ac_check_lib_save_LIBS
29562fi
29563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5
29564$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; }
29565if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then :
29566  ac_cv_libcsplit_dummy=yes
29567else
29568  ac_cv_libcsplit=no
29569fi
29570
29571
29572                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5
29573$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; }
29574if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then :
29575  $as_echo_n "(cached) " >&6
29576else
29577  ac_check_lib_save_LIBS=$LIBS
29578LIBS="-lcsplit  $LIBS"
29579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29580/* end confdefs.h.  */
29581
29582/* Override any GCC internal prototype to avoid an error.
29583   Use char because int might match the return type of a GCC
29584   builtin and then its argument prototype would still apply.  */
29585#ifdef __cplusplus
29586extern "C"
29587#endif
29588char libcsplit_narrow_split_string_free ();
29589int
29590main ()
29591{
29592return libcsplit_narrow_split_string_free ();
29593  ;
29594  return 0;
29595}
29596_ACEOF
29597if ac_fn_c_try_link "$LINENO"; then :
29598  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes
29599else
29600  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no
29601fi
29602rm -f core conftest.err conftest.$ac_objext \
29603    conftest$ac_exeext conftest.$ac_ext
29604LIBS=$ac_check_lib_save_LIBS
29605fi
29606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5
29607$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; }
29608if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then :
29609  ac_cv_libcsplit_dummy=yes
29610else
29611  ac_cv_libcsplit=no
29612fi
29613
29614        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5
29615$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; }
29616if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then :
29617  $as_echo_n "(cached) " >&6
29618else
29619  ac_check_lib_save_LIBS=$LIBS
29620LIBS="-lcsplit  $LIBS"
29621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29622/* end confdefs.h.  */
29623
29624/* Override any GCC internal prototype to avoid an error.
29625   Use char because int might match the return type of a GCC
29626   builtin and then its argument prototype would still apply.  */
29627#ifdef __cplusplus
29628extern "C"
29629#endif
29630char libcsplit_narrow_split_string_get_string ();
29631int
29632main ()
29633{
29634return libcsplit_narrow_split_string_get_string ();
29635  ;
29636  return 0;
29637}
29638_ACEOF
29639if ac_fn_c_try_link "$LINENO"; then :
29640  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes
29641else
29642  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no
29643fi
29644rm -f core conftest.err conftest.$ac_objext \
29645    conftest$ac_exeext conftest.$ac_ext
29646LIBS=$ac_check_lib_save_LIBS
29647fi
29648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5
29649$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; }
29650if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then :
29651  ac_cv_libcsplit_dummy=yes
29652else
29653  ac_cv_libcsplit=no
29654fi
29655
29656        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5
29657$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; }
29658if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then :
29659  $as_echo_n "(cached) " >&6
29660else
29661  ac_check_lib_save_LIBS=$LIBS
29662LIBS="-lcsplit  $LIBS"
29663cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29664/* end confdefs.h.  */
29665
29666/* Override any GCC internal prototype to avoid an error.
29667   Use char because int might match the return type of a GCC
29668   builtin and then its argument prototype would still apply.  */
29669#ifdef __cplusplus
29670extern "C"
29671#endif
29672char libcsplit_narrow_split_string_get_number_of_segments ();
29673int
29674main ()
29675{
29676return libcsplit_narrow_split_string_get_number_of_segments ();
29677  ;
29678  return 0;
29679}
29680_ACEOF
29681if ac_fn_c_try_link "$LINENO"; then :
29682  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes
29683else
29684  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no
29685fi
29686rm -f core conftest.err conftest.$ac_objext \
29687    conftest$ac_exeext conftest.$ac_ext
29688LIBS=$ac_check_lib_save_LIBS
29689fi
29690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5
29691$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; }
29692if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then :
29693  ac_cv_libcsplit_dummy=yes
29694else
29695  ac_cv_libcsplit=no
29696fi
29697
29698        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5
29699$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; }
29700if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then :
29701  $as_echo_n "(cached) " >&6
29702else
29703  ac_check_lib_save_LIBS=$LIBS
29704LIBS="-lcsplit  $LIBS"
29705cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29706/* end confdefs.h.  */
29707
29708/* Override any GCC internal prototype to avoid an error.
29709   Use char because int might match the return type of a GCC
29710   builtin and then its argument prototype would still apply.  */
29711#ifdef __cplusplus
29712extern "C"
29713#endif
29714char libcsplit_narrow_split_string_get_segment_by_index ();
29715int
29716main ()
29717{
29718return libcsplit_narrow_split_string_get_segment_by_index ();
29719  ;
29720  return 0;
29721}
29722_ACEOF
29723if ac_fn_c_try_link "$LINENO"; then :
29724  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes
29725else
29726  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no
29727fi
29728rm -f core conftest.err conftest.$ac_objext \
29729    conftest$ac_exeext conftest.$ac_ext
29730LIBS=$ac_check_lib_save_LIBS
29731fi
29732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5
29733$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; }
29734if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then :
29735  ac_cv_libcsplit_dummy=yes
29736else
29737  ac_cv_libcsplit=no
29738fi
29739
29740        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5
29741$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; }
29742if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then :
29743  $as_echo_n "(cached) " >&6
29744else
29745  ac_check_lib_save_LIBS=$LIBS
29746LIBS="-lcsplit  $LIBS"
29747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29748/* end confdefs.h.  */
29749
29750/* Override any GCC internal prototype to avoid an error.
29751   Use char because int might match the return type of a GCC
29752   builtin and then its argument prototype would still apply.  */
29753#ifdef __cplusplus
29754extern "C"
29755#endif
29756char libcsplit_narrow_split_string_set_segment_by_index ();
29757int
29758main ()
29759{
29760return libcsplit_narrow_split_string_set_segment_by_index ();
29761  ;
29762  return 0;
29763}
29764_ACEOF
29765if ac_fn_c_try_link "$LINENO"; then :
29766  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes
29767else
29768  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no
29769fi
29770rm -f core conftest.err conftest.$ac_objext \
29771    conftest$ac_exeext conftest.$ac_ext
29772LIBS=$ac_check_lib_save_LIBS
29773fi
29774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5
29775$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; }
29776if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then :
29777  ac_cv_libcsplit_dummy=yes
29778else
29779  ac_cv_libcsplit=no
29780fi
29781
29782
29783                if test "x$ac_cv_enable_wide_character_type" != xno; then :
29784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5
29785$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; }
29786if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then :
29787  $as_echo_n "(cached) " >&6
29788else
29789  ac_check_lib_save_LIBS=$LIBS
29790LIBS="-lcsplit  $LIBS"
29791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29792/* end confdefs.h.  */
29793
29794/* Override any GCC internal prototype to avoid an error.
29795   Use char because int might match the return type of a GCC
29796   builtin and then its argument prototype would still apply.  */
29797#ifdef __cplusplus
29798extern "C"
29799#endif
29800char libcsplit_wide_string_split ();
29801int
29802main ()
29803{
29804return libcsplit_wide_string_split ();
29805  ;
29806  return 0;
29807}
29808_ACEOF
29809if ac_fn_c_try_link "$LINENO"; then :
29810  ac_cv_lib_csplit_libcsplit_wide_string_split=yes
29811else
29812  ac_cv_lib_csplit_libcsplit_wide_string_split=no
29813fi
29814rm -f core conftest.err conftest.$ac_objext \
29815    conftest$ac_exeext conftest.$ac_ext
29816LIBS=$ac_check_lib_save_LIBS
29817fi
29818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5
29819$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; }
29820if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then :
29821  ac_cv_libcsplit_dummy=yes
29822else
29823  ac_cv_libcsplit=no
29824fi
29825
29826
29827                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5
29828$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; }
29829if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then :
29830  $as_echo_n "(cached) " >&6
29831else
29832  ac_check_lib_save_LIBS=$LIBS
29833LIBS="-lcsplit  $LIBS"
29834cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29835/* end confdefs.h.  */
29836
29837/* Override any GCC internal prototype to avoid an error.
29838   Use char because int might match the return type of a GCC
29839   builtin and then its argument prototype would still apply.  */
29840#ifdef __cplusplus
29841extern "C"
29842#endif
29843char libcsplit_wide_split_string_free ();
29844int
29845main ()
29846{
29847return libcsplit_wide_split_string_free ();
29848  ;
29849  return 0;
29850}
29851_ACEOF
29852if ac_fn_c_try_link "$LINENO"; then :
29853  ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes
29854else
29855  ac_cv_lib_csplit_libcsplit_wide_split_string_free=no
29856fi
29857rm -f core conftest.err conftest.$ac_objext \
29858    conftest$ac_exeext conftest.$ac_ext
29859LIBS=$ac_check_lib_save_LIBS
29860fi
29861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5
29862$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; }
29863if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then :
29864  ac_cv_libcsplit_dummy=yes
29865else
29866  ac_cv_libcsplit=no
29867fi
29868
29869          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5
29870$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; }
29871if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then :
29872  $as_echo_n "(cached) " >&6
29873else
29874  ac_check_lib_save_LIBS=$LIBS
29875LIBS="-lcsplit  $LIBS"
29876cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29877/* end confdefs.h.  */
29878
29879/* Override any GCC internal prototype to avoid an error.
29880   Use char because int might match the return type of a GCC
29881   builtin and then its argument prototype would still apply.  */
29882#ifdef __cplusplus
29883extern "C"
29884#endif
29885char libcsplit_wide_split_string_get_string ();
29886int
29887main ()
29888{
29889return libcsplit_wide_split_string_get_string ();
29890  ;
29891  return 0;
29892}
29893_ACEOF
29894if ac_fn_c_try_link "$LINENO"; then :
29895  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes
29896else
29897  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no
29898fi
29899rm -f core conftest.err conftest.$ac_objext \
29900    conftest$ac_exeext conftest.$ac_ext
29901LIBS=$ac_check_lib_save_LIBS
29902fi
29903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5
29904$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; }
29905if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then :
29906  ac_cv_libcsplit_dummy=yes
29907else
29908  ac_cv_libcsplit=no
29909fi
29910
29911          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5
29912$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; }
29913if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then :
29914  $as_echo_n "(cached) " >&6
29915else
29916  ac_check_lib_save_LIBS=$LIBS
29917LIBS="-lcsplit  $LIBS"
29918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29919/* end confdefs.h.  */
29920
29921/* Override any GCC internal prototype to avoid an error.
29922   Use char because int might match the return type of a GCC
29923   builtin and then its argument prototype would still apply.  */
29924#ifdef __cplusplus
29925extern "C"
29926#endif
29927char libcsplit_wide_split_string_get_number_of_segments ();
29928int
29929main ()
29930{
29931return libcsplit_wide_split_string_get_number_of_segments ();
29932  ;
29933  return 0;
29934}
29935_ACEOF
29936if ac_fn_c_try_link "$LINENO"; then :
29937  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes
29938else
29939  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no
29940fi
29941rm -f core conftest.err conftest.$ac_objext \
29942    conftest$ac_exeext conftest.$ac_ext
29943LIBS=$ac_check_lib_save_LIBS
29944fi
29945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5
29946$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; }
29947if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then :
29948  ac_cv_libcsplit_dummy=yes
29949else
29950  ac_cv_libcsplit=no
29951fi
29952
29953          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5
29954$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; }
29955if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then :
29956  $as_echo_n "(cached) " >&6
29957else
29958  ac_check_lib_save_LIBS=$LIBS
29959LIBS="-lcsplit  $LIBS"
29960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29961/* end confdefs.h.  */
29962
29963/* Override any GCC internal prototype to avoid an error.
29964   Use char because int might match the return type of a GCC
29965   builtin and then its argument prototype would still apply.  */
29966#ifdef __cplusplus
29967extern "C"
29968#endif
29969char libcsplit_wide_split_string_get_segment_by_index ();
29970int
29971main ()
29972{
29973return libcsplit_wide_split_string_get_segment_by_index ();
29974  ;
29975  return 0;
29976}
29977_ACEOF
29978if ac_fn_c_try_link "$LINENO"; then :
29979  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes
29980else
29981  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no
29982fi
29983rm -f core conftest.err conftest.$ac_objext \
29984    conftest$ac_exeext conftest.$ac_ext
29985LIBS=$ac_check_lib_save_LIBS
29986fi
29987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5
29988$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; }
29989if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then :
29990  ac_cv_libcsplit_dummy=yes
29991else
29992  ac_cv_libcsplit=no
29993fi
29994
29995          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5
29996$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; }
29997if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then :
29998  $as_echo_n "(cached) " >&6
29999else
30000  ac_check_lib_save_LIBS=$LIBS
30001LIBS="-lcsplit  $LIBS"
30002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003/* end confdefs.h.  */
30004
30005/* Override any GCC internal prototype to avoid an error.
30006   Use char because int might match the return type of a GCC
30007   builtin and then its argument prototype would still apply.  */
30008#ifdef __cplusplus
30009extern "C"
30010#endif
30011char libcsplit_wide_split_string_set_segment_by_index ();
30012int
30013main ()
30014{
30015return libcsplit_wide_split_string_set_segment_by_index ();
30016  ;
30017  return 0;
30018}
30019_ACEOF
30020if ac_fn_c_try_link "$LINENO"; then :
30021  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes
30022else
30023  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no
30024fi
30025rm -f core conftest.err conftest.$ac_objext \
30026    conftest$ac_exeext conftest.$ac_ext
30027LIBS=$ac_check_lib_save_LIBS
30028fi
30029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5
30030$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; }
30031if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then :
30032  ac_cv_libcsplit_dummy=yes
30033else
30034  ac_cv_libcsplit=no
30035fi
30036
30037
30038fi
30039
30040        ac_cv_libcsplit_LIBADD="-lcsplit"
30041fi
30042
30043fi
30044    if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then :
30045  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30046$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30047as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit
30048See \`config.log' for more details" "$LINENO" 5; }
30049
30050fi
30051
30052fi
30053
30054  if test "x$ac_cv_libcsplit" = xyes; then :
30055
30056$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h
30057
30058
30059fi
30060
30061  if test "x$ac_cv_libcsplit" = xyes; then :
30062  HAVE_LIBCSPLIT=1
30063
30064else
30065  HAVE_LIBCSPLIT=0
30066
30067
30068fi
30069
30070
30071    if test "x$ac_cv_libcsplit" != xyes; then :
30072
30073  ac_cv_libcsplit_CPPFLAGS="-I../libcsplit";
30074  ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la";
30075
30076  ac_cv_libcsplit=local
30077
30078
30079
30080$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h
30081
30082    HAVE_LOCAL_LIBCSPLIT=1
30083
30084
30085fi
30086
30087   if test "x$ac_cv_libcsplit" = xlocal; then
30088  HAVE_LOCAL_LIBCSPLIT_TRUE=
30089  HAVE_LOCAL_LIBCSPLIT_FALSE='#'
30090else
30091  HAVE_LOCAL_LIBCSPLIT_TRUE='#'
30092  HAVE_LOCAL_LIBCSPLIT_FALSE=
30093fi
30094
30095  if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then :
30096  LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS
30097
30098
30099fi
30100  if test "x$ac_cv_libcsplit_LIBADD" != "x"; then :
30101  LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD
30102
30103
30104fi
30105
30106  if test "x$ac_cv_libcsplit" = xyes; then :
30107  ax_libcsplit_pc_libs_private=-lcsplit
30108
30109
30110fi
30111
30112  if test "x$ac_cv_libcsplit" = xyes; then :
30113  ax_libcsplit_spec_requires=libcsplit
30114
30115    ax_libcsplit_spec_build_requires=libcsplit-devel
30116
30117
30118fi
30119
30120
30121
30122
30123# Check whether --with-libuna was given.
30124if test "${with_libuna+set}" = set; then :
30125  withval=$with_libuna; ac_cv_with_libuna=$withval
30126else
30127  ac_cv_with_libuna=auto-detect
30128fi
30129
30130    { $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
30131$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; }
30132if ${ac_cv_with_libuna+:} false; then :
30133  $as_echo_n "(cached) " >&6
30134else
30135  ac_cv_with_libuna=auto-detect
30136fi
30137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5
30138$as_echo "$ac_cv_with_libuna" >&6; }
30139
30140    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then :
30141  ac_cv_libuna=no
30142else
30143  ac_cv_libuna=check
30144        if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then :
30145  if test -d "$ac_cv_with_libuna"; then :
30146  CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include"
30147        LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib"
30148else
30149  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30150$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30151as_fn_error 1 "no such directory: $ac_cv_with_libuna
30152See \`config.log' for more details" "$LINENO" 5; }
30153
30154fi
30155
30156else
30157        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
30158
30159pkg_failed=no
30160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5
30161$as_echo_n "checking for libuna... " >&6; }
30162
30163if test -n "$libuna_CFLAGS"; then
30164    pkg_cv_libuna_CFLAGS="$libuna_CFLAGS"
30165 elif test -n "$PKG_CONFIG"; then
30166    if test -n "$PKG_CONFIG" && \
30167    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5
30168  ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5
30169  ac_status=$?
30170  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30171  test $ac_status = 0; }; then
30172  pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null`
30173		      test "x$?" != "x0" && pkg_failed=yes
30174else
30175  pkg_failed=yes
30176fi
30177 else
30178    pkg_failed=untried
30179fi
30180if test -n "$libuna_LIBS"; then
30181    pkg_cv_libuna_LIBS="$libuna_LIBS"
30182 elif test -n "$PKG_CONFIG"; then
30183    if test -n "$PKG_CONFIG" && \
30184    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5
30185  ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5
30186  ac_status=$?
30187  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30188  test $ac_status = 0; }; then
30189  pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null`
30190		      test "x$?" != "x0" && pkg_failed=yes
30191else
30192  pkg_failed=yes
30193fi
30194 else
30195    pkg_failed=untried
30196fi
30197
30198
30199
30200if test $pkg_failed = yes; then
30201   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30202$as_echo "no" >&6; }
30203
30204if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30205        _pkg_short_errors_supported=yes
30206else
30207        _pkg_short_errors_supported=no
30208fi
30209        if test $_pkg_short_errors_supported = yes; then
30210	        libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1`
30211        else
30212	        libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1`
30213        fi
30214	# Put the nasty error message in config.log where it belongs
30215	echo "$libuna_PKG_ERRORS" >&5
30216
30217	ac_cv_libuna=check
30218elif test $pkg_failed = untried; then
30219     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30220$as_echo "no" >&6; }
30221	ac_cv_libuna=check
30222else
30223	libuna_CFLAGS=$pkg_cv_libuna_CFLAGS
30224	libuna_LIBS=$pkg_cv_libuna_LIBS
30225        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30226$as_echo "yes" >&6; }
30227	ac_cv_libuna=yes
30228fi
30229
30230fi
30231      if test "x$ac_cv_libuna" = xyes; then :
30232  ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS"
30233        ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS"
30234fi
30235
30236fi
30237
30238    if test "x$ac_cv_libuna" = xcheck; then :
30239        for ac_header in libuna.h
30240do :
30241  ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default"
30242if test "x$ac_cv_header_libuna_h" = xyes; then :
30243  cat >>confdefs.h <<_ACEOF
30244#define HAVE_LIBUNA_H 1
30245_ACEOF
30246
30247fi
30248
30249done
30250
30251
30252      if test "x$ac_cv_header_libuna_h" = xno; then :
30253  ac_cv_libuna=no
30254else
30255          ac_cv_libuna=yes
30256
30257        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5
30258$as_echo_n "checking for libuna_get_version in -luna... " >&6; }
30259if ${ac_cv_lib_una_libuna_get_version+:} false; then :
30260  $as_echo_n "(cached) " >&6
30261else
30262  ac_check_lib_save_LIBS=$LIBS
30263LIBS="-luna  $LIBS"
30264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30265/* end confdefs.h.  */
30266
30267/* Override any GCC internal prototype to avoid an error.
30268   Use char because int might match the return type of a GCC
30269   builtin and then its argument prototype would still apply.  */
30270#ifdef __cplusplus
30271extern "C"
30272#endif
30273char libuna_get_version ();
30274int
30275main ()
30276{
30277return libuna_get_version ();
30278  ;
30279  return 0;
30280}
30281_ACEOF
30282if ac_fn_c_try_link "$LINENO"; then :
30283  ac_cv_lib_una_libuna_get_version=yes
30284else
30285  ac_cv_lib_una_libuna_get_version=no
30286fi
30287rm -f core conftest.err conftest.$ac_objext \
30288    conftest$ac_exeext conftest.$ac_ext
30289LIBS=$ac_check_lib_save_LIBS
30290fi
30291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5
30292$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; }
30293if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then :
30294  ac_cv_libuna_dummy=yes
30295else
30296  ac_cv_libuna=no
30297fi
30298
30299
30300                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5
30301$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; }
30302if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then :
30303  $as_echo_n "(cached) " >&6
30304else
30305  ac_check_lib_save_LIBS=$LIBS
30306LIBS="-luna  $LIBS"
30307cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30308/* end confdefs.h.  */
30309
30310/* Override any GCC internal prototype to avoid an error.
30311   Use char because int might match the return type of a GCC
30312   builtin and then its argument prototype would still apply.  */
30313#ifdef __cplusplus
30314extern "C"
30315#endif
30316char libuna_base16_stream_size_to_byte_stream ();
30317int
30318main ()
30319{
30320return libuna_base16_stream_size_to_byte_stream ();
30321  ;
30322  return 0;
30323}
30324_ACEOF
30325if ac_fn_c_try_link "$LINENO"; then :
30326  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes
30327else
30328  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no
30329fi
30330rm -f core conftest.err conftest.$ac_objext \
30331    conftest$ac_exeext conftest.$ac_ext
30332LIBS=$ac_check_lib_save_LIBS
30333fi
30334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5
30335$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; }
30336if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then :
30337  ac_cv_libuna_dummy=yes
30338else
30339  ac_cv_libuna=no
30340fi
30341
30342        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5
30343$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; }
30344if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then :
30345  $as_echo_n "(cached) " >&6
30346else
30347  ac_check_lib_save_LIBS=$LIBS
30348LIBS="-luna  $LIBS"
30349cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30350/* end confdefs.h.  */
30351
30352/* Override any GCC internal prototype to avoid an error.
30353   Use char because int might match the return type of a GCC
30354   builtin and then its argument prototype would still apply.  */
30355#ifdef __cplusplus
30356extern "C"
30357#endif
30358char libuna_base16_stream_copy_to_byte_stream ();
30359int
30360main ()
30361{
30362return libuna_base16_stream_copy_to_byte_stream ();
30363  ;
30364  return 0;
30365}
30366_ACEOF
30367if ac_fn_c_try_link "$LINENO"; then :
30368  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes
30369else
30370  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no
30371fi
30372rm -f core conftest.err conftest.$ac_objext \
30373    conftest$ac_exeext conftest.$ac_ext
30374LIBS=$ac_check_lib_save_LIBS
30375fi
30376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5
30377$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; }
30378if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then :
30379  ac_cv_libuna_dummy=yes
30380else
30381  ac_cv_libuna=no
30382fi
30383
30384        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5
30385$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; }
30386if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then :
30387  $as_echo_n "(cached) " >&6
30388else
30389  ac_check_lib_save_LIBS=$LIBS
30390LIBS="-luna  $LIBS"
30391cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30392/* end confdefs.h.  */
30393
30394/* Override any GCC internal prototype to avoid an error.
30395   Use char because int might match the return type of a GCC
30396   builtin and then its argument prototype would still apply.  */
30397#ifdef __cplusplus
30398extern "C"
30399#endif
30400char libuna_base16_stream_size_from_byte_stream ();
30401int
30402main ()
30403{
30404return libuna_base16_stream_size_from_byte_stream ();
30405  ;
30406  return 0;
30407}
30408_ACEOF
30409if ac_fn_c_try_link "$LINENO"; then :
30410  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes
30411else
30412  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no
30413fi
30414rm -f core conftest.err conftest.$ac_objext \
30415    conftest$ac_exeext conftest.$ac_ext
30416LIBS=$ac_check_lib_save_LIBS
30417fi
30418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5
30419$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; }
30420if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then :
30421  ac_cv_libuna_dummy=yes
30422else
30423  ac_cv_libuna=no
30424fi
30425
30426        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5
30427$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; }
30428if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then :
30429  $as_echo_n "(cached) " >&6
30430else
30431  ac_check_lib_save_LIBS=$LIBS
30432LIBS="-luna  $LIBS"
30433cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434/* end confdefs.h.  */
30435
30436/* Override any GCC internal prototype to avoid an error.
30437   Use char because int might match the return type of a GCC
30438   builtin and then its argument prototype would still apply.  */
30439#ifdef __cplusplus
30440extern "C"
30441#endif
30442char libuna_base16_stream_copy_from_byte_stream ();
30443int
30444main ()
30445{
30446return libuna_base16_stream_copy_from_byte_stream ();
30447  ;
30448  return 0;
30449}
30450_ACEOF
30451if ac_fn_c_try_link "$LINENO"; then :
30452  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes
30453else
30454  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no
30455fi
30456rm -f core conftest.err conftest.$ac_objext \
30457    conftest$ac_exeext conftest.$ac_ext
30458LIBS=$ac_check_lib_save_LIBS
30459fi
30460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5
30461$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; }
30462if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then :
30463  ac_cv_libuna_dummy=yes
30464else
30465  ac_cv_libuna=no
30466fi
30467
30468        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5
30469$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
30470if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then :
30471  $as_echo_n "(cached) " >&6
30472else
30473  ac_check_lib_save_LIBS=$LIBS
30474LIBS="-luna  $LIBS"
30475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30476/* end confdefs.h.  */
30477
30478/* Override any GCC internal prototype to avoid an error.
30479   Use char because int might match the return type of a GCC
30480   builtin and then its argument prototype would still apply.  */
30481#ifdef __cplusplus
30482extern "C"
30483#endif
30484char libuna_base16_stream_with_index_copy_from_byte_stream ();
30485int
30486main ()
30487{
30488return libuna_base16_stream_with_index_copy_from_byte_stream ();
30489  ;
30490  return 0;
30491}
30492_ACEOF
30493if ac_fn_c_try_link "$LINENO"; then :
30494  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes
30495else
30496  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no
30497fi
30498rm -f core conftest.err conftest.$ac_objext \
30499    conftest$ac_exeext conftest.$ac_ext
30500LIBS=$ac_check_lib_save_LIBS
30501fi
30502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5
30503$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; }
30504if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then :
30505  ac_cv_libuna_dummy=yes
30506else
30507  ac_cv_libuna=no
30508fi
30509
30510
30511                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5
30512$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; }
30513if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then :
30514  $as_echo_n "(cached) " >&6
30515else
30516  ac_check_lib_save_LIBS=$LIBS
30517LIBS="-luna  $LIBS"
30518cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30519/* end confdefs.h.  */
30520
30521/* Override any GCC internal prototype to avoid an error.
30522   Use char because int might match the return type of a GCC
30523   builtin and then its argument prototype would still apply.  */
30524#ifdef __cplusplus
30525extern "C"
30526#endif
30527char libuna_base32_quintuplet_copy_from_base32_stream ();
30528int
30529main ()
30530{
30531return libuna_base32_quintuplet_copy_from_base32_stream ();
30532  ;
30533  return 0;
30534}
30535_ACEOF
30536if ac_fn_c_try_link "$LINENO"; then :
30537  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes
30538else
30539  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no
30540fi
30541rm -f core conftest.err conftest.$ac_objext \
30542    conftest$ac_exeext conftest.$ac_ext
30543LIBS=$ac_check_lib_save_LIBS
30544fi
30545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5
30546$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; }
30547if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then :
30548  ac_cv_libuna_dummy=yes
30549else
30550  ac_cv_libuna=no
30551fi
30552
30553        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5
30554$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; }
30555if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then :
30556  $as_echo_n "(cached) " >&6
30557else
30558  ac_check_lib_save_LIBS=$LIBS
30559LIBS="-luna  $LIBS"
30560cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30561/* end confdefs.h.  */
30562
30563/* Override any GCC internal prototype to avoid an error.
30564   Use char because int might match the return type of a GCC
30565   builtin and then its argument prototype would still apply.  */
30566#ifdef __cplusplus
30567extern "C"
30568#endif
30569char libuna_base32_quintuplet_copy_to_base32_stream ();
30570int
30571main ()
30572{
30573return libuna_base32_quintuplet_copy_to_base32_stream ();
30574  ;
30575  return 0;
30576}
30577_ACEOF
30578if ac_fn_c_try_link "$LINENO"; then :
30579  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes
30580else
30581  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no
30582fi
30583rm -f core conftest.err conftest.$ac_objext \
30584    conftest$ac_exeext conftest.$ac_ext
30585LIBS=$ac_check_lib_save_LIBS
30586fi
30587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5
30588$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; }
30589if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then :
30590  ac_cv_libuna_dummy=yes
30591else
30592  ac_cv_libuna=no
30593fi
30594
30595        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5
30596$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; }
30597if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then :
30598  $as_echo_n "(cached) " >&6
30599else
30600  ac_check_lib_save_LIBS=$LIBS
30601LIBS="-luna  $LIBS"
30602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30603/* end confdefs.h.  */
30604
30605/* Override any GCC internal prototype to avoid an error.
30606   Use char because int might match the return type of a GCC
30607   builtin and then its argument prototype would still apply.  */
30608#ifdef __cplusplus
30609extern "C"
30610#endif
30611char libuna_base32_quintuplet_copy_from_byte_stream ();
30612int
30613main ()
30614{
30615return libuna_base32_quintuplet_copy_from_byte_stream ();
30616  ;
30617  return 0;
30618}
30619_ACEOF
30620if ac_fn_c_try_link "$LINENO"; then :
30621  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes
30622else
30623  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no
30624fi
30625rm -f core conftest.err conftest.$ac_objext \
30626    conftest$ac_exeext conftest.$ac_ext
30627LIBS=$ac_check_lib_save_LIBS
30628fi
30629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5
30630$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; }
30631if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then :
30632  ac_cv_libuna_dummy=yes
30633else
30634  ac_cv_libuna=no
30635fi
30636
30637        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5
30638$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; }
30639if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then :
30640  $as_echo_n "(cached) " >&6
30641else
30642  ac_check_lib_save_LIBS=$LIBS
30643LIBS="-luna  $LIBS"
30644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30645/* end confdefs.h.  */
30646
30647/* Override any GCC internal prototype to avoid an error.
30648   Use char because int might match the return type of a GCC
30649   builtin and then its argument prototype would still apply.  */
30650#ifdef __cplusplus
30651extern "C"
30652#endif
30653char libuna_base32_quintuplet_copy_to_byte_stream ();
30654int
30655main ()
30656{
30657return libuna_base32_quintuplet_copy_to_byte_stream ();
30658  ;
30659  return 0;
30660}
30661_ACEOF
30662if ac_fn_c_try_link "$LINENO"; then :
30663  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes
30664else
30665  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no
30666fi
30667rm -f core conftest.err conftest.$ac_objext \
30668    conftest$ac_exeext conftest.$ac_ext
30669LIBS=$ac_check_lib_save_LIBS
30670fi
30671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5
30672$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; }
30673if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then :
30674  ac_cv_libuna_dummy=yes
30675else
30676  ac_cv_libuna=no
30677fi
30678
30679
30680        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5
30681$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; }
30682if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then :
30683  $as_echo_n "(cached) " >&6
30684else
30685  ac_check_lib_save_LIBS=$LIBS
30686LIBS="-luna  $LIBS"
30687cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30688/* end confdefs.h.  */
30689
30690/* Override any GCC internal prototype to avoid an error.
30691   Use char because int might match the return type of a GCC
30692   builtin and then its argument prototype would still apply.  */
30693#ifdef __cplusplus
30694extern "C"
30695#endif
30696char libuna_base32_stream_size_to_byte_stream ();
30697int
30698main ()
30699{
30700return libuna_base32_stream_size_to_byte_stream ();
30701  ;
30702  return 0;
30703}
30704_ACEOF
30705if ac_fn_c_try_link "$LINENO"; then :
30706  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes
30707else
30708  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no
30709fi
30710rm -f core conftest.err conftest.$ac_objext \
30711    conftest$ac_exeext conftest.$ac_ext
30712LIBS=$ac_check_lib_save_LIBS
30713fi
30714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5
30715$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; }
30716if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then :
30717  ac_cv_libuna_dummy=yes
30718else
30719  ac_cv_libuna=no
30720fi
30721
30722        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5
30723$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; }
30724if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then :
30725  $as_echo_n "(cached) " >&6
30726else
30727  ac_check_lib_save_LIBS=$LIBS
30728LIBS="-luna  $LIBS"
30729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30730/* end confdefs.h.  */
30731
30732/* Override any GCC internal prototype to avoid an error.
30733   Use char because int might match the return type of a GCC
30734   builtin and then its argument prototype would still apply.  */
30735#ifdef __cplusplus
30736extern "C"
30737#endif
30738char libuna_base32_stream_copy_to_byte_stream ();
30739int
30740main ()
30741{
30742return libuna_base32_stream_copy_to_byte_stream ();
30743  ;
30744  return 0;
30745}
30746_ACEOF
30747if ac_fn_c_try_link "$LINENO"; then :
30748  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes
30749else
30750  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no
30751fi
30752rm -f core conftest.err conftest.$ac_objext \
30753    conftest$ac_exeext conftest.$ac_ext
30754LIBS=$ac_check_lib_save_LIBS
30755fi
30756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5
30757$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; }
30758if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then :
30759  ac_cv_libuna_dummy=yes
30760else
30761  ac_cv_libuna=no
30762fi
30763
30764        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5
30765$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; }
30766if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then :
30767  $as_echo_n "(cached) " >&6
30768else
30769  ac_check_lib_save_LIBS=$LIBS
30770LIBS="-luna  $LIBS"
30771cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30772/* end confdefs.h.  */
30773
30774/* Override any GCC internal prototype to avoid an error.
30775   Use char because int might match the return type of a GCC
30776   builtin and then its argument prototype would still apply.  */
30777#ifdef __cplusplus
30778extern "C"
30779#endif
30780char libuna_base32_stream_size_from_byte_stream ();
30781int
30782main ()
30783{
30784return libuna_base32_stream_size_from_byte_stream ();
30785  ;
30786  return 0;
30787}
30788_ACEOF
30789if ac_fn_c_try_link "$LINENO"; then :
30790  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes
30791else
30792  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no
30793fi
30794rm -f core conftest.err conftest.$ac_objext \
30795    conftest$ac_exeext conftest.$ac_ext
30796LIBS=$ac_check_lib_save_LIBS
30797fi
30798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5
30799$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; }
30800if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then :
30801  ac_cv_libuna_dummy=yes
30802else
30803  ac_cv_libuna=no
30804fi
30805
30806        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5
30807$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; }
30808if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then :
30809  $as_echo_n "(cached) " >&6
30810else
30811  ac_check_lib_save_LIBS=$LIBS
30812LIBS="-luna  $LIBS"
30813cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30814/* end confdefs.h.  */
30815
30816/* Override any GCC internal prototype to avoid an error.
30817   Use char because int might match the return type of a GCC
30818   builtin and then its argument prototype would still apply.  */
30819#ifdef __cplusplus
30820extern "C"
30821#endif
30822char libuna_base32_stream_copy_from_byte_stream ();
30823int
30824main ()
30825{
30826return libuna_base32_stream_copy_from_byte_stream ();
30827  ;
30828  return 0;
30829}
30830_ACEOF
30831if ac_fn_c_try_link "$LINENO"; then :
30832  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes
30833else
30834  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no
30835fi
30836rm -f core conftest.err conftest.$ac_objext \
30837    conftest$ac_exeext conftest.$ac_ext
30838LIBS=$ac_check_lib_save_LIBS
30839fi
30840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5
30841$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; }
30842if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then :
30843  ac_cv_libuna_dummy=yes
30844else
30845  ac_cv_libuna=no
30846fi
30847
30848        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5
30849$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
30850if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then :
30851  $as_echo_n "(cached) " >&6
30852else
30853  ac_check_lib_save_LIBS=$LIBS
30854LIBS="-luna  $LIBS"
30855cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30856/* end confdefs.h.  */
30857
30858/* Override any GCC internal prototype to avoid an error.
30859   Use char because int might match the return type of a GCC
30860   builtin and then its argument prototype would still apply.  */
30861#ifdef __cplusplus
30862extern "C"
30863#endif
30864char libuna_base32_stream_with_index_copy_from_byte_stream ();
30865int
30866main ()
30867{
30868return libuna_base32_stream_with_index_copy_from_byte_stream ();
30869  ;
30870  return 0;
30871}
30872_ACEOF
30873if ac_fn_c_try_link "$LINENO"; then :
30874  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes
30875else
30876  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no
30877fi
30878rm -f core conftest.err conftest.$ac_objext \
30879    conftest$ac_exeext conftest.$ac_ext
30880LIBS=$ac_check_lib_save_LIBS
30881fi
30882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5
30883$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; }
30884if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then :
30885  ac_cv_libuna_dummy=yes
30886else
30887  ac_cv_libuna=no
30888fi
30889
30890
30891                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5
30892$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; }
30893if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then :
30894  $as_echo_n "(cached) " >&6
30895else
30896  ac_check_lib_save_LIBS=$LIBS
30897LIBS="-luna  $LIBS"
30898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30899/* end confdefs.h.  */
30900
30901/* Override any GCC internal prototype to avoid an error.
30902   Use char because int might match the return type of a GCC
30903   builtin and then its argument prototype would still apply.  */
30904#ifdef __cplusplus
30905extern "C"
30906#endif
30907char libuna_base64_triplet_copy_from_base64_stream ();
30908int
30909main ()
30910{
30911return libuna_base64_triplet_copy_from_base64_stream ();
30912  ;
30913  return 0;
30914}
30915_ACEOF
30916if ac_fn_c_try_link "$LINENO"; then :
30917  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes
30918else
30919  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no
30920fi
30921rm -f core conftest.err conftest.$ac_objext \
30922    conftest$ac_exeext conftest.$ac_ext
30923LIBS=$ac_check_lib_save_LIBS
30924fi
30925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5
30926$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; }
30927if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then :
30928  ac_cv_libuna_dummy=yes
30929else
30930  ac_cv_libuna=no
30931fi
30932
30933        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5
30934$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; }
30935if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then :
30936  $as_echo_n "(cached) " >&6
30937else
30938  ac_check_lib_save_LIBS=$LIBS
30939LIBS="-luna  $LIBS"
30940cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30941/* end confdefs.h.  */
30942
30943/* Override any GCC internal prototype to avoid an error.
30944   Use char because int might match the return type of a GCC
30945   builtin and then its argument prototype would still apply.  */
30946#ifdef __cplusplus
30947extern "C"
30948#endif
30949char libuna_base64_triplet_copy_to_base64_stream ();
30950int
30951main ()
30952{
30953return libuna_base64_triplet_copy_to_base64_stream ();
30954  ;
30955  return 0;
30956}
30957_ACEOF
30958if ac_fn_c_try_link "$LINENO"; then :
30959  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes
30960else
30961  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no
30962fi
30963rm -f core conftest.err conftest.$ac_objext \
30964    conftest$ac_exeext conftest.$ac_ext
30965LIBS=$ac_check_lib_save_LIBS
30966fi
30967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5
30968$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; }
30969if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then :
30970  ac_cv_libuna_dummy=yes
30971else
30972  ac_cv_libuna=no
30973fi
30974
30975        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5
30976$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; }
30977if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then :
30978  $as_echo_n "(cached) " >&6
30979else
30980  ac_check_lib_save_LIBS=$LIBS
30981LIBS="-luna  $LIBS"
30982cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30983/* end confdefs.h.  */
30984
30985/* Override any GCC internal prototype to avoid an error.
30986   Use char because int might match the return type of a GCC
30987   builtin and then its argument prototype would still apply.  */
30988#ifdef __cplusplus
30989extern "C"
30990#endif
30991char libuna_base64_triplet_copy_from_byte_stream ();
30992int
30993main ()
30994{
30995return libuna_base64_triplet_copy_from_byte_stream ();
30996  ;
30997  return 0;
30998}
30999_ACEOF
31000if ac_fn_c_try_link "$LINENO"; then :
31001  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes
31002else
31003  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no
31004fi
31005rm -f core conftest.err conftest.$ac_objext \
31006    conftest$ac_exeext conftest.$ac_ext
31007LIBS=$ac_check_lib_save_LIBS
31008fi
31009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5
31010$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; }
31011if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then :
31012  ac_cv_libuna_dummy=yes
31013else
31014  ac_cv_libuna=no
31015fi
31016
31017        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5
31018$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; }
31019if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then :
31020  $as_echo_n "(cached) " >&6
31021else
31022  ac_check_lib_save_LIBS=$LIBS
31023LIBS="-luna  $LIBS"
31024cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31025/* end confdefs.h.  */
31026
31027/* Override any GCC internal prototype to avoid an error.
31028   Use char because int might match the return type of a GCC
31029   builtin and then its argument prototype would still apply.  */
31030#ifdef __cplusplus
31031extern "C"
31032#endif
31033char libuna_base64_triplet_copy_to_byte_stream ();
31034int
31035main ()
31036{
31037return libuna_base64_triplet_copy_to_byte_stream ();
31038  ;
31039  return 0;
31040}
31041_ACEOF
31042if ac_fn_c_try_link "$LINENO"; then :
31043  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes
31044else
31045  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no
31046fi
31047rm -f core conftest.err conftest.$ac_objext \
31048    conftest$ac_exeext conftest.$ac_ext
31049LIBS=$ac_check_lib_save_LIBS
31050fi
31051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5
31052$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; }
31053if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then :
31054  ac_cv_libuna_dummy=yes
31055else
31056  ac_cv_libuna=no
31057fi
31058
31059
31060        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5
31061$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; }
31062if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then :
31063  $as_echo_n "(cached) " >&6
31064else
31065  ac_check_lib_save_LIBS=$LIBS
31066LIBS="-luna  $LIBS"
31067cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31068/* end confdefs.h.  */
31069
31070/* Override any GCC internal prototype to avoid an error.
31071   Use char because int might match the return type of a GCC
31072   builtin and then its argument prototype would still apply.  */
31073#ifdef __cplusplus
31074extern "C"
31075#endif
31076char libuna_base64_stream_size_to_byte_stream ();
31077int
31078main ()
31079{
31080return libuna_base64_stream_size_to_byte_stream ();
31081  ;
31082  return 0;
31083}
31084_ACEOF
31085if ac_fn_c_try_link "$LINENO"; then :
31086  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes
31087else
31088  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no
31089fi
31090rm -f core conftest.err conftest.$ac_objext \
31091    conftest$ac_exeext conftest.$ac_ext
31092LIBS=$ac_check_lib_save_LIBS
31093fi
31094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5
31095$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; }
31096if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then :
31097  ac_cv_libuna_dummy=yes
31098else
31099  ac_cv_libuna=no
31100fi
31101
31102        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5
31103$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; }
31104if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then :
31105  $as_echo_n "(cached) " >&6
31106else
31107  ac_check_lib_save_LIBS=$LIBS
31108LIBS="-luna  $LIBS"
31109cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31110/* end confdefs.h.  */
31111
31112/* Override any GCC internal prototype to avoid an error.
31113   Use char because int might match the return type of a GCC
31114   builtin and then its argument prototype would still apply.  */
31115#ifdef __cplusplus
31116extern "C"
31117#endif
31118char libuna_base64_stream_copy_to_byte_stream ();
31119int
31120main ()
31121{
31122return libuna_base64_stream_copy_to_byte_stream ();
31123  ;
31124  return 0;
31125}
31126_ACEOF
31127if ac_fn_c_try_link "$LINENO"; then :
31128  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes
31129else
31130  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no
31131fi
31132rm -f core conftest.err conftest.$ac_objext \
31133    conftest$ac_exeext conftest.$ac_ext
31134LIBS=$ac_check_lib_save_LIBS
31135fi
31136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5
31137$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; }
31138if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then :
31139  ac_cv_libuna_dummy=yes
31140else
31141  ac_cv_libuna=no
31142fi
31143
31144        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5
31145$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; }
31146if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then :
31147  $as_echo_n "(cached) " >&6
31148else
31149  ac_check_lib_save_LIBS=$LIBS
31150LIBS="-luna  $LIBS"
31151cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31152/* end confdefs.h.  */
31153
31154/* Override any GCC internal prototype to avoid an error.
31155   Use char because int might match the return type of a GCC
31156   builtin and then its argument prototype would still apply.  */
31157#ifdef __cplusplus
31158extern "C"
31159#endif
31160char libuna_base64_stream_size_from_byte_stream ();
31161int
31162main ()
31163{
31164return libuna_base64_stream_size_from_byte_stream ();
31165  ;
31166  return 0;
31167}
31168_ACEOF
31169if ac_fn_c_try_link "$LINENO"; then :
31170  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes
31171else
31172  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no
31173fi
31174rm -f core conftest.err conftest.$ac_objext \
31175    conftest$ac_exeext conftest.$ac_ext
31176LIBS=$ac_check_lib_save_LIBS
31177fi
31178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5
31179$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; }
31180if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then :
31181  ac_cv_libuna_dummy=yes
31182else
31183  ac_cv_libuna=no
31184fi
31185
31186        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5
31187$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; }
31188if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then :
31189  $as_echo_n "(cached) " >&6
31190else
31191  ac_check_lib_save_LIBS=$LIBS
31192LIBS="-luna  $LIBS"
31193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31194/* end confdefs.h.  */
31195
31196/* Override any GCC internal prototype to avoid an error.
31197   Use char because int might match the return type of a GCC
31198   builtin and then its argument prototype would still apply.  */
31199#ifdef __cplusplus
31200extern "C"
31201#endif
31202char libuna_base64_stream_copy_from_byte_stream ();
31203int
31204main ()
31205{
31206return libuna_base64_stream_copy_from_byte_stream ();
31207  ;
31208  return 0;
31209}
31210_ACEOF
31211if ac_fn_c_try_link "$LINENO"; then :
31212  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes
31213else
31214  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no
31215fi
31216rm -f core conftest.err conftest.$ac_objext \
31217    conftest$ac_exeext conftest.$ac_ext
31218LIBS=$ac_check_lib_save_LIBS
31219fi
31220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5
31221$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; }
31222if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then :
31223  ac_cv_libuna_dummy=yes
31224else
31225  ac_cv_libuna=no
31226fi
31227
31228        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5
31229$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
31230if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then :
31231  $as_echo_n "(cached) " >&6
31232else
31233  ac_check_lib_save_LIBS=$LIBS
31234LIBS="-luna  $LIBS"
31235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31236/* end confdefs.h.  */
31237
31238/* Override any GCC internal prototype to avoid an error.
31239   Use char because int might match the return type of a GCC
31240   builtin and then its argument prototype would still apply.  */
31241#ifdef __cplusplus
31242extern "C"
31243#endif
31244char libuna_base64_stream_with_index_copy_from_byte_stream ();
31245int
31246main ()
31247{
31248return libuna_base64_stream_with_index_copy_from_byte_stream ();
31249  ;
31250  return 0;
31251}
31252_ACEOF
31253if ac_fn_c_try_link "$LINENO"; then :
31254  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes
31255else
31256  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no
31257fi
31258rm -f core conftest.err conftest.$ac_objext \
31259    conftest$ac_exeext conftest.$ac_ext
31260LIBS=$ac_check_lib_save_LIBS
31261fi
31262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5
31263$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; }
31264if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then :
31265  ac_cv_libuna_dummy=yes
31266else
31267  ac_cv_libuna=no
31268fi
31269
31270
31271                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5
31272$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; }
31273if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then :
31274  $as_echo_n "(cached) " >&6
31275else
31276  ac_check_lib_save_LIBS=$LIBS
31277LIBS="-luna  $LIBS"
31278cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31279/* end confdefs.h.  */
31280
31281/* Override any GCC internal prototype to avoid an error.
31282   Use char because int might match the return type of a GCC
31283   builtin and then its argument prototype would still apply.  */
31284#ifdef __cplusplus
31285extern "C"
31286#endif
31287char libuna_byte_stream_size_from_utf8 ();
31288int
31289main ()
31290{
31291return libuna_byte_stream_size_from_utf8 ();
31292  ;
31293  return 0;
31294}
31295_ACEOF
31296if ac_fn_c_try_link "$LINENO"; then :
31297  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes
31298else
31299  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no
31300fi
31301rm -f core conftest.err conftest.$ac_objext \
31302    conftest$ac_exeext conftest.$ac_ext
31303LIBS=$ac_check_lib_save_LIBS
31304fi
31305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5
31306$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; }
31307if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then :
31308  ac_cv_libuna_dummy=yes
31309else
31310  ac_cv_libuna=no
31311fi
31312
31313        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5
31314$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; }
31315if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then :
31316  $as_echo_n "(cached) " >&6
31317else
31318  ac_check_lib_save_LIBS=$LIBS
31319LIBS="-luna  $LIBS"
31320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31321/* end confdefs.h.  */
31322
31323/* Override any GCC internal prototype to avoid an error.
31324   Use char because int might match the return type of a GCC
31325   builtin and then its argument prototype would still apply.  */
31326#ifdef __cplusplus
31327extern "C"
31328#endif
31329char libuna_byte_stream_copy_from_utf8 ();
31330int
31331main ()
31332{
31333return libuna_byte_stream_copy_from_utf8 ();
31334  ;
31335  return 0;
31336}
31337_ACEOF
31338if ac_fn_c_try_link "$LINENO"; then :
31339  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes
31340else
31341  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no
31342fi
31343rm -f core conftest.err conftest.$ac_objext \
31344    conftest$ac_exeext conftest.$ac_ext
31345LIBS=$ac_check_lib_save_LIBS
31346fi
31347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5
31348$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; }
31349if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then :
31350  ac_cv_libuna_dummy=yes
31351else
31352  ac_cv_libuna=no
31353fi
31354
31355        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5
31356$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; }
31357if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then :
31358  $as_echo_n "(cached) " >&6
31359else
31360  ac_check_lib_save_LIBS=$LIBS
31361LIBS="-luna  $LIBS"
31362cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31363/* end confdefs.h.  */
31364
31365/* Override any GCC internal prototype to avoid an error.
31366   Use char because int might match the return type of a GCC
31367   builtin and then its argument prototype would still apply.  */
31368#ifdef __cplusplus
31369extern "C"
31370#endif
31371char libuna_byte_stream_size_from_utf16 ();
31372int
31373main ()
31374{
31375return libuna_byte_stream_size_from_utf16 ();
31376  ;
31377  return 0;
31378}
31379_ACEOF
31380if ac_fn_c_try_link "$LINENO"; then :
31381  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes
31382else
31383  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no
31384fi
31385rm -f core conftest.err conftest.$ac_objext \
31386    conftest$ac_exeext conftest.$ac_ext
31387LIBS=$ac_check_lib_save_LIBS
31388fi
31389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5
31390$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; }
31391if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then :
31392  ac_cv_libuna_dummy=yes
31393else
31394  ac_cv_libuna=no
31395fi
31396
31397        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5
31398$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; }
31399if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then :
31400  $as_echo_n "(cached) " >&6
31401else
31402  ac_check_lib_save_LIBS=$LIBS
31403LIBS="-luna  $LIBS"
31404cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31405/* end confdefs.h.  */
31406
31407/* Override any GCC internal prototype to avoid an error.
31408   Use char because int might match the return type of a GCC
31409   builtin and then its argument prototype would still apply.  */
31410#ifdef __cplusplus
31411extern "C"
31412#endif
31413char libuna_byte_stream_copy_from_utf16 ();
31414int
31415main ()
31416{
31417return libuna_byte_stream_copy_from_utf16 ();
31418  ;
31419  return 0;
31420}
31421_ACEOF
31422if ac_fn_c_try_link "$LINENO"; then :
31423  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes
31424else
31425  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no
31426fi
31427rm -f core conftest.err conftest.$ac_objext \
31428    conftest$ac_exeext conftest.$ac_ext
31429LIBS=$ac_check_lib_save_LIBS
31430fi
31431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5
31432$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; }
31433if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then :
31434  ac_cv_libuna_dummy=yes
31435else
31436  ac_cv_libuna=no
31437fi
31438
31439        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5
31440$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; }
31441if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then :
31442  $as_echo_n "(cached) " >&6
31443else
31444  ac_check_lib_save_LIBS=$LIBS
31445LIBS="-luna  $LIBS"
31446cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31447/* end confdefs.h.  */
31448
31449/* Override any GCC internal prototype to avoid an error.
31450   Use char because int might match the return type of a GCC
31451   builtin and then its argument prototype would still apply.  */
31452#ifdef __cplusplus
31453extern "C"
31454#endif
31455char libuna_byte_stream_size_from_utf32 ();
31456int
31457main ()
31458{
31459return libuna_byte_stream_size_from_utf32 ();
31460  ;
31461  return 0;
31462}
31463_ACEOF
31464if ac_fn_c_try_link "$LINENO"; then :
31465  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes
31466else
31467  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no
31468fi
31469rm -f core conftest.err conftest.$ac_objext \
31470    conftest$ac_exeext conftest.$ac_ext
31471LIBS=$ac_check_lib_save_LIBS
31472fi
31473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5
31474$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; }
31475if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then :
31476  ac_cv_libuna_dummy=yes
31477else
31478  ac_cv_libuna=no
31479fi
31480
31481        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5
31482$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; }
31483if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then :
31484  $as_echo_n "(cached) " >&6
31485else
31486  ac_check_lib_save_LIBS=$LIBS
31487LIBS="-luna  $LIBS"
31488cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31489/* end confdefs.h.  */
31490
31491/* Override any GCC internal prototype to avoid an error.
31492   Use char because int might match the return type of a GCC
31493   builtin and then its argument prototype would still apply.  */
31494#ifdef __cplusplus
31495extern "C"
31496#endif
31497char libuna_byte_stream_copy_from_utf32 ();
31498int
31499main ()
31500{
31501return libuna_byte_stream_copy_from_utf32 ();
31502  ;
31503  return 0;
31504}
31505_ACEOF
31506if ac_fn_c_try_link "$LINENO"; then :
31507  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes
31508else
31509  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no
31510fi
31511rm -f core conftest.err conftest.$ac_objext \
31512    conftest$ac_exeext conftest.$ac_ext
31513LIBS=$ac_check_lib_save_LIBS
31514fi
31515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5
31516$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; }
31517if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then :
31518  ac_cv_libuna_dummy=yes
31519else
31520  ac_cv_libuna=no
31521fi
31522
31523
31524                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5
31525$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; }
31526if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then :
31527  $as_echo_n "(cached) " >&6
31528else
31529  ac_check_lib_save_LIBS=$LIBS
31530LIBS="-luna  $LIBS"
31531cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31532/* end confdefs.h.  */
31533
31534/* Override any GCC internal prototype to avoid an error.
31535   Use char because int might match the return type of a GCC
31536   builtin and then its argument prototype would still apply.  */
31537#ifdef __cplusplus
31538extern "C"
31539#endif
31540char libuna_utf8_stream_size_from_utf8 ();
31541int
31542main ()
31543{
31544return libuna_utf8_stream_size_from_utf8 ();
31545  ;
31546  return 0;
31547}
31548_ACEOF
31549if ac_fn_c_try_link "$LINENO"; then :
31550  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes
31551else
31552  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no
31553fi
31554rm -f core conftest.err conftest.$ac_objext \
31555    conftest$ac_exeext conftest.$ac_ext
31556LIBS=$ac_check_lib_save_LIBS
31557fi
31558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5
31559$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; }
31560if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then :
31561  ac_cv_libuna_dummy=yes
31562else
31563  ac_cv_libuna=no
31564fi
31565
31566        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5
31567$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; }
31568if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then :
31569  $as_echo_n "(cached) " >&6
31570else
31571  ac_check_lib_save_LIBS=$LIBS
31572LIBS="-luna  $LIBS"
31573cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31574/* end confdefs.h.  */
31575
31576/* Override any GCC internal prototype to avoid an error.
31577   Use char because int might match the return type of a GCC
31578   builtin and then its argument prototype would still apply.  */
31579#ifdef __cplusplus
31580extern "C"
31581#endif
31582char libuna_utf8_stream_copy_from_utf8 ();
31583int
31584main ()
31585{
31586return libuna_utf8_stream_copy_from_utf8 ();
31587  ;
31588  return 0;
31589}
31590_ACEOF
31591if ac_fn_c_try_link "$LINENO"; then :
31592  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes
31593else
31594  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no
31595fi
31596rm -f core conftest.err conftest.$ac_objext \
31597    conftest$ac_exeext conftest.$ac_ext
31598LIBS=$ac_check_lib_save_LIBS
31599fi
31600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5
31601$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; }
31602if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then :
31603  ac_cv_libuna_dummy=yes
31604else
31605  ac_cv_libuna=no
31606fi
31607
31608        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5
31609$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; }
31610if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then :
31611  $as_echo_n "(cached) " >&6
31612else
31613  ac_check_lib_save_LIBS=$LIBS
31614LIBS="-luna  $LIBS"
31615cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31616/* end confdefs.h.  */
31617
31618/* Override any GCC internal prototype to avoid an error.
31619   Use char because int might match the return type of a GCC
31620   builtin and then its argument prototype would still apply.  */
31621#ifdef __cplusplus
31622extern "C"
31623#endif
31624char libuna_utf8_stream_size_from_utf16 ();
31625int
31626main ()
31627{
31628return libuna_utf8_stream_size_from_utf16 ();
31629  ;
31630  return 0;
31631}
31632_ACEOF
31633if ac_fn_c_try_link "$LINENO"; then :
31634  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes
31635else
31636  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no
31637fi
31638rm -f core conftest.err conftest.$ac_objext \
31639    conftest$ac_exeext conftest.$ac_ext
31640LIBS=$ac_check_lib_save_LIBS
31641fi
31642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5
31643$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; }
31644if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then :
31645  ac_cv_libuna_dummy=yes
31646else
31647  ac_cv_libuna=no
31648fi
31649
31650        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5
31651$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; }
31652if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then :
31653  $as_echo_n "(cached) " >&6
31654else
31655  ac_check_lib_save_LIBS=$LIBS
31656LIBS="-luna  $LIBS"
31657cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31658/* end confdefs.h.  */
31659
31660/* Override any GCC internal prototype to avoid an error.
31661   Use char because int might match the return type of a GCC
31662   builtin and then its argument prototype would still apply.  */
31663#ifdef __cplusplus
31664extern "C"
31665#endif
31666char libuna_utf8_stream_copy_from_utf16 ();
31667int
31668main ()
31669{
31670return libuna_utf8_stream_copy_from_utf16 ();
31671  ;
31672  return 0;
31673}
31674_ACEOF
31675if ac_fn_c_try_link "$LINENO"; then :
31676  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes
31677else
31678  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no
31679fi
31680rm -f core conftest.err conftest.$ac_objext \
31681    conftest$ac_exeext conftest.$ac_ext
31682LIBS=$ac_check_lib_save_LIBS
31683fi
31684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5
31685$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; }
31686if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then :
31687  ac_cv_libuna_dummy=yes
31688else
31689  ac_cv_libuna=no
31690fi
31691
31692        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5
31693$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; }
31694if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then :
31695  $as_echo_n "(cached) " >&6
31696else
31697  ac_check_lib_save_LIBS=$LIBS
31698LIBS="-luna  $LIBS"
31699cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31700/* end confdefs.h.  */
31701
31702/* Override any GCC internal prototype to avoid an error.
31703   Use char because int might match the return type of a GCC
31704   builtin and then its argument prototype would still apply.  */
31705#ifdef __cplusplus
31706extern "C"
31707#endif
31708char libuna_utf8_stream_size_from_utf32 ();
31709int
31710main ()
31711{
31712return libuna_utf8_stream_size_from_utf32 ();
31713  ;
31714  return 0;
31715}
31716_ACEOF
31717if ac_fn_c_try_link "$LINENO"; then :
31718  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes
31719else
31720  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no
31721fi
31722rm -f core conftest.err conftest.$ac_objext \
31723    conftest$ac_exeext conftest.$ac_ext
31724LIBS=$ac_check_lib_save_LIBS
31725fi
31726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5
31727$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; }
31728if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then :
31729  ac_cv_libuna_dummy=yes
31730else
31731  ac_cv_libuna=no
31732fi
31733
31734        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5
31735$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; }
31736if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then :
31737  $as_echo_n "(cached) " >&6
31738else
31739  ac_check_lib_save_LIBS=$LIBS
31740LIBS="-luna  $LIBS"
31741cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742/* end confdefs.h.  */
31743
31744/* Override any GCC internal prototype to avoid an error.
31745   Use char because int might match the return type of a GCC
31746   builtin and then its argument prototype would still apply.  */
31747#ifdef __cplusplus
31748extern "C"
31749#endif
31750char libuna_utf8_stream_copy_from_utf32 ();
31751int
31752main ()
31753{
31754return libuna_utf8_stream_copy_from_utf32 ();
31755  ;
31756  return 0;
31757}
31758_ACEOF
31759if ac_fn_c_try_link "$LINENO"; then :
31760  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes
31761else
31762  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no
31763fi
31764rm -f core conftest.err conftest.$ac_objext \
31765    conftest$ac_exeext conftest.$ac_ext
31766LIBS=$ac_check_lib_save_LIBS
31767fi
31768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5
31769$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; }
31770if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then :
31771  ac_cv_libuna_dummy=yes
31772else
31773  ac_cv_libuna=no
31774fi
31775
31776
31777                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5
31778$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; }
31779if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then :
31780  $as_echo_n "(cached) " >&6
31781else
31782  ac_check_lib_save_LIBS=$LIBS
31783LIBS="-luna  $LIBS"
31784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31785/* end confdefs.h.  */
31786
31787/* Override any GCC internal prototype to avoid an error.
31788   Use char because int might match the return type of a GCC
31789   builtin and then its argument prototype would still apply.  */
31790#ifdef __cplusplus
31791extern "C"
31792#endif
31793char libuna_utf16_stream_size_from_utf8 ();
31794int
31795main ()
31796{
31797return libuna_utf16_stream_size_from_utf8 ();
31798  ;
31799  return 0;
31800}
31801_ACEOF
31802if ac_fn_c_try_link "$LINENO"; then :
31803  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes
31804else
31805  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no
31806fi
31807rm -f core conftest.err conftest.$ac_objext \
31808    conftest$ac_exeext conftest.$ac_ext
31809LIBS=$ac_check_lib_save_LIBS
31810fi
31811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5
31812$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; }
31813if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then :
31814  ac_cv_libuna_dummy=yes
31815else
31816  ac_cv_libuna=no
31817fi
31818
31819        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5
31820$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; }
31821if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then :
31822  $as_echo_n "(cached) " >&6
31823else
31824  ac_check_lib_save_LIBS=$LIBS
31825LIBS="-luna  $LIBS"
31826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31827/* end confdefs.h.  */
31828
31829/* Override any GCC internal prototype to avoid an error.
31830   Use char because int might match the return type of a GCC
31831   builtin and then its argument prototype would still apply.  */
31832#ifdef __cplusplus
31833extern "C"
31834#endif
31835char libuna_utf16_stream_copy_from_utf8 ();
31836int
31837main ()
31838{
31839return libuna_utf16_stream_copy_from_utf8 ();
31840  ;
31841  return 0;
31842}
31843_ACEOF
31844if ac_fn_c_try_link "$LINENO"; then :
31845  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes
31846else
31847  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no
31848fi
31849rm -f core conftest.err conftest.$ac_objext \
31850    conftest$ac_exeext conftest.$ac_ext
31851LIBS=$ac_check_lib_save_LIBS
31852fi
31853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5
31854$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; }
31855if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then :
31856  ac_cv_libuna_dummy=yes
31857else
31858  ac_cv_libuna=no
31859fi
31860
31861        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5
31862$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; }
31863if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then :
31864  $as_echo_n "(cached) " >&6
31865else
31866  ac_check_lib_save_LIBS=$LIBS
31867LIBS="-luna  $LIBS"
31868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31869/* end confdefs.h.  */
31870
31871/* Override any GCC internal prototype to avoid an error.
31872   Use char because int might match the return type of a GCC
31873   builtin and then its argument prototype would still apply.  */
31874#ifdef __cplusplus
31875extern "C"
31876#endif
31877char libuna_utf16_stream_size_from_utf16 ();
31878int
31879main ()
31880{
31881return libuna_utf16_stream_size_from_utf16 ();
31882  ;
31883  return 0;
31884}
31885_ACEOF
31886if ac_fn_c_try_link "$LINENO"; then :
31887  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes
31888else
31889  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no
31890fi
31891rm -f core conftest.err conftest.$ac_objext \
31892    conftest$ac_exeext conftest.$ac_ext
31893LIBS=$ac_check_lib_save_LIBS
31894fi
31895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5
31896$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; }
31897if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then :
31898  ac_cv_libuna_dummy=yes
31899else
31900  ac_cv_libuna=no
31901fi
31902
31903        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5
31904$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; }
31905if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then :
31906  $as_echo_n "(cached) " >&6
31907else
31908  ac_check_lib_save_LIBS=$LIBS
31909LIBS="-luna  $LIBS"
31910cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31911/* end confdefs.h.  */
31912
31913/* Override any GCC internal prototype to avoid an error.
31914   Use char because int might match the return type of a GCC
31915   builtin and then its argument prototype would still apply.  */
31916#ifdef __cplusplus
31917extern "C"
31918#endif
31919char libuna_utf16_stream_copy_from_utf16 ();
31920int
31921main ()
31922{
31923return libuna_utf16_stream_copy_from_utf16 ();
31924  ;
31925  return 0;
31926}
31927_ACEOF
31928if ac_fn_c_try_link "$LINENO"; then :
31929  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes
31930else
31931  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no
31932fi
31933rm -f core conftest.err conftest.$ac_objext \
31934    conftest$ac_exeext conftest.$ac_ext
31935LIBS=$ac_check_lib_save_LIBS
31936fi
31937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5
31938$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; }
31939if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then :
31940  ac_cv_libuna_dummy=yes
31941else
31942  ac_cv_libuna=no
31943fi
31944
31945        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5
31946$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; }
31947if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then :
31948  $as_echo_n "(cached) " >&6
31949else
31950  ac_check_lib_save_LIBS=$LIBS
31951LIBS="-luna  $LIBS"
31952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31953/* end confdefs.h.  */
31954
31955/* Override any GCC internal prototype to avoid an error.
31956   Use char because int might match the return type of a GCC
31957   builtin and then its argument prototype would still apply.  */
31958#ifdef __cplusplus
31959extern "C"
31960#endif
31961char libuna_utf16_stream_size_from_utf32 ();
31962int
31963main ()
31964{
31965return libuna_utf16_stream_size_from_utf32 ();
31966  ;
31967  return 0;
31968}
31969_ACEOF
31970if ac_fn_c_try_link "$LINENO"; then :
31971  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes
31972else
31973  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no
31974fi
31975rm -f core conftest.err conftest.$ac_objext \
31976    conftest$ac_exeext conftest.$ac_ext
31977LIBS=$ac_check_lib_save_LIBS
31978fi
31979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5
31980$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; }
31981if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then :
31982  ac_cv_libuna_dummy=yes
31983else
31984  ac_cv_libuna=no
31985fi
31986
31987        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5
31988$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; }
31989if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then :
31990  $as_echo_n "(cached) " >&6
31991else
31992  ac_check_lib_save_LIBS=$LIBS
31993LIBS="-luna  $LIBS"
31994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31995/* end confdefs.h.  */
31996
31997/* Override any GCC internal prototype to avoid an error.
31998   Use char because int might match the return type of a GCC
31999   builtin and then its argument prototype would still apply.  */
32000#ifdef __cplusplus
32001extern "C"
32002#endif
32003char libuna_utf16_stream_copy_from_utf32 ();
32004int
32005main ()
32006{
32007return libuna_utf16_stream_copy_from_utf32 ();
32008  ;
32009  return 0;
32010}
32011_ACEOF
32012if ac_fn_c_try_link "$LINENO"; then :
32013  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes
32014else
32015  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no
32016fi
32017rm -f core conftest.err conftest.$ac_objext \
32018    conftest$ac_exeext conftest.$ac_ext
32019LIBS=$ac_check_lib_save_LIBS
32020fi
32021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5
32022$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; }
32023if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then :
32024  ac_cv_libuna_dummy=yes
32025else
32026  ac_cv_libuna=no
32027fi
32028
32029
32030                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5
32031$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; }
32032if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then :
32033  $as_echo_n "(cached) " >&6
32034else
32035  ac_check_lib_save_LIBS=$LIBS
32036LIBS="-luna  $LIBS"
32037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32038/* end confdefs.h.  */
32039
32040/* Override any GCC internal prototype to avoid an error.
32041   Use char because int might match the return type of a GCC
32042   builtin and then its argument prototype would still apply.  */
32043#ifdef __cplusplus
32044extern "C"
32045#endif
32046char libuna_utf32_stream_size_from_utf8 ();
32047int
32048main ()
32049{
32050return libuna_utf32_stream_size_from_utf8 ();
32051  ;
32052  return 0;
32053}
32054_ACEOF
32055if ac_fn_c_try_link "$LINENO"; then :
32056  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes
32057else
32058  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no
32059fi
32060rm -f core conftest.err conftest.$ac_objext \
32061    conftest$ac_exeext conftest.$ac_ext
32062LIBS=$ac_check_lib_save_LIBS
32063fi
32064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5
32065$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; }
32066if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then :
32067  ac_cv_libuna_dummy=yes
32068else
32069  ac_cv_libuna=no
32070fi
32071
32072        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5
32073$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; }
32074if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then :
32075  $as_echo_n "(cached) " >&6
32076else
32077  ac_check_lib_save_LIBS=$LIBS
32078LIBS="-luna  $LIBS"
32079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32080/* end confdefs.h.  */
32081
32082/* Override any GCC internal prototype to avoid an error.
32083   Use char because int might match the return type of a GCC
32084   builtin and then its argument prototype would still apply.  */
32085#ifdef __cplusplus
32086extern "C"
32087#endif
32088char libuna_utf32_stream_copy_from_utf8 ();
32089int
32090main ()
32091{
32092return libuna_utf32_stream_copy_from_utf8 ();
32093  ;
32094  return 0;
32095}
32096_ACEOF
32097if ac_fn_c_try_link "$LINENO"; then :
32098  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes
32099else
32100  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no
32101fi
32102rm -f core conftest.err conftest.$ac_objext \
32103    conftest$ac_exeext conftest.$ac_ext
32104LIBS=$ac_check_lib_save_LIBS
32105fi
32106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5
32107$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; }
32108if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then :
32109  ac_cv_libuna_dummy=yes
32110else
32111  ac_cv_libuna=no
32112fi
32113
32114        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5
32115$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; }
32116if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then :
32117  $as_echo_n "(cached) " >&6
32118else
32119  ac_check_lib_save_LIBS=$LIBS
32120LIBS="-luna  $LIBS"
32121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32122/* end confdefs.h.  */
32123
32124/* Override any GCC internal prototype to avoid an error.
32125   Use char because int might match the return type of a GCC
32126   builtin and then its argument prototype would still apply.  */
32127#ifdef __cplusplus
32128extern "C"
32129#endif
32130char libuna_utf32_stream_size_from_utf16 ();
32131int
32132main ()
32133{
32134return libuna_utf32_stream_size_from_utf16 ();
32135  ;
32136  return 0;
32137}
32138_ACEOF
32139if ac_fn_c_try_link "$LINENO"; then :
32140  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes
32141else
32142  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no
32143fi
32144rm -f core conftest.err conftest.$ac_objext \
32145    conftest$ac_exeext conftest.$ac_ext
32146LIBS=$ac_check_lib_save_LIBS
32147fi
32148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5
32149$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; }
32150if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then :
32151  ac_cv_libuna_dummy=yes
32152else
32153  ac_cv_libuna=no
32154fi
32155
32156        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5
32157$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; }
32158if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then :
32159  $as_echo_n "(cached) " >&6
32160else
32161  ac_check_lib_save_LIBS=$LIBS
32162LIBS="-luna  $LIBS"
32163cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164/* end confdefs.h.  */
32165
32166/* Override any GCC internal prototype to avoid an error.
32167   Use char because int might match the return type of a GCC
32168   builtin and then its argument prototype would still apply.  */
32169#ifdef __cplusplus
32170extern "C"
32171#endif
32172char libuna_utf32_stream_copy_from_utf16 ();
32173int
32174main ()
32175{
32176return libuna_utf32_stream_copy_from_utf16 ();
32177  ;
32178  return 0;
32179}
32180_ACEOF
32181if ac_fn_c_try_link "$LINENO"; then :
32182  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes
32183else
32184  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no
32185fi
32186rm -f core conftest.err conftest.$ac_objext \
32187    conftest$ac_exeext conftest.$ac_ext
32188LIBS=$ac_check_lib_save_LIBS
32189fi
32190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5
32191$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; }
32192if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then :
32193  ac_cv_libuna_dummy=yes
32194else
32195  ac_cv_libuna=no
32196fi
32197
32198        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5
32199$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; }
32200if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then :
32201  $as_echo_n "(cached) " >&6
32202else
32203  ac_check_lib_save_LIBS=$LIBS
32204LIBS="-luna  $LIBS"
32205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32206/* end confdefs.h.  */
32207
32208/* Override any GCC internal prototype to avoid an error.
32209   Use char because int might match the return type of a GCC
32210   builtin and then its argument prototype would still apply.  */
32211#ifdef __cplusplus
32212extern "C"
32213#endif
32214char libuna_utf32_stream_size_from_utf32 ();
32215int
32216main ()
32217{
32218return libuna_utf32_stream_size_from_utf32 ();
32219  ;
32220  return 0;
32221}
32222_ACEOF
32223if ac_fn_c_try_link "$LINENO"; then :
32224  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes
32225else
32226  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no
32227fi
32228rm -f core conftest.err conftest.$ac_objext \
32229    conftest$ac_exeext conftest.$ac_ext
32230LIBS=$ac_check_lib_save_LIBS
32231fi
32232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5
32233$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; }
32234if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then :
32235  ac_cv_libuna_dummy=yes
32236else
32237  ac_cv_libuna=no
32238fi
32239
32240        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5
32241$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; }
32242if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then :
32243  $as_echo_n "(cached) " >&6
32244else
32245  ac_check_lib_save_LIBS=$LIBS
32246LIBS="-luna  $LIBS"
32247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32248/* end confdefs.h.  */
32249
32250/* Override any GCC internal prototype to avoid an error.
32251   Use char because int might match the return type of a GCC
32252   builtin and then its argument prototype would still apply.  */
32253#ifdef __cplusplus
32254extern "C"
32255#endif
32256char libuna_utf32_stream_copy_from_utf32 ();
32257int
32258main ()
32259{
32260return libuna_utf32_stream_copy_from_utf32 ();
32261  ;
32262  return 0;
32263}
32264_ACEOF
32265if ac_fn_c_try_link "$LINENO"; then :
32266  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes
32267else
32268  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no
32269fi
32270rm -f core conftest.err conftest.$ac_objext \
32271    conftest$ac_exeext conftest.$ac_ext
32272LIBS=$ac_check_lib_save_LIBS
32273fi
32274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5
32275$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; }
32276if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then :
32277  ac_cv_libuna_dummy=yes
32278else
32279  ac_cv_libuna=no
32280fi
32281
32282
32283                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5
32284$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; }
32285if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then :
32286  $as_echo_n "(cached) " >&6
32287else
32288  ac_check_lib_save_LIBS=$LIBS
32289LIBS="-luna  $LIBS"
32290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32291/* end confdefs.h.  */
32292
32293/* Override any GCC internal prototype to avoid an error.
32294   Use char because int might match the return type of a GCC
32295   builtin and then its argument prototype would still apply.  */
32296#ifdef __cplusplus
32297extern "C"
32298#endif
32299char libuna_utf8_string_size_from_byte_stream ();
32300int
32301main ()
32302{
32303return libuna_utf8_string_size_from_byte_stream ();
32304  ;
32305  return 0;
32306}
32307_ACEOF
32308if ac_fn_c_try_link "$LINENO"; then :
32309  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes
32310else
32311  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no
32312fi
32313rm -f core conftest.err conftest.$ac_objext \
32314    conftest$ac_exeext conftest.$ac_ext
32315LIBS=$ac_check_lib_save_LIBS
32316fi
32317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5
32318$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; }
32319if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then :
32320  ac_cv_libuna_dummy=yes
32321else
32322  ac_cv_libuna=no
32323fi
32324
32325        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5
32326$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; }
32327if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then :
32328  $as_echo_n "(cached) " >&6
32329else
32330  ac_check_lib_save_LIBS=$LIBS
32331LIBS="-luna  $LIBS"
32332cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32333/* end confdefs.h.  */
32334
32335/* Override any GCC internal prototype to avoid an error.
32336   Use char because int might match the return type of a GCC
32337   builtin and then its argument prototype would still apply.  */
32338#ifdef __cplusplus
32339extern "C"
32340#endif
32341char libuna_utf8_string_copy_from_byte_stream ();
32342int
32343main ()
32344{
32345return libuna_utf8_string_copy_from_byte_stream ();
32346  ;
32347  return 0;
32348}
32349_ACEOF
32350if ac_fn_c_try_link "$LINENO"; then :
32351  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes
32352else
32353  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no
32354fi
32355rm -f core conftest.err conftest.$ac_objext \
32356    conftest$ac_exeext conftest.$ac_ext
32357LIBS=$ac_check_lib_save_LIBS
32358fi
32359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5
32360$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; }
32361if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then :
32362  ac_cv_libuna_dummy=yes
32363else
32364  ac_cv_libuna=no
32365fi
32366
32367        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5
32368$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; }
32369if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then :
32370  $as_echo_n "(cached) " >&6
32371else
32372  ac_check_lib_save_LIBS=$LIBS
32373LIBS="-luna  $LIBS"
32374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32375/* end confdefs.h.  */
32376
32377/* Override any GCC internal prototype to avoid an error.
32378   Use char because int might match the return type of a GCC
32379   builtin and then its argument prototype would still apply.  */
32380#ifdef __cplusplus
32381extern "C"
32382#endif
32383char libuna_utf8_string_with_index_copy_from_byte_stream ();
32384int
32385main ()
32386{
32387return libuna_utf8_string_with_index_copy_from_byte_stream ();
32388  ;
32389  return 0;
32390}
32391_ACEOF
32392if ac_fn_c_try_link "$LINENO"; then :
32393  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes
32394else
32395  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no
32396fi
32397rm -f core conftest.err conftest.$ac_objext \
32398    conftest$ac_exeext conftest.$ac_ext
32399LIBS=$ac_check_lib_save_LIBS
32400fi
32401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5
32402$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; }
32403if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then :
32404  ac_cv_libuna_dummy=yes
32405else
32406  ac_cv_libuna=no
32407fi
32408
32409        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5
32410$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; }
32411if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then :
32412  $as_echo_n "(cached) " >&6
32413else
32414  ac_check_lib_save_LIBS=$LIBS
32415LIBS="-luna  $LIBS"
32416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32417/* end confdefs.h.  */
32418
32419/* Override any GCC internal prototype to avoid an error.
32420   Use char because int might match the return type of a GCC
32421   builtin and then its argument prototype would still apply.  */
32422#ifdef __cplusplus
32423extern "C"
32424#endif
32425char libuna_utf8_string_size_from_utf7_stream ();
32426int
32427main ()
32428{
32429return libuna_utf8_string_size_from_utf7_stream ();
32430  ;
32431  return 0;
32432}
32433_ACEOF
32434if ac_fn_c_try_link "$LINENO"; then :
32435  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes
32436else
32437  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no
32438fi
32439rm -f core conftest.err conftest.$ac_objext \
32440    conftest$ac_exeext conftest.$ac_ext
32441LIBS=$ac_check_lib_save_LIBS
32442fi
32443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5
32444$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; }
32445if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then :
32446  ac_cv_libuna_dummy=yes
32447else
32448  ac_cv_libuna=no
32449fi
32450
32451        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5
32452$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; }
32453if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then :
32454  $as_echo_n "(cached) " >&6
32455else
32456  ac_check_lib_save_LIBS=$LIBS
32457LIBS="-luna  $LIBS"
32458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32459/* end confdefs.h.  */
32460
32461/* Override any GCC internal prototype to avoid an error.
32462   Use char because int might match the return type of a GCC
32463   builtin and then its argument prototype would still apply.  */
32464#ifdef __cplusplus
32465extern "C"
32466#endif
32467char libuna_utf8_string_copy_from_utf7_stream ();
32468int
32469main ()
32470{
32471return libuna_utf8_string_copy_from_utf7_stream ();
32472  ;
32473  return 0;
32474}
32475_ACEOF
32476if ac_fn_c_try_link "$LINENO"; then :
32477  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes
32478else
32479  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no
32480fi
32481rm -f core conftest.err conftest.$ac_objext \
32482    conftest$ac_exeext conftest.$ac_ext
32483LIBS=$ac_check_lib_save_LIBS
32484fi
32485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5
32486$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; }
32487if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then :
32488  ac_cv_libuna_dummy=yes
32489else
32490  ac_cv_libuna=no
32491fi
32492
32493        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5
32494$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
32495if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then :
32496  $as_echo_n "(cached) " >&6
32497else
32498  ac_check_lib_save_LIBS=$LIBS
32499LIBS="-luna  $LIBS"
32500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32501/* end confdefs.h.  */
32502
32503/* Override any GCC internal prototype to avoid an error.
32504   Use char because int might match the return type of a GCC
32505   builtin and then its argument prototype would still apply.  */
32506#ifdef __cplusplus
32507extern "C"
32508#endif
32509char libuna_utf8_string_with_index_copy_from_utf7_stream ();
32510int
32511main ()
32512{
32513return libuna_utf8_string_with_index_copy_from_utf7_stream ();
32514  ;
32515  return 0;
32516}
32517_ACEOF
32518if ac_fn_c_try_link "$LINENO"; then :
32519  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes
32520else
32521  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no
32522fi
32523rm -f core conftest.err conftest.$ac_objext \
32524    conftest$ac_exeext conftest.$ac_ext
32525LIBS=$ac_check_lib_save_LIBS
32526fi
32527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5
32528$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; }
32529if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then :
32530  ac_cv_libuna_dummy=yes
32531else
32532  ac_cv_libuna=no
32533fi
32534
32535        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5
32536$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; }
32537if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then :
32538  $as_echo_n "(cached) " >&6
32539else
32540  ac_check_lib_save_LIBS=$LIBS
32541LIBS="-luna  $LIBS"
32542cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32543/* end confdefs.h.  */
32544
32545/* Override any GCC internal prototype to avoid an error.
32546   Use char because int might match the return type of a GCC
32547   builtin and then its argument prototype would still apply.  */
32548#ifdef __cplusplus
32549extern "C"
32550#endif
32551char libuna_utf8_string_size_from_utf8_stream ();
32552int
32553main ()
32554{
32555return libuna_utf8_string_size_from_utf8_stream ();
32556  ;
32557  return 0;
32558}
32559_ACEOF
32560if ac_fn_c_try_link "$LINENO"; then :
32561  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes
32562else
32563  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no
32564fi
32565rm -f core conftest.err conftest.$ac_objext \
32566    conftest$ac_exeext conftest.$ac_ext
32567LIBS=$ac_check_lib_save_LIBS
32568fi
32569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5
32570$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; }
32571if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then :
32572  ac_cv_libuna_dummy=yes
32573else
32574  ac_cv_libuna=no
32575fi
32576
32577        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5
32578$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; }
32579if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then :
32580  $as_echo_n "(cached) " >&6
32581else
32582  ac_check_lib_save_LIBS=$LIBS
32583LIBS="-luna  $LIBS"
32584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32585/* end confdefs.h.  */
32586
32587/* Override any GCC internal prototype to avoid an error.
32588   Use char because int might match the return type of a GCC
32589   builtin and then its argument prototype would still apply.  */
32590#ifdef __cplusplus
32591extern "C"
32592#endif
32593char libuna_utf8_string_copy_from_utf8_stream ();
32594int
32595main ()
32596{
32597return libuna_utf8_string_copy_from_utf8_stream ();
32598  ;
32599  return 0;
32600}
32601_ACEOF
32602if ac_fn_c_try_link "$LINENO"; then :
32603  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes
32604else
32605  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no
32606fi
32607rm -f core conftest.err conftest.$ac_objext \
32608    conftest$ac_exeext conftest.$ac_ext
32609LIBS=$ac_check_lib_save_LIBS
32610fi
32611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5
32612$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; }
32613if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then :
32614  ac_cv_libuna_dummy=yes
32615else
32616  ac_cv_libuna=no
32617fi
32618
32619        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5
32620$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
32621if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then :
32622  $as_echo_n "(cached) " >&6
32623else
32624  ac_check_lib_save_LIBS=$LIBS
32625LIBS="-luna  $LIBS"
32626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32627/* end confdefs.h.  */
32628
32629/* Override any GCC internal prototype to avoid an error.
32630   Use char because int might match the return type of a GCC
32631   builtin and then its argument prototype would still apply.  */
32632#ifdef __cplusplus
32633extern "C"
32634#endif
32635char libuna_utf8_string_with_index_copy_from_utf8_stream ();
32636int
32637main ()
32638{
32639return libuna_utf8_string_with_index_copy_from_utf8_stream ();
32640  ;
32641  return 0;
32642}
32643_ACEOF
32644if ac_fn_c_try_link "$LINENO"; then :
32645  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes
32646else
32647  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no
32648fi
32649rm -f core conftest.err conftest.$ac_objext \
32650    conftest$ac_exeext conftest.$ac_ext
32651LIBS=$ac_check_lib_save_LIBS
32652fi
32653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5
32654$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; }
32655if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then :
32656  ac_cv_libuna_dummy=yes
32657else
32658  ac_cv_libuna=no
32659fi
32660
32661        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5
32662$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; }
32663if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then :
32664  $as_echo_n "(cached) " >&6
32665else
32666  ac_check_lib_save_LIBS=$LIBS
32667LIBS="-luna  $LIBS"
32668cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32669/* end confdefs.h.  */
32670
32671/* Override any GCC internal prototype to avoid an error.
32672   Use char because int might match the return type of a GCC
32673   builtin and then its argument prototype would still apply.  */
32674#ifdef __cplusplus
32675extern "C"
32676#endif
32677char libuna_utf8_string_size_from_utf16_stream ();
32678int
32679main ()
32680{
32681return libuna_utf8_string_size_from_utf16_stream ();
32682  ;
32683  return 0;
32684}
32685_ACEOF
32686if ac_fn_c_try_link "$LINENO"; then :
32687  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes
32688else
32689  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no
32690fi
32691rm -f core conftest.err conftest.$ac_objext \
32692    conftest$ac_exeext conftest.$ac_ext
32693LIBS=$ac_check_lib_save_LIBS
32694fi
32695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5
32696$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; }
32697if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then :
32698  ac_cv_libuna_dummy=yes
32699else
32700  ac_cv_libuna=no
32701fi
32702
32703        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5
32704$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; }
32705if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then :
32706  $as_echo_n "(cached) " >&6
32707else
32708  ac_check_lib_save_LIBS=$LIBS
32709LIBS="-luna  $LIBS"
32710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32711/* end confdefs.h.  */
32712
32713/* Override any GCC internal prototype to avoid an error.
32714   Use char because int might match the return type of a GCC
32715   builtin and then its argument prototype would still apply.  */
32716#ifdef __cplusplus
32717extern "C"
32718#endif
32719char libuna_utf8_string_copy_from_utf16_stream ();
32720int
32721main ()
32722{
32723return libuna_utf8_string_copy_from_utf16_stream ();
32724  ;
32725  return 0;
32726}
32727_ACEOF
32728if ac_fn_c_try_link "$LINENO"; then :
32729  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes
32730else
32731  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no
32732fi
32733rm -f core conftest.err conftest.$ac_objext \
32734    conftest$ac_exeext conftest.$ac_ext
32735LIBS=$ac_check_lib_save_LIBS
32736fi
32737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5
32738$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; }
32739if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then :
32740  ac_cv_libuna_dummy=yes
32741else
32742  ac_cv_libuna=no
32743fi
32744
32745        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5
32746$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
32747if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then :
32748  $as_echo_n "(cached) " >&6
32749else
32750  ac_check_lib_save_LIBS=$LIBS
32751LIBS="-luna  $LIBS"
32752cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32753/* end confdefs.h.  */
32754
32755/* Override any GCC internal prototype to avoid an error.
32756   Use char because int might match the return type of a GCC
32757   builtin and then its argument prototype would still apply.  */
32758#ifdef __cplusplus
32759extern "C"
32760#endif
32761char libuna_utf8_string_with_index_copy_from_utf16_stream ();
32762int
32763main ()
32764{
32765return libuna_utf8_string_with_index_copy_from_utf16_stream ();
32766  ;
32767  return 0;
32768}
32769_ACEOF
32770if ac_fn_c_try_link "$LINENO"; then :
32771  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes
32772else
32773  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no
32774fi
32775rm -f core conftest.err conftest.$ac_objext \
32776    conftest$ac_exeext conftest.$ac_ext
32777LIBS=$ac_check_lib_save_LIBS
32778fi
32779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5
32780$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; }
32781if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then :
32782  ac_cv_libuna_dummy=yes
32783else
32784  ac_cv_libuna=no
32785fi
32786
32787        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5
32788$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; }
32789if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then :
32790  $as_echo_n "(cached) " >&6
32791else
32792  ac_check_lib_save_LIBS=$LIBS
32793LIBS="-luna  $LIBS"
32794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32795/* end confdefs.h.  */
32796
32797/* Override any GCC internal prototype to avoid an error.
32798   Use char because int might match the return type of a GCC
32799   builtin and then its argument prototype would still apply.  */
32800#ifdef __cplusplus
32801extern "C"
32802#endif
32803char libuna_utf8_string_size_from_utf32_stream ();
32804int
32805main ()
32806{
32807return libuna_utf8_string_size_from_utf32_stream ();
32808  ;
32809  return 0;
32810}
32811_ACEOF
32812if ac_fn_c_try_link "$LINENO"; then :
32813  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes
32814else
32815  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no
32816fi
32817rm -f core conftest.err conftest.$ac_objext \
32818    conftest$ac_exeext conftest.$ac_ext
32819LIBS=$ac_check_lib_save_LIBS
32820fi
32821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5
32822$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; }
32823if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then :
32824  ac_cv_libuna_dummy=yes
32825else
32826  ac_cv_libuna=no
32827fi
32828
32829        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5
32830$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; }
32831if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then :
32832  $as_echo_n "(cached) " >&6
32833else
32834  ac_check_lib_save_LIBS=$LIBS
32835LIBS="-luna  $LIBS"
32836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32837/* end confdefs.h.  */
32838
32839/* Override any GCC internal prototype to avoid an error.
32840   Use char because int might match the return type of a GCC
32841   builtin and then its argument prototype would still apply.  */
32842#ifdef __cplusplus
32843extern "C"
32844#endif
32845char libuna_utf8_string_copy_from_utf32_stream ();
32846int
32847main ()
32848{
32849return libuna_utf8_string_copy_from_utf32_stream ();
32850  ;
32851  return 0;
32852}
32853_ACEOF
32854if ac_fn_c_try_link "$LINENO"; then :
32855  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes
32856else
32857  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no
32858fi
32859rm -f core conftest.err conftest.$ac_objext \
32860    conftest$ac_exeext conftest.$ac_ext
32861LIBS=$ac_check_lib_save_LIBS
32862fi
32863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5
32864$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; }
32865if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then :
32866  ac_cv_libuna_dummy=yes
32867else
32868  ac_cv_libuna=no
32869fi
32870
32871        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5
32872$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
32873if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then :
32874  $as_echo_n "(cached) " >&6
32875else
32876  ac_check_lib_save_LIBS=$LIBS
32877LIBS="-luna  $LIBS"
32878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32879/* end confdefs.h.  */
32880
32881/* Override any GCC internal prototype to avoid an error.
32882   Use char because int might match the return type of a GCC
32883   builtin and then its argument prototype would still apply.  */
32884#ifdef __cplusplus
32885extern "C"
32886#endif
32887char libuna_utf8_string_with_index_copy_from_utf32_stream ();
32888int
32889main ()
32890{
32891return libuna_utf8_string_with_index_copy_from_utf32_stream ();
32892  ;
32893  return 0;
32894}
32895_ACEOF
32896if ac_fn_c_try_link "$LINENO"; then :
32897  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes
32898else
32899  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no
32900fi
32901rm -f core conftest.err conftest.$ac_objext \
32902    conftest$ac_exeext conftest.$ac_ext
32903LIBS=$ac_check_lib_save_LIBS
32904fi
32905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5
32906$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; }
32907if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then :
32908  ac_cv_libuna_dummy=yes
32909else
32910  ac_cv_libuna=no
32911fi
32912
32913        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5
32914$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; }
32915if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then :
32916  $as_echo_n "(cached) " >&6
32917else
32918  ac_check_lib_save_LIBS=$LIBS
32919LIBS="-luna  $LIBS"
32920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32921/* end confdefs.h.  */
32922
32923/* Override any GCC internal prototype to avoid an error.
32924   Use char because int might match the return type of a GCC
32925   builtin and then its argument prototype would still apply.  */
32926#ifdef __cplusplus
32927extern "C"
32928#endif
32929char libuna_utf8_string_size_from_utf16 ();
32930int
32931main ()
32932{
32933return libuna_utf8_string_size_from_utf16 ();
32934  ;
32935  return 0;
32936}
32937_ACEOF
32938if ac_fn_c_try_link "$LINENO"; then :
32939  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes
32940else
32941  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no
32942fi
32943rm -f core conftest.err conftest.$ac_objext \
32944    conftest$ac_exeext conftest.$ac_ext
32945LIBS=$ac_check_lib_save_LIBS
32946fi
32947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5
32948$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; }
32949if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then :
32950  ac_cv_libuna_dummy=yes
32951else
32952  ac_cv_libuna=no
32953fi
32954
32955        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5
32956$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; }
32957if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then :
32958  $as_echo_n "(cached) " >&6
32959else
32960  ac_check_lib_save_LIBS=$LIBS
32961LIBS="-luna  $LIBS"
32962cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32963/* end confdefs.h.  */
32964
32965/* Override any GCC internal prototype to avoid an error.
32966   Use char because int might match the return type of a GCC
32967   builtin and then its argument prototype would still apply.  */
32968#ifdef __cplusplus
32969extern "C"
32970#endif
32971char libuna_utf8_string_copy_from_utf16 ();
32972int
32973main ()
32974{
32975return libuna_utf8_string_copy_from_utf16 ();
32976  ;
32977  return 0;
32978}
32979_ACEOF
32980if ac_fn_c_try_link "$LINENO"; then :
32981  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes
32982else
32983  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no
32984fi
32985rm -f core conftest.err conftest.$ac_objext \
32986    conftest$ac_exeext conftest.$ac_ext
32987LIBS=$ac_check_lib_save_LIBS
32988fi
32989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5
32990$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; }
32991if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then :
32992  ac_cv_libuna_dummy=yes
32993else
32994  ac_cv_libuna=no
32995fi
32996
32997        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5
32998$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; }
32999if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then :
33000  $as_echo_n "(cached) " >&6
33001else
33002  ac_check_lib_save_LIBS=$LIBS
33003LIBS="-luna  $LIBS"
33004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33005/* end confdefs.h.  */
33006
33007/* Override any GCC internal prototype to avoid an error.
33008   Use char because int might match the return type of a GCC
33009   builtin and then its argument prototype would still apply.  */
33010#ifdef __cplusplus
33011extern "C"
33012#endif
33013char libuna_utf8_string_with_index_copy_from_utf16 ();
33014int
33015main ()
33016{
33017return libuna_utf8_string_with_index_copy_from_utf16 ();
33018  ;
33019  return 0;
33020}
33021_ACEOF
33022if ac_fn_c_try_link "$LINENO"; then :
33023  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes
33024else
33025  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no
33026fi
33027rm -f core conftest.err conftest.$ac_objext \
33028    conftest$ac_exeext conftest.$ac_ext
33029LIBS=$ac_check_lib_save_LIBS
33030fi
33031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5
33032$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; }
33033if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then :
33034  ac_cv_libuna_dummy=yes
33035else
33036  ac_cv_libuna=no
33037fi
33038
33039        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5
33040$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; }
33041if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then :
33042  $as_echo_n "(cached) " >&6
33043else
33044  ac_check_lib_save_LIBS=$LIBS
33045LIBS="-luna  $LIBS"
33046cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33047/* end confdefs.h.  */
33048
33049/* Override any GCC internal prototype to avoid an error.
33050   Use char because int might match the return type of a GCC
33051   builtin and then its argument prototype would still apply.  */
33052#ifdef __cplusplus
33053extern "C"
33054#endif
33055char libuna_utf8_string_size_from_utf32 ();
33056int
33057main ()
33058{
33059return libuna_utf8_string_size_from_utf32 ();
33060  ;
33061  return 0;
33062}
33063_ACEOF
33064if ac_fn_c_try_link "$LINENO"; then :
33065  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes
33066else
33067  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no
33068fi
33069rm -f core conftest.err conftest.$ac_objext \
33070    conftest$ac_exeext conftest.$ac_ext
33071LIBS=$ac_check_lib_save_LIBS
33072fi
33073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5
33074$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; }
33075if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then :
33076  ac_cv_libuna_dummy=yes
33077else
33078  ac_cv_libuna=no
33079fi
33080
33081        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5
33082$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; }
33083if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then :
33084  $as_echo_n "(cached) " >&6
33085else
33086  ac_check_lib_save_LIBS=$LIBS
33087LIBS="-luna  $LIBS"
33088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33089/* end confdefs.h.  */
33090
33091/* Override any GCC internal prototype to avoid an error.
33092   Use char because int might match the return type of a GCC
33093   builtin and then its argument prototype would still apply.  */
33094#ifdef __cplusplus
33095extern "C"
33096#endif
33097char libuna_utf8_string_copy_from_utf32 ();
33098int
33099main ()
33100{
33101return libuna_utf8_string_copy_from_utf32 ();
33102  ;
33103  return 0;
33104}
33105_ACEOF
33106if ac_fn_c_try_link "$LINENO"; then :
33107  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes
33108else
33109  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no
33110fi
33111rm -f core conftest.err conftest.$ac_objext \
33112    conftest$ac_exeext conftest.$ac_ext
33113LIBS=$ac_check_lib_save_LIBS
33114fi
33115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5
33116$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; }
33117if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then :
33118  ac_cv_libuna_dummy=yes
33119else
33120  ac_cv_libuna=no
33121fi
33122
33123        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5
33124$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; }
33125if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then :
33126  $as_echo_n "(cached) " >&6
33127else
33128  ac_check_lib_save_LIBS=$LIBS
33129LIBS="-luna  $LIBS"
33130cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33131/* end confdefs.h.  */
33132
33133/* Override any GCC internal prototype to avoid an error.
33134   Use char because int might match the return type of a GCC
33135   builtin and then its argument prototype would still apply.  */
33136#ifdef __cplusplus
33137extern "C"
33138#endif
33139char libuna_utf8_string_with_index_copy_from_utf32 ();
33140int
33141main ()
33142{
33143return libuna_utf8_string_with_index_copy_from_utf32 ();
33144  ;
33145  return 0;
33146}
33147_ACEOF
33148if ac_fn_c_try_link "$LINENO"; then :
33149  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes
33150else
33151  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no
33152fi
33153rm -f core conftest.err conftest.$ac_objext \
33154    conftest$ac_exeext conftest.$ac_ext
33155LIBS=$ac_check_lib_save_LIBS
33156fi
33157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5
33158$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; }
33159if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then :
33160  ac_cv_libuna_dummy=yes
33161else
33162  ac_cv_libuna=no
33163fi
33164
33165        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5
33166$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; }
33167if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then :
33168  $as_echo_n "(cached) " >&6
33169else
33170  ac_check_lib_save_LIBS=$LIBS
33171LIBS="-luna  $LIBS"
33172cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33173/* end confdefs.h.  */
33174
33175/* Override any GCC internal prototype to avoid an error.
33176   Use char because int might match the return type of a GCC
33177   builtin and then its argument prototype would still apply.  */
33178#ifdef __cplusplus
33179extern "C"
33180#endif
33181char libuna_utf8_string_size_from_scsu_stream ();
33182int
33183main ()
33184{
33185return libuna_utf8_string_size_from_scsu_stream ();
33186  ;
33187  return 0;
33188}
33189_ACEOF
33190if ac_fn_c_try_link "$LINENO"; then :
33191  ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes
33192else
33193  ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no
33194fi
33195rm -f core conftest.err conftest.$ac_objext \
33196    conftest$ac_exeext conftest.$ac_ext
33197LIBS=$ac_check_lib_save_LIBS
33198fi
33199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5
33200$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; }
33201if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then :
33202  ac_cv_libuna_dummy=yes
33203else
33204  ac_cv_libuna=no
33205fi
33206
33207        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5
33208$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; }
33209if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then :
33210  $as_echo_n "(cached) " >&6
33211else
33212  ac_check_lib_save_LIBS=$LIBS
33213LIBS="-luna  $LIBS"
33214cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33215/* end confdefs.h.  */
33216
33217/* Override any GCC internal prototype to avoid an error.
33218   Use char because int might match the return type of a GCC
33219   builtin and then its argument prototype would still apply.  */
33220#ifdef __cplusplus
33221extern "C"
33222#endif
33223char libuna_utf8_string_copy_from_scsu_stream ();
33224int
33225main ()
33226{
33227return libuna_utf8_string_copy_from_scsu_stream ();
33228  ;
33229  return 0;
33230}
33231_ACEOF
33232if ac_fn_c_try_link "$LINENO"; then :
33233  ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes
33234else
33235  ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no
33236fi
33237rm -f core conftest.err conftest.$ac_objext \
33238    conftest$ac_exeext conftest.$ac_ext
33239LIBS=$ac_check_lib_save_LIBS
33240fi
33241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5
33242$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; }
33243if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then :
33244  ac_cv_libuna_dummy=yes
33245else
33246  ac_cv_libuna=no
33247fi
33248
33249        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5
33250$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
33251if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then :
33252  $as_echo_n "(cached) " >&6
33253else
33254  ac_check_lib_save_LIBS=$LIBS
33255LIBS="-luna  $LIBS"
33256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33257/* end confdefs.h.  */
33258
33259/* Override any GCC internal prototype to avoid an error.
33260   Use char because int might match the return type of a GCC
33261   builtin and then its argument prototype would still apply.  */
33262#ifdef __cplusplus
33263extern "C"
33264#endif
33265char libuna_utf8_string_with_index_copy_from_scsu_stream ();
33266int
33267main ()
33268{
33269return libuna_utf8_string_with_index_copy_from_scsu_stream ();
33270  ;
33271  return 0;
33272}
33273_ACEOF
33274if ac_fn_c_try_link "$LINENO"; then :
33275  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes
33276else
33277  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no
33278fi
33279rm -f core conftest.err conftest.$ac_objext \
33280    conftest$ac_exeext conftest.$ac_ext
33281LIBS=$ac_check_lib_save_LIBS
33282fi
33283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5
33284$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; }
33285if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then :
33286  ac_cv_libuna_dummy=yes
33287else
33288  ac_cv_libuna=no
33289fi
33290
33291
33292                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5
33293$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; }
33294if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then :
33295  $as_echo_n "(cached) " >&6
33296else
33297  ac_check_lib_save_LIBS=$LIBS
33298LIBS="-luna  $LIBS"
33299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33300/* end confdefs.h.  */
33301
33302/* Override any GCC internal prototype to avoid an error.
33303   Use char because int might match the return type of a GCC
33304   builtin and then its argument prototype would still apply.  */
33305#ifdef __cplusplus
33306extern "C"
33307#endif
33308char libuna_utf16_string_size_from_byte_stream ();
33309int
33310main ()
33311{
33312return libuna_utf16_string_size_from_byte_stream ();
33313  ;
33314  return 0;
33315}
33316_ACEOF
33317if ac_fn_c_try_link "$LINENO"; then :
33318  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes
33319else
33320  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no
33321fi
33322rm -f core conftest.err conftest.$ac_objext \
33323    conftest$ac_exeext conftest.$ac_ext
33324LIBS=$ac_check_lib_save_LIBS
33325fi
33326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5
33327$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; }
33328if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then :
33329  ac_cv_libuna_dummy=yes
33330else
33331  ac_cv_libuna=no
33332fi
33333
33334        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5
33335$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; }
33336if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then :
33337  $as_echo_n "(cached) " >&6
33338else
33339  ac_check_lib_save_LIBS=$LIBS
33340LIBS="-luna  $LIBS"
33341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33342/* end confdefs.h.  */
33343
33344/* Override any GCC internal prototype to avoid an error.
33345   Use char because int might match the return type of a GCC
33346   builtin and then its argument prototype would still apply.  */
33347#ifdef __cplusplus
33348extern "C"
33349#endif
33350char libuna_utf16_string_copy_from_byte_stream ();
33351int
33352main ()
33353{
33354return libuna_utf16_string_copy_from_byte_stream ();
33355  ;
33356  return 0;
33357}
33358_ACEOF
33359if ac_fn_c_try_link "$LINENO"; then :
33360  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes
33361else
33362  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no
33363fi
33364rm -f core conftest.err conftest.$ac_objext \
33365    conftest$ac_exeext conftest.$ac_ext
33366LIBS=$ac_check_lib_save_LIBS
33367fi
33368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5
33369$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; }
33370if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then :
33371  ac_cv_libuna_dummy=yes
33372else
33373  ac_cv_libuna=no
33374fi
33375
33376        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5
33377$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; }
33378if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then :
33379  $as_echo_n "(cached) " >&6
33380else
33381  ac_check_lib_save_LIBS=$LIBS
33382LIBS="-luna  $LIBS"
33383cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384/* end confdefs.h.  */
33385
33386/* Override any GCC internal prototype to avoid an error.
33387   Use char because int might match the return type of a GCC
33388   builtin and then its argument prototype would still apply.  */
33389#ifdef __cplusplus
33390extern "C"
33391#endif
33392char libuna_utf16_string_with_index_copy_from_byte_stream ();
33393int
33394main ()
33395{
33396return libuna_utf16_string_with_index_copy_from_byte_stream ();
33397  ;
33398  return 0;
33399}
33400_ACEOF
33401if ac_fn_c_try_link "$LINENO"; then :
33402  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes
33403else
33404  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no
33405fi
33406rm -f core conftest.err conftest.$ac_objext \
33407    conftest$ac_exeext conftest.$ac_ext
33408LIBS=$ac_check_lib_save_LIBS
33409fi
33410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5
33411$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; }
33412if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then :
33413  ac_cv_libuna_dummy=yes
33414else
33415  ac_cv_libuna=no
33416fi
33417
33418        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5
33419$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; }
33420if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then :
33421  $as_echo_n "(cached) " >&6
33422else
33423  ac_check_lib_save_LIBS=$LIBS
33424LIBS="-luna  $LIBS"
33425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33426/* end confdefs.h.  */
33427
33428/* Override any GCC internal prototype to avoid an error.
33429   Use char because int might match the return type of a GCC
33430   builtin and then its argument prototype would still apply.  */
33431#ifdef __cplusplus
33432extern "C"
33433#endif
33434char libuna_utf16_string_size_from_utf7_stream ();
33435int
33436main ()
33437{
33438return libuna_utf16_string_size_from_utf7_stream ();
33439  ;
33440  return 0;
33441}
33442_ACEOF
33443if ac_fn_c_try_link "$LINENO"; then :
33444  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes
33445else
33446  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no
33447fi
33448rm -f core conftest.err conftest.$ac_objext \
33449    conftest$ac_exeext conftest.$ac_ext
33450LIBS=$ac_check_lib_save_LIBS
33451fi
33452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5
33453$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; }
33454if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then :
33455  ac_cv_libuna_dummy=yes
33456else
33457  ac_cv_libuna=no
33458fi
33459
33460        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5
33461$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; }
33462if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then :
33463  $as_echo_n "(cached) " >&6
33464else
33465  ac_check_lib_save_LIBS=$LIBS
33466LIBS="-luna  $LIBS"
33467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33468/* end confdefs.h.  */
33469
33470/* Override any GCC internal prototype to avoid an error.
33471   Use char because int might match the return type of a GCC
33472   builtin and then its argument prototype would still apply.  */
33473#ifdef __cplusplus
33474extern "C"
33475#endif
33476char libuna_utf16_string_copy_from_utf7_stream ();
33477int
33478main ()
33479{
33480return libuna_utf16_string_copy_from_utf7_stream ();
33481  ;
33482  return 0;
33483}
33484_ACEOF
33485if ac_fn_c_try_link "$LINENO"; then :
33486  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes
33487else
33488  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no
33489fi
33490rm -f core conftest.err conftest.$ac_objext \
33491    conftest$ac_exeext conftest.$ac_ext
33492LIBS=$ac_check_lib_save_LIBS
33493fi
33494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5
33495$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; }
33496if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then :
33497  ac_cv_libuna_dummy=yes
33498else
33499  ac_cv_libuna=no
33500fi
33501
33502        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5
33503$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
33504if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then :
33505  $as_echo_n "(cached) " >&6
33506else
33507  ac_check_lib_save_LIBS=$LIBS
33508LIBS="-luna  $LIBS"
33509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33510/* end confdefs.h.  */
33511
33512/* Override any GCC internal prototype to avoid an error.
33513   Use char because int might match the return type of a GCC
33514   builtin and then its argument prototype would still apply.  */
33515#ifdef __cplusplus
33516extern "C"
33517#endif
33518char libuna_utf16_string_with_index_copy_from_utf7_stream ();
33519int
33520main ()
33521{
33522return libuna_utf16_string_with_index_copy_from_utf7_stream ();
33523  ;
33524  return 0;
33525}
33526_ACEOF
33527if ac_fn_c_try_link "$LINENO"; then :
33528  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes
33529else
33530  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no
33531fi
33532rm -f core conftest.err conftest.$ac_objext \
33533    conftest$ac_exeext conftest.$ac_ext
33534LIBS=$ac_check_lib_save_LIBS
33535fi
33536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5
33537$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; }
33538if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then :
33539  ac_cv_libuna_dummy=yes
33540else
33541  ac_cv_libuna=no
33542fi
33543
33544        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5
33545$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; }
33546if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then :
33547  $as_echo_n "(cached) " >&6
33548else
33549  ac_check_lib_save_LIBS=$LIBS
33550LIBS="-luna  $LIBS"
33551cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33552/* end confdefs.h.  */
33553
33554/* Override any GCC internal prototype to avoid an error.
33555   Use char because int might match the return type of a GCC
33556   builtin and then its argument prototype would still apply.  */
33557#ifdef __cplusplus
33558extern "C"
33559#endif
33560char libuna_utf16_string_size_from_utf8_stream ();
33561int
33562main ()
33563{
33564return libuna_utf16_string_size_from_utf8_stream ();
33565  ;
33566  return 0;
33567}
33568_ACEOF
33569if ac_fn_c_try_link "$LINENO"; then :
33570  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes
33571else
33572  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no
33573fi
33574rm -f core conftest.err conftest.$ac_objext \
33575    conftest$ac_exeext conftest.$ac_ext
33576LIBS=$ac_check_lib_save_LIBS
33577fi
33578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5
33579$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; }
33580if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then :
33581  ac_cv_libuna_dummy=yes
33582else
33583  ac_cv_libuna=no
33584fi
33585
33586        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5
33587$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; }
33588if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then :
33589  $as_echo_n "(cached) " >&6
33590else
33591  ac_check_lib_save_LIBS=$LIBS
33592LIBS="-luna  $LIBS"
33593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594/* end confdefs.h.  */
33595
33596/* Override any GCC internal prototype to avoid an error.
33597   Use char because int might match the return type of a GCC
33598   builtin and then its argument prototype would still apply.  */
33599#ifdef __cplusplus
33600extern "C"
33601#endif
33602char libuna_utf16_string_copy_from_utf8_stream ();
33603int
33604main ()
33605{
33606return libuna_utf16_string_copy_from_utf8_stream ();
33607  ;
33608  return 0;
33609}
33610_ACEOF
33611if ac_fn_c_try_link "$LINENO"; then :
33612  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes
33613else
33614  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no
33615fi
33616rm -f core conftest.err conftest.$ac_objext \
33617    conftest$ac_exeext conftest.$ac_ext
33618LIBS=$ac_check_lib_save_LIBS
33619fi
33620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5
33621$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; }
33622if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then :
33623  ac_cv_libuna_dummy=yes
33624else
33625  ac_cv_libuna=no
33626fi
33627
33628        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5
33629$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
33630if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then :
33631  $as_echo_n "(cached) " >&6
33632else
33633  ac_check_lib_save_LIBS=$LIBS
33634LIBS="-luna  $LIBS"
33635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33636/* end confdefs.h.  */
33637
33638/* Override any GCC internal prototype to avoid an error.
33639   Use char because int might match the return type of a GCC
33640   builtin and then its argument prototype would still apply.  */
33641#ifdef __cplusplus
33642extern "C"
33643#endif
33644char libuna_utf16_string_with_index_copy_from_utf8_stream ();
33645int
33646main ()
33647{
33648return libuna_utf16_string_with_index_copy_from_utf8_stream ();
33649  ;
33650  return 0;
33651}
33652_ACEOF
33653if ac_fn_c_try_link "$LINENO"; then :
33654  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes
33655else
33656  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no
33657fi
33658rm -f core conftest.err conftest.$ac_objext \
33659    conftest$ac_exeext conftest.$ac_ext
33660LIBS=$ac_check_lib_save_LIBS
33661fi
33662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5
33663$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; }
33664if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then :
33665  ac_cv_libuna_dummy=yes
33666else
33667  ac_cv_libuna=no
33668fi
33669
33670        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5
33671$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; }
33672if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then :
33673  $as_echo_n "(cached) " >&6
33674else
33675  ac_check_lib_save_LIBS=$LIBS
33676LIBS="-luna  $LIBS"
33677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33678/* end confdefs.h.  */
33679
33680/* Override any GCC internal prototype to avoid an error.
33681   Use char because int might match the return type of a GCC
33682   builtin and then its argument prototype would still apply.  */
33683#ifdef __cplusplus
33684extern "C"
33685#endif
33686char libuna_utf16_string_size_from_utf16_stream ();
33687int
33688main ()
33689{
33690return libuna_utf16_string_size_from_utf16_stream ();
33691  ;
33692  return 0;
33693}
33694_ACEOF
33695if ac_fn_c_try_link "$LINENO"; then :
33696  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes
33697else
33698  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no
33699fi
33700rm -f core conftest.err conftest.$ac_objext \
33701    conftest$ac_exeext conftest.$ac_ext
33702LIBS=$ac_check_lib_save_LIBS
33703fi
33704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5
33705$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; }
33706if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then :
33707  ac_cv_libuna_dummy=yes
33708else
33709  ac_cv_libuna=no
33710fi
33711
33712        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5
33713$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; }
33714if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then :
33715  $as_echo_n "(cached) " >&6
33716else
33717  ac_check_lib_save_LIBS=$LIBS
33718LIBS="-luna  $LIBS"
33719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33720/* end confdefs.h.  */
33721
33722/* Override any GCC internal prototype to avoid an error.
33723   Use char because int might match the return type of a GCC
33724   builtin and then its argument prototype would still apply.  */
33725#ifdef __cplusplus
33726extern "C"
33727#endif
33728char libuna_utf16_string_copy_from_utf16_stream ();
33729int
33730main ()
33731{
33732return libuna_utf16_string_copy_from_utf16_stream ();
33733  ;
33734  return 0;
33735}
33736_ACEOF
33737if ac_fn_c_try_link "$LINENO"; then :
33738  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes
33739else
33740  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no
33741fi
33742rm -f core conftest.err conftest.$ac_objext \
33743    conftest$ac_exeext conftest.$ac_ext
33744LIBS=$ac_check_lib_save_LIBS
33745fi
33746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5
33747$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; }
33748if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then :
33749  ac_cv_libuna_dummy=yes
33750else
33751  ac_cv_libuna=no
33752fi
33753
33754        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5
33755$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
33756if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then :
33757  $as_echo_n "(cached) " >&6
33758else
33759  ac_check_lib_save_LIBS=$LIBS
33760LIBS="-luna  $LIBS"
33761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33762/* end confdefs.h.  */
33763
33764/* Override any GCC internal prototype to avoid an error.
33765   Use char because int might match the return type of a GCC
33766   builtin and then its argument prototype would still apply.  */
33767#ifdef __cplusplus
33768extern "C"
33769#endif
33770char libuna_utf16_string_with_index_copy_from_utf16_stream ();
33771int
33772main ()
33773{
33774return libuna_utf16_string_with_index_copy_from_utf16_stream ();
33775  ;
33776  return 0;
33777}
33778_ACEOF
33779if ac_fn_c_try_link "$LINENO"; then :
33780  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes
33781else
33782  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no
33783fi
33784rm -f core conftest.err conftest.$ac_objext \
33785    conftest$ac_exeext conftest.$ac_ext
33786LIBS=$ac_check_lib_save_LIBS
33787fi
33788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5
33789$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; }
33790if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then :
33791  ac_cv_libuna_dummy=yes
33792else
33793  ac_cv_libuna=no
33794fi
33795
33796        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5
33797$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; }
33798if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then :
33799  $as_echo_n "(cached) " >&6
33800else
33801  ac_check_lib_save_LIBS=$LIBS
33802LIBS="-luna  $LIBS"
33803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33804/* end confdefs.h.  */
33805
33806/* Override any GCC internal prototype to avoid an error.
33807   Use char because int might match the return type of a GCC
33808   builtin and then its argument prototype would still apply.  */
33809#ifdef __cplusplus
33810extern "C"
33811#endif
33812char libuna_utf16_string_size_from_utf32_stream ();
33813int
33814main ()
33815{
33816return libuna_utf16_string_size_from_utf32_stream ();
33817  ;
33818  return 0;
33819}
33820_ACEOF
33821if ac_fn_c_try_link "$LINENO"; then :
33822  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes
33823else
33824  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no
33825fi
33826rm -f core conftest.err conftest.$ac_objext \
33827    conftest$ac_exeext conftest.$ac_ext
33828LIBS=$ac_check_lib_save_LIBS
33829fi
33830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5
33831$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; }
33832if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then :
33833  ac_cv_libuna_dummy=yes
33834else
33835  ac_cv_libuna=no
33836fi
33837
33838        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5
33839$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; }
33840if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then :
33841  $as_echo_n "(cached) " >&6
33842else
33843  ac_check_lib_save_LIBS=$LIBS
33844LIBS="-luna  $LIBS"
33845cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33846/* end confdefs.h.  */
33847
33848/* Override any GCC internal prototype to avoid an error.
33849   Use char because int might match the return type of a GCC
33850   builtin and then its argument prototype would still apply.  */
33851#ifdef __cplusplus
33852extern "C"
33853#endif
33854char libuna_utf16_string_copy_from_utf32_stream ();
33855int
33856main ()
33857{
33858return libuna_utf16_string_copy_from_utf32_stream ();
33859  ;
33860  return 0;
33861}
33862_ACEOF
33863if ac_fn_c_try_link "$LINENO"; then :
33864  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes
33865else
33866  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no
33867fi
33868rm -f core conftest.err conftest.$ac_objext \
33869    conftest$ac_exeext conftest.$ac_ext
33870LIBS=$ac_check_lib_save_LIBS
33871fi
33872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5
33873$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; }
33874if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then :
33875  ac_cv_libuna_dummy=yes
33876else
33877  ac_cv_libuna=no
33878fi
33879
33880        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5
33881$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
33882if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then :
33883  $as_echo_n "(cached) " >&6
33884else
33885  ac_check_lib_save_LIBS=$LIBS
33886LIBS="-luna  $LIBS"
33887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33888/* end confdefs.h.  */
33889
33890/* Override any GCC internal prototype to avoid an error.
33891   Use char because int might match the return type of a GCC
33892   builtin and then its argument prototype would still apply.  */
33893#ifdef __cplusplus
33894extern "C"
33895#endif
33896char libuna_utf16_string_with_index_copy_from_utf32_stream ();
33897int
33898main ()
33899{
33900return libuna_utf16_string_with_index_copy_from_utf32_stream ();
33901  ;
33902  return 0;
33903}
33904_ACEOF
33905if ac_fn_c_try_link "$LINENO"; then :
33906  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes
33907else
33908  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no
33909fi
33910rm -f core conftest.err conftest.$ac_objext \
33911    conftest$ac_exeext conftest.$ac_ext
33912LIBS=$ac_check_lib_save_LIBS
33913fi
33914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5
33915$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; }
33916if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then :
33917  ac_cv_libuna_dummy=yes
33918else
33919  ac_cv_libuna=no
33920fi
33921
33922        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5
33923$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; }
33924if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then :
33925  $as_echo_n "(cached) " >&6
33926else
33927  ac_check_lib_save_LIBS=$LIBS
33928LIBS="-luna  $LIBS"
33929cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33930/* end confdefs.h.  */
33931
33932/* Override any GCC internal prototype to avoid an error.
33933   Use char because int might match the return type of a GCC
33934   builtin and then its argument prototype would still apply.  */
33935#ifdef __cplusplus
33936extern "C"
33937#endif
33938char libuna_utf16_string_size_from_utf8 ();
33939int
33940main ()
33941{
33942return libuna_utf16_string_size_from_utf8 ();
33943  ;
33944  return 0;
33945}
33946_ACEOF
33947if ac_fn_c_try_link "$LINENO"; then :
33948  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes
33949else
33950  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no
33951fi
33952rm -f core conftest.err conftest.$ac_objext \
33953    conftest$ac_exeext conftest.$ac_ext
33954LIBS=$ac_check_lib_save_LIBS
33955fi
33956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5
33957$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; }
33958if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then :
33959  ac_cv_libuna_dummy=yes
33960else
33961  ac_cv_libuna=no
33962fi
33963
33964        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5
33965$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; }
33966if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then :
33967  $as_echo_n "(cached) " >&6
33968else
33969  ac_check_lib_save_LIBS=$LIBS
33970LIBS="-luna  $LIBS"
33971cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33972/* end confdefs.h.  */
33973
33974/* Override any GCC internal prototype to avoid an error.
33975   Use char because int might match the return type of a GCC
33976   builtin and then its argument prototype would still apply.  */
33977#ifdef __cplusplus
33978extern "C"
33979#endif
33980char libuna_utf16_string_copy_from_utf8 ();
33981int
33982main ()
33983{
33984return libuna_utf16_string_copy_from_utf8 ();
33985  ;
33986  return 0;
33987}
33988_ACEOF
33989if ac_fn_c_try_link "$LINENO"; then :
33990  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes
33991else
33992  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no
33993fi
33994rm -f core conftest.err conftest.$ac_objext \
33995    conftest$ac_exeext conftest.$ac_ext
33996LIBS=$ac_check_lib_save_LIBS
33997fi
33998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5
33999$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; }
34000if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then :
34001  ac_cv_libuna_dummy=yes
34002else
34003  ac_cv_libuna=no
34004fi
34005
34006        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5
34007$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; }
34008if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then :
34009  $as_echo_n "(cached) " >&6
34010else
34011  ac_check_lib_save_LIBS=$LIBS
34012LIBS="-luna  $LIBS"
34013cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34014/* end confdefs.h.  */
34015
34016/* Override any GCC internal prototype to avoid an error.
34017   Use char because int might match the return type of a GCC
34018   builtin and then its argument prototype would still apply.  */
34019#ifdef __cplusplus
34020extern "C"
34021#endif
34022char libuna_utf16_string_with_index_copy_from_utf8 ();
34023int
34024main ()
34025{
34026return libuna_utf16_string_with_index_copy_from_utf8 ();
34027  ;
34028  return 0;
34029}
34030_ACEOF
34031if ac_fn_c_try_link "$LINENO"; then :
34032  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes
34033else
34034  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no
34035fi
34036rm -f core conftest.err conftest.$ac_objext \
34037    conftest$ac_exeext conftest.$ac_ext
34038LIBS=$ac_check_lib_save_LIBS
34039fi
34040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5
34041$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; }
34042if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then :
34043  ac_cv_libuna_dummy=yes
34044else
34045  ac_cv_libuna=no
34046fi
34047
34048        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5
34049$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; }
34050if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then :
34051  $as_echo_n "(cached) " >&6
34052else
34053  ac_check_lib_save_LIBS=$LIBS
34054LIBS="-luna  $LIBS"
34055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34056/* end confdefs.h.  */
34057
34058/* Override any GCC internal prototype to avoid an error.
34059   Use char because int might match the return type of a GCC
34060   builtin and then its argument prototype would still apply.  */
34061#ifdef __cplusplus
34062extern "C"
34063#endif
34064char libuna_utf16_string_size_from_utf32 ();
34065int
34066main ()
34067{
34068return libuna_utf16_string_size_from_utf32 ();
34069  ;
34070  return 0;
34071}
34072_ACEOF
34073if ac_fn_c_try_link "$LINENO"; then :
34074  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes
34075else
34076  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no
34077fi
34078rm -f core conftest.err conftest.$ac_objext \
34079    conftest$ac_exeext conftest.$ac_ext
34080LIBS=$ac_check_lib_save_LIBS
34081fi
34082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5
34083$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; }
34084if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then :
34085  ac_cv_libuna_dummy=yes
34086else
34087  ac_cv_libuna=no
34088fi
34089
34090        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5
34091$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; }
34092if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then :
34093  $as_echo_n "(cached) " >&6
34094else
34095  ac_check_lib_save_LIBS=$LIBS
34096LIBS="-luna  $LIBS"
34097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34098/* end confdefs.h.  */
34099
34100/* Override any GCC internal prototype to avoid an error.
34101   Use char because int might match the return type of a GCC
34102   builtin and then its argument prototype would still apply.  */
34103#ifdef __cplusplus
34104extern "C"
34105#endif
34106char libuna_utf16_string_copy_from_utf32 ();
34107int
34108main ()
34109{
34110return libuna_utf16_string_copy_from_utf32 ();
34111  ;
34112  return 0;
34113}
34114_ACEOF
34115if ac_fn_c_try_link "$LINENO"; then :
34116  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes
34117else
34118  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no
34119fi
34120rm -f core conftest.err conftest.$ac_objext \
34121    conftest$ac_exeext conftest.$ac_ext
34122LIBS=$ac_check_lib_save_LIBS
34123fi
34124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5
34125$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; }
34126if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then :
34127  ac_cv_libuna_dummy=yes
34128else
34129  ac_cv_libuna=no
34130fi
34131
34132        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5
34133$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; }
34134if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then :
34135  $as_echo_n "(cached) " >&6
34136else
34137  ac_check_lib_save_LIBS=$LIBS
34138LIBS="-luna  $LIBS"
34139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34140/* end confdefs.h.  */
34141
34142/* Override any GCC internal prototype to avoid an error.
34143   Use char because int might match the return type of a GCC
34144   builtin and then its argument prototype would still apply.  */
34145#ifdef __cplusplus
34146extern "C"
34147#endif
34148char libuna_utf16_string_with_index_copy_from_utf32 ();
34149int
34150main ()
34151{
34152return libuna_utf16_string_with_index_copy_from_utf32 ();
34153  ;
34154  return 0;
34155}
34156_ACEOF
34157if ac_fn_c_try_link "$LINENO"; then :
34158  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes
34159else
34160  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no
34161fi
34162rm -f core conftest.err conftest.$ac_objext \
34163    conftest$ac_exeext conftest.$ac_ext
34164LIBS=$ac_check_lib_save_LIBS
34165fi
34166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5
34167$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; }
34168if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then :
34169  ac_cv_libuna_dummy=yes
34170else
34171  ac_cv_libuna=no
34172fi
34173
34174        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5
34175$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; }
34176if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then :
34177  $as_echo_n "(cached) " >&6
34178else
34179  ac_check_lib_save_LIBS=$LIBS
34180LIBS="-luna  $LIBS"
34181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34182/* end confdefs.h.  */
34183
34184/* Override any GCC internal prototype to avoid an error.
34185   Use char because int might match the return type of a GCC
34186   builtin and then its argument prototype would still apply.  */
34187#ifdef __cplusplus
34188extern "C"
34189#endif
34190char libuna_utf16_string_size_from_scsu_stream ();
34191int
34192main ()
34193{
34194return libuna_utf16_string_size_from_scsu_stream ();
34195  ;
34196  return 0;
34197}
34198_ACEOF
34199if ac_fn_c_try_link "$LINENO"; then :
34200  ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes
34201else
34202  ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no
34203fi
34204rm -f core conftest.err conftest.$ac_objext \
34205    conftest$ac_exeext conftest.$ac_ext
34206LIBS=$ac_check_lib_save_LIBS
34207fi
34208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5
34209$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; }
34210if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then :
34211  ac_cv_libuna_dummy=yes
34212else
34213  ac_cv_libuna=no
34214fi
34215
34216        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5
34217$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; }
34218if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then :
34219  $as_echo_n "(cached) " >&6
34220else
34221  ac_check_lib_save_LIBS=$LIBS
34222LIBS="-luna  $LIBS"
34223cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34224/* end confdefs.h.  */
34225
34226/* Override any GCC internal prototype to avoid an error.
34227   Use char because int might match the return type of a GCC
34228   builtin and then its argument prototype would still apply.  */
34229#ifdef __cplusplus
34230extern "C"
34231#endif
34232char libuna_utf16_string_copy_from_scsu_stream ();
34233int
34234main ()
34235{
34236return libuna_utf16_string_copy_from_scsu_stream ();
34237  ;
34238  return 0;
34239}
34240_ACEOF
34241if ac_fn_c_try_link "$LINENO"; then :
34242  ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes
34243else
34244  ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no
34245fi
34246rm -f core conftest.err conftest.$ac_objext \
34247    conftest$ac_exeext conftest.$ac_ext
34248LIBS=$ac_check_lib_save_LIBS
34249fi
34250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5
34251$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; }
34252if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then :
34253  ac_cv_libuna_dummy=yes
34254else
34255  ac_cv_libuna=no
34256fi
34257
34258        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5
34259$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
34260if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then :
34261  $as_echo_n "(cached) " >&6
34262else
34263  ac_check_lib_save_LIBS=$LIBS
34264LIBS="-luna  $LIBS"
34265cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34266/* end confdefs.h.  */
34267
34268/* Override any GCC internal prototype to avoid an error.
34269   Use char because int might match the return type of a GCC
34270   builtin and then its argument prototype would still apply.  */
34271#ifdef __cplusplus
34272extern "C"
34273#endif
34274char libuna_utf16_string_with_index_copy_from_scsu_stream ();
34275int
34276main ()
34277{
34278return libuna_utf16_string_with_index_copy_from_scsu_stream ();
34279  ;
34280  return 0;
34281}
34282_ACEOF
34283if ac_fn_c_try_link "$LINENO"; then :
34284  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes
34285else
34286  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no
34287fi
34288rm -f core conftest.err conftest.$ac_objext \
34289    conftest$ac_exeext conftest.$ac_ext
34290LIBS=$ac_check_lib_save_LIBS
34291fi
34292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5
34293$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; }
34294if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then :
34295  ac_cv_libuna_dummy=yes
34296else
34297  ac_cv_libuna=no
34298fi
34299
34300
34301                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5
34302$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; }
34303if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then :
34304  $as_echo_n "(cached) " >&6
34305else
34306  ac_check_lib_save_LIBS=$LIBS
34307LIBS="-luna  $LIBS"
34308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34309/* end confdefs.h.  */
34310
34311/* Override any GCC internal prototype to avoid an error.
34312   Use char because int might match the return type of a GCC
34313   builtin and then its argument prototype would still apply.  */
34314#ifdef __cplusplus
34315extern "C"
34316#endif
34317char libuna_utf32_string_size_from_byte_stream ();
34318int
34319main ()
34320{
34321return libuna_utf32_string_size_from_byte_stream ();
34322  ;
34323  return 0;
34324}
34325_ACEOF
34326if ac_fn_c_try_link "$LINENO"; then :
34327  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes
34328else
34329  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no
34330fi
34331rm -f core conftest.err conftest.$ac_objext \
34332    conftest$ac_exeext conftest.$ac_ext
34333LIBS=$ac_check_lib_save_LIBS
34334fi
34335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5
34336$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; }
34337if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then :
34338  ac_cv_libuna_dummy=yes
34339else
34340  ac_cv_libuna=no
34341fi
34342
34343        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5
34344$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; }
34345if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then :
34346  $as_echo_n "(cached) " >&6
34347else
34348  ac_check_lib_save_LIBS=$LIBS
34349LIBS="-luna  $LIBS"
34350cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34351/* end confdefs.h.  */
34352
34353/* Override any GCC internal prototype to avoid an error.
34354   Use char because int might match the return type of a GCC
34355   builtin and then its argument prototype would still apply.  */
34356#ifdef __cplusplus
34357extern "C"
34358#endif
34359char libuna_utf32_string_copy_from_byte_stream ();
34360int
34361main ()
34362{
34363return libuna_utf32_string_copy_from_byte_stream ();
34364  ;
34365  return 0;
34366}
34367_ACEOF
34368if ac_fn_c_try_link "$LINENO"; then :
34369  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes
34370else
34371  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no
34372fi
34373rm -f core conftest.err conftest.$ac_objext \
34374    conftest$ac_exeext conftest.$ac_ext
34375LIBS=$ac_check_lib_save_LIBS
34376fi
34377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5
34378$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; }
34379if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then :
34380  ac_cv_libuna_dummy=yes
34381else
34382  ac_cv_libuna=no
34383fi
34384
34385        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5
34386$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; }
34387if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then :
34388  $as_echo_n "(cached) " >&6
34389else
34390  ac_check_lib_save_LIBS=$LIBS
34391LIBS="-luna  $LIBS"
34392cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34393/* end confdefs.h.  */
34394
34395/* Override any GCC internal prototype to avoid an error.
34396   Use char because int might match the return type of a GCC
34397   builtin and then its argument prototype would still apply.  */
34398#ifdef __cplusplus
34399extern "C"
34400#endif
34401char libuna_utf32_string_with_index_copy_from_byte_stream ();
34402int
34403main ()
34404{
34405return libuna_utf32_string_with_index_copy_from_byte_stream ();
34406  ;
34407  return 0;
34408}
34409_ACEOF
34410if ac_fn_c_try_link "$LINENO"; then :
34411  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes
34412else
34413  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no
34414fi
34415rm -f core conftest.err conftest.$ac_objext \
34416    conftest$ac_exeext conftest.$ac_ext
34417LIBS=$ac_check_lib_save_LIBS
34418fi
34419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5
34420$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; }
34421if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then :
34422  ac_cv_libuna_dummy=yes
34423else
34424  ac_cv_libuna=no
34425fi
34426
34427        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5
34428$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; }
34429if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then :
34430  $as_echo_n "(cached) " >&6
34431else
34432  ac_check_lib_save_LIBS=$LIBS
34433LIBS="-luna  $LIBS"
34434cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34435/* end confdefs.h.  */
34436
34437/* Override any GCC internal prototype to avoid an error.
34438   Use char because int might match the return type of a GCC
34439   builtin and then its argument prototype would still apply.  */
34440#ifdef __cplusplus
34441extern "C"
34442#endif
34443char libuna_utf32_string_size_from_utf7_stream ();
34444int
34445main ()
34446{
34447return libuna_utf32_string_size_from_utf7_stream ();
34448  ;
34449  return 0;
34450}
34451_ACEOF
34452if ac_fn_c_try_link "$LINENO"; then :
34453  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes
34454else
34455  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no
34456fi
34457rm -f core conftest.err conftest.$ac_objext \
34458    conftest$ac_exeext conftest.$ac_ext
34459LIBS=$ac_check_lib_save_LIBS
34460fi
34461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5
34462$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; }
34463if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then :
34464  ac_cv_libuna_dummy=yes
34465else
34466  ac_cv_libuna=no
34467fi
34468
34469        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5
34470$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; }
34471if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then :
34472  $as_echo_n "(cached) " >&6
34473else
34474  ac_check_lib_save_LIBS=$LIBS
34475LIBS="-luna  $LIBS"
34476cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34477/* end confdefs.h.  */
34478
34479/* Override any GCC internal prototype to avoid an error.
34480   Use char because int might match the return type of a GCC
34481   builtin and then its argument prototype would still apply.  */
34482#ifdef __cplusplus
34483extern "C"
34484#endif
34485char libuna_utf32_string_copy_from_utf7_stream ();
34486int
34487main ()
34488{
34489return libuna_utf32_string_copy_from_utf7_stream ();
34490  ;
34491  return 0;
34492}
34493_ACEOF
34494if ac_fn_c_try_link "$LINENO"; then :
34495  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes
34496else
34497  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no
34498fi
34499rm -f core conftest.err conftest.$ac_objext \
34500    conftest$ac_exeext conftest.$ac_ext
34501LIBS=$ac_check_lib_save_LIBS
34502fi
34503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5
34504$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; }
34505if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then :
34506  ac_cv_libuna_dummy=yes
34507else
34508  ac_cv_libuna=no
34509fi
34510
34511        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5
34512$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
34513if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then :
34514  $as_echo_n "(cached) " >&6
34515else
34516  ac_check_lib_save_LIBS=$LIBS
34517LIBS="-luna  $LIBS"
34518cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34519/* end confdefs.h.  */
34520
34521/* Override any GCC internal prototype to avoid an error.
34522   Use char because int might match the return type of a GCC
34523   builtin and then its argument prototype would still apply.  */
34524#ifdef __cplusplus
34525extern "C"
34526#endif
34527char libuna_utf32_string_with_index_copy_from_utf7_stream ();
34528int
34529main ()
34530{
34531return libuna_utf32_string_with_index_copy_from_utf7_stream ();
34532  ;
34533  return 0;
34534}
34535_ACEOF
34536if ac_fn_c_try_link "$LINENO"; then :
34537  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes
34538else
34539  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no
34540fi
34541rm -f core conftest.err conftest.$ac_objext \
34542    conftest$ac_exeext conftest.$ac_ext
34543LIBS=$ac_check_lib_save_LIBS
34544fi
34545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5
34546$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; }
34547if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then :
34548  ac_cv_libuna_dummy=yes
34549else
34550  ac_cv_libuna=no
34551fi
34552
34553        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5
34554$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; }
34555if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then :
34556  $as_echo_n "(cached) " >&6
34557else
34558  ac_check_lib_save_LIBS=$LIBS
34559LIBS="-luna  $LIBS"
34560cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34561/* end confdefs.h.  */
34562
34563/* Override any GCC internal prototype to avoid an error.
34564   Use char because int might match the return type of a GCC
34565   builtin and then its argument prototype would still apply.  */
34566#ifdef __cplusplus
34567extern "C"
34568#endif
34569char libuna_utf32_string_size_from_utf8_stream ();
34570int
34571main ()
34572{
34573return libuna_utf32_string_size_from_utf8_stream ();
34574  ;
34575  return 0;
34576}
34577_ACEOF
34578if ac_fn_c_try_link "$LINENO"; then :
34579  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes
34580else
34581  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no
34582fi
34583rm -f core conftest.err conftest.$ac_objext \
34584    conftest$ac_exeext conftest.$ac_ext
34585LIBS=$ac_check_lib_save_LIBS
34586fi
34587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5
34588$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; }
34589if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then :
34590  ac_cv_libuna_dummy=yes
34591else
34592  ac_cv_libuna=no
34593fi
34594
34595        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5
34596$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; }
34597if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then :
34598  $as_echo_n "(cached) " >&6
34599else
34600  ac_check_lib_save_LIBS=$LIBS
34601LIBS="-luna  $LIBS"
34602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34603/* end confdefs.h.  */
34604
34605/* Override any GCC internal prototype to avoid an error.
34606   Use char because int might match the return type of a GCC
34607   builtin and then its argument prototype would still apply.  */
34608#ifdef __cplusplus
34609extern "C"
34610#endif
34611char libuna_utf32_string_copy_from_utf8_stream ();
34612int
34613main ()
34614{
34615return libuna_utf32_string_copy_from_utf8_stream ();
34616  ;
34617  return 0;
34618}
34619_ACEOF
34620if ac_fn_c_try_link "$LINENO"; then :
34621  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes
34622else
34623  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no
34624fi
34625rm -f core conftest.err conftest.$ac_objext \
34626    conftest$ac_exeext conftest.$ac_ext
34627LIBS=$ac_check_lib_save_LIBS
34628fi
34629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5
34630$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; }
34631if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then :
34632  ac_cv_libuna_dummy=yes
34633else
34634  ac_cv_libuna=no
34635fi
34636
34637        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5
34638$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
34639if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then :
34640  $as_echo_n "(cached) " >&6
34641else
34642  ac_check_lib_save_LIBS=$LIBS
34643LIBS="-luna  $LIBS"
34644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34645/* end confdefs.h.  */
34646
34647/* Override any GCC internal prototype to avoid an error.
34648   Use char because int might match the return type of a GCC
34649   builtin and then its argument prototype would still apply.  */
34650#ifdef __cplusplus
34651extern "C"
34652#endif
34653char libuna_utf32_string_with_index_copy_from_utf8_stream ();
34654int
34655main ()
34656{
34657return libuna_utf32_string_with_index_copy_from_utf8_stream ();
34658  ;
34659  return 0;
34660}
34661_ACEOF
34662if ac_fn_c_try_link "$LINENO"; then :
34663  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes
34664else
34665  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no
34666fi
34667rm -f core conftest.err conftest.$ac_objext \
34668    conftest$ac_exeext conftest.$ac_ext
34669LIBS=$ac_check_lib_save_LIBS
34670fi
34671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5
34672$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; }
34673if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then :
34674  ac_cv_libuna_dummy=yes
34675else
34676  ac_cv_libuna=no
34677fi
34678
34679        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5
34680$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; }
34681if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then :
34682  $as_echo_n "(cached) " >&6
34683else
34684  ac_check_lib_save_LIBS=$LIBS
34685LIBS="-luna  $LIBS"
34686cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687/* end confdefs.h.  */
34688
34689/* Override any GCC internal prototype to avoid an error.
34690   Use char because int might match the return type of a GCC
34691   builtin and then its argument prototype would still apply.  */
34692#ifdef __cplusplus
34693extern "C"
34694#endif
34695char libuna_utf32_string_size_from_utf16_stream ();
34696int
34697main ()
34698{
34699return libuna_utf32_string_size_from_utf16_stream ();
34700  ;
34701  return 0;
34702}
34703_ACEOF
34704if ac_fn_c_try_link "$LINENO"; then :
34705  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes
34706else
34707  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no
34708fi
34709rm -f core conftest.err conftest.$ac_objext \
34710    conftest$ac_exeext conftest.$ac_ext
34711LIBS=$ac_check_lib_save_LIBS
34712fi
34713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5
34714$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; }
34715if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then :
34716  ac_cv_libuna_dummy=yes
34717else
34718  ac_cv_libuna=no
34719fi
34720
34721        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5
34722$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; }
34723if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then :
34724  $as_echo_n "(cached) " >&6
34725else
34726  ac_check_lib_save_LIBS=$LIBS
34727LIBS="-luna  $LIBS"
34728cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34729/* end confdefs.h.  */
34730
34731/* Override any GCC internal prototype to avoid an error.
34732   Use char because int might match the return type of a GCC
34733   builtin and then its argument prototype would still apply.  */
34734#ifdef __cplusplus
34735extern "C"
34736#endif
34737char libuna_utf32_string_copy_from_utf16_stream ();
34738int
34739main ()
34740{
34741return libuna_utf32_string_copy_from_utf16_stream ();
34742  ;
34743  return 0;
34744}
34745_ACEOF
34746if ac_fn_c_try_link "$LINENO"; then :
34747  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes
34748else
34749  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no
34750fi
34751rm -f core conftest.err conftest.$ac_objext \
34752    conftest$ac_exeext conftest.$ac_ext
34753LIBS=$ac_check_lib_save_LIBS
34754fi
34755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5
34756$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; }
34757if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then :
34758  ac_cv_libuna_dummy=yes
34759else
34760  ac_cv_libuna=no
34761fi
34762
34763        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5
34764$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
34765if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then :
34766  $as_echo_n "(cached) " >&6
34767else
34768  ac_check_lib_save_LIBS=$LIBS
34769LIBS="-luna  $LIBS"
34770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34771/* end confdefs.h.  */
34772
34773/* Override any GCC internal prototype to avoid an error.
34774   Use char because int might match the return type of a GCC
34775   builtin and then its argument prototype would still apply.  */
34776#ifdef __cplusplus
34777extern "C"
34778#endif
34779char libuna_utf32_string_with_index_copy_from_utf16_stream ();
34780int
34781main ()
34782{
34783return libuna_utf32_string_with_index_copy_from_utf16_stream ();
34784  ;
34785  return 0;
34786}
34787_ACEOF
34788if ac_fn_c_try_link "$LINENO"; then :
34789  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes
34790else
34791  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no
34792fi
34793rm -f core conftest.err conftest.$ac_objext \
34794    conftest$ac_exeext conftest.$ac_ext
34795LIBS=$ac_check_lib_save_LIBS
34796fi
34797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5
34798$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; }
34799if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then :
34800  ac_cv_libuna_dummy=yes
34801else
34802  ac_cv_libuna=no
34803fi
34804
34805        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5
34806$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; }
34807if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then :
34808  $as_echo_n "(cached) " >&6
34809else
34810  ac_check_lib_save_LIBS=$LIBS
34811LIBS="-luna  $LIBS"
34812cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34813/* end confdefs.h.  */
34814
34815/* Override any GCC internal prototype to avoid an error.
34816   Use char because int might match the return type of a GCC
34817   builtin and then its argument prototype would still apply.  */
34818#ifdef __cplusplus
34819extern "C"
34820#endif
34821char libuna_utf32_string_size_from_utf32_stream ();
34822int
34823main ()
34824{
34825return libuna_utf32_string_size_from_utf32_stream ();
34826  ;
34827  return 0;
34828}
34829_ACEOF
34830if ac_fn_c_try_link "$LINENO"; then :
34831  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes
34832else
34833  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no
34834fi
34835rm -f core conftest.err conftest.$ac_objext \
34836    conftest$ac_exeext conftest.$ac_ext
34837LIBS=$ac_check_lib_save_LIBS
34838fi
34839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5
34840$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; }
34841if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then :
34842  ac_cv_libuna_dummy=yes
34843else
34844  ac_cv_libuna=no
34845fi
34846
34847        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5
34848$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; }
34849if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then :
34850  $as_echo_n "(cached) " >&6
34851else
34852  ac_check_lib_save_LIBS=$LIBS
34853LIBS="-luna  $LIBS"
34854cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34855/* end confdefs.h.  */
34856
34857/* Override any GCC internal prototype to avoid an error.
34858   Use char because int might match the return type of a GCC
34859   builtin and then its argument prototype would still apply.  */
34860#ifdef __cplusplus
34861extern "C"
34862#endif
34863char libuna_utf32_string_copy_from_utf32_stream ();
34864int
34865main ()
34866{
34867return libuna_utf32_string_copy_from_utf32_stream ();
34868  ;
34869  return 0;
34870}
34871_ACEOF
34872if ac_fn_c_try_link "$LINENO"; then :
34873  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes
34874else
34875  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no
34876fi
34877rm -f core conftest.err conftest.$ac_objext \
34878    conftest$ac_exeext conftest.$ac_ext
34879LIBS=$ac_check_lib_save_LIBS
34880fi
34881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5
34882$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; }
34883if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then :
34884  ac_cv_libuna_dummy=yes
34885else
34886  ac_cv_libuna=no
34887fi
34888
34889        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5
34890$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
34891if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then :
34892  $as_echo_n "(cached) " >&6
34893else
34894  ac_check_lib_save_LIBS=$LIBS
34895LIBS="-luna  $LIBS"
34896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34897/* end confdefs.h.  */
34898
34899/* Override any GCC internal prototype to avoid an error.
34900   Use char because int might match the return type of a GCC
34901   builtin and then its argument prototype would still apply.  */
34902#ifdef __cplusplus
34903extern "C"
34904#endif
34905char libuna_utf32_string_with_index_copy_from_utf32_stream ();
34906int
34907main ()
34908{
34909return libuna_utf32_string_with_index_copy_from_utf32_stream ();
34910  ;
34911  return 0;
34912}
34913_ACEOF
34914if ac_fn_c_try_link "$LINENO"; then :
34915  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes
34916else
34917  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no
34918fi
34919rm -f core conftest.err conftest.$ac_objext \
34920    conftest$ac_exeext conftest.$ac_ext
34921LIBS=$ac_check_lib_save_LIBS
34922fi
34923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5
34924$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; }
34925if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then :
34926  ac_cv_libuna_dummy=yes
34927else
34928  ac_cv_libuna=no
34929fi
34930
34931        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5
34932$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; }
34933if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then :
34934  $as_echo_n "(cached) " >&6
34935else
34936  ac_check_lib_save_LIBS=$LIBS
34937LIBS="-luna  $LIBS"
34938cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939/* end confdefs.h.  */
34940
34941/* Override any GCC internal prototype to avoid an error.
34942   Use char because int might match the return type of a GCC
34943   builtin and then its argument prototype would still apply.  */
34944#ifdef __cplusplus
34945extern "C"
34946#endif
34947char libuna_utf32_string_size_from_utf8 ();
34948int
34949main ()
34950{
34951return libuna_utf32_string_size_from_utf8 ();
34952  ;
34953  return 0;
34954}
34955_ACEOF
34956if ac_fn_c_try_link "$LINENO"; then :
34957  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes
34958else
34959  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no
34960fi
34961rm -f core conftest.err conftest.$ac_objext \
34962    conftest$ac_exeext conftest.$ac_ext
34963LIBS=$ac_check_lib_save_LIBS
34964fi
34965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5
34966$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; }
34967if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then :
34968  ac_cv_libuna_dummy=yes
34969else
34970  ac_cv_libuna=no
34971fi
34972
34973        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5
34974$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; }
34975if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then :
34976  $as_echo_n "(cached) " >&6
34977else
34978  ac_check_lib_save_LIBS=$LIBS
34979LIBS="-luna  $LIBS"
34980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34981/* end confdefs.h.  */
34982
34983/* Override any GCC internal prototype to avoid an error.
34984   Use char because int might match the return type of a GCC
34985   builtin and then its argument prototype would still apply.  */
34986#ifdef __cplusplus
34987extern "C"
34988#endif
34989char libuna_utf32_string_copy_from_utf8 ();
34990int
34991main ()
34992{
34993return libuna_utf32_string_copy_from_utf8 ();
34994  ;
34995  return 0;
34996}
34997_ACEOF
34998if ac_fn_c_try_link "$LINENO"; then :
34999  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes
35000else
35001  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no
35002fi
35003rm -f core conftest.err conftest.$ac_objext \
35004    conftest$ac_exeext conftest.$ac_ext
35005LIBS=$ac_check_lib_save_LIBS
35006fi
35007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5
35008$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; }
35009if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then :
35010  ac_cv_libuna_dummy=yes
35011else
35012  ac_cv_libuna=no
35013fi
35014
35015        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5
35016$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; }
35017if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then :
35018  $as_echo_n "(cached) " >&6
35019else
35020  ac_check_lib_save_LIBS=$LIBS
35021LIBS="-llibuna_utf32_string_with_index_copy_from_utf8  $LIBS"
35022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35023/* end confdefs.h.  */
35024
35025/* Override any GCC internal prototype to avoid an error.
35026   Use char because int might match the return type of a GCC
35027   builtin and then its argument prototype would still apply.  */
35028#ifdef __cplusplus
35029extern "C"
35030#endif
35031char ac_cv_libuna_dummy=yes ();
35032int
35033main ()
35034{
35035return ac_cv_libuna_dummy=yes ();
35036  ;
35037  return 0;
35038}
35039_ACEOF
35040if ac_fn_c_try_link "$LINENO"; then :
35041  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes
35042else
35043  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no
35044fi
35045rm -f core conftest.err conftest.$ac_objext \
35046    conftest$ac_exeext conftest.$ac_ext
35047LIBS=$ac_check_lib_save_LIBS
35048fi
35049{ $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
35050$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; }
35051if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then :
35052  ac_cv_libuna=no
35053fi
35054
35055        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5
35056$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; }
35057if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then :
35058  $as_echo_n "(cached) " >&6
35059else
35060  ac_check_lib_save_LIBS=$LIBS
35061LIBS="-luna  $LIBS"
35062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35063/* end confdefs.h.  */
35064
35065/* Override any GCC internal prototype to avoid an error.
35066   Use char because int might match the return type of a GCC
35067   builtin and then its argument prototype would still apply.  */
35068#ifdef __cplusplus
35069extern "C"
35070#endif
35071char libuna_utf32_string_size_from_utf16 ();
35072int
35073main ()
35074{
35075return libuna_utf32_string_size_from_utf16 ();
35076  ;
35077  return 0;
35078}
35079_ACEOF
35080if ac_fn_c_try_link "$LINENO"; then :
35081  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes
35082else
35083  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no
35084fi
35085rm -f core conftest.err conftest.$ac_objext \
35086    conftest$ac_exeext conftest.$ac_ext
35087LIBS=$ac_check_lib_save_LIBS
35088fi
35089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5
35090$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; }
35091if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then :
35092  ac_cv_libuna_dummy=yes
35093else
35094  ac_cv_libuna=no
35095fi
35096
35097        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5
35098$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; }
35099if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then :
35100  $as_echo_n "(cached) " >&6
35101else
35102  ac_check_lib_save_LIBS=$LIBS
35103LIBS="-luna  $LIBS"
35104cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35105/* end confdefs.h.  */
35106
35107/* Override any GCC internal prototype to avoid an error.
35108   Use char because int might match the return type of a GCC
35109   builtin and then its argument prototype would still apply.  */
35110#ifdef __cplusplus
35111extern "C"
35112#endif
35113char libuna_utf32_string_copy_from_utf16 ();
35114int
35115main ()
35116{
35117return libuna_utf32_string_copy_from_utf16 ();
35118  ;
35119  return 0;
35120}
35121_ACEOF
35122if ac_fn_c_try_link "$LINENO"; then :
35123  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes
35124else
35125  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no
35126fi
35127rm -f core conftest.err conftest.$ac_objext \
35128    conftest$ac_exeext conftest.$ac_ext
35129LIBS=$ac_check_lib_save_LIBS
35130fi
35131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5
35132$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; }
35133if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then :
35134  ac_cv_libuna_dummy=yes
35135else
35136  ac_cv_libuna=no
35137fi
35138
35139        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5
35140$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; }
35141if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then :
35142  $as_echo_n "(cached) " >&6
35143else
35144  ac_check_lib_save_LIBS=$LIBS
35145LIBS="-luna  $LIBS"
35146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35147/* end confdefs.h.  */
35148
35149/* Override any GCC internal prototype to avoid an error.
35150   Use char because int might match the return type of a GCC
35151   builtin and then its argument prototype would still apply.  */
35152#ifdef __cplusplus
35153extern "C"
35154#endif
35155char libuna_utf32_string_with_index_copy_from_utf16 ();
35156int
35157main ()
35158{
35159return libuna_utf32_string_with_index_copy_from_utf16 ();
35160  ;
35161  return 0;
35162}
35163_ACEOF
35164if ac_fn_c_try_link "$LINENO"; then :
35165  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes
35166else
35167  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no
35168fi
35169rm -f core conftest.err conftest.$ac_objext \
35170    conftest$ac_exeext conftest.$ac_ext
35171LIBS=$ac_check_lib_save_LIBS
35172fi
35173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5
35174$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; }
35175if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then :
35176  ac_cv_libuna_dummy=yes
35177else
35178  ac_cv_libuna=no
35179fi
35180
35181        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5
35182$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; }
35183if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then :
35184  $as_echo_n "(cached) " >&6
35185else
35186  ac_check_lib_save_LIBS=$LIBS
35187LIBS="-luna  $LIBS"
35188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189/* end confdefs.h.  */
35190
35191/* Override any GCC internal prototype to avoid an error.
35192   Use char because int might match the return type of a GCC
35193   builtin and then its argument prototype would still apply.  */
35194#ifdef __cplusplus
35195extern "C"
35196#endif
35197char libuna_utf32_string_size_from_scsu_stream ();
35198int
35199main ()
35200{
35201return libuna_utf32_string_size_from_scsu_stream ();
35202  ;
35203  return 0;
35204}
35205_ACEOF
35206if ac_fn_c_try_link "$LINENO"; then :
35207  ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes
35208else
35209  ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no
35210fi
35211rm -f core conftest.err conftest.$ac_objext \
35212    conftest$ac_exeext conftest.$ac_ext
35213LIBS=$ac_check_lib_save_LIBS
35214fi
35215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5
35216$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; }
35217if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then :
35218  ac_cv_libuna_dummy=yes
35219else
35220  ac_cv_libuna=no
35221fi
35222
35223        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5
35224$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; }
35225if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then :
35226  $as_echo_n "(cached) " >&6
35227else
35228  ac_check_lib_save_LIBS=$LIBS
35229LIBS="-luna  $LIBS"
35230cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35231/* end confdefs.h.  */
35232
35233/* Override any GCC internal prototype to avoid an error.
35234   Use char because int might match the return type of a GCC
35235   builtin and then its argument prototype would still apply.  */
35236#ifdef __cplusplus
35237extern "C"
35238#endif
35239char libuna_utf32_string_copy_from_scsu_stream ();
35240int
35241main ()
35242{
35243return libuna_utf32_string_copy_from_scsu_stream ();
35244  ;
35245  return 0;
35246}
35247_ACEOF
35248if ac_fn_c_try_link "$LINENO"; then :
35249  ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes
35250else
35251  ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no
35252fi
35253rm -f core conftest.err conftest.$ac_objext \
35254    conftest$ac_exeext conftest.$ac_ext
35255LIBS=$ac_check_lib_save_LIBS
35256fi
35257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5
35258$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; }
35259if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then :
35260  ac_cv_libuna_dummy=yes
35261else
35262  ac_cv_libuna=no
35263fi
35264
35265        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5
35266$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
35267if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then :
35268  $as_echo_n "(cached) " >&6
35269else
35270  ac_check_lib_save_LIBS=$LIBS
35271LIBS="-luna  $LIBS"
35272cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35273/* end confdefs.h.  */
35274
35275/* Override any GCC internal prototype to avoid an error.
35276   Use char because int might match the return type of a GCC
35277   builtin and then its argument prototype would still apply.  */
35278#ifdef __cplusplus
35279extern "C"
35280#endif
35281char libuna_utf32_string_with_index_copy_from_scsu_stream ();
35282int
35283main ()
35284{
35285return libuna_utf32_string_with_index_copy_from_scsu_stream ();
35286  ;
35287  return 0;
35288}
35289_ACEOF
35290if ac_fn_c_try_link "$LINENO"; then :
35291  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes
35292else
35293  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no
35294fi
35295rm -f core conftest.err conftest.$ac_objext \
35296    conftest$ac_exeext conftest.$ac_ext
35297LIBS=$ac_check_lib_save_LIBS
35298fi
35299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5
35300$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; }
35301if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then :
35302  ac_cv_libuna_dummy=yes
35303else
35304  ac_cv_libuna=no
35305fi
35306
35307
35308                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5
35309$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; }
35310if ${ac_cv_libuna_defines_compare_less+:} false; then :
35311  $as_echo_n "(cached) " >&6
35312else
35313  ac_ext=c
35314ac_cpp='$CPP $CPPFLAGS'
35315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317ac_compiler_gnu=$ac_cv_c_compiler_gnu
35318
35319    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35320/* end confdefs.h.  */
35321#include <libuna.h>
35322int
35323main ()
35324{
35325int test = LIBUNA_COMPARE_LESS;
35326
35327return( 0 );
35328  ;
35329  return 0;
35330}
35331_ACEOF
35332if ac_fn_c_try_link "$LINENO"; then :
35333  ac_cv_libuna_defines_compare_less=yes
35334else
35335  ac_cv_libuna_defines_compare_less=no
35336fi
35337rm -f core conftest.err conftest.$ac_objext \
35338    conftest$ac_exeext conftest.$ac_ext
35339    ac_ext=c
35340ac_cpp='$CPP $CPPFLAGS'
35341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343ac_compiler_gnu=$ac_cv_c_compiler_gnu
35344
35345fi
35346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5
35347$as_echo "$ac_cv_libuna_defines_compare_less" >&6; }
35348
35349        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35350  ac_cv_libuna=no
35351fi
35352
35353        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5
35354$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; }
35355if ${ac_cv_libuna_defines_compare_equal+:} false; then :
35356  $as_echo_n "(cached) " >&6
35357else
35358  ac_ext=c
35359ac_cpp='$CPP $CPPFLAGS'
35360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35362ac_compiler_gnu=$ac_cv_c_compiler_gnu
35363
35364    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35365/* end confdefs.h.  */
35366#include <libuna.h>
35367int
35368main ()
35369{
35370int test = LIBUNA_COMPARE_EQUAL;
35371
35372return( 0 );
35373  ;
35374  return 0;
35375}
35376_ACEOF
35377if ac_fn_c_try_link "$LINENO"; then :
35378  ac_cv_libuna_defines_compare_equal=yes
35379else
35380  ac_cv_libuna_defines_compare_equal=no
35381fi
35382rm -f core conftest.err conftest.$ac_objext \
35383    conftest$ac_exeext conftest.$ac_ext
35384    ac_ext=c
35385ac_cpp='$CPP $CPPFLAGS'
35386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388ac_compiler_gnu=$ac_cv_c_compiler_gnu
35389
35390fi
35391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5
35392$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; }
35393
35394        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35395  ac_cv_libuna=no
35396fi
35397
35398        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5
35399$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; }
35400if ${ac_cv_libuna_defines_compare_greater+:} false; then :
35401  $as_echo_n "(cached) " >&6
35402else
35403  ac_ext=c
35404ac_cpp='$CPP $CPPFLAGS'
35405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35407ac_compiler_gnu=$ac_cv_c_compiler_gnu
35408
35409    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35410/* end confdefs.h.  */
35411#include <libuna.h>
35412int
35413main ()
35414{
35415int test = LIBUNA_COMPARE_GREATER;
35416
35417return( 0 );
35418  ;
35419  return 0;
35420}
35421_ACEOF
35422if ac_fn_c_try_link "$LINENO"; then :
35423  ac_cv_libuna_defines_compare_greater=yes
35424else
35425  ac_cv_libuna_defines_compare_greater=no
35426fi
35427rm -f core conftest.err conftest.$ac_objext \
35428    conftest$ac_exeext conftest.$ac_ext
35429    ac_ext=c
35430ac_cpp='$CPP $CPPFLAGS'
35431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433ac_compiler_gnu=$ac_cv_c_compiler_gnu
35434
35435fi
35436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5
35437$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; }
35438
35439        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35440  ac_cv_libuna=no
35441fi
35442
35443        ac_cv_libuna_LIBADD="-luna"
35444fi
35445
35446fi
35447    if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then :
35448  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35449$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35450as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna
35451See \`config.log' for more details" "$LINENO" 5; }
35452
35453fi
35454
35455fi
35456
35457  if test "x$ac_cv_libuna" = xyes; then :
35458
35459$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h
35460
35461
35462fi
35463
35464  if test "x$ac_cv_libuna" = xyes; then :
35465  HAVE_LIBUNA=1
35466
35467else
35468  HAVE_LIBUNA=0
35469
35470
35471fi
35472
35473
35474    if test "x$ac_cv_libuna" != xyes; then :
35475
35476  ac_cv_libuna_CPPFLAGS="-I../libuna";
35477  ac_cv_libuna_LIBADD="../libuna/libuna.la";
35478
35479  ac_cv_libuna=local
35480
35481
35482
35483$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h
35484
35485    HAVE_LOCAL_LIBUNA=1
35486
35487
35488fi
35489
35490   if test "x$ac_cv_libuna" = xlocal; then
35491  HAVE_LOCAL_LIBUNA_TRUE=
35492  HAVE_LOCAL_LIBUNA_FALSE='#'
35493else
35494  HAVE_LOCAL_LIBUNA_TRUE='#'
35495  HAVE_LOCAL_LIBUNA_FALSE=
35496fi
35497
35498  if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then :
35499  LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS
35500
35501
35502fi
35503  if test "x$ac_cv_libuna_LIBADD" != "x"; then :
35504  LIBUNA_LIBADD=$ac_cv_libuna_LIBADD
35505
35506
35507fi
35508
35509  if test "x$ac_cv_libuna" = xyes; then :
35510  ax_libuna_pc_libs_private=-luna
35511
35512
35513fi
35514
35515  if test "x$ac_cv_libuna" = xyes; then :
35516  ax_libuna_spec_requires=libuna
35517
35518    ax_libuna_spec_build_requires=libuna-devel
35519
35520
35521fi
35522
35523
35524
35525
35526# Check whether --with-libcfile was given.
35527if test "${with_libcfile+set}" = set; then :
35528  withval=$with_libcfile; ac_cv_with_libcfile=$withval
35529else
35530  ac_cv_with_libcfile=auto-detect
35531fi
35532
35533    { $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
35534$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; }
35535if ${ac_cv_with_libcfile+:} false; then :
35536  $as_echo_n "(cached) " >&6
35537else
35538  ac_cv_with_libcfile=auto-detect
35539fi
35540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5
35541$as_echo "$ac_cv_with_libcfile" >&6; }
35542
35543    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then :
35544  ac_cv_libcfile=no
35545else
35546  ac_cv_libcfile=check
35547        if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then :
35548  if test -d "$ac_cv_with_libcfile"; then :
35549  CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include"
35550        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib"
35551else
35552  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35554as_fn_error 1 "no such directory: $ac_cv_with_libcfile
35555See \`config.log' for more details" "$LINENO" 5; }
35556
35557fi
35558
35559else
35560        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
35561
35562pkg_failed=no
35563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5
35564$as_echo_n "checking for libcfile... " >&6; }
35565
35566if test -n "$libcfile_CFLAGS"; then
35567    pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS"
35568 elif test -n "$PKG_CONFIG"; then
35569    if test -n "$PKG_CONFIG" && \
35570    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
35571  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
35572  ac_status=$?
35573  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35574  test $ac_status = 0; }; then
35575  pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null`
35576		      test "x$?" != "x0" && pkg_failed=yes
35577else
35578  pkg_failed=yes
35579fi
35580 else
35581    pkg_failed=untried
35582fi
35583if test -n "$libcfile_LIBS"; then
35584    pkg_cv_libcfile_LIBS="$libcfile_LIBS"
35585 elif test -n "$PKG_CONFIG"; then
35586    if test -n "$PKG_CONFIG" && \
35587    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
35588  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
35589  ac_status=$?
35590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35591  test $ac_status = 0; }; then
35592  pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null`
35593		      test "x$?" != "x0" && pkg_failed=yes
35594else
35595  pkg_failed=yes
35596fi
35597 else
35598    pkg_failed=untried
35599fi
35600
35601
35602
35603if test $pkg_failed = yes; then
35604   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35605$as_echo "no" >&6; }
35606
35607if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35608        _pkg_short_errors_supported=yes
35609else
35610        _pkg_short_errors_supported=no
35611fi
35612        if test $_pkg_short_errors_supported = yes; then
35613	        libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
35614        else
35615	        libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
35616        fi
35617	# Put the nasty error message in config.log where it belongs
35618	echo "$libcfile_PKG_ERRORS" >&5
35619
35620	ac_cv_libcfile=check
35621elif test $pkg_failed = untried; then
35622     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35623$as_echo "no" >&6; }
35624	ac_cv_libcfile=check
35625else
35626	libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS
35627	libcfile_LIBS=$pkg_cv_libcfile_LIBS
35628        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35629$as_echo "yes" >&6; }
35630	ac_cv_libcfile=yes
35631fi
35632
35633fi
35634      if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
35635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
35636$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
35637if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then :
35638  $as_echo_n "(cached) " >&6
35639else
35640  ac_ext=c
35641ac_cpp='$CPP $CPPFLAGS'
35642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35644ac_compiler_gnu=$ac_cv_c_compiler_gnu
35645
35646         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35647/* end confdefs.h.  */
35648#include <libcfile/features.h>
35649int
35650main ()
35651{
35652#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 )
35653#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined
35654#endif
35655  ;
35656  return 0;
35657}
35658_ACEOF
35659if ac_fn_c_try_compile "$LINENO"; then :
35660  ac_cv_header_libcfile_features_h_have_wide_character_type=yes
35661else
35662  ac_cv_header_libcfile_features_h_have_wide_character_type=no
35663fi
35664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35665         ac_ext=c
35666ac_cpp='$CPP $CPPFLAGS'
35667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35669ac_compiler_gnu=$ac_cv_c_compiler_gnu
35670
35671fi
35672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5
35673$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; }
35674
35675        if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then :
35676  ac_cv_libcfile=no
35677fi
35678
35679fi
35680      if test "x$ac_cv_libcfile" = xyes; then :
35681  ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS"
35682        ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS"
35683fi
35684
35685fi
35686
35687    if test "x$ac_cv_libcfile" = xcheck; then :
35688        for ac_header in libcfile.h
35689do :
35690  ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default"
35691if test "x$ac_cv_header_libcfile_h" = xyes; then :
35692  cat >>confdefs.h <<_ACEOF
35693#define HAVE_LIBCFILE_H 1
35694_ACEOF
35695
35696fi
35697
35698done
35699
35700
35701      if test "x$ac_cv_header_libcfile_h" = xno; then :
35702  ac_cv_libcfile=no
35703else
35704          ac_cv_libcfile=yes
35705
35706        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5
35707$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; }
35708if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then :
35709  $as_echo_n "(cached) " >&6
35710else
35711  ac_check_lib_save_LIBS=$LIBS
35712LIBS="-lcfile  $LIBS"
35713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35714/* end confdefs.h.  */
35715
35716/* Override any GCC internal prototype to avoid an error.
35717   Use char because int might match the return type of a GCC
35718   builtin and then its argument prototype would still apply.  */
35719#ifdef __cplusplus
35720extern "C"
35721#endif
35722char libcfile_get_version ();
35723int
35724main ()
35725{
35726return libcfile_get_version ();
35727  ;
35728  return 0;
35729}
35730_ACEOF
35731if ac_fn_c_try_link "$LINENO"; then :
35732  ac_cv_lib_cfile_libcfile_get_version=yes
35733else
35734  ac_cv_lib_cfile_libcfile_get_version=no
35735fi
35736rm -f core conftest.err conftest.$ac_objext \
35737    conftest$ac_exeext conftest.$ac_ext
35738LIBS=$ac_check_lib_save_LIBS
35739fi
35740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5
35741$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; }
35742if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then :
35743  ac_cv_libcfile_dummy=yes
35744else
35745  ac_cv_libcfile=no
35746fi
35747
35748
35749                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5
35750$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; }
35751if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then :
35752  $as_echo_n "(cached) " >&6
35753else
35754  ac_check_lib_save_LIBS=$LIBS
35755LIBS="-lcfile  $LIBS"
35756cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757/* end confdefs.h.  */
35758
35759/* Override any GCC internal prototype to avoid an error.
35760   Use char because int might match the return type of a GCC
35761   builtin and then its argument prototype would still apply.  */
35762#ifdef __cplusplus
35763extern "C"
35764#endif
35765char libcfile_file_initialize ();
35766int
35767main ()
35768{
35769return libcfile_file_initialize ();
35770  ;
35771  return 0;
35772}
35773_ACEOF
35774if ac_fn_c_try_link "$LINENO"; then :
35775  ac_cv_lib_cfile_libcfile_file_initialize=yes
35776else
35777  ac_cv_lib_cfile_libcfile_file_initialize=no
35778fi
35779rm -f core conftest.err conftest.$ac_objext \
35780    conftest$ac_exeext conftest.$ac_ext
35781LIBS=$ac_check_lib_save_LIBS
35782fi
35783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5
35784$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; }
35785if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then :
35786  ac_cv_libcfile_dummy=yes
35787else
35788  ac_cv_libcfile=no
35789fi
35790
35791        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5
35792$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; }
35793if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then :
35794  $as_echo_n "(cached) " >&6
35795else
35796  ac_check_lib_save_LIBS=$LIBS
35797LIBS="-lcfile  $LIBS"
35798cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35799/* end confdefs.h.  */
35800
35801/* Override any GCC internal prototype to avoid an error.
35802   Use char because int might match the return type of a GCC
35803   builtin and then its argument prototype would still apply.  */
35804#ifdef __cplusplus
35805extern "C"
35806#endif
35807char libcfile_file_free ();
35808int
35809main ()
35810{
35811return libcfile_file_free ();
35812  ;
35813  return 0;
35814}
35815_ACEOF
35816if ac_fn_c_try_link "$LINENO"; then :
35817  ac_cv_lib_cfile_libcfile_file_free=yes
35818else
35819  ac_cv_lib_cfile_libcfile_file_free=no
35820fi
35821rm -f core conftest.err conftest.$ac_objext \
35822    conftest$ac_exeext conftest.$ac_ext
35823LIBS=$ac_check_lib_save_LIBS
35824fi
35825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5
35826$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; }
35827if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then :
35828  ac_cv_libcfile_dummy=yes
35829else
35830  ac_cv_libcfile=no
35831fi
35832
35833        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5
35834$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; }
35835if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then :
35836  $as_echo_n "(cached) " >&6
35837else
35838  ac_check_lib_save_LIBS=$LIBS
35839LIBS="-lcfile  $LIBS"
35840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35841/* end confdefs.h.  */
35842
35843/* Override any GCC internal prototype to avoid an error.
35844   Use char because int might match the return type of a GCC
35845   builtin and then its argument prototype would still apply.  */
35846#ifdef __cplusplus
35847extern "C"
35848#endif
35849char libcfile_file_open ();
35850int
35851main ()
35852{
35853return libcfile_file_open ();
35854  ;
35855  return 0;
35856}
35857_ACEOF
35858if ac_fn_c_try_link "$LINENO"; then :
35859  ac_cv_lib_cfile_libcfile_file_open=yes
35860else
35861  ac_cv_lib_cfile_libcfile_file_open=no
35862fi
35863rm -f core conftest.err conftest.$ac_objext \
35864    conftest$ac_exeext conftest.$ac_ext
35865LIBS=$ac_check_lib_save_LIBS
35866fi
35867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5
35868$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; }
35869if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then :
35870  ac_cv_libcfile_dummy=yes
35871else
35872  ac_cv_libcfile=no
35873fi
35874
35875        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5
35876$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; }
35877if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then :
35878  $as_echo_n "(cached) " >&6
35879else
35880  ac_check_lib_save_LIBS=$LIBS
35881LIBS="-lcfile  $LIBS"
35882cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35883/* end confdefs.h.  */
35884
35885/* Override any GCC internal prototype to avoid an error.
35886   Use char because int might match the return type of a GCC
35887   builtin and then its argument prototype would still apply.  */
35888#ifdef __cplusplus
35889extern "C"
35890#endif
35891char libcfile_file_open_with_error_code ();
35892int
35893main ()
35894{
35895return libcfile_file_open_with_error_code ();
35896  ;
35897  return 0;
35898}
35899_ACEOF
35900if ac_fn_c_try_link "$LINENO"; then :
35901  ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes
35902else
35903  ac_cv_lib_cfile_libcfile_file_open_with_error_code=no
35904fi
35905rm -f core conftest.err conftest.$ac_objext \
35906    conftest$ac_exeext conftest.$ac_ext
35907LIBS=$ac_check_lib_save_LIBS
35908fi
35909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5
35910$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; }
35911if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then :
35912  ac_cv_libcfile_dummy=yes
35913else
35914  ac_cv_libcfile=no
35915fi
35916
35917        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5
35918$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; }
35919if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then :
35920  $as_echo_n "(cached) " >&6
35921else
35922  ac_check_lib_save_LIBS=$LIBS
35923LIBS="-lcfile  $LIBS"
35924cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35925/* end confdefs.h.  */
35926
35927/* Override any GCC internal prototype to avoid an error.
35928   Use char because int might match the return type of a GCC
35929   builtin and then its argument prototype would still apply.  */
35930#ifdef __cplusplus
35931extern "C"
35932#endif
35933char libcfile_file_close ();
35934int
35935main ()
35936{
35937return libcfile_file_close ();
35938  ;
35939  return 0;
35940}
35941_ACEOF
35942if ac_fn_c_try_link "$LINENO"; then :
35943  ac_cv_lib_cfile_libcfile_file_close=yes
35944else
35945  ac_cv_lib_cfile_libcfile_file_close=no
35946fi
35947rm -f core conftest.err conftest.$ac_objext \
35948    conftest$ac_exeext conftest.$ac_ext
35949LIBS=$ac_check_lib_save_LIBS
35950fi
35951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5
35952$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; }
35953if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then :
35954  ac_cv_libcfile_dummy=yes
35955else
35956  ac_cv_libcfile=no
35957fi
35958
35959        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5
35960$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; }
35961if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then :
35962  $as_echo_n "(cached) " >&6
35963else
35964  ac_check_lib_save_LIBS=$LIBS
35965LIBS="-lcfile  $LIBS"
35966cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35967/* end confdefs.h.  */
35968
35969/* Override any GCC internal prototype to avoid an error.
35970   Use char because int might match the return type of a GCC
35971   builtin and then its argument prototype would still apply.  */
35972#ifdef __cplusplus
35973extern "C"
35974#endif
35975char libcfile_file_read_buffer ();
35976int
35977main ()
35978{
35979return libcfile_file_read_buffer ();
35980  ;
35981  return 0;
35982}
35983_ACEOF
35984if ac_fn_c_try_link "$LINENO"; then :
35985  ac_cv_lib_cfile_libcfile_file_read_buffer=yes
35986else
35987  ac_cv_lib_cfile_libcfile_file_read_buffer=no
35988fi
35989rm -f core conftest.err conftest.$ac_objext \
35990    conftest$ac_exeext conftest.$ac_ext
35991LIBS=$ac_check_lib_save_LIBS
35992fi
35993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5
35994$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; }
35995if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then :
35996  ac_cv_libcfile_dummy=yes
35997else
35998  ac_cv_libcfile=no
35999fi
36000
36001        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5
36002$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; }
36003if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then :
36004  $as_echo_n "(cached) " >&6
36005else
36006  ac_check_lib_save_LIBS=$LIBS
36007LIBS="-lcfile  $LIBS"
36008cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36009/* end confdefs.h.  */
36010
36011/* Override any GCC internal prototype to avoid an error.
36012   Use char because int might match the return type of a GCC
36013   builtin and then its argument prototype would still apply.  */
36014#ifdef __cplusplus
36015extern "C"
36016#endif
36017char libcfile_file_read_buffer_with_error_code ();
36018int
36019main ()
36020{
36021return libcfile_file_read_buffer_with_error_code ();
36022  ;
36023  return 0;
36024}
36025_ACEOF
36026if ac_fn_c_try_link "$LINENO"; then :
36027  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes
36028else
36029  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no
36030fi
36031rm -f core conftest.err conftest.$ac_objext \
36032    conftest$ac_exeext conftest.$ac_ext
36033LIBS=$ac_check_lib_save_LIBS
36034fi
36035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5
36036$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; }
36037if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then :
36038  ac_cv_libcfile_dummy=yes
36039else
36040  ac_cv_libcfile=no
36041fi
36042
36043        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5
36044$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; }
36045if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then :
36046  $as_echo_n "(cached) " >&6
36047else
36048  ac_check_lib_save_LIBS=$LIBS
36049LIBS="-lcfile  $LIBS"
36050cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36051/* end confdefs.h.  */
36052
36053/* Override any GCC internal prototype to avoid an error.
36054   Use char because int might match the return type of a GCC
36055   builtin and then its argument prototype would still apply.  */
36056#ifdef __cplusplus
36057extern "C"
36058#endif
36059char libcfile_file_write_buffer ();
36060int
36061main ()
36062{
36063return libcfile_file_write_buffer ();
36064  ;
36065  return 0;
36066}
36067_ACEOF
36068if ac_fn_c_try_link "$LINENO"; then :
36069  ac_cv_lib_cfile_libcfile_file_write_buffer=yes
36070else
36071  ac_cv_lib_cfile_libcfile_file_write_buffer=no
36072fi
36073rm -f core conftest.err conftest.$ac_objext \
36074    conftest$ac_exeext conftest.$ac_ext
36075LIBS=$ac_check_lib_save_LIBS
36076fi
36077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5
36078$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; }
36079if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then :
36080  ac_cv_libcfile_dummy=yes
36081else
36082  ac_cv_libcfile=no
36083fi
36084
36085        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5
36086$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; }
36087if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then :
36088  $as_echo_n "(cached) " >&6
36089else
36090  ac_check_lib_save_LIBS=$LIBS
36091LIBS="-lcfile  $LIBS"
36092cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36093/* end confdefs.h.  */
36094
36095/* Override any GCC internal prototype to avoid an error.
36096   Use char because int might match the return type of a GCC
36097   builtin and then its argument prototype would still apply.  */
36098#ifdef __cplusplus
36099extern "C"
36100#endif
36101char libcfile_file_write_buffer_with_error_code ();
36102int
36103main ()
36104{
36105return libcfile_file_write_buffer_with_error_code ();
36106  ;
36107  return 0;
36108}
36109_ACEOF
36110if ac_fn_c_try_link "$LINENO"; then :
36111  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes
36112else
36113  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no
36114fi
36115rm -f core conftest.err conftest.$ac_objext \
36116    conftest$ac_exeext conftest.$ac_ext
36117LIBS=$ac_check_lib_save_LIBS
36118fi
36119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5
36120$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; }
36121if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then :
36122  ac_cv_libcfile_dummy=yes
36123else
36124  ac_cv_libcfile=no
36125fi
36126
36127        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5
36128$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; }
36129if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then :
36130  $as_echo_n "(cached) " >&6
36131else
36132  ac_check_lib_save_LIBS=$LIBS
36133LIBS="-lcfile  $LIBS"
36134cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36135/* end confdefs.h.  */
36136
36137/* Override any GCC internal prototype to avoid an error.
36138   Use char because int might match the return type of a GCC
36139   builtin and then its argument prototype would still apply.  */
36140#ifdef __cplusplus
36141extern "C"
36142#endif
36143char libcfile_file_seek_offset ();
36144int
36145main ()
36146{
36147return libcfile_file_seek_offset ();
36148  ;
36149  return 0;
36150}
36151_ACEOF
36152if ac_fn_c_try_link "$LINENO"; then :
36153  ac_cv_lib_cfile_libcfile_file_seek_offset=yes
36154else
36155  ac_cv_lib_cfile_libcfile_file_seek_offset=no
36156fi
36157rm -f core conftest.err conftest.$ac_objext \
36158    conftest$ac_exeext conftest.$ac_ext
36159LIBS=$ac_check_lib_save_LIBS
36160fi
36161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5
36162$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; }
36163if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then :
36164  ac_cv_libcfile_dummy=yes
36165else
36166  ac_cv_libcfile=no
36167fi
36168
36169        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5
36170$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; }
36171if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then :
36172  $as_echo_n "(cached) " >&6
36173else
36174  ac_check_lib_save_LIBS=$LIBS
36175LIBS="-lcfile  $LIBS"
36176cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36177/* end confdefs.h.  */
36178
36179/* Override any GCC internal prototype to avoid an error.
36180   Use char because int might match the return type of a GCC
36181   builtin and then its argument prototype would still apply.  */
36182#ifdef __cplusplus
36183extern "C"
36184#endif
36185char libcfile_file_resize ();
36186int
36187main ()
36188{
36189return libcfile_file_resize ();
36190  ;
36191  return 0;
36192}
36193_ACEOF
36194if ac_fn_c_try_link "$LINENO"; then :
36195  ac_cv_lib_cfile_libcfile_file_resize=yes
36196else
36197  ac_cv_lib_cfile_libcfile_file_resize=no
36198fi
36199rm -f core conftest.err conftest.$ac_objext \
36200    conftest$ac_exeext conftest.$ac_ext
36201LIBS=$ac_check_lib_save_LIBS
36202fi
36203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5
36204$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; }
36205if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then :
36206  ac_cv_libcfile_dummy=yes
36207else
36208  ac_cv_libcfile=no
36209fi
36210
36211        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5
36212$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; }
36213if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then :
36214  $as_echo_n "(cached) " >&6
36215else
36216  ac_check_lib_save_LIBS=$LIBS
36217LIBS="-lcfile  $LIBS"
36218cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36219/* end confdefs.h.  */
36220
36221/* Override any GCC internal prototype to avoid an error.
36222   Use char because int might match the return type of a GCC
36223   builtin and then its argument prototype would still apply.  */
36224#ifdef __cplusplus
36225extern "C"
36226#endif
36227char libcfile_file_is_open ();
36228int
36229main ()
36230{
36231return libcfile_file_is_open ();
36232  ;
36233  return 0;
36234}
36235_ACEOF
36236if ac_fn_c_try_link "$LINENO"; then :
36237  ac_cv_lib_cfile_libcfile_file_is_open=yes
36238else
36239  ac_cv_lib_cfile_libcfile_file_is_open=no
36240fi
36241rm -f core conftest.err conftest.$ac_objext \
36242    conftest$ac_exeext conftest.$ac_ext
36243LIBS=$ac_check_lib_save_LIBS
36244fi
36245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5
36246$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; }
36247if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then :
36248  ac_cv_libcfile_dummy=yes
36249else
36250  ac_cv_libcfile=no
36251fi
36252
36253        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5
36254$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; }
36255if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then :
36256  $as_echo_n "(cached) " >&6
36257else
36258  ac_check_lib_save_LIBS=$LIBS
36259LIBS="-lcfile  $LIBS"
36260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36261/* end confdefs.h.  */
36262
36263/* Override any GCC internal prototype to avoid an error.
36264   Use char because int might match the return type of a GCC
36265   builtin and then its argument prototype would still apply.  */
36266#ifdef __cplusplus
36267extern "C"
36268#endif
36269char libcfile_file_get_offset ();
36270int
36271main ()
36272{
36273return libcfile_file_get_offset ();
36274  ;
36275  return 0;
36276}
36277_ACEOF
36278if ac_fn_c_try_link "$LINENO"; then :
36279  ac_cv_lib_cfile_libcfile_file_get_offset=yes
36280else
36281  ac_cv_lib_cfile_libcfile_file_get_offset=no
36282fi
36283rm -f core conftest.err conftest.$ac_objext \
36284    conftest$ac_exeext conftest.$ac_ext
36285LIBS=$ac_check_lib_save_LIBS
36286fi
36287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5
36288$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; }
36289if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then :
36290  ac_cv_libcfile_dummy=yes
36291else
36292  ac_cv_libcfile=no
36293fi
36294
36295        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5
36296$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; }
36297if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then :
36298  $as_echo_n "(cached) " >&6
36299else
36300  ac_check_lib_save_LIBS=$LIBS
36301LIBS="-lcfile  $LIBS"
36302cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36303/* end confdefs.h.  */
36304
36305/* Override any GCC internal prototype to avoid an error.
36306   Use char because int might match the return type of a GCC
36307   builtin and then its argument prototype would still apply.  */
36308#ifdef __cplusplus
36309extern "C"
36310#endif
36311char libcfile_file_get_size ();
36312int
36313main ()
36314{
36315return libcfile_file_get_size ();
36316  ;
36317  return 0;
36318}
36319_ACEOF
36320if ac_fn_c_try_link "$LINENO"; then :
36321  ac_cv_lib_cfile_libcfile_file_get_size=yes
36322else
36323  ac_cv_lib_cfile_libcfile_file_get_size=no
36324fi
36325rm -f core conftest.err conftest.$ac_objext \
36326    conftest$ac_exeext conftest.$ac_ext
36327LIBS=$ac_check_lib_save_LIBS
36328fi
36329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5
36330$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; }
36331if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then :
36332  ac_cv_libcfile_dummy=yes
36333else
36334  ac_cv_libcfile=no
36335fi
36336
36337        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5
36338$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; }
36339if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then :
36340  $as_echo_n "(cached) " >&6
36341else
36342  ac_check_lib_save_LIBS=$LIBS
36343LIBS="-lcfile  $LIBS"
36344cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345/* end confdefs.h.  */
36346
36347/* Override any GCC internal prototype to avoid an error.
36348   Use char because int might match the return type of a GCC
36349   builtin and then its argument prototype would still apply.  */
36350#ifdef __cplusplus
36351extern "C"
36352#endif
36353char libcfile_file_is_device ();
36354int
36355main ()
36356{
36357return libcfile_file_is_device ();
36358  ;
36359  return 0;
36360}
36361_ACEOF
36362if ac_fn_c_try_link "$LINENO"; then :
36363  ac_cv_lib_cfile_libcfile_file_is_device=yes
36364else
36365  ac_cv_lib_cfile_libcfile_file_is_device=no
36366fi
36367rm -f core conftest.err conftest.$ac_objext \
36368    conftest$ac_exeext conftest.$ac_ext
36369LIBS=$ac_check_lib_save_LIBS
36370fi
36371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5
36372$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; }
36373if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then :
36374  ac_cv_libcfile_dummy=yes
36375else
36376  ac_cv_libcfile=no
36377fi
36378
36379        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5
36380$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; }
36381if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then :
36382  $as_echo_n "(cached) " >&6
36383else
36384  ac_check_lib_save_LIBS=$LIBS
36385LIBS="-lcfile  $LIBS"
36386cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36387/* end confdefs.h.  */
36388
36389/* Override any GCC internal prototype to avoid an error.
36390   Use char because int might match the return type of a GCC
36391   builtin and then its argument prototype would still apply.  */
36392#ifdef __cplusplus
36393extern "C"
36394#endif
36395char libcfile_file_io_control_read ();
36396int
36397main ()
36398{
36399return libcfile_file_io_control_read ();
36400  ;
36401  return 0;
36402}
36403_ACEOF
36404if ac_fn_c_try_link "$LINENO"; then :
36405  ac_cv_lib_cfile_libcfile_file_io_control_read=yes
36406else
36407  ac_cv_lib_cfile_libcfile_file_io_control_read=no
36408fi
36409rm -f core conftest.err conftest.$ac_objext \
36410    conftest$ac_exeext conftest.$ac_ext
36411LIBS=$ac_check_lib_save_LIBS
36412fi
36413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5
36414$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; }
36415if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then :
36416  ac_cv_libcfile_dummy=yes
36417else
36418  ac_cv_libcfile=no
36419fi
36420
36421        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5
36422$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; }
36423if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then :
36424  $as_echo_n "(cached) " >&6
36425else
36426  ac_check_lib_save_LIBS=$LIBS
36427LIBS="-lcfile  $LIBS"
36428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36429/* end confdefs.h.  */
36430
36431/* Override any GCC internal prototype to avoid an error.
36432   Use char because int might match the return type of a GCC
36433   builtin and then its argument prototype would still apply.  */
36434#ifdef __cplusplus
36435extern "C"
36436#endif
36437char libcfile_file_io_control_read_with_error_code ();
36438int
36439main ()
36440{
36441return libcfile_file_io_control_read_with_error_code ();
36442  ;
36443  return 0;
36444}
36445_ACEOF
36446if ac_fn_c_try_link "$LINENO"; then :
36447  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes
36448else
36449  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no
36450fi
36451rm -f core conftest.err conftest.$ac_objext \
36452    conftest$ac_exeext conftest.$ac_ext
36453LIBS=$ac_check_lib_save_LIBS
36454fi
36455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5
36456$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; }
36457if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then :
36458  ac_cv_libcfile_dummy=yes
36459else
36460  ac_cv_libcfile=no
36461fi
36462
36463
36464        if test "x$ac_cv_enable_wide_character_type" != xno; then :
36465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5
36466$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; }
36467if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then :
36468  $as_echo_n "(cached) " >&6
36469else
36470  ac_check_lib_save_LIBS=$LIBS
36471LIBS="-lcfile  $LIBS"
36472cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36473/* end confdefs.h.  */
36474
36475/* Override any GCC internal prototype to avoid an error.
36476   Use char because int might match the return type of a GCC
36477   builtin and then its argument prototype would still apply.  */
36478#ifdef __cplusplus
36479extern "C"
36480#endif
36481char libcfile_file_open_wide ();
36482int
36483main ()
36484{
36485return libcfile_file_open_wide ();
36486  ;
36487  return 0;
36488}
36489_ACEOF
36490if ac_fn_c_try_link "$LINENO"; then :
36491  ac_cv_lib_cfile_libcfile_file_open_wide=yes
36492else
36493  ac_cv_lib_cfile_libcfile_file_open_wide=no
36494fi
36495rm -f core conftest.err conftest.$ac_objext \
36496    conftest$ac_exeext conftest.$ac_ext
36497LIBS=$ac_check_lib_save_LIBS
36498fi
36499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5
36500$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; }
36501if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then :
36502  ac_cv_libcfile_dummy=yes
36503else
36504  ac_cv_libcfile=no
36505fi
36506
36507          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5
36508$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; }
36509if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then :
36510  $as_echo_n "(cached) " >&6
36511else
36512  ac_check_lib_save_LIBS=$LIBS
36513LIBS="-lcfile  $LIBS"
36514cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36515/* end confdefs.h.  */
36516
36517/* Override any GCC internal prototype to avoid an error.
36518   Use char because int might match the return type of a GCC
36519   builtin and then its argument prototype would still apply.  */
36520#ifdef __cplusplus
36521extern "C"
36522#endif
36523char libcfile_file_open_wide_with_error_code ();
36524int
36525main ()
36526{
36527return libcfile_file_open_wide_with_error_code ();
36528  ;
36529  return 0;
36530}
36531_ACEOF
36532if ac_fn_c_try_link "$LINENO"; then :
36533  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes
36534else
36535  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no
36536fi
36537rm -f core conftest.err conftest.$ac_objext \
36538    conftest$ac_exeext conftest.$ac_ext
36539LIBS=$ac_check_lib_save_LIBS
36540fi
36541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5
36542$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; }
36543if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then :
36544  ac_cv_libcfile_dummy=yes
36545else
36546  ac_cv_libcfile=no
36547fi
36548
36549
36550fi
36551
36552                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5
36553$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; }
36554if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then :
36555  $as_echo_n "(cached) " >&6
36556else
36557  ac_check_lib_save_LIBS=$LIBS
36558LIBS="-lcfile  $LIBS"
36559cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36560/* end confdefs.h.  */
36561
36562/* Override any GCC internal prototype to avoid an error.
36563   Use char because int might match the return type of a GCC
36564   builtin and then its argument prototype would still apply.  */
36565#ifdef __cplusplus
36566extern "C"
36567#endif
36568char libcfile_file_exists ();
36569int
36570main ()
36571{
36572return libcfile_file_exists ();
36573  ;
36574  return 0;
36575}
36576_ACEOF
36577if ac_fn_c_try_link "$LINENO"; then :
36578  ac_cv_lib_cfile_libcfile_file_exists=yes
36579else
36580  ac_cv_lib_cfile_libcfile_file_exists=no
36581fi
36582rm -f core conftest.err conftest.$ac_objext \
36583    conftest$ac_exeext conftest.$ac_ext
36584LIBS=$ac_check_lib_save_LIBS
36585fi
36586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5
36587$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; }
36588if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then :
36589  ac_cv_libcfile_dummy=yes
36590else
36591  ac_cv_libcfile=no
36592fi
36593
36594        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5
36595$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; }
36596if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then :
36597  $as_echo_n "(cached) " >&6
36598else
36599  ac_check_lib_save_LIBS=$LIBS
36600LIBS="-lcfile  $LIBS"
36601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36602/* end confdefs.h.  */
36603
36604/* Override any GCC internal prototype to avoid an error.
36605   Use char because int might match the return type of a GCC
36606   builtin and then its argument prototype would still apply.  */
36607#ifdef __cplusplus
36608extern "C"
36609#endif
36610char libcfile_file_remove ();
36611int
36612main ()
36613{
36614return libcfile_file_remove ();
36615  ;
36616  return 0;
36617}
36618_ACEOF
36619if ac_fn_c_try_link "$LINENO"; then :
36620  ac_cv_lib_cfile_libcfile_file_remove=yes
36621else
36622  ac_cv_lib_cfile_libcfile_file_remove=no
36623fi
36624rm -f core conftest.err conftest.$ac_objext \
36625    conftest$ac_exeext conftest.$ac_ext
36626LIBS=$ac_check_lib_save_LIBS
36627fi
36628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5
36629$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; }
36630if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then :
36631  ac_cv_libcfile_dummy=yes
36632else
36633  ac_cv_libcfile=no
36634fi
36635
36636
36637        if test "x$ac_cv_enable_wide_character_type" != xno; then :
36638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5
36639$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; }
36640if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then :
36641  $as_echo_n "(cached) " >&6
36642else
36643  ac_check_lib_save_LIBS=$LIBS
36644LIBS="-lcfile  $LIBS"
36645cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36646/* end confdefs.h.  */
36647
36648/* Override any GCC internal prototype to avoid an error.
36649   Use char because int might match the return type of a GCC
36650   builtin and then its argument prototype would still apply.  */
36651#ifdef __cplusplus
36652extern "C"
36653#endif
36654char libcfile_file_exists_wide ();
36655int
36656main ()
36657{
36658return libcfile_file_exists_wide ();
36659  ;
36660  return 0;
36661}
36662_ACEOF
36663if ac_fn_c_try_link "$LINENO"; then :
36664  ac_cv_lib_cfile_libcfile_file_exists_wide=yes
36665else
36666  ac_cv_lib_cfile_libcfile_file_exists_wide=no
36667fi
36668rm -f core conftest.err conftest.$ac_objext \
36669    conftest$ac_exeext conftest.$ac_ext
36670LIBS=$ac_check_lib_save_LIBS
36671fi
36672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5
36673$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; }
36674if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then :
36675  ac_cv_libcfile_dummy=yes
36676else
36677  ac_cv_libcfile=no
36678fi
36679
36680          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5
36681$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; }
36682if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then :
36683  $as_echo_n "(cached) " >&6
36684else
36685  ac_check_lib_save_LIBS=$LIBS
36686LIBS="-lcfile  $LIBS"
36687cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36688/* end confdefs.h.  */
36689
36690/* Override any GCC internal prototype to avoid an error.
36691   Use char because int might match the return type of a GCC
36692   builtin and then its argument prototype would still apply.  */
36693#ifdef __cplusplus
36694extern "C"
36695#endif
36696char libcfile_file_remove_wide ();
36697int
36698main ()
36699{
36700return libcfile_file_remove_wide ();
36701  ;
36702  return 0;
36703}
36704_ACEOF
36705if ac_fn_c_try_link "$LINENO"; then :
36706  ac_cv_lib_cfile_libcfile_file_remove_wide=yes
36707else
36708  ac_cv_lib_cfile_libcfile_file_remove_wide=no
36709fi
36710rm -f core conftest.err conftest.$ac_objext \
36711    conftest$ac_exeext conftest.$ac_ext
36712LIBS=$ac_check_lib_save_LIBS
36713fi
36714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5
36715$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; }
36716if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then :
36717  ac_cv_libcfile_dummy=yes
36718else
36719  ac_cv_libcfile=no
36720fi
36721
36722
36723fi
36724
36725        ac_cv_libcfile_LIBADD="-lcfile"
36726fi
36727
36728fi
36729    if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then :
36730  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36732as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile
36733See \`config.log' for more details" "$LINENO" 5; }
36734
36735fi
36736
36737fi
36738
36739  if test "x$ac_cv_libcfile" = xyes; then :
36740
36741$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h
36742
36743
36744fi
36745
36746  if test "x$ac_cv_libcfile" = xyes; then :
36747  HAVE_LIBCFILE=1
36748
36749else
36750  HAVE_LIBCFILE=0
36751
36752
36753fi
36754
36755
36756    if test "x$ac_cv_libcfile" != xyes; then :
36757    for ac_header in errno.h stdio.h sys/stat.h
36758do :
36759  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36760ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36761if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
36762  cat >>confdefs.h <<_ACEOF
36763#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36764_ACEOF
36765
36766fi
36767
36768done
36769
36770
36771    for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h
36772do :
36773  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36774ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36775if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
36776  cat >>confdefs.h <<_ACEOF
36777#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36778_ACEOF
36779
36780fi
36781
36782done
36783
36784
36785    for ac_func in close fstat ftruncate ioctl lseek open read write
36786do :
36787  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36788ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36789if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36790  cat >>confdefs.h <<_ACEOF
36791#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36792_ACEOF
36793
36794fi
36795done
36796
36797
36798  if test "x$ac_cv_func_close" != xyes; then :
36799  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36800$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36801as_fn_error 1 "Missing function: close
36802See \`config.log' for more details" "$LINENO" 5; }
36803
36804fi
36805
36806  for ac_func in posix_fadvise
36807do :
36808  ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
36809if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36810  cat >>confdefs.h <<_ACEOF
36811#define HAVE_POSIX_FADVISE 1
36812_ACEOF
36813
36814fi
36815done
36816
36817
36818  if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5
36820$as_echo_n "checking whether posix_fadvise can be linked... " >&6; }
36821
36822      SAVE_CFLAGS="$CFLAGS"
36823      CFLAGS="$CFLAGS -Wall -Werror"
36824      ac_ext=c
36825ac_cpp='$CPP $CPPFLAGS'
36826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828ac_compiler_gnu=$ac_cv_c_compiler_gnu
36829
36830
36831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832/* end confdefs.h.  */
36833#include <fcntl.h>
36834int
36835main ()
36836{
36837#if !defined( POSIX_FADV_SEQUENTIAL )
36838#define POSIX_FADV_SEQUENTIAL 2
36839#endif
36840posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL )
36841  ;
36842  return 0;
36843}
36844_ACEOF
36845if ac_fn_c_try_link "$LINENO"; then :
36846  ac_cv_func_posix_fadvise=yes
36847else
36848  ac_cv_func_posix_fadvise=no
36849fi
36850rm -f core conftest.err conftest.$ac_objext \
36851    conftest$ac_exeext conftest.$ac_ext
36852
36853      ac_ext=c
36854ac_cpp='$CPP $CPPFLAGS'
36855ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857ac_compiler_gnu=$ac_cv_c_compiler_gnu
36858
36859      CFLAGS="$SAVE_CFLAGS"
36860
36861      if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36863$as_echo "yes" >&6; }
36864
36865$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
36866
36867else
36868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36869$as_echo "no" >&6; }
36870fi
36871
36872fi
36873
36874
36875  if test "x$ac_cv_func_fstat" != xyes; then :
36876  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36878as_fn_error 1 "Missing function: fstat
36879See \`config.log' for more details" "$LINENO" 5; }
36880
36881fi
36882
36883  if test "x$ac_cv_func_ftruncate" != xyes; then :
36884  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36885$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36886as_fn_error 1 "Missing function: ftruncate
36887See \`config.log' for more details" "$LINENO" 5; }
36888
36889fi
36890
36891  if test x"$ac_cv_enable_winapi" = xno; then :
36892  if test "x$ac_cv_func_ioctl" != xyes; then :
36893  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36894$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36895as_fn_error 1 "Missing function: ioctl
36896See \`config.log' for more details" "$LINENO" 5; }
36897
36898fi
36899
36900fi
36901
36902  if test "x$ac_cv_func_lseek" != xyes; then :
36903  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36904$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36905as_fn_error 1 "Missing function: lseek
36906See \`config.log' for more details" "$LINENO" 5; }
36907
36908fi
36909
36910  if test "x$ac_cv_func_open" != xyes; then :
36911  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36912$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36913as_fn_error 1 "Missing function: open
36914See \`config.log' for more details" "$LINENO" 5; }
36915
36916fi
36917
36918  if test "x$ac_cv_func_read" != xyes; then :
36919  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36920$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36921as_fn_error 1 "Missing function: read
36922See \`config.log' for more details" "$LINENO" 5; }
36923
36924fi
36925
36926  if test "x$ac_cv_func_write" != xyes; then :
36927  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36929as_fn_error 1 "Missing function: write
36930See \`config.log' for more details" "$LINENO" 5; }
36931
36932fi
36933
36934    for ac_func in stat unlink
36935do :
36936  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36937ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36938if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36939  cat >>confdefs.h <<_ACEOF
36940#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36941_ACEOF
36942
36943fi
36944done
36945
36946
36947  if test "x$ac_cv_func_stat" != xyes; then :
36948  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36949$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36950as_fn_error 1 "Missing function: stat
36951See \`config.log' for more details" "$LINENO" 5; }
36952
36953fi
36954
36955  if test "x$ac_cv_func_unlink" != xyes; then :
36956  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36957$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36958as_fn_error 1 "Missing function: unlink
36959See \`config.log' for more details" "$LINENO" 5; }
36960
36961fi
36962
36963  ac_cv_libcfile_CPPFLAGS="-I../libcfile";
36964  ac_cv_libcfile_LIBADD="../libcfile/libcfile.la";
36965
36966  ac_cv_libcfile=local
36967
36968
36969
36970$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h
36971
36972    HAVE_LOCAL_LIBCFILE=1
36973
36974
36975fi
36976
36977   if test "x$ac_cv_libcfile" = xlocal; then
36978  HAVE_LOCAL_LIBCFILE_TRUE=
36979  HAVE_LOCAL_LIBCFILE_FALSE='#'
36980else
36981  HAVE_LOCAL_LIBCFILE_TRUE='#'
36982  HAVE_LOCAL_LIBCFILE_FALSE=
36983fi
36984
36985  if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then :
36986  LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS
36987
36988
36989fi
36990  if test "x$ac_cv_libcfile_LIBADD" != "x"; then :
36991  LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD
36992
36993
36994fi
36995
36996  if test "x$ac_cv_libcfile" = xyes; then :
36997  ax_libcfile_pc_libs_private=-lcfile
36998
36999
37000fi
37001
37002  if test "x$ac_cv_libcfile" = xyes; then :
37003  ax_libcfile_spec_requires=libcfile
37004
37005    ax_libcfile_spec_build_requires=libcfile-devel
37006
37007
37008fi
37009
37010
37011
37012
37013# Check whether --with-libcpath was given.
37014if test "${with_libcpath+set}" = set; then :
37015  withval=$with_libcpath; ac_cv_with_libcpath=$withval
37016else
37017  ac_cv_with_libcpath=auto-detect
37018fi
37019
37020    { $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
37021$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; }
37022if ${ac_cv_with_libcpath+:} false; then :
37023  $as_echo_n "(cached) " >&6
37024else
37025  ac_cv_with_libcpath=auto-detect
37026fi
37027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5
37028$as_echo "$ac_cv_with_libcpath" >&6; }
37029
37030    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then :
37031  ac_cv_libcpath=no
37032else
37033  ac_cv_libcpath=check
37034        if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then :
37035  if test -d "$ac_cv_with_libcpath"; then :
37036  CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include"
37037        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib"
37038else
37039  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37041as_fn_error 1 "no such directory: $ac_cv_with_libcpath
37042See \`config.log' for more details" "$LINENO" 5; }
37043
37044fi
37045
37046else
37047        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
37048
37049pkg_failed=no
37050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5
37051$as_echo_n "checking for libcpath... " >&6; }
37052
37053if test -n "$libcpath_CFLAGS"; then
37054    pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS"
37055 elif test -n "$PKG_CONFIG"; then
37056    if test -n "$PKG_CONFIG" && \
37057    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
37058  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
37059  ac_status=$?
37060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37061  test $ac_status = 0; }; then
37062  pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null`
37063		      test "x$?" != "x0" && pkg_failed=yes
37064else
37065  pkg_failed=yes
37066fi
37067 else
37068    pkg_failed=untried
37069fi
37070if test -n "$libcpath_LIBS"; then
37071    pkg_cv_libcpath_LIBS="$libcpath_LIBS"
37072 elif test -n "$PKG_CONFIG"; then
37073    if test -n "$PKG_CONFIG" && \
37074    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
37075  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
37076  ac_status=$?
37077  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37078  test $ac_status = 0; }; then
37079  pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null`
37080		      test "x$?" != "x0" && pkg_failed=yes
37081else
37082  pkg_failed=yes
37083fi
37084 else
37085    pkg_failed=untried
37086fi
37087
37088
37089
37090if test $pkg_failed = yes; then
37091   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37092$as_echo "no" >&6; }
37093
37094if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37095        _pkg_short_errors_supported=yes
37096else
37097        _pkg_short_errors_supported=no
37098fi
37099        if test $_pkg_short_errors_supported = yes; then
37100	        libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
37101        else
37102	        libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
37103        fi
37104	# Put the nasty error message in config.log where it belongs
37105	echo "$libcpath_PKG_ERRORS" >&5
37106
37107	ac_cv_libcpath=check
37108elif test $pkg_failed = untried; then
37109     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37110$as_echo "no" >&6; }
37111	ac_cv_libcpath=check
37112else
37113	libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS
37114	libcpath_LIBS=$pkg_cv_libcpath_LIBS
37115        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37116$as_echo "yes" >&6; }
37117	ac_cv_libcpath=yes
37118fi
37119
37120fi
37121      if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
37122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
37123$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
37124if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then :
37125  $as_echo_n "(cached) " >&6
37126else
37127  ac_ext=c
37128ac_cpp='$CPP $CPPFLAGS'
37129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37131ac_compiler_gnu=$ac_cv_c_compiler_gnu
37132
37133         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37134/* end confdefs.h.  */
37135#include <libcpath/features.h>
37136int
37137main ()
37138{
37139#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 )
37140#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined
37141#endif
37142  ;
37143  return 0;
37144}
37145_ACEOF
37146if ac_fn_c_try_compile "$LINENO"; then :
37147  ac_cv_header_libcpath_features_h_have_wide_character_type=yes
37148else
37149  ac_cv_header_libcpath_features_h_have_wide_character_type=no
37150fi
37151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37152         ac_ext=c
37153ac_cpp='$CPP $CPPFLAGS'
37154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37156ac_compiler_gnu=$ac_cv_c_compiler_gnu
37157
37158fi
37159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5
37160$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; }
37161
37162        if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then :
37163  ac_cv_libcpath=no
37164fi
37165
37166fi
37167      if test "x$ac_cv_libcpath" = xyes; then :
37168  ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS"
37169        ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS"
37170fi
37171
37172fi
37173
37174    if test "x$ac_cv_libcpath" = xcheck; then :
37175        for ac_header in libcpath.h
37176do :
37177  ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default"
37178if test "x$ac_cv_header_libcpath_h" = xyes; then :
37179  cat >>confdefs.h <<_ACEOF
37180#define HAVE_LIBCPATH_H 1
37181_ACEOF
37182
37183fi
37184
37185done
37186
37187
37188      if test "x$ac_cv_header_libcpath_h" = xno; then :
37189  ac_cv_libcpath=no
37190else
37191          ac_cv_libcpath=yes
37192
37193        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5
37194$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; }
37195if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then :
37196  $as_echo_n "(cached) " >&6
37197else
37198  ac_check_lib_save_LIBS=$LIBS
37199LIBS="-lcpath  $LIBS"
37200cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37201/* end confdefs.h.  */
37202
37203/* Override any GCC internal prototype to avoid an error.
37204   Use char because int might match the return type of a GCC
37205   builtin and then its argument prototype would still apply.  */
37206#ifdef __cplusplus
37207extern "C"
37208#endif
37209char libcpath_get_version ();
37210int
37211main ()
37212{
37213return libcpath_get_version ();
37214  ;
37215  return 0;
37216}
37217_ACEOF
37218if ac_fn_c_try_link "$LINENO"; then :
37219  ac_cv_lib_cpath_libcpath_get_version=yes
37220else
37221  ac_cv_lib_cpath_libcpath_get_version=no
37222fi
37223rm -f core conftest.err conftest.$ac_objext \
37224    conftest$ac_exeext conftest.$ac_ext
37225LIBS=$ac_check_lib_save_LIBS
37226fi
37227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5
37228$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; }
37229if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then :
37230  ac_cv_libcpath_dummy=yes
37231else
37232  ac_cv_libcpath=no
37233fi
37234
37235
37236                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5
37237$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; }
37238if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then :
37239  $as_echo_n "(cached) " >&6
37240else
37241  ac_check_lib_save_LIBS=$LIBS
37242LIBS="-lcpath  $LIBS"
37243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37244/* end confdefs.h.  */
37245
37246/* Override any GCC internal prototype to avoid an error.
37247   Use char because int might match the return type of a GCC
37248   builtin and then its argument prototype would still apply.  */
37249#ifdef __cplusplus
37250extern "C"
37251#endif
37252char libcpath_path_change_directory ();
37253int
37254main ()
37255{
37256return libcpath_path_change_directory ();
37257  ;
37258  return 0;
37259}
37260_ACEOF
37261if ac_fn_c_try_link "$LINENO"; then :
37262  ac_cv_lib_cpath_libcpath_path_change_directory=yes
37263else
37264  ac_cv_lib_cpath_libcpath_path_change_directory=no
37265fi
37266rm -f core conftest.err conftest.$ac_objext \
37267    conftest$ac_exeext conftest.$ac_ext
37268LIBS=$ac_check_lib_save_LIBS
37269fi
37270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5
37271$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; }
37272if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then :
37273  ac_cv_libcpath_dummy=yes
37274else
37275  ac_cv_libcpath=no
37276fi
37277
37278        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5
37279$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; }
37280if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then :
37281  $as_echo_n "(cached) " >&6
37282else
37283  ac_check_lib_save_LIBS=$LIBS
37284LIBS="-lcpath  $LIBS"
37285cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37286/* end confdefs.h.  */
37287
37288/* Override any GCC internal prototype to avoid an error.
37289   Use char because int might match the return type of a GCC
37290   builtin and then its argument prototype would still apply.  */
37291#ifdef __cplusplus
37292extern "C"
37293#endif
37294char libcpath_path_get_current_working_directory ();
37295int
37296main ()
37297{
37298return libcpath_path_get_current_working_directory ();
37299  ;
37300  return 0;
37301}
37302_ACEOF
37303if ac_fn_c_try_link "$LINENO"; then :
37304  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes
37305else
37306  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no
37307fi
37308rm -f core conftest.err conftest.$ac_objext \
37309    conftest$ac_exeext conftest.$ac_ext
37310LIBS=$ac_check_lib_save_LIBS
37311fi
37312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5
37313$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; }
37314if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then :
37315  ac_cv_libcpath_dummy=yes
37316else
37317  ac_cv_libcpath=no
37318fi
37319
37320        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5
37321$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; }
37322if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then :
37323  $as_echo_n "(cached) " >&6
37324else
37325  ac_check_lib_save_LIBS=$LIBS
37326LIBS="-lcpath  $LIBS"
37327cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328/* end confdefs.h.  */
37329
37330/* Override any GCC internal prototype to avoid an error.
37331   Use char because int might match the return type of a GCC
37332   builtin and then its argument prototype would still apply.  */
37333#ifdef __cplusplus
37334extern "C"
37335#endif
37336char libcpath_path_get_full_path ();
37337int
37338main ()
37339{
37340return libcpath_path_get_full_path ();
37341  ;
37342  return 0;
37343}
37344_ACEOF
37345if ac_fn_c_try_link "$LINENO"; then :
37346  ac_cv_lib_cpath_libcpath_path_get_full_path=yes
37347else
37348  ac_cv_lib_cpath_libcpath_path_get_full_path=no
37349fi
37350rm -f core conftest.err conftest.$ac_objext \
37351    conftest$ac_exeext conftest.$ac_ext
37352LIBS=$ac_check_lib_save_LIBS
37353fi
37354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5
37355$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; }
37356if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then :
37357  ac_cv_libcpath_dummy=yes
37358else
37359  ac_cv_libcpath=no
37360fi
37361
37362        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5
37363$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; }
37364if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then :
37365  $as_echo_n "(cached) " >&6
37366else
37367  ac_check_lib_save_LIBS=$LIBS
37368LIBS="-lcpath  $LIBS"
37369cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37370/* end confdefs.h.  */
37371
37372/* Override any GCC internal prototype to avoid an error.
37373   Use char because int might match the return type of a GCC
37374   builtin and then its argument prototype would still apply.  */
37375#ifdef __cplusplus
37376extern "C"
37377#endif
37378char libcpath_path_get_sanitized_filename ();
37379int
37380main ()
37381{
37382return libcpath_path_get_sanitized_filename ();
37383  ;
37384  return 0;
37385}
37386_ACEOF
37387if ac_fn_c_try_link "$LINENO"; then :
37388  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes
37389else
37390  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no
37391fi
37392rm -f core conftest.err conftest.$ac_objext \
37393    conftest$ac_exeext conftest.$ac_ext
37394LIBS=$ac_check_lib_save_LIBS
37395fi
37396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5
37397$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; }
37398if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then :
37399  ac_cv_libcpath_dummy=yes
37400else
37401  ac_cv_libcpath=no
37402fi
37403
37404        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5
37405$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; }
37406if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then :
37407  $as_echo_n "(cached) " >&6
37408else
37409  ac_check_lib_save_LIBS=$LIBS
37410LIBS="-lcpath  $LIBS"
37411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37412/* end confdefs.h.  */
37413
37414/* Override any GCC internal prototype to avoid an error.
37415   Use char because int might match the return type of a GCC
37416   builtin and then its argument prototype would still apply.  */
37417#ifdef __cplusplus
37418extern "C"
37419#endif
37420char libcpath_path_get_sanitized_path ();
37421int
37422main ()
37423{
37424return libcpath_path_get_sanitized_path ();
37425  ;
37426  return 0;
37427}
37428_ACEOF
37429if ac_fn_c_try_link "$LINENO"; then :
37430  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes
37431else
37432  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no
37433fi
37434rm -f core conftest.err conftest.$ac_objext \
37435    conftest$ac_exeext conftest.$ac_ext
37436LIBS=$ac_check_lib_save_LIBS
37437fi
37438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5
37439$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; }
37440if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then :
37441  ac_cv_libcpath_dummy=yes
37442else
37443  ac_cv_libcpath=no
37444fi
37445
37446        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5
37447$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; }
37448if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then :
37449  $as_echo_n "(cached) " >&6
37450else
37451  ac_check_lib_save_LIBS=$LIBS
37452LIBS="-lcpath  $LIBS"
37453cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37454/* end confdefs.h.  */
37455
37456/* Override any GCC internal prototype to avoid an error.
37457   Use char because int might match the return type of a GCC
37458   builtin and then its argument prototype would still apply.  */
37459#ifdef __cplusplus
37460extern "C"
37461#endif
37462char libcpath_path_join ();
37463int
37464main ()
37465{
37466return libcpath_path_join ();
37467  ;
37468  return 0;
37469}
37470_ACEOF
37471if ac_fn_c_try_link "$LINENO"; then :
37472  ac_cv_lib_cpath_libcpath_path_join=yes
37473else
37474  ac_cv_lib_cpath_libcpath_path_join=no
37475fi
37476rm -f core conftest.err conftest.$ac_objext \
37477    conftest$ac_exeext conftest.$ac_ext
37478LIBS=$ac_check_lib_save_LIBS
37479fi
37480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5
37481$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; }
37482if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then :
37483  ac_cv_libcpath_dummy=yes
37484else
37485  ac_cv_libcpath=no
37486fi
37487
37488        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5
37489$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; }
37490if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then :
37491  $as_echo_n "(cached) " >&6
37492else
37493  ac_check_lib_save_LIBS=$LIBS
37494LIBS="-lcpath  $LIBS"
37495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37496/* end confdefs.h.  */
37497
37498/* Override any GCC internal prototype to avoid an error.
37499   Use char because int might match the return type of a GCC
37500   builtin and then its argument prototype would still apply.  */
37501#ifdef __cplusplus
37502extern "C"
37503#endif
37504char libcpath_path_make_directory ();
37505int
37506main ()
37507{
37508return libcpath_path_make_directory ();
37509  ;
37510  return 0;
37511}
37512_ACEOF
37513if ac_fn_c_try_link "$LINENO"; then :
37514  ac_cv_lib_cpath_libcpath_path_make_directory=yes
37515else
37516  ac_cv_lib_cpath_libcpath_path_make_directory=no
37517fi
37518rm -f core conftest.err conftest.$ac_objext \
37519    conftest$ac_exeext conftest.$ac_ext
37520LIBS=$ac_check_lib_save_LIBS
37521fi
37522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5
37523$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; }
37524if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then :
37525  ac_cv_libcpath_dummy=yes
37526else
37527  ac_cv_libcpath=no
37528fi
37529
37530
37531        if test "x$ac_cv_enable_wide_character_type" != xno; then :
37532  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5
37533$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; }
37534if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then :
37535  $as_echo_n "(cached) " >&6
37536else
37537  ac_check_lib_save_LIBS=$LIBS
37538LIBS="-lcpath  $LIBS"
37539cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37540/* end confdefs.h.  */
37541
37542/* Override any GCC internal prototype to avoid an error.
37543   Use char because int might match the return type of a GCC
37544   builtin and then its argument prototype would still apply.  */
37545#ifdef __cplusplus
37546extern "C"
37547#endif
37548char libcpath_path_change_directory_wide ();
37549int
37550main ()
37551{
37552return libcpath_path_change_directory_wide ();
37553  ;
37554  return 0;
37555}
37556_ACEOF
37557if ac_fn_c_try_link "$LINENO"; then :
37558  ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes
37559else
37560  ac_cv_lib_cpath_libcpath_path_change_directory_wide=no
37561fi
37562rm -f core conftest.err conftest.$ac_objext \
37563    conftest$ac_exeext conftest.$ac_ext
37564LIBS=$ac_check_lib_save_LIBS
37565fi
37566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5
37567$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; }
37568if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then :
37569  ac_cv_libcpath_dummy=yes
37570else
37571  ac_cv_libcpath=no
37572fi
37573
37574          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5
37575$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; }
37576if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then :
37577  $as_echo_n "(cached) " >&6
37578else
37579  ac_check_lib_save_LIBS=$LIBS
37580LIBS="-lcpath  $LIBS"
37581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37582/* end confdefs.h.  */
37583
37584/* Override any GCC internal prototype to avoid an error.
37585   Use char because int might match the return type of a GCC
37586   builtin and then its argument prototype would still apply.  */
37587#ifdef __cplusplus
37588extern "C"
37589#endif
37590char libcpath_path_get_current_working_directory_wide ();
37591int
37592main ()
37593{
37594return libcpath_path_get_current_working_directory_wide ();
37595  ;
37596  return 0;
37597}
37598_ACEOF
37599if ac_fn_c_try_link "$LINENO"; then :
37600  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes
37601else
37602  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no
37603fi
37604rm -f core conftest.err conftest.$ac_objext \
37605    conftest$ac_exeext conftest.$ac_ext
37606LIBS=$ac_check_lib_save_LIBS
37607fi
37608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5
37609$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; }
37610if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then :
37611  ac_cv_libcpath_dummy=yes
37612else
37613  ac_cv_libcpath=no
37614fi
37615
37616          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5
37617$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; }
37618if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then :
37619  $as_echo_n "(cached) " >&6
37620else
37621  ac_check_lib_save_LIBS=$LIBS
37622LIBS="-lcpath  $LIBS"
37623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37624/* end confdefs.h.  */
37625
37626/* Override any GCC internal prototype to avoid an error.
37627   Use char because int might match the return type of a GCC
37628   builtin and then its argument prototype would still apply.  */
37629#ifdef __cplusplus
37630extern "C"
37631#endif
37632char libcpath_path_get_full_path_wide ();
37633int
37634main ()
37635{
37636return libcpath_path_get_full_path_wide ();
37637  ;
37638  return 0;
37639}
37640_ACEOF
37641if ac_fn_c_try_link "$LINENO"; then :
37642  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes
37643else
37644  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no
37645fi
37646rm -f core conftest.err conftest.$ac_objext \
37647    conftest$ac_exeext conftest.$ac_ext
37648LIBS=$ac_check_lib_save_LIBS
37649fi
37650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5
37651$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; }
37652if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then :
37653  ac_cv_libcpath_dummy=yes
37654else
37655  ac_cv_libcpath=no
37656fi
37657
37658          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5
37659$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; }
37660if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then :
37661  $as_echo_n "(cached) " >&6
37662else
37663  ac_check_lib_save_LIBS=$LIBS
37664LIBS="-lcpath  $LIBS"
37665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37666/* end confdefs.h.  */
37667
37668/* Override any GCC internal prototype to avoid an error.
37669   Use char because int might match the return type of a GCC
37670   builtin and then its argument prototype would still apply.  */
37671#ifdef __cplusplus
37672extern "C"
37673#endif
37674char libcpath_path_get_sanitized_filename_wide ();
37675int
37676main ()
37677{
37678return libcpath_path_get_sanitized_filename_wide ();
37679  ;
37680  return 0;
37681}
37682_ACEOF
37683if ac_fn_c_try_link "$LINENO"; then :
37684  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes
37685else
37686  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no
37687fi
37688rm -f core conftest.err conftest.$ac_objext \
37689    conftest$ac_exeext conftest.$ac_ext
37690LIBS=$ac_check_lib_save_LIBS
37691fi
37692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5
37693$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; }
37694if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then :
37695  ac_cv_libcpath_dummy=yes
37696else
37697  ac_cv_libcpath=no
37698fi
37699
37700          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5
37701$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; }
37702if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then :
37703  $as_echo_n "(cached) " >&6
37704else
37705  ac_check_lib_save_LIBS=$LIBS
37706LIBS="-lcpath  $LIBS"
37707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37708/* end confdefs.h.  */
37709
37710/* Override any GCC internal prototype to avoid an error.
37711   Use char because int might match the return type of a GCC
37712   builtin and then its argument prototype would still apply.  */
37713#ifdef __cplusplus
37714extern "C"
37715#endif
37716char libcpath_path_get_sanitized_path_wide ();
37717int
37718main ()
37719{
37720return libcpath_path_get_sanitized_path_wide ();
37721  ;
37722  return 0;
37723}
37724_ACEOF
37725if ac_fn_c_try_link "$LINENO"; then :
37726  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes
37727else
37728  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no
37729fi
37730rm -f core conftest.err conftest.$ac_objext \
37731    conftest$ac_exeext conftest.$ac_ext
37732LIBS=$ac_check_lib_save_LIBS
37733fi
37734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5
37735$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; }
37736if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then :
37737  ac_cv_libcpath_dummy=yes
37738else
37739  ac_cv_libcpath=no
37740fi
37741
37742          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5
37743$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; }
37744if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then :
37745  $as_echo_n "(cached) " >&6
37746else
37747  ac_check_lib_save_LIBS=$LIBS
37748LIBS="-lcpath  $LIBS"
37749cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37750/* end confdefs.h.  */
37751
37752/* Override any GCC internal prototype to avoid an error.
37753   Use char because int might match the return type of a GCC
37754   builtin and then its argument prototype would still apply.  */
37755#ifdef __cplusplus
37756extern "C"
37757#endif
37758char libcpath_path_join_wide ();
37759int
37760main ()
37761{
37762return libcpath_path_join_wide ();
37763  ;
37764  return 0;
37765}
37766_ACEOF
37767if ac_fn_c_try_link "$LINENO"; then :
37768  ac_cv_lib_cpath_libcpath_path_join_wide=yes
37769else
37770  ac_cv_lib_cpath_libcpath_path_join_wide=no
37771fi
37772rm -f core conftest.err conftest.$ac_objext \
37773    conftest$ac_exeext conftest.$ac_ext
37774LIBS=$ac_check_lib_save_LIBS
37775fi
37776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5
37777$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; }
37778if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then :
37779  ac_cv_libcpath_dummy=yes
37780else
37781  ac_cv_libcpath=no
37782fi
37783
37784          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5
37785$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; }
37786if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then :
37787  $as_echo_n "(cached) " >&6
37788else
37789  ac_check_lib_save_LIBS=$LIBS
37790LIBS="-lcpath  $LIBS"
37791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37792/* end confdefs.h.  */
37793
37794/* Override any GCC internal prototype to avoid an error.
37795   Use char because int might match the return type of a GCC
37796   builtin and then its argument prototype would still apply.  */
37797#ifdef __cplusplus
37798extern "C"
37799#endif
37800char libcpath_path_make_directory_wide ();
37801int
37802main ()
37803{
37804return libcpath_path_make_directory_wide ();
37805  ;
37806  return 0;
37807}
37808_ACEOF
37809if ac_fn_c_try_link "$LINENO"; then :
37810  ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes
37811else
37812  ac_cv_lib_cpath_libcpath_path_make_directory_wide=no
37813fi
37814rm -f core conftest.err conftest.$ac_objext \
37815    conftest$ac_exeext conftest.$ac_ext
37816LIBS=$ac_check_lib_save_LIBS
37817fi
37818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5
37819$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; }
37820if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then :
37821  ac_cv_libcpath_dummy=yes
37822else
37823  ac_cv_libcpath=no
37824fi
37825
37826
37827fi
37828
37829        ac_cv_libcpath_LIBADD="-lcpath"
37830fi
37831
37832fi
37833    if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then :
37834  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37835$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37836as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath
37837See \`config.log' for more details" "$LINENO" 5; }
37838
37839fi
37840
37841fi
37842
37843  if test "x$ac_cv_libcpath" = xyes; then :
37844
37845$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h
37846
37847
37848fi
37849
37850  if test "x$ac_cv_libcpath" = xyes; then :
37851  HAVE_LIBCPATH=1
37852
37853else
37854  HAVE_LIBCPATH=0
37855
37856
37857fi
37858
37859
37860    if test "x$ac_cv_libcpath" != xyes; then :
37861    for ac_header in errno.h sys/stat.h sys/syslimits.h
37862do :
37863  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
37864ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
37865if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
37866  cat >>confdefs.h <<_ACEOF
37867#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
37868_ACEOF
37869
37870fi
37871
37872done
37873
37874
37875    for ac_func in chdir getcwd
37876do :
37877  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37878ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37879if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37880  cat >>confdefs.h <<_ACEOF
37881#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37882_ACEOF
37883
37884fi
37885done
37886
37887
37888  if test "x$ac_cv_func_chdir" != xyes; then :
37889  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37890$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37891as_fn_error 1 "Missing functions: chdir
37892See \`config.log' for more details" "$LINENO" 5; }
37893
37894fi
37895
37896  if test "x$ac_cv_func_getcwd" != xyes; then :
37897  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37898$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37899as_fn_error 1 "Missing functions: getcwd
37900See \`config.log' for more details" "$LINENO" 5; }
37901
37902fi
37903
37904  for ac_func in mkdir
37905do :
37906  ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
37907if test "x$ac_cv_func_mkdir" = xyes; then :
37908  cat >>confdefs.h <<_ACEOF
37909#define HAVE_MKDIR 1
37910_ACEOF
37911
37912fi
37913done
37914
37915
37916  if test "x$ac_cv_func_mkdir" = xyes; then :
37917  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5
37918$as_echo_n "checking how to use mkdir... " >&6; }
37919
37920    SAVE_CFLAGS="$CFLAGS"
37921    CFLAGS="$CFLAGS -Wall -Werror"
37922    ac_ext=c
37923ac_cpp='$CPP $CPPFLAGS'
37924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926ac_compiler_gnu=$ac_cv_c_compiler_gnu
37927
37928
37929    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37930/* end confdefs.h.  */
37931#include <sys/stat.h>
37932#include <sys/types.h>
37933int
37934main ()
37935{
37936mkdir( "", 0 )
37937  ;
37938  return 0;
37939}
37940_ACEOF
37941if ac_fn_c_try_link "$LINENO"; then :
37942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5
37943$as_echo "with additional mode argument" >&6; }
37944        ac_cv_cv_mkdir_mode=yes
37945else
37946  ac_cv_cv_mkdir_mode=no
37947fi
37948rm -f core conftest.err conftest.$ac_objext \
37949    conftest$ac_exeext conftest.$ac_ext
37950
37951    if test "x$ac_cv_cv_mkdir_mode" = xno; then :
37952  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37953/* end confdefs.h.  */
37954#include <io.h>
37955int
37956main ()
37957{
37958mkdir( "" )
37959  ;
37960  return 0;
37961}
37962_ACEOF
37963if ac_fn_c_try_link "$LINENO"; then :
37964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5
37965$as_echo "with single argument" >&6; }
37966        ac_cv_cv_mkdir=yes
37967else
37968  ac_cv_cv_mkdir=no
37969fi
37970rm -f core conftest.err conftest.$ac_objext \
37971    conftest$ac_exeext conftest.$ac_ext
37972
37973fi
37974
37975    ac_ext=c
37976ac_cpp='$CPP $CPPFLAGS'
37977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37979ac_compiler_gnu=$ac_cv_c_compiler_gnu
37980
37981    CFLAGS="$SAVE_CFLAGS"
37982
37983    if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then :
37984  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5
37985$as_echo "$as_me: WARNING: unknown" >&2;}
37986      ac_cv_func_mkdir=no
37987fi
37988
37989    if test "x$ac_cv_func_mkdir" = xyes; then :
37990
37991$as_echo "#define HAVE_MKDIR 1" >>confdefs.h
37992
37993
37994fi
37995
37996    if test "x$ac_cv_cv_mkdir_mode" = xyes; then :
37997
37998$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h
37999
38000
38001fi
38002
38003fi
38004
38005  if test "x$ac_cv_func_mkdir" = xno; then :
38006  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38008as_fn_error 1 "Missing function: mkdir
38009See \`config.log' for more details" "$LINENO" 5; }
38010
38011fi
38012
38013
38014  ac_cv_libcpath_CPPFLAGS="-I../libcpath";
38015  ac_cv_libcpath_LIBADD="../libcpath/libcpath.la";
38016
38017  ac_cv_libcpath=local
38018
38019
38020
38021$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h
38022
38023    HAVE_LOCAL_LIBCPATH=1
38024
38025
38026fi
38027
38028   if test "x$ac_cv_libcpath" = xlocal; then
38029  HAVE_LOCAL_LIBCPATH_TRUE=
38030  HAVE_LOCAL_LIBCPATH_FALSE='#'
38031else
38032  HAVE_LOCAL_LIBCPATH_TRUE='#'
38033  HAVE_LOCAL_LIBCPATH_FALSE=
38034fi
38035
38036  if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then :
38037  LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS
38038
38039
38040fi
38041  if test "x$ac_cv_libcpath_LIBADD" != "x"; then :
38042  LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD
38043
38044
38045fi
38046
38047  if test "x$ac_cv_libcpath" = xyes; then :
38048  ax_libcpath_pc_libs_private=-lcpath
38049
38050
38051fi
38052
38053  if test "x$ac_cv_libcpath" = xyes; then :
38054  ax_libcpath_spec_requires=libcpath
38055
38056    ax_libcpath_spec_build_requires=libcpath-devel
38057
38058
38059fi
38060
38061
38062
38063
38064# Check whether --with-libbfio was given.
38065if test "${with_libbfio+set}" = set; then :
38066  withval=$with_libbfio; ac_cv_with_libbfio=$withval
38067else
38068  ac_cv_with_libbfio=auto-detect
38069fi
38070
38071    { $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
38072$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; }
38073if ${ac_cv_with_libbfio+:} false; then :
38074  $as_echo_n "(cached) " >&6
38075else
38076  ac_cv_with_libbfio=auto-detect
38077fi
38078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5
38079$as_echo "$ac_cv_with_libbfio" >&6; }
38080
38081    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then :
38082  ac_cv_libbfio=no
38083else
38084  ac_cv_libbfio=check
38085        if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then :
38086  if test -d "$ac_cv_with_libbfio"; then :
38087  CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include"
38088        LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib"
38089else
38090  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38091$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38092as_fn_error 1 "no such directory: $ac_cv_with_libbfio
38093See \`config.log' for more details" "$LINENO" 5; }
38094
38095fi
38096
38097else
38098        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
38099
38100pkg_failed=no
38101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5
38102$as_echo_n "checking for libbfio... " >&6; }
38103
38104if test -n "$libbfio_CFLAGS"; then
38105    pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS"
38106 elif test -n "$PKG_CONFIG"; then
38107    if test -n "$PKG_CONFIG" && \
38108    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5
38109  ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5
38110  ac_status=$?
38111  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38112  test $ac_status = 0; }; then
38113  pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null`
38114		      test "x$?" != "x0" && pkg_failed=yes
38115else
38116  pkg_failed=yes
38117fi
38118 else
38119    pkg_failed=untried
38120fi
38121if test -n "$libbfio_LIBS"; then
38122    pkg_cv_libbfio_LIBS="$libbfio_LIBS"
38123 elif test -n "$PKG_CONFIG"; then
38124    if test -n "$PKG_CONFIG" && \
38125    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5
38126  ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5
38127  ac_status=$?
38128  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38129  test $ac_status = 0; }; then
38130  pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null`
38131		      test "x$?" != "x0" && pkg_failed=yes
38132else
38133  pkg_failed=yes
38134fi
38135 else
38136    pkg_failed=untried
38137fi
38138
38139
38140
38141if test $pkg_failed = yes; then
38142   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38143$as_echo "no" >&6; }
38144
38145if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38146        _pkg_short_errors_supported=yes
38147else
38148        _pkg_short_errors_supported=no
38149fi
38150        if test $_pkg_short_errors_supported = yes; then
38151	        libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1`
38152        else
38153	        libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1`
38154        fi
38155	# Put the nasty error message in config.log where it belongs
38156	echo "$libbfio_PKG_ERRORS" >&5
38157
38158	ac_cv_libbfio=check
38159elif test $pkg_failed = untried; then
38160     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38161$as_echo "no" >&6; }
38162	ac_cv_libbfio=check
38163else
38164	libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS
38165	libbfio_LIBS=$pkg_cv_libbfio_LIBS
38166        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38167$as_echo "yes" >&6; }
38168	ac_cv_libbfio=yes
38169fi
38170
38171fi
38172      if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
38173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
38174$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
38175if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then :
38176  $as_echo_n "(cached) " >&6
38177else
38178  ac_ext=c
38179ac_cpp='$CPP $CPPFLAGS'
38180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38182ac_compiler_gnu=$ac_cv_c_compiler_gnu
38183
38184         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38185/* end confdefs.h.  */
38186#include <libbfio/features.h>
38187int
38188main ()
38189{
38190#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 )
38191#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined
38192#endif
38193  ;
38194  return 0;
38195}
38196_ACEOF
38197if ac_fn_c_try_compile "$LINENO"; then :
38198  ac_cv_header_libbfio_features_h_have_wide_character_type=yes
38199else
38200  ac_cv_header_libbfio_features_h_have_wide_character_type=no
38201fi
38202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38203         ac_ext=c
38204ac_cpp='$CPP $CPPFLAGS'
38205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207ac_compiler_gnu=$ac_cv_c_compiler_gnu
38208
38209fi
38210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5
38211$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; }
38212
38213        if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then :
38214  ac_cv_libbfio=no
38215fi
38216
38217fi
38218      if test "x$ac_cv_libbfio" = xyes; then :
38219  ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS"
38220        ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS"
38221fi
38222
38223fi
38224
38225    if test "x$ac_cv_libbfio" = xcheck; then :
38226        for ac_header in libbfio.h
38227do :
38228  ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default"
38229if test "x$ac_cv_header_libbfio_h" = xyes; then :
38230  cat >>confdefs.h <<_ACEOF
38231#define HAVE_LIBBFIO_H 1
38232_ACEOF
38233
38234fi
38235
38236done
38237
38238
38239      if test "x$ac_cv_header_libbfio_h" = xno; then :
38240  ac_cv_libbfio=no
38241else
38242          ac_cv_libbfio=yes
38243
38244        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5
38245$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; }
38246if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then :
38247  $as_echo_n "(cached) " >&6
38248else
38249  ac_check_lib_save_LIBS=$LIBS
38250LIBS="-lbfio  $LIBS"
38251cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38252/* end confdefs.h.  */
38253
38254/* Override any GCC internal prototype to avoid an error.
38255   Use char because int might match the return type of a GCC
38256   builtin and then its argument prototype would still apply.  */
38257#ifdef __cplusplus
38258extern "C"
38259#endif
38260char libbfio_get_version ();
38261int
38262main ()
38263{
38264return libbfio_get_version ();
38265  ;
38266  return 0;
38267}
38268_ACEOF
38269if ac_fn_c_try_link "$LINENO"; then :
38270  ac_cv_lib_bfio_libbfio_get_version=yes
38271else
38272  ac_cv_lib_bfio_libbfio_get_version=no
38273fi
38274rm -f core conftest.err conftest.$ac_objext \
38275    conftest$ac_exeext conftest.$ac_ext
38276LIBS=$ac_check_lib_save_LIBS
38277fi
38278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5
38279$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; }
38280if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then :
38281  ac_cv_libbfio_dummy=yes
38282else
38283  ac_cv_libbfio=no
38284fi
38285
38286
38287                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5
38288$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; }
38289if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then :
38290  $as_echo_n "(cached) " >&6
38291else
38292  ac_check_lib_save_LIBS=$LIBS
38293LIBS="-lbfio  $LIBS"
38294cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295/* end confdefs.h.  */
38296
38297/* Override any GCC internal prototype to avoid an error.
38298   Use char because int might match the return type of a GCC
38299   builtin and then its argument prototype would still apply.  */
38300#ifdef __cplusplus
38301extern "C"
38302#endif
38303char libbfio_handle_free ();
38304int
38305main ()
38306{
38307return libbfio_handle_free ();
38308  ;
38309  return 0;
38310}
38311_ACEOF
38312if ac_fn_c_try_link "$LINENO"; then :
38313  ac_cv_lib_bfio_libbfio_handle_free=yes
38314else
38315  ac_cv_lib_bfio_libbfio_handle_free=no
38316fi
38317rm -f core conftest.err conftest.$ac_objext \
38318    conftest$ac_exeext conftest.$ac_ext
38319LIBS=$ac_check_lib_save_LIBS
38320fi
38321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5
38322$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; }
38323if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then :
38324  ac_cv_libbfio_dummy=yes
38325else
38326  ac_cv_libbfio=no
38327fi
38328
38329        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5
38330$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; }
38331if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then :
38332  $as_echo_n "(cached) " >&6
38333else
38334  ac_check_lib_save_LIBS=$LIBS
38335LIBS="-lbfio  $LIBS"
38336cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38337/* end confdefs.h.  */
38338
38339/* Override any GCC internal prototype to avoid an error.
38340   Use char because int might match the return type of a GCC
38341   builtin and then its argument prototype would still apply.  */
38342#ifdef __cplusplus
38343extern "C"
38344#endif
38345char libbfio_handle_open ();
38346int
38347main ()
38348{
38349return libbfio_handle_open ();
38350  ;
38351  return 0;
38352}
38353_ACEOF
38354if ac_fn_c_try_link "$LINENO"; then :
38355  ac_cv_lib_bfio_libbfio_handle_open=yes
38356else
38357  ac_cv_lib_bfio_libbfio_handle_open=no
38358fi
38359rm -f core conftest.err conftest.$ac_objext \
38360    conftest$ac_exeext conftest.$ac_ext
38361LIBS=$ac_check_lib_save_LIBS
38362fi
38363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5
38364$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; }
38365if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then :
38366  ac_cv_libbfio_dummy=yes
38367else
38368  ac_cv_libbfio=no
38369fi
38370
38371        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5
38372$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; }
38373if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then :
38374  $as_echo_n "(cached) " >&6
38375else
38376  ac_check_lib_save_LIBS=$LIBS
38377LIBS="-lbfio  $LIBS"
38378cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38379/* end confdefs.h.  */
38380
38381/* Override any GCC internal prototype to avoid an error.
38382   Use char because int might match the return type of a GCC
38383   builtin and then its argument prototype would still apply.  */
38384#ifdef __cplusplus
38385extern "C"
38386#endif
38387char libbfio_handle_close ();
38388int
38389main ()
38390{
38391return libbfio_handle_close ();
38392  ;
38393  return 0;
38394}
38395_ACEOF
38396if ac_fn_c_try_link "$LINENO"; then :
38397  ac_cv_lib_bfio_libbfio_handle_close=yes
38398else
38399  ac_cv_lib_bfio_libbfio_handle_close=no
38400fi
38401rm -f core conftest.err conftest.$ac_objext \
38402    conftest$ac_exeext conftest.$ac_ext
38403LIBS=$ac_check_lib_save_LIBS
38404fi
38405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5
38406$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; }
38407if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then :
38408  ac_cv_libbfio_dummy=yes
38409else
38410  ac_cv_libbfio=no
38411fi
38412
38413        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5
38414$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; }
38415if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then :
38416  $as_echo_n "(cached) " >&6
38417else
38418  ac_check_lib_save_LIBS=$LIBS
38419LIBS="-lbfio  $LIBS"
38420cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38421/* end confdefs.h.  */
38422
38423/* Override any GCC internal prototype to avoid an error.
38424   Use char because int might match the return type of a GCC
38425   builtin and then its argument prototype would still apply.  */
38426#ifdef __cplusplus
38427extern "C"
38428#endif
38429char libbfio_handle_exists ();
38430int
38431main ()
38432{
38433return libbfio_handle_exists ();
38434  ;
38435  return 0;
38436}
38437_ACEOF
38438if ac_fn_c_try_link "$LINENO"; then :
38439  ac_cv_lib_bfio_libbfio_handle_exists=yes
38440else
38441  ac_cv_lib_bfio_libbfio_handle_exists=no
38442fi
38443rm -f core conftest.err conftest.$ac_objext \
38444    conftest$ac_exeext conftest.$ac_ext
38445LIBS=$ac_check_lib_save_LIBS
38446fi
38447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5
38448$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; }
38449if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then :
38450  ac_cv_libbfio_dummy=yes
38451else
38452  ac_cv_libbfio=no
38453fi
38454
38455        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5
38456$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; }
38457if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then :
38458  $as_echo_n "(cached) " >&6
38459else
38460  ac_check_lib_save_LIBS=$LIBS
38461LIBS="-lbfio  $LIBS"
38462cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38463/* end confdefs.h.  */
38464
38465/* Override any GCC internal prototype to avoid an error.
38466   Use char because int might match the return type of a GCC
38467   builtin and then its argument prototype would still apply.  */
38468#ifdef __cplusplus
38469extern "C"
38470#endif
38471char libbfio_handle_read_buffer ();
38472int
38473main ()
38474{
38475return libbfio_handle_read_buffer ();
38476  ;
38477  return 0;
38478}
38479_ACEOF
38480if ac_fn_c_try_link "$LINENO"; then :
38481  ac_cv_lib_bfio_libbfio_handle_read_buffer=yes
38482else
38483  ac_cv_lib_bfio_libbfio_handle_read_buffer=no
38484fi
38485rm -f core conftest.err conftest.$ac_objext \
38486    conftest$ac_exeext conftest.$ac_ext
38487LIBS=$ac_check_lib_save_LIBS
38488fi
38489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5
38490$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; }
38491if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then :
38492  ac_cv_libbfio_dummy=yes
38493else
38494  ac_cv_libbfio=no
38495fi
38496
38497        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5
38498$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; }
38499if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then :
38500  $as_echo_n "(cached) " >&6
38501else
38502  ac_check_lib_save_LIBS=$LIBS
38503LIBS="-lbfio  $LIBS"
38504cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38505/* end confdefs.h.  */
38506
38507/* Override any GCC internal prototype to avoid an error.
38508   Use char because int might match the return type of a GCC
38509   builtin and then its argument prototype would still apply.  */
38510#ifdef __cplusplus
38511extern "C"
38512#endif
38513char libbfio_handle_read_buffer_at_offset ();
38514int
38515main ()
38516{
38517return libbfio_handle_read_buffer_at_offset ();
38518  ;
38519  return 0;
38520}
38521_ACEOF
38522if ac_fn_c_try_link "$LINENO"; then :
38523  ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes
38524else
38525  ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no
38526fi
38527rm -f core conftest.err conftest.$ac_objext \
38528    conftest$ac_exeext conftest.$ac_ext
38529LIBS=$ac_check_lib_save_LIBS
38530fi
38531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5
38532$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; }
38533if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then :
38534  ac_cv_libbfio_dummy=yes
38535else
38536  ac_cv_libbfio=no
38537fi
38538
38539        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5
38540$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; }
38541if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then :
38542  $as_echo_n "(cached) " >&6
38543else
38544  ac_check_lib_save_LIBS=$LIBS
38545LIBS="-lbfio  $LIBS"
38546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38547/* end confdefs.h.  */
38548
38549/* Override any GCC internal prototype to avoid an error.
38550   Use char because int might match the return type of a GCC
38551   builtin and then its argument prototype would still apply.  */
38552#ifdef __cplusplus
38553extern "C"
38554#endif
38555char libbfio_handle_write_buffer ();
38556int
38557main ()
38558{
38559return libbfio_handle_write_buffer ();
38560  ;
38561  return 0;
38562}
38563_ACEOF
38564if ac_fn_c_try_link "$LINENO"; then :
38565  ac_cv_lib_bfio_libbfio_handle_write_buffer=yes
38566else
38567  ac_cv_lib_bfio_libbfio_handle_write_buffer=no
38568fi
38569rm -f core conftest.err conftest.$ac_objext \
38570    conftest$ac_exeext conftest.$ac_ext
38571LIBS=$ac_check_lib_save_LIBS
38572fi
38573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5
38574$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; }
38575if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then :
38576  ac_cv_libbfio_dummy=yes
38577else
38578  ac_cv_libbfio=no
38579fi
38580
38581        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5
38582$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; }
38583if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then :
38584  $as_echo_n "(cached) " >&6
38585else
38586  ac_check_lib_save_LIBS=$LIBS
38587LIBS="-lbfio  $LIBS"
38588cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38589/* end confdefs.h.  */
38590
38591/* Override any GCC internal prototype to avoid an error.
38592   Use char because int might match the return type of a GCC
38593   builtin and then its argument prototype would still apply.  */
38594#ifdef __cplusplus
38595extern "C"
38596#endif
38597char libbfio_handle_write_buffer_at_offset ();
38598int
38599main ()
38600{
38601return libbfio_handle_write_buffer_at_offset ();
38602  ;
38603  return 0;
38604}
38605_ACEOF
38606if ac_fn_c_try_link "$LINENO"; then :
38607  ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes
38608else
38609  ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no
38610fi
38611rm -f core conftest.err conftest.$ac_objext \
38612    conftest$ac_exeext conftest.$ac_ext
38613LIBS=$ac_check_lib_save_LIBS
38614fi
38615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5
38616$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; }
38617if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then :
38618  ac_cv_libbfio_dummy=yes
38619else
38620  ac_cv_libbfio=no
38621fi
38622
38623        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5
38624$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; }
38625if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then :
38626  $as_echo_n "(cached) " >&6
38627else
38628  ac_check_lib_save_LIBS=$LIBS
38629LIBS="-lbfio  $LIBS"
38630cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38631/* end confdefs.h.  */
38632
38633/* Override any GCC internal prototype to avoid an error.
38634   Use char because int might match the return type of a GCC
38635   builtin and then its argument prototype would still apply.  */
38636#ifdef __cplusplus
38637extern "C"
38638#endif
38639char libbfio_handle_seek_offset ();
38640int
38641main ()
38642{
38643return libbfio_handle_seek_offset ();
38644  ;
38645  return 0;
38646}
38647_ACEOF
38648if ac_fn_c_try_link "$LINENO"; then :
38649  ac_cv_lib_bfio_libbfio_handle_seek_offset=yes
38650else
38651  ac_cv_lib_bfio_libbfio_handle_seek_offset=no
38652fi
38653rm -f core conftest.err conftest.$ac_objext \
38654    conftest$ac_exeext conftest.$ac_ext
38655LIBS=$ac_check_lib_save_LIBS
38656fi
38657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5
38658$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; }
38659if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then :
38660  ac_cv_libbfio_dummy=yes
38661else
38662  ac_cv_libbfio=no
38663fi
38664
38665
38666        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5
38667$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; }
38668if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then :
38669  $as_echo_n "(cached) " >&6
38670else
38671  ac_check_lib_save_LIBS=$LIBS
38672LIBS="-lbfio  $LIBS"
38673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38674/* end confdefs.h.  */
38675
38676/* Override any GCC internal prototype to avoid an error.
38677   Use char because int might match the return type of a GCC
38678   builtin and then its argument prototype would still apply.  */
38679#ifdef __cplusplus
38680extern "C"
38681#endif
38682char libbfio_handle_is_open ();
38683int
38684main ()
38685{
38686return libbfio_handle_is_open ();
38687  ;
38688  return 0;
38689}
38690_ACEOF
38691if ac_fn_c_try_link "$LINENO"; then :
38692  ac_cv_lib_bfio_libbfio_handle_is_open=yes
38693else
38694  ac_cv_lib_bfio_libbfio_handle_is_open=no
38695fi
38696rm -f core conftest.err conftest.$ac_objext \
38697    conftest$ac_exeext conftest.$ac_ext
38698LIBS=$ac_check_lib_save_LIBS
38699fi
38700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5
38701$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; }
38702if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then :
38703  ac_cv_libbfio_dummy=yes
38704else
38705  ac_cv_libbfio=no
38706fi
38707
38708        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5
38709$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; }
38710if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then :
38711  $as_echo_n "(cached) " >&6
38712else
38713  ac_check_lib_save_LIBS=$LIBS
38714LIBS="-lbfio  $LIBS"
38715cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38716/* end confdefs.h.  */
38717
38718/* Override any GCC internal prototype to avoid an error.
38719   Use char because int might match the return type of a GCC
38720   builtin and then its argument prototype would still apply.  */
38721#ifdef __cplusplus
38722extern "C"
38723#endif
38724char libbfio_handle_get_offset ();
38725int
38726main ()
38727{
38728return libbfio_handle_get_offset ();
38729  ;
38730  return 0;
38731}
38732_ACEOF
38733if ac_fn_c_try_link "$LINENO"; then :
38734  ac_cv_lib_bfio_libbfio_handle_get_offset=yes
38735else
38736  ac_cv_lib_bfio_libbfio_handle_get_offset=no
38737fi
38738rm -f core conftest.err conftest.$ac_objext \
38739    conftest$ac_exeext conftest.$ac_ext
38740LIBS=$ac_check_lib_save_LIBS
38741fi
38742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5
38743$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; }
38744if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then :
38745  ac_cv_libbfio_dummy=yes
38746else
38747  ac_cv_libbfio=no
38748fi
38749
38750        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5
38751$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; }
38752if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then :
38753  $as_echo_n "(cached) " >&6
38754else
38755  ac_check_lib_save_LIBS=$LIBS
38756LIBS="-lbfio  $LIBS"
38757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38758/* end confdefs.h.  */
38759
38760/* Override any GCC internal prototype to avoid an error.
38761   Use char because int might match the return type of a GCC
38762   builtin and then its argument prototype would still apply.  */
38763#ifdef __cplusplus
38764extern "C"
38765#endif
38766char libbfio_handle_get_size ();
38767int
38768main ()
38769{
38770return libbfio_handle_get_size ();
38771  ;
38772  return 0;
38773}
38774_ACEOF
38775if ac_fn_c_try_link "$LINENO"; then :
38776  ac_cv_lib_bfio_libbfio_handle_get_size=yes
38777else
38778  ac_cv_lib_bfio_libbfio_handle_get_size=no
38779fi
38780rm -f core conftest.err conftest.$ac_objext \
38781    conftest$ac_exeext conftest.$ac_ext
38782LIBS=$ac_check_lib_save_LIBS
38783fi
38784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5
38785$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; }
38786if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then :
38787  ac_cv_libbfio_dummy=yes
38788else
38789  ac_cv_libbfio=no
38790fi
38791
38792        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5
38793$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; }
38794if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then :
38795  $as_echo_n "(cached) " >&6
38796else
38797  ac_check_lib_save_LIBS=$LIBS
38798LIBS="-lbfio  $LIBS"
38799cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800/* end confdefs.h.  */
38801
38802/* Override any GCC internal prototype to avoid an error.
38803   Use char because int might match the return type of a GCC
38804   builtin and then its argument prototype would still apply.  */
38805#ifdef __cplusplus
38806extern "C"
38807#endif
38808char libbfio_handle_set_track_offsets_read ();
38809int
38810main ()
38811{
38812return libbfio_handle_set_track_offsets_read ();
38813  ;
38814  return 0;
38815}
38816_ACEOF
38817if ac_fn_c_try_link "$LINENO"; then :
38818  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes
38819else
38820  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no
38821fi
38822rm -f core conftest.err conftest.$ac_objext \
38823    conftest$ac_exeext conftest.$ac_ext
38824LIBS=$ac_check_lib_save_LIBS
38825fi
38826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5
38827$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; }
38828if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then :
38829  ac_cv_libbfio_dummy=yes
38830else
38831  ac_cv_libbfio=no
38832fi
38833
38834        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5
38835$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; }
38836if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then :
38837  $as_echo_n "(cached) " >&6
38838else
38839  ac_check_lib_save_LIBS=$LIBS
38840LIBS="-lbfio  $LIBS"
38841cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38842/* end confdefs.h.  */
38843
38844/* Override any GCC internal prototype to avoid an error.
38845   Use char because int might match the return type of a GCC
38846   builtin and then its argument prototype would still apply.  */
38847#ifdef __cplusplus
38848extern "C"
38849#endif
38850char libbfio_handle_get_number_of_offsets_read ();
38851int
38852main ()
38853{
38854return libbfio_handle_get_number_of_offsets_read ();
38855  ;
38856  return 0;
38857}
38858_ACEOF
38859if ac_fn_c_try_link "$LINENO"; then :
38860  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes
38861else
38862  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no
38863fi
38864rm -f core conftest.err conftest.$ac_objext \
38865    conftest$ac_exeext conftest.$ac_ext
38866LIBS=$ac_check_lib_save_LIBS
38867fi
38868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5
38869$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; }
38870if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then :
38871  ac_cv_libbfio_dummy=yes
38872else
38873  ac_cv_libbfio=no
38874fi
38875
38876        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5
38877$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; }
38878if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then :
38879  $as_echo_n "(cached) " >&6
38880else
38881  ac_check_lib_save_LIBS=$LIBS
38882LIBS="-lbfio  $LIBS"
38883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38884/* end confdefs.h.  */
38885
38886/* Override any GCC internal prototype to avoid an error.
38887   Use char because int might match the return type of a GCC
38888   builtin and then its argument prototype would still apply.  */
38889#ifdef __cplusplus
38890extern "C"
38891#endif
38892char libbfio_handle_get_offset_read ();
38893int
38894main ()
38895{
38896return libbfio_handle_get_offset_read ();
38897  ;
38898  return 0;
38899}
38900_ACEOF
38901if ac_fn_c_try_link "$LINENO"; then :
38902  ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes
38903else
38904  ac_cv_lib_bfio_libbfio_handle_get_offset_read=no
38905fi
38906rm -f core conftest.err conftest.$ac_objext \
38907    conftest$ac_exeext conftest.$ac_ext
38908LIBS=$ac_check_lib_save_LIBS
38909fi
38910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5
38911$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; }
38912if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then :
38913  ac_cv_libbfio_dummy=yes
38914else
38915  ac_cv_libbfio=no
38916fi
38917
38918
38919                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5
38920$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; }
38921if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then :
38922  $as_echo_n "(cached) " >&6
38923else
38924  ac_check_lib_save_LIBS=$LIBS
38925LIBS="-lbfio  $LIBS"
38926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38927/* end confdefs.h.  */
38928
38929/* Override any GCC internal prototype to avoid an error.
38930   Use char because int might match the return type of a GCC
38931   builtin and then its argument prototype would still apply.  */
38932#ifdef __cplusplus
38933extern "C"
38934#endif
38935char libbfio_file_initialize ();
38936int
38937main ()
38938{
38939return libbfio_file_initialize ();
38940  ;
38941  return 0;
38942}
38943_ACEOF
38944if ac_fn_c_try_link "$LINENO"; then :
38945  ac_cv_lib_bfio_libbfio_file_initialize=yes
38946else
38947  ac_cv_lib_bfio_libbfio_file_initialize=no
38948fi
38949rm -f core conftest.err conftest.$ac_objext \
38950    conftest$ac_exeext conftest.$ac_ext
38951LIBS=$ac_check_lib_save_LIBS
38952fi
38953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5
38954$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; }
38955if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then :
38956  ac_cv_libbfio_dummy=yes
38957else
38958  ac_cv_libbfio=no
38959fi
38960
38961        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5
38962$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; }
38963if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then :
38964  $as_echo_n "(cached) " >&6
38965else
38966  ac_check_lib_save_LIBS=$LIBS
38967LIBS="-lbfio  $LIBS"
38968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38969/* end confdefs.h.  */
38970
38971/* Override any GCC internal prototype to avoid an error.
38972   Use char because int might match the return type of a GCC
38973   builtin and then its argument prototype would still apply.  */
38974#ifdef __cplusplus
38975extern "C"
38976#endif
38977char libbfio_file_get_name_size ();
38978int
38979main ()
38980{
38981return libbfio_file_get_name_size ();
38982  ;
38983  return 0;
38984}
38985_ACEOF
38986if ac_fn_c_try_link "$LINENO"; then :
38987  ac_cv_lib_bfio_libbfio_file_get_name_size=yes
38988else
38989  ac_cv_lib_bfio_libbfio_file_get_name_size=no
38990fi
38991rm -f core conftest.err conftest.$ac_objext \
38992    conftest$ac_exeext conftest.$ac_ext
38993LIBS=$ac_check_lib_save_LIBS
38994fi
38995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5
38996$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; }
38997if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then :
38998  ac_cv_libbfio_dummy=yes
38999else
39000  ac_cv_libbfio=no
39001fi
39002
39003        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5
39004$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; }
39005if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then :
39006  $as_echo_n "(cached) " >&6
39007else
39008  ac_check_lib_save_LIBS=$LIBS
39009LIBS="-lbfio  $LIBS"
39010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39011/* end confdefs.h.  */
39012
39013/* Override any GCC internal prototype to avoid an error.
39014   Use char because int might match the return type of a GCC
39015   builtin and then its argument prototype would still apply.  */
39016#ifdef __cplusplus
39017extern "C"
39018#endif
39019char libbfio_file_get_name ();
39020int
39021main ()
39022{
39023return libbfio_file_get_name ();
39024  ;
39025  return 0;
39026}
39027_ACEOF
39028if ac_fn_c_try_link "$LINENO"; then :
39029  ac_cv_lib_bfio_libbfio_file_get_name=yes
39030else
39031  ac_cv_lib_bfio_libbfio_file_get_name=no
39032fi
39033rm -f core conftest.err conftest.$ac_objext \
39034    conftest$ac_exeext conftest.$ac_ext
39035LIBS=$ac_check_lib_save_LIBS
39036fi
39037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5
39038$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; }
39039if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then :
39040  ac_cv_libbfio_dummy=yes
39041else
39042  ac_cv_libbfio=no
39043fi
39044
39045        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5
39046$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; }
39047if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then :
39048  $as_echo_n "(cached) " >&6
39049else
39050  ac_check_lib_save_LIBS=$LIBS
39051LIBS="-lbfio  $LIBS"
39052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053/* end confdefs.h.  */
39054
39055/* Override any GCC internal prototype to avoid an error.
39056   Use char because int might match the return type of a GCC
39057   builtin and then its argument prototype would still apply.  */
39058#ifdef __cplusplus
39059extern "C"
39060#endif
39061char libbfio_file_set_name ();
39062int
39063main ()
39064{
39065return libbfio_file_set_name ();
39066  ;
39067  return 0;
39068}
39069_ACEOF
39070if ac_fn_c_try_link "$LINENO"; then :
39071  ac_cv_lib_bfio_libbfio_file_set_name=yes
39072else
39073  ac_cv_lib_bfio_libbfio_file_set_name=no
39074fi
39075rm -f core conftest.err conftest.$ac_objext \
39076    conftest$ac_exeext conftest.$ac_ext
39077LIBS=$ac_check_lib_save_LIBS
39078fi
39079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5
39080$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; }
39081if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then :
39082  ac_cv_libbfio_dummy=yes
39083else
39084  ac_cv_libbfio=no
39085fi
39086
39087
39088        if test "x$ac_cv_enable_wide_character_type" != xno; then :
39089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5
39090$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; }
39091if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then :
39092  $as_echo_n "(cached) " >&6
39093else
39094  ac_check_lib_save_LIBS=$LIBS
39095LIBS="-lbfio  $LIBS"
39096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39097/* end confdefs.h.  */
39098
39099/* Override any GCC internal prototype to avoid an error.
39100   Use char because int might match the return type of a GCC
39101   builtin and then its argument prototype would still apply.  */
39102#ifdef __cplusplus
39103extern "C"
39104#endif
39105char libbfio_file_get_name_size_wide ();
39106int
39107main ()
39108{
39109return libbfio_file_get_name_size_wide ();
39110  ;
39111  return 0;
39112}
39113_ACEOF
39114if ac_fn_c_try_link "$LINENO"; then :
39115  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes
39116else
39117  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no
39118fi
39119rm -f core conftest.err conftest.$ac_objext \
39120    conftest$ac_exeext conftest.$ac_ext
39121LIBS=$ac_check_lib_save_LIBS
39122fi
39123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5
39124$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; }
39125if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then :
39126  ac_cv_libbfio_dummy=yes
39127else
39128  ac_cv_libbfio=no
39129fi
39130
39131          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5
39132$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; }
39133if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then :
39134  $as_echo_n "(cached) " >&6
39135else
39136  ac_check_lib_save_LIBS=$LIBS
39137LIBS="-lbfio  $LIBS"
39138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39139/* end confdefs.h.  */
39140
39141/* Override any GCC internal prototype to avoid an error.
39142   Use char because int might match the return type of a GCC
39143   builtin and then its argument prototype would still apply.  */
39144#ifdef __cplusplus
39145extern "C"
39146#endif
39147char libbfio_file_get_name_wide ();
39148int
39149main ()
39150{
39151return libbfio_file_get_name_wide ();
39152  ;
39153  return 0;
39154}
39155_ACEOF
39156if ac_fn_c_try_link "$LINENO"; then :
39157  ac_cv_lib_bfio_libbfio_file_get_name_wide=yes
39158else
39159  ac_cv_lib_bfio_libbfio_file_get_name_wide=no
39160fi
39161rm -f core conftest.err conftest.$ac_objext \
39162    conftest$ac_exeext conftest.$ac_ext
39163LIBS=$ac_check_lib_save_LIBS
39164fi
39165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5
39166$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; }
39167if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then :
39168  ac_cv_libbfio_dummy=yes
39169else
39170  ac_cv_libbfio=no
39171fi
39172
39173          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5
39174$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; }
39175if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then :
39176  $as_echo_n "(cached) " >&6
39177else
39178  ac_check_lib_save_LIBS=$LIBS
39179LIBS="-lbfio  $LIBS"
39180cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39181/* end confdefs.h.  */
39182
39183/* Override any GCC internal prototype to avoid an error.
39184   Use char because int might match the return type of a GCC
39185   builtin and then its argument prototype would still apply.  */
39186#ifdef __cplusplus
39187extern "C"
39188#endif
39189char libbfio_file_set_name_wide ();
39190int
39191main ()
39192{
39193return libbfio_file_set_name_wide ();
39194  ;
39195  return 0;
39196}
39197_ACEOF
39198if ac_fn_c_try_link "$LINENO"; then :
39199  ac_cv_lib_bfio_libbfio_file_set_name_wide=yes
39200else
39201  ac_cv_lib_bfio_libbfio_file_set_name_wide=no
39202fi
39203rm -f core conftest.err conftest.$ac_objext \
39204    conftest$ac_exeext conftest.$ac_ext
39205LIBS=$ac_check_lib_save_LIBS
39206fi
39207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5
39208$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; }
39209if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then :
39210  ac_cv_libbfio_dummy=yes
39211else
39212  ac_cv_libbfio=no
39213fi
39214
39215
39216fi
39217
39218                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5
39219$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; }
39220if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then :
39221  $as_echo_n "(cached) " >&6
39222else
39223  ac_check_lib_save_LIBS=$LIBS
39224LIBS="-lbfio  $LIBS"
39225cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39226/* end confdefs.h.  */
39227
39228/* Override any GCC internal prototype to avoid an error.
39229   Use char because int might match the return type of a GCC
39230   builtin and then its argument prototype would still apply.  */
39231#ifdef __cplusplus
39232extern "C"
39233#endif
39234char libbfio_pool_initialize ();
39235int
39236main ()
39237{
39238return libbfio_pool_initialize ();
39239  ;
39240  return 0;
39241}
39242_ACEOF
39243if ac_fn_c_try_link "$LINENO"; then :
39244  ac_cv_lib_bfio_libbfio_pool_initialize=yes
39245else
39246  ac_cv_lib_bfio_libbfio_pool_initialize=no
39247fi
39248rm -f core conftest.err conftest.$ac_objext \
39249    conftest$ac_exeext conftest.$ac_ext
39250LIBS=$ac_check_lib_save_LIBS
39251fi
39252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5
39253$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; }
39254if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then :
39255  ac_cv_libbfio_dummy=yes
39256else
39257  ac_cv_libbfio=no
39258fi
39259
39260        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5
39261$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; }
39262if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then :
39263  $as_echo_n "(cached) " >&6
39264else
39265  ac_check_lib_save_LIBS=$LIBS
39266LIBS="-lbfio  $LIBS"
39267cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39268/* end confdefs.h.  */
39269
39270/* Override any GCC internal prototype to avoid an error.
39271   Use char because int might match the return type of a GCC
39272   builtin and then its argument prototype would still apply.  */
39273#ifdef __cplusplus
39274extern "C"
39275#endif
39276char libbfio_pool_free ();
39277int
39278main ()
39279{
39280return libbfio_pool_free ();
39281  ;
39282  return 0;
39283}
39284_ACEOF
39285if ac_fn_c_try_link "$LINENO"; then :
39286  ac_cv_lib_bfio_libbfio_pool_free=yes
39287else
39288  ac_cv_lib_bfio_libbfio_pool_free=no
39289fi
39290rm -f core conftest.err conftest.$ac_objext \
39291    conftest$ac_exeext conftest.$ac_ext
39292LIBS=$ac_check_lib_save_LIBS
39293fi
39294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5
39295$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; }
39296if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then :
39297  ac_cv_libbfio_dummy=yes
39298else
39299  ac_cv_libbfio=no
39300fi
39301
39302        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5
39303$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; }
39304if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then :
39305  $as_echo_n "(cached) " >&6
39306else
39307  ac_check_lib_save_LIBS=$LIBS
39308LIBS="-lbfio  $LIBS"
39309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39310/* end confdefs.h.  */
39311
39312/* Override any GCC internal prototype to avoid an error.
39313   Use char because int might match the return type of a GCC
39314   builtin and then its argument prototype would still apply.  */
39315#ifdef __cplusplus
39316extern "C"
39317#endif
39318char libbfio_pool_clone ();
39319int
39320main ()
39321{
39322return libbfio_pool_clone ();
39323  ;
39324  return 0;
39325}
39326_ACEOF
39327if ac_fn_c_try_link "$LINENO"; then :
39328  ac_cv_lib_bfio_libbfio_pool_clone=yes
39329else
39330  ac_cv_lib_bfio_libbfio_pool_clone=no
39331fi
39332rm -f core conftest.err conftest.$ac_objext \
39333    conftest$ac_exeext conftest.$ac_ext
39334LIBS=$ac_check_lib_save_LIBS
39335fi
39336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5
39337$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; }
39338if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then :
39339  ac_cv_libbfio_dummy=yes
39340else
39341  ac_cv_libbfio=no
39342fi
39343
39344
39345        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5
39346$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; }
39347if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then :
39348  $as_echo_n "(cached) " >&6
39349else
39350  ac_check_lib_save_LIBS=$LIBS
39351LIBS="-lbfio  $LIBS"
39352cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39353/* end confdefs.h.  */
39354
39355/* Override any GCC internal prototype to avoid an error.
39356   Use char because int might match the return type of a GCC
39357   builtin and then its argument prototype would still apply.  */
39358#ifdef __cplusplus
39359extern "C"
39360#endif
39361char libbfio_pool_get_number_of_handles ();
39362int
39363main ()
39364{
39365return libbfio_pool_get_number_of_handles ();
39366  ;
39367  return 0;
39368}
39369_ACEOF
39370if ac_fn_c_try_link "$LINENO"; then :
39371  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes
39372else
39373  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no
39374fi
39375rm -f core conftest.err conftest.$ac_objext \
39376    conftest$ac_exeext conftest.$ac_ext
39377LIBS=$ac_check_lib_save_LIBS
39378fi
39379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5
39380$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; }
39381if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then :
39382  ac_cv_libbfio_dummy=yes
39383else
39384  ac_cv_libbfio=no
39385fi
39386
39387        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5
39388$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; }
39389if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then :
39390  $as_echo_n "(cached) " >&6
39391else
39392  ac_check_lib_save_LIBS=$LIBS
39393LIBS="-lbfio  $LIBS"
39394cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39395/* end confdefs.h.  */
39396
39397/* Override any GCC internal prototype to avoid an error.
39398   Use char because int might match the return type of a GCC
39399   builtin and then its argument prototype would still apply.  */
39400#ifdef __cplusplus
39401extern "C"
39402#endif
39403char libbfio_pool_get_handle ();
39404int
39405main ()
39406{
39407return libbfio_pool_get_handle ();
39408  ;
39409  return 0;
39410}
39411_ACEOF
39412if ac_fn_c_try_link "$LINENO"; then :
39413  ac_cv_lib_bfio_libbfio_pool_get_handle=yes
39414else
39415  ac_cv_lib_bfio_libbfio_pool_get_handle=no
39416fi
39417rm -f core conftest.err conftest.$ac_objext \
39418    conftest$ac_exeext conftest.$ac_ext
39419LIBS=$ac_check_lib_save_LIBS
39420fi
39421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5
39422$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; }
39423if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then :
39424  ac_cv_libbfio_dummy=yes
39425else
39426  ac_cv_libbfio=no
39427fi
39428
39429        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5
39430$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; }
39431if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then :
39432  $as_echo_n "(cached) " >&6
39433else
39434  ac_check_lib_save_LIBS=$LIBS
39435LIBS="-lbfio  $LIBS"
39436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39437/* end confdefs.h.  */
39438
39439/* Override any GCC internal prototype to avoid an error.
39440   Use char because int might match the return type of a GCC
39441   builtin and then its argument prototype would still apply.  */
39442#ifdef __cplusplus
39443extern "C"
39444#endif
39445char libbfio_pool_set_handle ();
39446int
39447main ()
39448{
39449return libbfio_pool_set_handle ();
39450  ;
39451  return 0;
39452}
39453_ACEOF
39454if ac_fn_c_try_link "$LINENO"; then :
39455  ac_cv_lib_bfio_libbfio_pool_set_handle=yes
39456else
39457  ac_cv_lib_bfio_libbfio_pool_set_handle=no
39458fi
39459rm -f core conftest.err conftest.$ac_objext \
39460    conftest$ac_exeext conftest.$ac_ext
39461LIBS=$ac_check_lib_save_LIBS
39462fi
39463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5
39464$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; }
39465if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then :
39466  ac_cv_libbfio_dummy=yes
39467else
39468  ac_cv_libbfio=no
39469fi
39470
39471        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5
39472$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; }
39473if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then :
39474  $as_echo_n "(cached) " >&6
39475else
39476  ac_check_lib_save_LIBS=$LIBS
39477LIBS="-lbfio  $LIBS"
39478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39479/* end confdefs.h.  */
39480
39481/* Override any GCC internal prototype to avoid an error.
39482   Use char because int might match the return type of a GCC
39483   builtin and then its argument prototype would still apply.  */
39484#ifdef __cplusplus
39485extern "C"
39486#endif
39487char libbfio_pool_append_handle ();
39488int
39489main ()
39490{
39491return libbfio_pool_append_handle ();
39492  ;
39493  return 0;
39494}
39495_ACEOF
39496if ac_fn_c_try_link "$LINENO"; then :
39497  ac_cv_lib_bfio_libbfio_pool_append_handle=yes
39498else
39499  ac_cv_lib_bfio_libbfio_pool_append_handle=no
39500fi
39501rm -f core conftest.err conftest.$ac_objext \
39502    conftest$ac_exeext conftest.$ac_ext
39503LIBS=$ac_check_lib_save_LIBS
39504fi
39505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5
39506$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; }
39507if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then :
39508  ac_cv_libbfio_dummy=yes
39509else
39510  ac_cv_libbfio=no
39511fi
39512
39513        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5
39514$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; }
39515if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then :
39516  $as_echo_n "(cached) " >&6
39517else
39518  ac_check_lib_save_LIBS=$LIBS
39519LIBS="-lbfio  $LIBS"
39520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39521/* end confdefs.h.  */
39522
39523/* Override any GCC internal prototype to avoid an error.
39524   Use char because int might match the return type of a GCC
39525   builtin and then its argument prototype would still apply.  */
39526#ifdef __cplusplus
39527extern "C"
39528#endif
39529char libbfio_pool_remove_handle ();
39530int
39531main ()
39532{
39533return libbfio_pool_remove_handle ();
39534  ;
39535  return 0;
39536}
39537_ACEOF
39538if ac_fn_c_try_link "$LINENO"; then :
39539  ac_cv_lib_bfio_libbfio_pool_remove_handle=yes
39540else
39541  ac_cv_lib_bfio_libbfio_pool_remove_handle=no
39542fi
39543rm -f core conftest.err conftest.$ac_objext \
39544    conftest$ac_exeext conftest.$ac_ext
39545LIBS=$ac_check_lib_save_LIBS
39546fi
39547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5
39548$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; }
39549if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then :
39550  ac_cv_libbfio_dummy=yes
39551else
39552  ac_cv_libbfio=no
39553fi
39554
39555        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5
39556$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; }
39557if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then :
39558  $as_echo_n "(cached) " >&6
39559else
39560  ac_check_lib_save_LIBS=$LIBS
39561LIBS="-lbfio  $LIBS"
39562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39563/* end confdefs.h.  */
39564
39565/* Override any GCC internal prototype to avoid an error.
39566   Use char because int might match the return type of a GCC
39567   builtin and then its argument prototype would still apply.  */
39568#ifdef __cplusplus
39569extern "C"
39570#endif
39571char libbfio_pool_get_maximum_number_of_open_handles ();
39572int
39573main ()
39574{
39575return libbfio_pool_get_maximum_number_of_open_handles ();
39576  ;
39577  return 0;
39578}
39579_ACEOF
39580if ac_fn_c_try_link "$LINENO"; then :
39581  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes
39582else
39583  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no
39584fi
39585rm -f core conftest.err conftest.$ac_objext \
39586    conftest$ac_exeext conftest.$ac_ext
39587LIBS=$ac_check_lib_save_LIBS
39588fi
39589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5
39590$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; }
39591if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then :
39592  ac_cv_libbfio_dummy=yes
39593else
39594  ac_cv_libbfio=no
39595fi
39596
39597        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5
39598$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; }
39599if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then :
39600  $as_echo_n "(cached) " >&6
39601else
39602  ac_check_lib_save_LIBS=$LIBS
39603LIBS="-lbfio  $LIBS"
39604cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39605/* end confdefs.h.  */
39606
39607/* Override any GCC internal prototype to avoid an error.
39608   Use char because int might match the return type of a GCC
39609   builtin and then its argument prototype would still apply.  */
39610#ifdef __cplusplus
39611extern "C"
39612#endif
39613char libbfio_pool_set_maximum_number_of_open_handles ();
39614int
39615main ()
39616{
39617return libbfio_pool_set_maximum_number_of_open_handles ();
39618  ;
39619  return 0;
39620}
39621_ACEOF
39622if ac_fn_c_try_link "$LINENO"; then :
39623  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes
39624else
39625  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no
39626fi
39627rm -f core conftest.err conftest.$ac_objext \
39628    conftest$ac_exeext conftest.$ac_ext
39629LIBS=$ac_check_lib_save_LIBS
39630fi
39631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5
39632$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; }
39633if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then :
39634  ac_cv_libbfio_dummy=yes
39635else
39636  ac_cv_libbfio=no
39637fi
39638
39639
39640        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5
39641$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; }
39642if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then :
39643  $as_echo_n "(cached) " >&6
39644else
39645  ac_check_lib_save_LIBS=$LIBS
39646LIBS="-lbfio  $LIBS"
39647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39648/* end confdefs.h.  */
39649
39650/* Override any GCC internal prototype to avoid an error.
39651   Use char because int might match the return type of a GCC
39652   builtin and then its argument prototype would still apply.  */
39653#ifdef __cplusplus
39654extern "C"
39655#endif
39656char libbfio_pool_open ();
39657int
39658main ()
39659{
39660return libbfio_pool_open ();
39661  ;
39662  return 0;
39663}
39664_ACEOF
39665if ac_fn_c_try_link "$LINENO"; then :
39666  ac_cv_lib_bfio_libbfio_pool_open=yes
39667else
39668  ac_cv_lib_bfio_libbfio_pool_open=no
39669fi
39670rm -f core conftest.err conftest.$ac_objext \
39671    conftest$ac_exeext conftest.$ac_ext
39672LIBS=$ac_check_lib_save_LIBS
39673fi
39674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5
39675$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; }
39676if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then :
39677  ac_cv_libbfio_dummy=yes
39678else
39679  ac_cv_libbfio=no
39680fi
39681
39682        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5
39683$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; }
39684if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then :
39685  $as_echo_n "(cached) " >&6
39686else
39687  ac_check_lib_save_LIBS=$LIBS
39688LIBS="-lbfio  $LIBS"
39689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39690/* end confdefs.h.  */
39691
39692/* Override any GCC internal prototype to avoid an error.
39693   Use char because int might match the return type of a GCC
39694   builtin and then its argument prototype would still apply.  */
39695#ifdef __cplusplus
39696extern "C"
39697#endif
39698char libbfio_pool_reopen ();
39699int
39700main ()
39701{
39702return libbfio_pool_reopen ();
39703  ;
39704  return 0;
39705}
39706_ACEOF
39707if ac_fn_c_try_link "$LINENO"; then :
39708  ac_cv_lib_bfio_libbfio_pool_reopen=yes
39709else
39710  ac_cv_lib_bfio_libbfio_pool_reopen=no
39711fi
39712rm -f core conftest.err conftest.$ac_objext \
39713    conftest$ac_exeext conftest.$ac_ext
39714LIBS=$ac_check_lib_save_LIBS
39715fi
39716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5
39717$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; }
39718if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then :
39719  ac_cv_libbfio_dummy=yes
39720else
39721  ac_cv_libbfio=no
39722fi
39723
39724        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5
39725$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; }
39726if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then :
39727  $as_echo_n "(cached) " >&6
39728else
39729  ac_check_lib_save_LIBS=$LIBS
39730LIBS="-lbfio  $LIBS"
39731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39732/* end confdefs.h.  */
39733
39734/* Override any GCC internal prototype to avoid an error.
39735   Use char because int might match the return type of a GCC
39736   builtin and then its argument prototype would still apply.  */
39737#ifdef __cplusplus
39738extern "C"
39739#endif
39740char libbfio_pool_close ();
39741int
39742main ()
39743{
39744return libbfio_pool_close ();
39745  ;
39746  return 0;
39747}
39748_ACEOF
39749if ac_fn_c_try_link "$LINENO"; then :
39750  ac_cv_lib_bfio_libbfio_pool_close=yes
39751else
39752  ac_cv_lib_bfio_libbfio_pool_close=no
39753fi
39754rm -f core conftest.err conftest.$ac_objext \
39755    conftest$ac_exeext conftest.$ac_ext
39756LIBS=$ac_check_lib_save_LIBS
39757fi
39758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5
39759$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; }
39760if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then :
39761  ac_cv_libbfio_dummy=yes
39762else
39763  ac_cv_libbfio=no
39764fi
39765
39766        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5
39767$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; }
39768if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then :
39769  $as_echo_n "(cached) " >&6
39770else
39771  ac_check_lib_save_LIBS=$LIBS
39772LIBS="-lbfio  $LIBS"
39773cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39774/* end confdefs.h.  */
39775
39776/* Override any GCC internal prototype to avoid an error.
39777   Use char because int might match the return type of a GCC
39778   builtin and then its argument prototype would still apply.  */
39779#ifdef __cplusplus
39780extern "C"
39781#endif
39782char libbfio_pool_close_all ();
39783int
39784main ()
39785{
39786return libbfio_pool_close_all ();
39787  ;
39788  return 0;
39789}
39790_ACEOF
39791if ac_fn_c_try_link "$LINENO"; then :
39792  ac_cv_lib_bfio_libbfio_pool_close_all=yes
39793else
39794  ac_cv_lib_bfio_libbfio_pool_close_all=no
39795fi
39796rm -f core conftest.err conftest.$ac_objext \
39797    conftest$ac_exeext conftest.$ac_ext
39798LIBS=$ac_check_lib_save_LIBS
39799fi
39800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5
39801$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; }
39802if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then :
39803  ac_cv_libbfio_dummy=yes
39804else
39805  ac_cv_libbfio=no
39806fi
39807
39808        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5
39809$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; }
39810if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then :
39811  $as_echo_n "(cached) " >&6
39812else
39813  ac_check_lib_save_LIBS=$LIBS
39814LIBS="-lbfio  $LIBS"
39815cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39816/* end confdefs.h.  */
39817
39818/* Override any GCC internal prototype to avoid an error.
39819   Use char because int might match the return type of a GCC
39820   builtin and then its argument prototype would still apply.  */
39821#ifdef __cplusplus
39822extern "C"
39823#endif
39824char libbfio_pool_read_buffer ();
39825int
39826main ()
39827{
39828return libbfio_pool_read_buffer ();
39829  ;
39830  return 0;
39831}
39832_ACEOF
39833if ac_fn_c_try_link "$LINENO"; then :
39834  ac_cv_lib_bfio_libbfio_pool_read_buffer=yes
39835else
39836  ac_cv_lib_bfio_libbfio_pool_read_buffer=no
39837fi
39838rm -f core conftest.err conftest.$ac_objext \
39839    conftest$ac_exeext conftest.$ac_ext
39840LIBS=$ac_check_lib_save_LIBS
39841fi
39842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5
39843$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; }
39844if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then :
39845  ac_cv_libbfio_dummy=yes
39846else
39847  ac_cv_libbfio=no
39848fi
39849
39850        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5
39851$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; }
39852if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then :
39853  $as_echo_n "(cached) " >&6
39854else
39855  ac_check_lib_save_LIBS=$LIBS
39856LIBS="-lbfio  $LIBS"
39857cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39858/* end confdefs.h.  */
39859
39860/* Override any GCC internal prototype to avoid an error.
39861   Use char because int might match the return type of a GCC
39862   builtin and then its argument prototype would still apply.  */
39863#ifdef __cplusplus
39864extern "C"
39865#endif
39866char libbfio_pool_read_buffer_at_offset ();
39867int
39868main ()
39869{
39870return libbfio_pool_read_buffer_at_offset ();
39871  ;
39872  return 0;
39873}
39874_ACEOF
39875if ac_fn_c_try_link "$LINENO"; then :
39876  ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes
39877else
39878  ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no
39879fi
39880rm -f core conftest.err conftest.$ac_objext \
39881    conftest$ac_exeext conftest.$ac_ext
39882LIBS=$ac_check_lib_save_LIBS
39883fi
39884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5
39885$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; }
39886if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then :
39887  ac_cv_libbfio_dummy=yes
39888else
39889  ac_cv_libbfio=no
39890fi
39891
39892        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5
39893$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; }
39894if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then :
39895  $as_echo_n "(cached) " >&6
39896else
39897  ac_check_lib_save_LIBS=$LIBS
39898LIBS="-lbfio  $LIBS"
39899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39900/* end confdefs.h.  */
39901
39902/* Override any GCC internal prototype to avoid an error.
39903   Use char because int might match the return type of a GCC
39904   builtin and then its argument prototype would still apply.  */
39905#ifdef __cplusplus
39906extern "C"
39907#endif
39908char libbfio_pool_write_buffer ();
39909int
39910main ()
39911{
39912return libbfio_pool_write_buffer ();
39913  ;
39914  return 0;
39915}
39916_ACEOF
39917if ac_fn_c_try_link "$LINENO"; then :
39918  ac_cv_lib_bfio_libbfio_pool_write_buffer=yes
39919else
39920  ac_cv_lib_bfio_libbfio_pool_write_buffer=no
39921fi
39922rm -f core conftest.err conftest.$ac_objext \
39923    conftest$ac_exeext conftest.$ac_ext
39924LIBS=$ac_check_lib_save_LIBS
39925fi
39926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5
39927$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; }
39928if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then :
39929  ac_cv_libbfio_dummy=yes
39930else
39931  ac_cv_libbfio=no
39932fi
39933
39934        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5
39935$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; }
39936if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then :
39937  $as_echo_n "(cached) " >&6
39938else
39939  ac_check_lib_save_LIBS=$LIBS
39940LIBS="-lbfio  $LIBS"
39941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39942/* end confdefs.h.  */
39943
39944/* Override any GCC internal prototype to avoid an error.
39945   Use char because int might match the return type of a GCC
39946   builtin and then its argument prototype would still apply.  */
39947#ifdef __cplusplus
39948extern "C"
39949#endif
39950char libbfio_pool_write_buffer_at_offset ();
39951int
39952main ()
39953{
39954return libbfio_pool_write_buffer_at_offset ();
39955  ;
39956  return 0;
39957}
39958_ACEOF
39959if ac_fn_c_try_link "$LINENO"; then :
39960  ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes
39961else
39962  ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no
39963fi
39964rm -f core conftest.err conftest.$ac_objext \
39965    conftest$ac_exeext conftest.$ac_ext
39966LIBS=$ac_check_lib_save_LIBS
39967fi
39968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5
39969$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; }
39970if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then :
39971  ac_cv_libbfio_dummy=yes
39972else
39973  ac_cv_libbfio=no
39974fi
39975
39976        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5
39977$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; }
39978if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then :
39979  $as_echo_n "(cached) " >&6
39980else
39981  ac_check_lib_save_LIBS=$LIBS
39982LIBS="-lbfio  $LIBS"
39983cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39984/* end confdefs.h.  */
39985
39986/* Override any GCC internal prototype to avoid an error.
39987   Use char because int might match the return type of a GCC
39988   builtin and then its argument prototype would still apply.  */
39989#ifdef __cplusplus
39990extern "C"
39991#endif
39992char libbfio_pool_seek_offset ();
39993int
39994main ()
39995{
39996return libbfio_pool_seek_offset ();
39997  ;
39998  return 0;
39999}
40000_ACEOF
40001if ac_fn_c_try_link "$LINENO"; then :
40002  ac_cv_lib_bfio_libbfio_pool_seek_offset=yes
40003else
40004  ac_cv_lib_bfio_libbfio_pool_seek_offset=no
40005fi
40006rm -f core conftest.err conftest.$ac_objext \
40007    conftest$ac_exeext conftest.$ac_ext
40008LIBS=$ac_check_lib_save_LIBS
40009fi
40010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5
40011$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; }
40012if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then :
40013  ac_cv_libbfio_dummy=yes
40014else
40015  ac_cv_libbfio=no
40016fi
40017
40018        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5
40019$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; }
40020if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then :
40021  $as_echo_n "(cached) " >&6
40022else
40023  ac_check_lib_save_LIBS=$LIBS
40024LIBS="-lbfio  $LIBS"
40025cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40026/* end confdefs.h.  */
40027
40028/* Override any GCC internal prototype to avoid an error.
40029   Use char because int might match the return type of a GCC
40030   builtin and then its argument prototype would still apply.  */
40031#ifdef __cplusplus
40032extern "C"
40033#endif
40034char libbfio_pool_get_offset ();
40035int
40036main ()
40037{
40038return libbfio_pool_get_offset ();
40039  ;
40040  return 0;
40041}
40042_ACEOF
40043if ac_fn_c_try_link "$LINENO"; then :
40044  ac_cv_lib_bfio_libbfio_pool_get_offset=yes
40045else
40046  ac_cv_lib_bfio_libbfio_pool_get_offset=no
40047fi
40048rm -f core conftest.err conftest.$ac_objext \
40049    conftest$ac_exeext conftest.$ac_ext
40050LIBS=$ac_check_lib_save_LIBS
40051fi
40052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5
40053$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; }
40054if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then :
40055  ac_cv_libbfio_dummy=yes
40056else
40057  ac_cv_libbfio=no
40058fi
40059
40060        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5
40061$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; }
40062if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then :
40063  $as_echo_n "(cached) " >&6
40064else
40065  ac_check_lib_save_LIBS=$LIBS
40066LIBS="-lbfio  $LIBS"
40067cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068/* end confdefs.h.  */
40069
40070/* Override any GCC internal prototype to avoid an error.
40071   Use char because int might match the return type of a GCC
40072   builtin and then its argument prototype would still apply.  */
40073#ifdef __cplusplus
40074extern "C"
40075#endif
40076char libbfio_pool_get_size ();
40077int
40078main ()
40079{
40080return libbfio_pool_get_size ();
40081  ;
40082  return 0;
40083}
40084_ACEOF
40085if ac_fn_c_try_link "$LINENO"; then :
40086  ac_cv_lib_bfio_libbfio_pool_get_size=yes
40087else
40088  ac_cv_lib_bfio_libbfio_pool_get_size=no
40089fi
40090rm -f core conftest.err conftest.$ac_objext \
40091    conftest$ac_exeext conftest.$ac_ext
40092LIBS=$ac_check_lib_save_LIBS
40093fi
40094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5
40095$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; }
40096if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then :
40097  ac_cv_libbfio_dummy=yes
40098else
40099  ac_cv_libbfio=no
40100fi
40101
40102
40103                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5
40104$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; }
40105if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then :
40106  $as_echo_n "(cached) " >&6
40107else
40108  ac_check_lib_save_LIBS=$LIBS
40109LIBS="-lbfio  $LIBS"
40110cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40111/* end confdefs.h.  */
40112
40113/* Override any GCC internal prototype to avoid an error.
40114   Use char because int might match the return type of a GCC
40115   builtin and then its argument prototype would still apply.  */
40116#ifdef __cplusplus
40117extern "C"
40118#endif
40119char libbfio_file_pool_open ();
40120int
40121main ()
40122{
40123return libbfio_file_pool_open ();
40124  ;
40125  return 0;
40126}
40127_ACEOF
40128if ac_fn_c_try_link "$LINENO"; then :
40129  ac_cv_lib_bfio_libbfio_file_pool_open=yes
40130else
40131  ac_cv_lib_bfio_libbfio_file_pool_open=no
40132fi
40133rm -f core conftest.err conftest.$ac_objext \
40134    conftest$ac_exeext conftest.$ac_ext
40135LIBS=$ac_check_lib_save_LIBS
40136fi
40137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5
40138$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; }
40139if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then :
40140  ac_cv_libbfio_dummy=yes
40141else
40142  ac_cv_libbfio=no
40143fi
40144
40145
40146        if test "x$ac_cv_enable_wide_character_type" != xno; then :
40147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5
40148$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; }
40149if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then :
40150  $as_echo_n "(cached) " >&6
40151else
40152  ac_check_lib_save_LIBS=$LIBS
40153LIBS="-lbfio  $LIBS"
40154cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40155/* end confdefs.h.  */
40156
40157/* Override any GCC internal prototype to avoid an error.
40158   Use char because int might match the return type of a GCC
40159   builtin and then its argument prototype would still apply.  */
40160#ifdef __cplusplus
40161extern "C"
40162#endif
40163char libbfio_file_pool_open_wide ();
40164int
40165main ()
40166{
40167return libbfio_file_pool_open_wide ();
40168  ;
40169  return 0;
40170}
40171_ACEOF
40172if ac_fn_c_try_link "$LINENO"; then :
40173  ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes
40174else
40175  ac_cv_lib_bfio_libbfio_file_pool_open_wide=no
40176fi
40177rm -f core conftest.err conftest.$ac_objext \
40178    conftest$ac_exeext conftest.$ac_ext
40179LIBS=$ac_check_lib_save_LIBS
40180fi
40181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5
40182$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; }
40183if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then :
40184  ac_cv_libbfio_dummy=yes
40185else
40186  ac_cv_libbfio=no
40187fi
40188
40189
40190fi
40191
40192        ac_cv_libbfio_LIBADD="-lbfio"
40193fi
40194
40195fi
40196    if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then :
40197  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40198$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40199as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio
40200See \`config.log' for more details" "$LINENO" 5; }
40201
40202fi
40203
40204fi
40205
40206  if test "x$ac_cv_libbfio" = xyes; then :
40207
40208$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h
40209
40210
40211fi
40212
40213  if test "x$ac_cv_libbfio" = xyes; then :
40214  HAVE_LIBBFIO=1
40215
40216else
40217  HAVE_LIBBFIO=0
40218
40219
40220fi
40221
40222
40223    if test "x$ac_cv_libbfio" != xyes; then :
40224
40225  ac_cv_libbfio_CPPFLAGS="-I../libbfio";
40226  ac_cv_libbfio_LIBADD="../libbfio/libbfio.la";
40227
40228  ac_cv_libbfio=local
40229
40230
40231
40232$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h
40233
40234    HAVE_LOCAL_LIBBFIO=1
40235
40236
40237fi
40238
40239   if test "x$ac_cv_libbfio" = xlocal; then
40240  HAVE_LOCAL_LIBBFIO_TRUE=
40241  HAVE_LOCAL_LIBBFIO_FALSE='#'
40242else
40243  HAVE_LOCAL_LIBBFIO_TRUE='#'
40244  HAVE_LOCAL_LIBBFIO_FALSE=
40245fi
40246
40247  if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then :
40248  LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS
40249
40250
40251fi
40252  if test "x$ac_cv_libbfio_LIBADD" != "x"; then :
40253  LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD
40254
40255
40256fi
40257
40258  if test "x$ac_cv_libbfio" = xyes; then :
40259  ax_libbfio_pc_libs_private=-lbfio
40260
40261
40262fi
40263
40264  if test "x$ac_cv_libbfio" = xyes; then :
40265  ax_libbfio_spec_requires=libbfio
40266
40267    ax_libbfio_spec_build_requires=libbfio-devel
40268
40269
40270fi
40271
40272
40273
40274
40275# Check whether --with-libfcache was given.
40276if test "${with_libfcache+set}" = set; then :
40277  withval=$with_libfcache; ac_cv_with_libfcache=$withval
40278else
40279  ac_cv_with_libfcache=auto-detect
40280fi
40281
40282    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfcache in includedir and libdir or in the specified DIR, or no if to use local version" >&5
40283$as_echo_n "checking whether to use search for libfcache in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; }
40284if ${ac_cv_with_libfcache+:} false; then :
40285  $as_echo_n "(cached) " >&6
40286else
40287  ac_cv_with_libfcache=auto-detect
40288fi
40289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5
40290$as_echo "$ac_cv_with_libfcache" >&6; }
40291
40292    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then :
40293  ac_cv_libfcache=no
40294else
40295  ac_cv_libfcache=check
40296        if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then :
40297  if test -d "$ac_cv_with_libfcache"; then :
40298  CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include"
40299        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib"
40300else
40301  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40302$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40303as_fn_error 1 "no such directory: $ac_cv_with_libfcache
40304See \`config.log' for more details" "$LINENO" 5; }
40305
40306fi
40307
40308else
40309        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
40310
40311pkg_failed=no
40312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5
40313$as_echo_n "checking for libfcache... " >&6; }
40314
40315if test -n "$libfcache_CFLAGS"; then
40316    pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS"
40317 elif test -n "$PKG_CONFIG"; then
40318    if test -n "$PKG_CONFIG" && \
40319    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
40320  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
40321  ac_status=$?
40322  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40323  test $ac_status = 0; }; then
40324  pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null`
40325		      test "x$?" != "x0" && pkg_failed=yes
40326else
40327  pkg_failed=yes
40328fi
40329 else
40330    pkg_failed=untried
40331fi
40332if test -n "$libfcache_LIBS"; then
40333    pkg_cv_libfcache_LIBS="$libfcache_LIBS"
40334 elif test -n "$PKG_CONFIG"; then
40335    if test -n "$PKG_CONFIG" && \
40336    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
40337  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
40338  ac_status=$?
40339  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40340  test $ac_status = 0; }; then
40341  pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null`
40342		      test "x$?" != "x0" && pkg_failed=yes
40343else
40344  pkg_failed=yes
40345fi
40346 else
40347    pkg_failed=untried
40348fi
40349
40350
40351
40352if test $pkg_failed = yes; then
40353   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40354$as_echo "no" >&6; }
40355
40356if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40357        _pkg_short_errors_supported=yes
40358else
40359        _pkg_short_errors_supported=no
40360fi
40361        if test $_pkg_short_errors_supported = yes; then
40362	        libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
40363        else
40364	        libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
40365        fi
40366	# Put the nasty error message in config.log where it belongs
40367	echo "$libfcache_PKG_ERRORS" >&5
40368
40369	ac_cv_libfcache=check
40370elif test $pkg_failed = untried; then
40371     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40372$as_echo "no" >&6; }
40373	ac_cv_libfcache=check
40374else
40375	libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS
40376	libfcache_LIBS=$pkg_cv_libfcache_LIBS
40377        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40378$as_echo "yes" >&6; }
40379	ac_cv_libfcache=yes
40380fi
40381
40382fi
40383      if test "x$ac_cv_libfcache" = xyes; then :
40384  ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS"
40385        ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS"
40386fi
40387
40388fi
40389
40390    if test "x$ac_cv_libfcache" = xcheck; then :
40391        for ac_header in libfcache.h
40392do :
40393  ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default"
40394if test "x$ac_cv_header_libfcache_h" = xyes; then :
40395  cat >>confdefs.h <<_ACEOF
40396#define HAVE_LIBFCACHE_H 1
40397_ACEOF
40398
40399fi
40400
40401done
40402
40403
40404      if test "x$ac_cv_header_libfcache_h" = xno; then :
40405  ac_cv_libfcache=no
40406else
40407          ac_cv_libfcache=yes
40408
40409        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5
40410$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; }
40411if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then :
40412  $as_echo_n "(cached) " >&6
40413else
40414  ac_check_lib_save_LIBS=$LIBS
40415LIBS="-lfcache  $LIBS"
40416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40417/* end confdefs.h.  */
40418
40419/* Override any GCC internal prototype to avoid an error.
40420   Use char because int might match the return type of a GCC
40421   builtin and then its argument prototype would still apply.  */
40422#ifdef __cplusplus
40423extern "C"
40424#endif
40425char libfcache_get_version ();
40426int
40427main ()
40428{
40429return libfcache_get_version ();
40430  ;
40431  return 0;
40432}
40433_ACEOF
40434if ac_fn_c_try_link "$LINENO"; then :
40435  ac_cv_lib_fcache_libfcache_get_version=yes
40436else
40437  ac_cv_lib_fcache_libfcache_get_version=no
40438fi
40439rm -f core conftest.err conftest.$ac_objext \
40440    conftest$ac_exeext conftest.$ac_ext
40441LIBS=$ac_check_lib_save_LIBS
40442fi
40443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5
40444$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; }
40445if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then :
40446  ac_cv_libfcache_dummy=yes
40447else
40448  ac_cv_libfcache=no
40449fi
40450
40451
40452                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5
40453$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; }
40454if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then :
40455  $as_echo_n "(cached) " >&6
40456else
40457  ac_check_lib_save_LIBS=$LIBS
40458LIBS="-lfcache  $LIBS"
40459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40460/* end confdefs.h.  */
40461
40462/* Override any GCC internal prototype to avoid an error.
40463   Use char because int might match the return type of a GCC
40464   builtin and then its argument prototype would still apply.  */
40465#ifdef __cplusplus
40466extern "C"
40467#endif
40468char libfcache_cache_initialize ();
40469int
40470main ()
40471{
40472return libfcache_cache_initialize ();
40473  ;
40474  return 0;
40475}
40476_ACEOF
40477if ac_fn_c_try_link "$LINENO"; then :
40478  ac_cv_lib_fcache_libfcache_cache_initialize=yes
40479else
40480  ac_cv_lib_fcache_libfcache_cache_initialize=no
40481fi
40482rm -f core conftest.err conftest.$ac_objext \
40483    conftest$ac_exeext conftest.$ac_ext
40484LIBS=$ac_check_lib_save_LIBS
40485fi
40486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5
40487$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; }
40488if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then :
40489  ac_cv_libfcache_dummy=yes
40490else
40491  ac_cv_libfcache=no
40492fi
40493
40494        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5
40495$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; }
40496if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then :
40497  $as_echo_n "(cached) " >&6
40498else
40499  ac_check_lib_save_LIBS=$LIBS
40500LIBS="-lfcache  $LIBS"
40501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40502/* end confdefs.h.  */
40503
40504/* Override any GCC internal prototype to avoid an error.
40505   Use char because int might match the return type of a GCC
40506   builtin and then its argument prototype would still apply.  */
40507#ifdef __cplusplus
40508extern "C"
40509#endif
40510char libfcache_cache_free ();
40511int
40512main ()
40513{
40514return libfcache_cache_free ();
40515  ;
40516  return 0;
40517}
40518_ACEOF
40519if ac_fn_c_try_link "$LINENO"; then :
40520  ac_cv_lib_fcache_libfcache_cache_free=yes
40521else
40522  ac_cv_lib_fcache_libfcache_cache_free=no
40523fi
40524rm -f core conftest.err conftest.$ac_objext \
40525    conftest$ac_exeext conftest.$ac_ext
40526LIBS=$ac_check_lib_save_LIBS
40527fi
40528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5
40529$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; }
40530if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then :
40531  ac_cv_libfcache_dummy=yes
40532else
40533  ac_cv_libfcache=no
40534fi
40535
40536        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5
40537$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; }
40538if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then :
40539  $as_echo_n "(cached) " >&6
40540else
40541  ac_check_lib_save_LIBS=$LIBS
40542LIBS="-lfcache  $LIBS"
40543cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40544/* end confdefs.h.  */
40545
40546/* Override any GCC internal prototype to avoid an error.
40547   Use char because int might match the return type of a GCC
40548   builtin and then its argument prototype would still apply.  */
40549#ifdef __cplusplus
40550extern "C"
40551#endif
40552char libfcache_cache_clone ();
40553int
40554main ()
40555{
40556return libfcache_cache_clone ();
40557  ;
40558  return 0;
40559}
40560_ACEOF
40561if ac_fn_c_try_link "$LINENO"; then :
40562  ac_cv_lib_fcache_libfcache_cache_clone=yes
40563else
40564  ac_cv_lib_fcache_libfcache_cache_clone=no
40565fi
40566rm -f core conftest.err conftest.$ac_objext \
40567    conftest$ac_exeext conftest.$ac_ext
40568LIBS=$ac_check_lib_save_LIBS
40569fi
40570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5
40571$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; }
40572if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then :
40573  ac_cv_libfcache_dummy=yes
40574else
40575  ac_cv_libfcache=no
40576fi
40577
40578        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5
40579$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; }
40580if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then :
40581  $as_echo_n "(cached) " >&6
40582else
40583  ac_check_lib_save_LIBS=$LIBS
40584LIBS="-lfcache  $LIBS"
40585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40586/* end confdefs.h.  */
40587
40588/* Override any GCC internal prototype to avoid an error.
40589   Use char because int might match the return type of a GCC
40590   builtin and then its argument prototype would still apply.  */
40591#ifdef __cplusplus
40592extern "C"
40593#endif
40594char libfcache_cache_clear ();
40595int
40596main ()
40597{
40598return libfcache_cache_clear ();
40599  ;
40600  return 0;
40601}
40602_ACEOF
40603if ac_fn_c_try_link "$LINENO"; then :
40604  ac_cv_lib_fcache_libfcache_cache_clear=yes
40605else
40606  ac_cv_lib_fcache_libfcache_cache_clear=no
40607fi
40608rm -f core conftest.err conftest.$ac_objext \
40609    conftest$ac_exeext conftest.$ac_ext
40610LIBS=$ac_check_lib_save_LIBS
40611fi
40612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5
40613$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; }
40614if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then :
40615  ac_cv_libfcache_dummy=yes
40616else
40617  ac_cv_libfcache=no
40618fi
40619
40620        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5
40621$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; }
40622if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then :
40623  $as_echo_n "(cached) " >&6
40624else
40625  ac_check_lib_save_LIBS=$LIBS
40626LIBS="-lfcache  $LIBS"
40627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40628/* end confdefs.h.  */
40629
40630/* Override any GCC internal prototype to avoid an error.
40631   Use char because int might match the return type of a GCC
40632   builtin and then its argument prototype would still apply.  */
40633#ifdef __cplusplus
40634extern "C"
40635#endif
40636char libfcache_cache_get_number_of_entries ();
40637int
40638main ()
40639{
40640return libfcache_cache_get_number_of_entries ();
40641  ;
40642  return 0;
40643}
40644_ACEOF
40645if ac_fn_c_try_link "$LINENO"; then :
40646  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes
40647else
40648  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no
40649fi
40650rm -f core conftest.err conftest.$ac_objext \
40651    conftest$ac_exeext conftest.$ac_ext
40652LIBS=$ac_check_lib_save_LIBS
40653fi
40654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5
40655$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; }
40656if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then :
40657  ac_cv_libfcache_dummy=yes
40658else
40659  ac_cv_libfcache=no
40660fi
40661
40662        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5
40663$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; }
40664if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then :
40665  $as_echo_n "(cached) " >&6
40666else
40667  ac_check_lib_save_LIBS=$LIBS
40668LIBS="-lfcache  $LIBS"
40669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40670/* end confdefs.h.  */
40671
40672/* Override any GCC internal prototype to avoid an error.
40673   Use char because int might match the return type of a GCC
40674   builtin and then its argument prototype would still apply.  */
40675#ifdef __cplusplus
40676extern "C"
40677#endif
40678char libfcache_cache_get_number_of_cache_values ();
40679int
40680main ()
40681{
40682return libfcache_cache_get_number_of_cache_values ();
40683  ;
40684  return 0;
40685}
40686_ACEOF
40687if ac_fn_c_try_link "$LINENO"; then :
40688  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes
40689else
40690  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no
40691fi
40692rm -f core conftest.err conftest.$ac_objext \
40693    conftest$ac_exeext conftest.$ac_ext
40694LIBS=$ac_check_lib_save_LIBS
40695fi
40696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5
40697$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; }
40698if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then :
40699  ac_cv_libfcache_dummy=yes
40700else
40701  ac_cv_libfcache=no
40702fi
40703
40704        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5
40705$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; }
40706if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then :
40707  $as_echo_n "(cached) " >&6
40708else
40709  ac_check_lib_save_LIBS=$LIBS
40710LIBS="-lfcache  $LIBS"
40711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40712/* end confdefs.h.  */
40713
40714/* Override any GCC internal prototype to avoid an error.
40715   Use char because int might match the return type of a GCC
40716   builtin and then its argument prototype would still apply.  */
40717#ifdef __cplusplus
40718extern "C"
40719#endif
40720char libfcache_cache_clear_value_by_index ();
40721int
40722main ()
40723{
40724return libfcache_cache_clear_value_by_index ();
40725  ;
40726  return 0;
40727}
40728_ACEOF
40729if ac_fn_c_try_link "$LINENO"; then :
40730  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes
40731else
40732  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no
40733fi
40734rm -f core conftest.err conftest.$ac_objext \
40735    conftest$ac_exeext conftest.$ac_ext
40736LIBS=$ac_check_lib_save_LIBS
40737fi
40738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5
40739$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; }
40740if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then :
40741  ac_cv_libfcache_dummy=yes
40742else
40743  ac_cv_libfcache=no
40744fi
40745
40746        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5
40747$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; }
40748if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then :
40749  $as_echo_n "(cached) " >&6
40750else
40751  ac_check_lib_save_LIBS=$LIBS
40752LIBS="-lfcache  $LIBS"
40753cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40754/* end confdefs.h.  */
40755
40756/* Override any GCC internal prototype to avoid an error.
40757   Use char because int might match the return type of a GCC
40758   builtin and then its argument prototype would still apply.  */
40759#ifdef __cplusplus
40760extern "C"
40761#endif
40762char libfcache_cache_get_value_by_identifier ();
40763int
40764main ()
40765{
40766return libfcache_cache_get_value_by_identifier ();
40767  ;
40768  return 0;
40769}
40770_ACEOF
40771if ac_fn_c_try_link "$LINENO"; then :
40772  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes
40773else
40774  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no
40775fi
40776rm -f core conftest.err conftest.$ac_objext \
40777    conftest$ac_exeext conftest.$ac_ext
40778LIBS=$ac_check_lib_save_LIBS
40779fi
40780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5
40781$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; }
40782if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then :
40783  ac_cv_libfcache_dummy=yes
40784else
40785  ac_cv_libfcache=no
40786fi
40787
40788        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5
40789$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; }
40790if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then :
40791  $as_echo_n "(cached) " >&6
40792else
40793  ac_check_lib_save_LIBS=$LIBS
40794LIBS="-lfcache  $LIBS"
40795cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40796/* end confdefs.h.  */
40797
40798/* Override any GCC internal prototype to avoid an error.
40799   Use char because int might match the return type of a GCC
40800   builtin and then its argument prototype would still apply.  */
40801#ifdef __cplusplus
40802extern "C"
40803#endif
40804char libfcache_cache_get_value_by_index ();
40805int
40806main ()
40807{
40808return libfcache_cache_get_value_by_index ();
40809  ;
40810  return 0;
40811}
40812_ACEOF
40813if ac_fn_c_try_link "$LINENO"; then :
40814  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes
40815else
40816  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no
40817fi
40818rm -f core conftest.err conftest.$ac_objext \
40819    conftest$ac_exeext conftest.$ac_ext
40820LIBS=$ac_check_lib_save_LIBS
40821fi
40822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5
40823$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; }
40824if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then :
40825  ac_cv_libfcache_dummy=yes
40826else
40827  ac_cv_libfcache=no
40828fi
40829
40830        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5
40831$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; }
40832if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then :
40833  $as_echo_n "(cached) " >&6
40834else
40835  ac_check_lib_save_LIBS=$LIBS
40836LIBS="-lfcache  $LIBS"
40837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40838/* end confdefs.h.  */
40839
40840/* Override any GCC internal prototype to avoid an error.
40841   Use char because int might match the return type of a GCC
40842   builtin and then its argument prototype would still apply.  */
40843#ifdef __cplusplus
40844extern "C"
40845#endif
40846char libfcache_cache_set_value_by_identifier ();
40847int
40848main ()
40849{
40850return libfcache_cache_set_value_by_identifier ();
40851  ;
40852  return 0;
40853}
40854_ACEOF
40855if ac_fn_c_try_link "$LINENO"; then :
40856  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes
40857else
40858  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no
40859fi
40860rm -f core conftest.err conftest.$ac_objext \
40861    conftest$ac_exeext conftest.$ac_ext
40862LIBS=$ac_check_lib_save_LIBS
40863fi
40864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5
40865$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; }
40866if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then :
40867  ac_cv_libfcache_dummy=yes
40868else
40869  ac_cv_libfcache=no
40870fi
40871
40872        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5
40873$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; }
40874if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then :
40875  $as_echo_n "(cached) " >&6
40876else
40877  ac_check_lib_save_LIBS=$LIBS
40878LIBS="-lfcache  $LIBS"
40879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40880/* end confdefs.h.  */
40881
40882/* Override any GCC internal prototype to avoid an error.
40883   Use char because int might match the return type of a GCC
40884   builtin and then its argument prototype would still apply.  */
40885#ifdef __cplusplus
40886extern "C"
40887#endif
40888char libfcache_cache_set_value_by_index ();
40889int
40890main ()
40891{
40892return libfcache_cache_set_value_by_index ();
40893  ;
40894  return 0;
40895}
40896_ACEOF
40897if ac_fn_c_try_link "$LINENO"; then :
40898  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes
40899else
40900  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no
40901fi
40902rm -f core conftest.err conftest.$ac_objext \
40903    conftest$ac_exeext conftest.$ac_ext
40904LIBS=$ac_check_lib_save_LIBS
40905fi
40906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5
40907$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; }
40908if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then :
40909  ac_cv_libfcache_dummy=yes
40910else
40911  ac_cv_libfcache=no
40912fi
40913
40914
40915                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5
40916$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; }
40917if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then :
40918  $as_echo_n "(cached) " >&6
40919else
40920  ac_check_lib_save_LIBS=$LIBS
40921LIBS="-lfcache  $LIBS"
40922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40923/* end confdefs.h.  */
40924
40925/* Override any GCC internal prototype to avoid an error.
40926   Use char because int might match the return type of a GCC
40927   builtin and then its argument prototype would still apply.  */
40928#ifdef __cplusplus
40929extern "C"
40930#endif
40931char libfcache_cache_value_free ();
40932int
40933main ()
40934{
40935return libfcache_cache_value_free ();
40936  ;
40937  return 0;
40938}
40939_ACEOF
40940if ac_fn_c_try_link "$LINENO"; then :
40941  ac_cv_lib_fcache_libfcache_cache_value_free=yes
40942else
40943  ac_cv_lib_fcache_libfcache_cache_value_free=no
40944fi
40945rm -f core conftest.err conftest.$ac_objext \
40946    conftest$ac_exeext conftest.$ac_ext
40947LIBS=$ac_check_lib_save_LIBS
40948fi
40949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5
40950$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; }
40951if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then :
40952  ac_cv_libfcache_dummy=yes
40953else
40954  ac_cv_libfcache=no
40955fi
40956
40957        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5
40958$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; }
40959if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then :
40960  $as_echo_n "(cached) " >&6
40961else
40962  ac_check_lib_save_LIBS=$LIBS
40963LIBS="-lfcache  $LIBS"
40964cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40965/* end confdefs.h.  */
40966
40967/* Override any GCC internal prototype to avoid an error.
40968   Use char because int might match the return type of a GCC
40969   builtin and then its argument prototype would still apply.  */
40970#ifdef __cplusplus
40971extern "C"
40972#endif
40973char libfcache_cache_value_clear ();
40974int
40975main ()
40976{
40977return libfcache_cache_value_clear ();
40978  ;
40979  return 0;
40980}
40981_ACEOF
40982if ac_fn_c_try_link "$LINENO"; then :
40983  ac_cv_lib_fcache_libfcache_cache_value_clear=yes
40984else
40985  ac_cv_lib_fcache_libfcache_cache_value_clear=no
40986fi
40987rm -f core conftest.err conftest.$ac_objext \
40988    conftest$ac_exeext conftest.$ac_ext
40989LIBS=$ac_check_lib_save_LIBS
40990fi
40991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5
40992$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; }
40993if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then :
40994  ac_cv_libfcache_dummy=yes
40995else
40996  ac_cv_libfcache=no
40997fi
40998
40999        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5
41000$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; }
41001if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then :
41002  $as_echo_n "(cached) " >&6
41003else
41004  ac_check_lib_save_LIBS=$LIBS
41005LIBS="-lfcache  $LIBS"
41006cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41007/* end confdefs.h.  */
41008
41009/* Override any GCC internal prototype to avoid an error.
41010   Use char because int might match the return type of a GCC
41011   builtin and then its argument prototype would still apply.  */
41012#ifdef __cplusplus
41013extern "C"
41014#endif
41015char libfcache_cache_value_get_identifier ();
41016int
41017main ()
41018{
41019return libfcache_cache_value_get_identifier ();
41020  ;
41021  return 0;
41022}
41023_ACEOF
41024if ac_fn_c_try_link "$LINENO"; then :
41025  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes
41026else
41027  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no
41028fi
41029rm -f core conftest.err conftest.$ac_objext \
41030    conftest$ac_exeext conftest.$ac_ext
41031LIBS=$ac_check_lib_save_LIBS
41032fi
41033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5
41034$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; }
41035if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then :
41036  ac_cv_libfcache_dummy=yes
41037else
41038  ac_cv_libfcache=no
41039fi
41040
41041        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5
41042$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; }
41043if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then :
41044  $as_echo_n "(cached) " >&6
41045else
41046  ac_check_lib_save_LIBS=$LIBS
41047LIBS="-lfcache  $LIBS"
41048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41049/* end confdefs.h.  */
41050
41051/* Override any GCC internal prototype to avoid an error.
41052   Use char because int might match the return type of a GCC
41053   builtin and then its argument prototype would still apply.  */
41054#ifdef __cplusplus
41055extern "C"
41056#endif
41057char libfcache_cache_value_set_identifier ();
41058int
41059main ()
41060{
41061return libfcache_cache_value_set_identifier ();
41062  ;
41063  return 0;
41064}
41065_ACEOF
41066if ac_fn_c_try_link "$LINENO"; then :
41067  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes
41068else
41069  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no
41070fi
41071rm -f core conftest.err conftest.$ac_objext \
41072    conftest$ac_exeext conftest.$ac_ext
41073LIBS=$ac_check_lib_save_LIBS
41074fi
41075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5
41076$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; }
41077if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then :
41078  ac_cv_libfcache_dummy=yes
41079else
41080  ac_cv_libfcache=no
41081fi
41082
41083        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5
41084$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; }
41085if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then :
41086  $as_echo_n "(cached) " >&6
41087else
41088  ac_check_lib_save_LIBS=$LIBS
41089LIBS="-lfcache  $LIBS"
41090cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091/* end confdefs.h.  */
41092
41093/* Override any GCC internal prototype to avoid an error.
41094   Use char because int might match the return type of a GCC
41095   builtin and then its argument prototype would still apply.  */
41096#ifdef __cplusplus
41097extern "C"
41098#endif
41099char libfcache_cache_value_get_value ();
41100int
41101main ()
41102{
41103return libfcache_cache_value_get_value ();
41104  ;
41105  return 0;
41106}
41107_ACEOF
41108if ac_fn_c_try_link "$LINENO"; then :
41109  ac_cv_lib_fcache_libfcache_cache_value_get_value=yes
41110else
41111  ac_cv_lib_fcache_libfcache_cache_value_get_value=no
41112fi
41113rm -f core conftest.err conftest.$ac_objext \
41114    conftest$ac_exeext conftest.$ac_ext
41115LIBS=$ac_check_lib_save_LIBS
41116fi
41117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5
41118$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; }
41119if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then :
41120  ac_cv_libfcache_dummy=yes
41121else
41122  ac_cv_libfcache=no
41123fi
41124
41125        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5
41126$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; }
41127if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then :
41128  $as_echo_n "(cached) " >&6
41129else
41130  ac_check_lib_save_LIBS=$LIBS
41131LIBS="-lfcache  $LIBS"
41132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41133/* end confdefs.h.  */
41134
41135/* Override any GCC internal prototype to avoid an error.
41136   Use char because int might match the return type of a GCC
41137   builtin and then its argument prototype would still apply.  */
41138#ifdef __cplusplus
41139extern "C"
41140#endif
41141char libfcache_cache_value_set_value ();
41142int
41143main ()
41144{
41145return libfcache_cache_value_set_value ();
41146  ;
41147  return 0;
41148}
41149_ACEOF
41150if ac_fn_c_try_link "$LINENO"; then :
41151  ac_cv_lib_fcache_libfcache_cache_value_set_value=yes
41152else
41153  ac_cv_lib_fcache_libfcache_cache_value_set_value=no
41154fi
41155rm -f core conftest.err conftest.$ac_objext \
41156    conftest$ac_exeext conftest.$ac_ext
41157LIBS=$ac_check_lib_save_LIBS
41158fi
41159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5
41160$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; }
41161if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then :
41162  ac_cv_libfcache_dummy=yes
41163else
41164  ac_cv_libfcache=no
41165fi
41166
41167
41168                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5
41169$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; }
41170if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then :
41171  $as_echo_n "(cached) " >&6
41172else
41173  ac_check_lib_save_LIBS=$LIBS
41174LIBS="-lfcache  $LIBS"
41175cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41176/* end confdefs.h.  */
41177
41178/* Override any GCC internal prototype to avoid an error.
41179   Use char because int might match the return type of a GCC
41180   builtin and then its argument prototype would still apply.  */
41181#ifdef __cplusplus
41182extern "C"
41183#endif
41184char libfcache_date_time_get_timestamp ();
41185int
41186main ()
41187{
41188return libfcache_date_time_get_timestamp ();
41189  ;
41190  return 0;
41191}
41192_ACEOF
41193if ac_fn_c_try_link "$LINENO"; then :
41194  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes
41195else
41196  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no
41197fi
41198rm -f core conftest.err conftest.$ac_objext \
41199    conftest$ac_exeext conftest.$ac_ext
41200LIBS=$ac_check_lib_save_LIBS
41201fi
41202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5
41203$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; }
41204if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then :
41205  ac_cv_libfcache_dummy=yes
41206else
41207  ac_cv_libfcache=no
41208fi
41209
41210
41211        ac_cv_libfcache_LIBADD="-lfcache"
41212fi
41213
41214fi
41215    if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then :
41216  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41217$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41218as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache
41219See \`config.log' for more details" "$LINENO" 5; }
41220
41221fi
41222
41223fi
41224
41225  if test "x$ac_cv_libfcache" = xyes; then :
41226
41227$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h
41228
41229
41230fi
41231
41232  if test "x$ac_cv_libfcache" = xyes; then :
41233  HAVE_LIBFCACHE=1
41234
41235else
41236  HAVE_LIBFCACHE=0
41237
41238
41239fi
41240
41241
41242    if test "x$ac_cv_libfcache" != xyes; then :
41243    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
41244$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
41245if ${ac_cv_struct_tm+:} false; then :
41246  $as_echo_n "(cached) " >&6
41247else
41248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41249/* end confdefs.h.  */
41250#include <sys/types.h>
41251#include <time.h>
41252
41253int
41254main ()
41255{
41256struct tm tm;
41257				     int *p = &tm.tm_sec;
41258				     return !p;
41259  ;
41260  return 0;
41261}
41262_ACEOF
41263if ac_fn_c_try_compile "$LINENO"; then :
41264  ac_cv_struct_tm=time.h
41265else
41266  ac_cv_struct_tm=sys/time.h
41267fi
41268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41269fi
41270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
41271$as_echo "$ac_cv_struct_tm" >&6; }
41272if test $ac_cv_struct_tm = sys/time.h; then
41273
41274$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
41275
41276fi
41277
41278
41279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
41280$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
41281if ${ac_cv_header_time+:} false; then :
41282  $as_echo_n "(cached) " >&6
41283else
41284  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41285/* end confdefs.h.  */
41286#include <sys/types.h>
41287#include <sys/time.h>
41288#include <time.h>
41289
41290int
41291main ()
41292{
41293if ((struct tm *) 0)
41294return 0;
41295  ;
41296  return 0;
41297}
41298_ACEOF
41299if ac_fn_c_try_compile "$LINENO"; then :
41300  ac_cv_header_time=yes
41301else
41302  ac_cv_header_time=no
41303fi
41304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41305fi
41306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
41307$as_echo "$ac_cv_header_time" >&6; }
41308if test $ac_cv_header_time = yes; then
41309
41310$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
41311
41312fi
41313
41314
41315    for ac_func in clock_gettime time
41316do :
41317  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41318ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41319if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
41320  cat >>confdefs.h <<_ACEOF
41321#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41322_ACEOF
41323
41324fi
41325done
41326
41327
41328  if test "x$ac_cv_func_time" != xyes; then :
41329  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41330$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41331as_fn_error 1 "Missing function: time
41332See \`config.log' for more details" "$LINENO" 5; }
41333
41334fi
41335
41336  ac_cv_libfcache_CPPFLAGS="-I../libfcache";
41337  ac_cv_libfcache_LIBADD="../libfcache/libfcache.la";
41338
41339  ac_cv_libfcache=local
41340
41341
41342
41343$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h
41344
41345    HAVE_LOCAL_LIBFCACHE=1
41346
41347
41348fi
41349
41350   if test "x$ac_cv_libfcache" = xlocal; then
41351  HAVE_LOCAL_LIBFCACHE_TRUE=
41352  HAVE_LOCAL_LIBFCACHE_FALSE='#'
41353else
41354  HAVE_LOCAL_LIBFCACHE_TRUE='#'
41355  HAVE_LOCAL_LIBFCACHE_FALSE=
41356fi
41357
41358  if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then :
41359  LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS
41360
41361
41362fi
41363  if test "x$ac_cv_libfcache_LIBADD" != "x"; then :
41364  LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD
41365
41366
41367fi
41368
41369  if test "x$ac_cv_libfcache" = xyes; then :
41370  ax_libfcache_pc_libs_private=-lfcache
41371
41372
41373fi
41374
41375  if test "x$ac_cv_libfcache" = xyes; then :
41376  ax_libfcache_spec_requires=libfcache
41377
41378    ax_libfcache_spec_build_requires=libfcache-devel
41379
41380
41381fi
41382
41383
41384
41385
41386# Check whether --with-libfdata was given.
41387if test "${with_libfdata+set}" = set; then :
41388  withval=$with_libfdata; ac_cv_with_libfdata=$withval
41389else
41390  ac_cv_with_libfdata=auto-detect
41391fi
41392
41393    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfdata in includedir and libdir or in the specified DIR, or no if to use local version" >&5
41394$as_echo_n "checking whether to use search for libfdata in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; }
41395if ${ac_cv_with_libfdata+:} false; then :
41396  $as_echo_n "(cached) " >&6
41397else
41398  ac_cv_with_libfdata=auto-detect
41399fi
41400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5
41401$as_echo "$ac_cv_with_libfdata" >&6; }
41402
41403    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then :
41404  ac_cv_libfdata=no
41405else
41406  ac_cv_libfdata=check
41407        if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then :
41408  if test -d "$ac_cv_with_libfdata"; then :
41409  CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include"
41410        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib"
41411else
41412  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41414as_fn_error 1 "no such directory: $ac_cv_with_libfdata
41415See \`config.log' for more details" "$LINENO" 5; }
41416
41417fi
41418
41419else
41420        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
41421
41422pkg_failed=no
41423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5
41424$as_echo_n "checking for libfdata... " >&6; }
41425
41426if test -n "$libfdata_CFLAGS"; then
41427    pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS"
41428 elif test -n "$PKG_CONFIG"; then
41429    if test -n "$PKG_CONFIG" && \
41430    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5
41431  ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5
41432  ac_status=$?
41433  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41434  test $ac_status = 0; }; then
41435  pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20201129" 2>/dev/null`
41436		      test "x$?" != "x0" && pkg_failed=yes
41437else
41438  pkg_failed=yes
41439fi
41440 else
41441    pkg_failed=untried
41442fi
41443if test -n "$libfdata_LIBS"; then
41444    pkg_cv_libfdata_LIBS="$libfdata_LIBS"
41445 elif test -n "$PKG_CONFIG"; then
41446    if test -n "$PKG_CONFIG" && \
41447    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5
41448  ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5
41449  ac_status=$?
41450  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41451  test $ac_status = 0; }; then
41452  pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20201129" 2>/dev/null`
41453		      test "x$?" != "x0" && pkg_failed=yes
41454else
41455  pkg_failed=yes
41456fi
41457 else
41458    pkg_failed=untried
41459fi
41460
41461
41462
41463if test $pkg_failed = yes; then
41464   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41465$as_echo "no" >&6; }
41466
41467if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41468        _pkg_short_errors_supported=yes
41469else
41470        _pkg_short_errors_supported=no
41471fi
41472        if test $_pkg_short_errors_supported = yes; then
41473	        libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20201129" 2>&1`
41474        else
41475	        libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20201129" 2>&1`
41476        fi
41477	# Put the nasty error message in config.log where it belongs
41478	echo "$libfdata_PKG_ERRORS" >&5
41479
41480	ac_cv_libfdata=check
41481elif test $pkg_failed = untried; then
41482     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41483$as_echo "no" >&6; }
41484	ac_cv_libfdata=check
41485else
41486	libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS
41487	libfdata_LIBS=$pkg_cv_libfdata_LIBS
41488        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41489$as_echo "yes" >&6; }
41490	ac_cv_libfdata=yes
41491fi
41492
41493fi
41494      if test "x$ac_cv_libfdata" = xyes; then :
41495  ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS"
41496        ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS"
41497fi
41498
41499fi
41500
41501    if test "x$ac_cv_libfdata" = xcheck; then :
41502        for ac_header in libfdata.h
41503do :
41504  ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default"
41505if test "x$ac_cv_header_libfdata_h" = xyes; then :
41506  cat >>confdefs.h <<_ACEOF
41507#define HAVE_LIBFDATA_H 1
41508_ACEOF
41509
41510fi
41511
41512done
41513
41514
41515      if test "x$ac_cv_header_libfdata_h" = xno; then :
41516  ac_cv_libfdata=no
41517else
41518          ac_cv_libfdata=yes
41519
41520        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5
41521$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; }
41522if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then :
41523  $as_echo_n "(cached) " >&6
41524else
41525  ac_check_lib_save_LIBS=$LIBS
41526LIBS="-lfdata  $LIBS"
41527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41528/* end confdefs.h.  */
41529
41530/* Override any GCC internal prototype to avoid an error.
41531   Use char because int might match the return type of a GCC
41532   builtin and then its argument prototype would still apply.  */
41533#ifdef __cplusplus
41534extern "C"
41535#endif
41536char libfdata_get_version ();
41537int
41538main ()
41539{
41540return libfdata_get_version ();
41541  ;
41542  return 0;
41543}
41544_ACEOF
41545if ac_fn_c_try_link "$LINENO"; then :
41546  ac_cv_lib_fdata_libfdata_get_version=yes
41547else
41548  ac_cv_lib_fdata_libfdata_get_version=no
41549fi
41550rm -f core conftest.err conftest.$ac_objext \
41551    conftest$ac_exeext conftest.$ac_ext
41552LIBS=$ac_check_lib_save_LIBS
41553fi
41554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5
41555$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; }
41556if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then :
41557  ac_cv_libfdata_dummy=yes
41558else
41559  ac_cv_libfdata=no
41560fi
41561
41562
41563                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5
41564$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; }
41565if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then :
41566  $as_echo_n "(cached) " >&6
41567else
41568  ac_check_lib_save_LIBS=$LIBS
41569LIBS="-lfdata  $LIBS"
41570cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41571/* end confdefs.h.  */
41572
41573/* Override any GCC internal prototype to avoid an error.
41574   Use char because int might match the return type of a GCC
41575   builtin and then its argument prototype would still apply.  */
41576#ifdef __cplusplus
41577extern "C"
41578#endif
41579char libfdata_area_initialize ();
41580int
41581main ()
41582{
41583return libfdata_area_initialize ();
41584  ;
41585  return 0;
41586}
41587_ACEOF
41588if ac_fn_c_try_link "$LINENO"; then :
41589  ac_cv_lib_fdata_libfdata_area_initialize=yes
41590else
41591  ac_cv_lib_fdata_libfdata_area_initialize=no
41592fi
41593rm -f core conftest.err conftest.$ac_objext \
41594    conftest$ac_exeext conftest.$ac_ext
41595LIBS=$ac_check_lib_save_LIBS
41596fi
41597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5
41598$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; }
41599if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then :
41600  ac_cv_libfdata_dummy=yes
41601else
41602  ac_cv_libfdata=no
41603fi
41604
41605        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5
41606$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; }
41607if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then :
41608  $as_echo_n "(cached) " >&6
41609else
41610  ac_check_lib_save_LIBS=$LIBS
41611LIBS="-lfdata  $LIBS"
41612cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41613/* end confdefs.h.  */
41614
41615/* Override any GCC internal prototype to avoid an error.
41616   Use char because int might match the return type of a GCC
41617   builtin and then its argument prototype would still apply.  */
41618#ifdef __cplusplus
41619extern "C"
41620#endif
41621char libfdata_area_free ();
41622int
41623main ()
41624{
41625return libfdata_area_free ();
41626  ;
41627  return 0;
41628}
41629_ACEOF
41630if ac_fn_c_try_link "$LINENO"; then :
41631  ac_cv_lib_fdata_libfdata_area_free=yes
41632else
41633  ac_cv_lib_fdata_libfdata_area_free=no
41634fi
41635rm -f core conftest.err conftest.$ac_objext \
41636    conftest$ac_exeext conftest.$ac_ext
41637LIBS=$ac_check_lib_save_LIBS
41638fi
41639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5
41640$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; }
41641if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then :
41642  ac_cv_libfdata_dummy=yes
41643else
41644  ac_cv_libfdata=no
41645fi
41646
41647        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5
41648$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; }
41649if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then :
41650  $as_echo_n "(cached) " >&6
41651else
41652  ac_check_lib_save_LIBS=$LIBS
41653LIBS="-lfdata  $LIBS"
41654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41655/* end confdefs.h.  */
41656
41657/* Override any GCC internal prototype to avoid an error.
41658   Use char because int might match the return type of a GCC
41659   builtin and then its argument prototype would still apply.  */
41660#ifdef __cplusplus
41661extern "C"
41662#endif
41663char libfdata_area_clone ();
41664int
41665main ()
41666{
41667return libfdata_area_clone ();
41668  ;
41669  return 0;
41670}
41671_ACEOF
41672if ac_fn_c_try_link "$LINENO"; then :
41673  ac_cv_lib_fdata_libfdata_area_clone=yes
41674else
41675  ac_cv_lib_fdata_libfdata_area_clone=no
41676fi
41677rm -f core conftest.err conftest.$ac_objext \
41678    conftest$ac_exeext conftest.$ac_ext
41679LIBS=$ac_check_lib_save_LIBS
41680fi
41681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5
41682$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; }
41683if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then :
41684  ac_cv_libfdata_dummy=yes
41685else
41686  ac_cv_libfdata=no
41687fi
41688
41689        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5
41690$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; }
41691if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then :
41692  $as_echo_n "(cached) " >&6
41693else
41694  ac_check_lib_save_LIBS=$LIBS
41695LIBS="-lfdata  $LIBS"
41696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41697/* end confdefs.h.  */
41698
41699/* Override any GCC internal prototype to avoid an error.
41700   Use char because int might match the return type of a GCC
41701   builtin and then its argument prototype would still apply.  */
41702#ifdef __cplusplus
41703extern "C"
41704#endif
41705char libfdata_area_empty ();
41706int
41707main ()
41708{
41709return libfdata_area_empty ();
41710  ;
41711  return 0;
41712}
41713_ACEOF
41714if ac_fn_c_try_link "$LINENO"; then :
41715  ac_cv_lib_fdata_libfdata_area_empty=yes
41716else
41717  ac_cv_lib_fdata_libfdata_area_empty=no
41718fi
41719rm -f core conftest.err conftest.$ac_objext \
41720    conftest$ac_exeext conftest.$ac_ext
41721LIBS=$ac_check_lib_save_LIBS
41722fi
41723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5
41724$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; }
41725if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then :
41726  ac_cv_libfdata_dummy=yes
41727else
41728  ac_cv_libfdata=no
41729fi
41730
41731        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5
41732$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; }
41733if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then :
41734  $as_echo_n "(cached) " >&6
41735else
41736  ac_check_lib_save_LIBS=$LIBS
41737LIBS="-lfdata  $LIBS"
41738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41739/* end confdefs.h.  */
41740
41741/* Override any GCC internal prototype to avoid an error.
41742   Use char because int might match the return type of a GCC
41743   builtin and then its argument prototype would still apply.  */
41744#ifdef __cplusplus
41745extern "C"
41746#endif
41747char libfdata_area_resize ();
41748int
41749main ()
41750{
41751return libfdata_area_resize ();
41752  ;
41753  return 0;
41754}
41755_ACEOF
41756if ac_fn_c_try_link "$LINENO"; then :
41757  ac_cv_lib_fdata_libfdata_area_resize=yes
41758else
41759  ac_cv_lib_fdata_libfdata_area_resize=no
41760fi
41761rm -f core conftest.err conftest.$ac_objext \
41762    conftest$ac_exeext conftest.$ac_ext
41763LIBS=$ac_check_lib_save_LIBS
41764fi
41765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5
41766$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; }
41767if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then :
41768  ac_cv_libfdata_dummy=yes
41769else
41770  ac_cv_libfdata=no
41771fi
41772
41773        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5
41774$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; }
41775if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then :
41776  $as_echo_n "(cached) " >&6
41777else
41778  ac_check_lib_save_LIBS=$LIBS
41779LIBS="-lfdata  $LIBS"
41780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41781/* end confdefs.h.  */
41782
41783/* Override any GCC internal prototype to avoid an error.
41784   Use char because int might match the return type of a GCC
41785   builtin and then its argument prototype would still apply.  */
41786#ifdef __cplusplus
41787extern "C"
41788#endif
41789char libfdata_area_get_number_of_segments ();
41790int
41791main ()
41792{
41793return libfdata_area_get_number_of_segments ();
41794  ;
41795  return 0;
41796}
41797_ACEOF
41798if ac_fn_c_try_link "$LINENO"; then :
41799  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes
41800else
41801  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no
41802fi
41803rm -f core conftest.err conftest.$ac_objext \
41804    conftest$ac_exeext conftest.$ac_ext
41805LIBS=$ac_check_lib_save_LIBS
41806fi
41807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5
41808$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; }
41809if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then :
41810  ac_cv_libfdata_dummy=yes
41811else
41812  ac_cv_libfdata=no
41813fi
41814
41815        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5
41816$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; }
41817if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then :
41818  $as_echo_n "(cached) " >&6
41819else
41820  ac_check_lib_save_LIBS=$LIBS
41821LIBS="-lfdata  $LIBS"
41822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41823/* end confdefs.h.  */
41824
41825/* Override any GCC internal prototype to avoid an error.
41826   Use char because int might match the return type of a GCC
41827   builtin and then its argument prototype would still apply.  */
41828#ifdef __cplusplus
41829extern "C"
41830#endif
41831char libfdata_area_get_segment_by_index ();
41832int
41833main ()
41834{
41835return libfdata_area_get_segment_by_index ();
41836  ;
41837  return 0;
41838}
41839_ACEOF
41840if ac_fn_c_try_link "$LINENO"; then :
41841  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes
41842else
41843  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no
41844fi
41845rm -f core conftest.err conftest.$ac_objext \
41846    conftest$ac_exeext conftest.$ac_ext
41847LIBS=$ac_check_lib_save_LIBS
41848fi
41849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5
41850$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; }
41851if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then :
41852  ac_cv_libfdata_dummy=yes
41853else
41854  ac_cv_libfdata=no
41855fi
41856
41857        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5
41858$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; }
41859if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then :
41860  $as_echo_n "(cached) " >&6
41861else
41862  ac_check_lib_save_LIBS=$LIBS
41863LIBS="-lfdata  $LIBS"
41864cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41865/* end confdefs.h.  */
41866
41867/* Override any GCC internal prototype to avoid an error.
41868   Use char because int might match the return type of a GCC
41869   builtin and then its argument prototype would still apply.  */
41870#ifdef __cplusplus
41871extern "C"
41872#endif
41873char libfdata_area_set_segment_by_index ();
41874int
41875main ()
41876{
41877return libfdata_area_set_segment_by_index ();
41878  ;
41879  return 0;
41880}
41881_ACEOF
41882if ac_fn_c_try_link "$LINENO"; then :
41883  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes
41884else
41885  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no
41886fi
41887rm -f core conftest.err conftest.$ac_objext \
41888    conftest$ac_exeext conftest.$ac_ext
41889LIBS=$ac_check_lib_save_LIBS
41890fi
41891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5
41892$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; }
41893if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then :
41894  ac_cv_libfdata_dummy=yes
41895else
41896  ac_cv_libfdata=no
41897fi
41898
41899        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5
41900$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; }
41901if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then :
41902  $as_echo_n "(cached) " >&6
41903else
41904  ac_check_lib_save_LIBS=$LIBS
41905LIBS="-lfdata  $LIBS"
41906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41907/* end confdefs.h.  */
41908
41909/* Override any GCC internal prototype to avoid an error.
41910   Use char because int might match the return type of a GCC
41911   builtin and then its argument prototype would still apply.  */
41912#ifdef __cplusplus
41913extern "C"
41914#endif
41915char libfdata_area_prepend_segment ();
41916int
41917main ()
41918{
41919return libfdata_area_prepend_segment ();
41920  ;
41921  return 0;
41922}
41923_ACEOF
41924if ac_fn_c_try_link "$LINENO"; then :
41925  ac_cv_lib_fdata_libfdata_area_prepend_segment=yes
41926else
41927  ac_cv_lib_fdata_libfdata_area_prepend_segment=no
41928fi
41929rm -f core conftest.err conftest.$ac_objext \
41930    conftest$ac_exeext conftest.$ac_ext
41931LIBS=$ac_check_lib_save_LIBS
41932fi
41933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5
41934$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; }
41935if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then :
41936  ac_cv_libfdata_dummy=yes
41937else
41938  ac_cv_libfdata=no
41939fi
41940
41941        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5
41942$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; }
41943if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then :
41944  $as_echo_n "(cached) " >&6
41945else
41946  ac_check_lib_save_LIBS=$LIBS
41947LIBS="-lfdata  $LIBS"
41948cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41949/* end confdefs.h.  */
41950
41951/* Override any GCC internal prototype to avoid an error.
41952   Use char because int might match the return type of a GCC
41953   builtin and then its argument prototype would still apply.  */
41954#ifdef __cplusplus
41955extern "C"
41956#endif
41957char libfdata_area_append_segment ();
41958int
41959main ()
41960{
41961return libfdata_area_append_segment ();
41962  ;
41963  return 0;
41964}
41965_ACEOF
41966if ac_fn_c_try_link "$LINENO"; then :
41967  ac_cv_lib_fdata_libfdata_area_append_segment=yes
41968else
41969  ac_cv_lib_fdata_libfdata_area_append_segment=no
41970fi
41971rm -f core conftest.err conftest.$ac_objext \
41972    conftest$ac_exeext conftest.$ac_ext
41973LIBS=$ac_check_lib_save_LIBS
41974fi
41975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5
41976$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; }
41977if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then :
41978  ac_cv_libfdata_dummy=yes
41979else
41980  ac_cv_libfdata=no
41981fi
41982
41983        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5
41984$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; }
41985if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then :
41986  $as_echo_n "(cached) " >&6
41987else
41988  ac_check_lib_save_LIBS=$LIBS
41989LIBS="-lfdata  $LIBS"
41990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41991/* end confdefs.h.  */
41992
41993/* Override any GCC internal prototype to avoid an error.
41994   Use char because int might match the return type of a GCC
41995   builtin and then its argument prototype would still apply.  */
41996#ifdef __cplusplus
41997extern "C"
41998#endif
41999char libfdata_area_get_element_data_size ();
42000int
42001main ()
42002{
42003return libfdata_area_get_element_data_size ();
42004  ;
42005  return 0;
42006}
42007_ACEOF
42008if ac_fn_c_try_link "$LINENO"; then :
42009  ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes
42010else
42011  ac_cv_lib_fdata_libfdata_area_get_element_data_size=no
42012fi
42013rm -f core conftest.err conftest.$ac_objext \
42014    conftest$ac_exeext conftest.$ac_ext
42015LIBS=$ac_check_lib_save_LIBS
42016fi
42017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5
42018$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; }
42019if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then :
42020  ac_cv_libfdata_dummy=yes
42021else
42022  ac_cv_libfdata=no
42023fi
42024
42025        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5
42026$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; }
42027if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then :
42028  $as_echo_n "(cached) " >&6
42029else
42030  ac_check_lib_save_LIBS=$LIBS
42031LIBS="-lfdata  $LIBS"
42032cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42033/* end confdefs.h.  */
42034
42035/* Override any GCC internal prototype to avoid an error.
42036   Use char because int might match the return type of a GCC
42037   builtin and then its argument prototype would still apply.  */
42038#ifdef __cplusplus
42039extern "C"
42040#endif
42041char libfdata_area_get_element_value_at_offset ();
42042int
42043main ()
42044{
42045return libfdata_area_get_element_value_at_offset ();
42046  ;
42047  return 0;
42048}
42049_ACEOF
42050if ac_fn_c_try_link "$LINENO"; then :
42051  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes
42052else
42053  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no
42054fi
42055rm -f core conftest.err conftest.$ac_objext \
42056    conftest$ac_exeext conftest.$ac_ext
42057LIBS=$ac_check_lib_save_LIBS
42058fi
42059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5
42060$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; }
42061if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then :
42062  ac_cv_libfdata_dummy=yes
42063else
42064  ac_cv_libfdata=no
42065fi
42066
42067        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5
42068$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; }
42069if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then :
42070  $as_echo_n "(cached) " >&6
42071else
42072  ac_check_lib_save_LIBS=$LIBS
42073LIBS="-lfdata  $LIBS"
42074cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42075/* end confdefs.h.  */
42076
42077/* Override any GCC internal prototype to avoid an error.
42078   Use char because int might match the return type of a GCC
42079   builtin and then its argument prototype would still apply.  */
42080#ifdef __cplusplus
42081extern "C"
42082#endif
42083char libfdata_area_set_element_value_at_offset ();
42084int
42085main ()
42086{
42087return libfdata_area_set_element_value_at_offset ();
42088  ;
42089  return 0;
42090}
42091_ACEOF
42092if ac_fn_c_try_link "$LINENO"; then :
42093  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes
42094else
42095  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no
42096fi
42097rm -f core conftest.err conftest.$ac_objext \
42098    conftest$ac_exeext conftest.$ac_ext
42099LIBS=$ac_check_lib_save_LIBS
42100fi
42101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5
42102$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; }
42103if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then :
42104  ac_cv_libfdata_dummy=yes
42105else
42106  ac_cv_libfdata=no
42107fi
42108
42109        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5
42110$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; }
42111if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then :
42112  $as_echo_n "(cached) " >&6
42113else
42114  ac_check_lib_save_LIBS=$LIBS
42115LIBS="-lfdata  $LIBS"
42116cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117/* end confdefs.h.  */
42118
42119/* Override any GCC internal prototype to avoid an error.
42120   Use char because int might match the return type of a GCC
42121   builtin and then its argument prototype would still apply.  */
42122#ifdef __cplusplus
42123extern "C"
42124#endif
42125char libfdata_area_get_size ();
42126int
42127main ()
42128{
42129return libfdata_area_get_size ();
42130  ;
42131  return 0;
42132}
42133_ACEOF
42134if ac_fn_c_try_link "$LINENO"; then :
42135  ac_cv_lib_fdata_libfdata_area_get_size=yes
42136else
42137  ac_cv_lib_fdata_libfdata_area_get_size=no
42138fi
42139rm -f core conftest.err conftest.$ac_objext \
42140    conftest$ac_exeext conftest.$ac_ext
42141LIBS=$ac_check_lib_save_LIBS
42142fi
42143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5
42144$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; }
42145if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then :
42146  ac_cv_libfdata_dummy=yes
42147else
42148  ac_cv_libfdata=no
42149fi
42150
42151
42152
42153                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5
42154$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; }
42155if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then :
42156  $as_echo_n "(cached) " >&6
42157else
42158  ac_check_lib_save_LIBS=$LIBS
42159LIBS="-lfdata  $LIBS"
42160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42161/* end confdefs.h.  */
42162
42163/* Override any GCC internal prototype to avoid an error.
42164   Use char because int might match the return type of a GCC
42165   builtin and then its argument prototype would still apply.  */
42166#ifdef __cplusplus
42167extern "C"
42168#endif
42169char libfdata_list_initialize ();
42170int
42171main ()
42172{
42173return libfdata_list_initialize ();
42174  ;
42175  return 0;
42176}
42177_ACEOF
42178if ac_fn_c_try_link "$LINENO"; then :
42179  ac_cv_lib_fdata_libfdata_list_initialize=yes
42180else
42181  ac_cv_lib_fdata_libfdata_list_initialize=no
42182fi
42183rm -f core conftest.err conftest.$ac_objext \
42184    conftest$ac_exeext conftest.$ac_ext
42185LIBS=$ac_check_lib_save_LIBS
42186fi
42187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5
42188$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; }
42189if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then :
42190  ac_cv_libfdata_dummy=yes
42191else
42192  ac_cv_libfdata=no
42193fi
42194
42195        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5
42196$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; }
42197if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then :
42198  $as_echo_n "(cached) " >&6
42199else
42200  ac_check_lib_save_LIBS=$LIBS
42201LIBS="-lfdata  $LIBS"
42202cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42203/* end confdefs.h.  */
42204
42205/* Override any GCC internal prototype to avoid an error.
42206   Use char because int might match the return type of a GCC
42207   builtin and then its argument prototype would still apply.  */
42208#ifdef __cplusplus
42209extern "C"
42210#endif
42211char libfdata_list_free ();
42212int
42213main ()
42214{
42215return libfdata_list_free ();
42216  ;
42217  return 0;
42218}
42219_ACEOF
42220if ac_fn_c_try_link "$LINENO"; then :
42221  ac_cv_lib_fdata_libfdata_list_free=yes
42222else
42223  ac_cv_lib_fdata_libfdata_list_free=no
42224fi
42225rm -f core conftest.err conftest.$ac_objext \
42226    conftest$ac_exeext conftest.$ac_ext
42227LIBS=$ac_check_lib_save_LIBS
42228fi
42229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5
42230$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; }
42231if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then :
42232  ac_cv_libfdata_dummy=yes
42233else
42234  ac_cv_libfdata=no
42235fi
42236
42237        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5
42238$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; }
42239if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then :
42240  $as_echo_n "(cached) " >&6
42241else
42242  ac_check_lib_save_LIBS=$LIBS
42243LIBS="-lfdata  $LIBS"
42244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42245/* end confdefs.h.  */
42246
42247/* Override any GCC internal prototype to avoid an error.
42248   Use char because int might match the return type of a GCC
42249   builtin and then its argument prototype would still apply.  */
42250#ifdef __cplusplus
42251extern "C"
42252#endif
42253char libfdata_list_clone ();
42254int
42255main ()
42256{
42257return libfdata_list_clone ();
42258  ;
42259  return 0;
42260}
42261_ACEOF
42262if ac_fn_c_try_link "$LINENO"; then :
42263  ac_cv_lib_fdata_libfdata_list_clone=yes
42264else
42265  ac_cv_lib_fdata_libfdata_list_clone=no
42266fi
42267rm -f core conftest.err conftest.$ac_objext \
42268    conftest$ac_exeext conftest.$ac_ext
42269LIBS=$ac_check_lib_save_LIBS
42270fi
42271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5
42272$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; }
42273if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then :
42274  ac_cv_libfdata_dummy=yes
42275else
42276  ac_cv_libfdata=no
42277fi
42278
42279        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5
42280$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; }
42281if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then :
42282  $as_echo_n "(cached) " >&6
42283else
42284  ac_check_lib_save_LIBS=$LIBS
42285LIBS="-lfdata  $LIBS"
42286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42287/* end confdefs.h.  */
42288
42289/* Override any GCC internal prototype to avoid an error.
42290   Use char because int might match the return type of a GCC
42291   builtin and then its argument prototype would still apply.  */
42292#ifdef __cplusplus
42293extern "C"
42294#endif
42295char libfdata_list_empty ();
42296int
42297main ()
42298{
42299return libfdata_list_empty ();
42300  ;
42301  return 0;
42302}
42303_ACEOF
42304if ac_fn_c_try_link "$LINENO"; then :
42305  ac_cv_lib_fdata_libfdata_list_empty=yes
42306else
42307  ac_cv_lib_fdata_libfdata_list_empty=no
42308fi
42309rm -f core conftest.err conftest.$ac_objext \
42310    conftest$ac_exeext conftest.$ac_ext
42311LIBS=$ac_check_lib_save_LIBS
42312fi
42313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5
42314$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; }
42315if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then :
42316  ac_cv_libfdata_dummy=yes
42317else
42318  ac_cv_libfdata=no
42319fi
42320
42321        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5
42322$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; }
42323if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then :
42324  $as_echo_n "(cached) " >&6
42325else
42326  ac_check_lib_save_LIBS=$LIBS
42327LIBS="-lfdata  $LIBS"
42328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329/* end confdefs.h.  */
42330
42331/* Override any GCC internal prototype to avoid an error.
42332   Use char because int might match the return type of a GCC
42333   builtin and then its argument prototype would still apply.  */
42334#ifdef __cplusplus
42335extern "C"
42336#endif
42337char libfdata_list_resize ();
42338int
42339main ()
42340{
42341return libfdata_list_resize ();
42342  ;
42343  return 0;
42344}
42345_ACEOF
42346if ac_fn_c_try_link "$LINENO"; then :
42347  ac_cv_lib_fdata_libfdata_list_resize=yes
42348else
42349  ac_cv_lib_fdata_libfdata_list_resize=no
42350fi
42351rm -f core conftest.err conftest.$ac_objext \
42352    conftest$ac_exeext conftest.$ac_ext
42353LIBS=$ac_check_lib_save_LIBS
42354fi
42355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5
42356$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; }
42357if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then :
42358  ac_cv_libfdata_dummy=yes
42359else
42360  ac_cv_libfdata=no
42361fi
42362
42363
42364        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5
42365$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; }
42366if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then :
42367  $as_echo_n "(cached) " >&6
42368else
42369  ac_check_lib_save_LIBS=$LIBS
42370LIBS="-lfdata  $LIBS"
42371cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42372/* end confdefs.h.  */
42373
42374/* Override any GCC internal prototype to avoid an error.
42375   Use char because int might match the return type of a GCC
42376   builtin and then its argument prototype would still apply.  */
42377#ifdef __cplusplus
42378extern "C"
42379#endif
42380char libfdata_list_reverse ();
42381int
42382main ()
42383{
42384return libfdata_list_reverse ();
42385  ;
42386  return 0;
42387}
42388_ACEOF
42389if ac_fn_c_try_link "$LINENO"; then :
42390  ac_cv_lib_fdata_libfdata_list_reverse=yes
42391else
42392  ac_cv_lib_fdata_libfdata_list_reverse=no
42393fi
42394rm -f core conftest.err conftest.$ac_objext \
42395    conftest$ac_exeext conftest.$ac_ext
42396LIBS=$ac_check_lib_save_LIBS
42397fi
42398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5
42399$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; }
42400if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then :
42401  ac_cv_libfdata_dummy=yes
42402else
42403  ac_cv_libfdata=no
42404fi
42405
42406
42407        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5
42408$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; }
42409if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then :
42410  $as_echo_n "(cached) " >&6
42411else
42412  ac_check_lib_save_LIBS=$LIBS
42413LIBS="-lfdata  $LIBS"
42414cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42415/* end confdefs.h.  */
42416
42417/* Override any GCC internal prototype to avoid an error.
42418   Use char because int might match the return type of a GCC
42419   builtin and then its argument prototype would still apply.  */
42420#ifdef __cplusplus
42421extern "C"
42422#endif
42423char libfdata_list_get_number_of_elements ();
42424int
42425main ()
42426{
42427return libfdata_list_get_number_of_elements ();
42428  ;
42429  return 0;
42430}
42431_ACEOF
42432if ac_fn_c_try_link "$LINENO"; then :
42433  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes
42434else
42435  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no
42436fi
42437rm -f core conftest.err conftest.$ac_objext \
42438    conftest$ac_exeext conftest.$ac_ext
42439LIBS=$ac_check_lib_save_LIBS
42440fi
42441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5
42442$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; }
42443if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then :
42444  ac_cv_libfdata_dummy=yes
42445else
42446  ac_cv_libfdata=no
42447fi
42448
42449        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5
42450$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; }
42451if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then :
42452  $as_echo_n "(cached) " >&6
42453else
42454  ac_check_lib_save_LIBS=$LIBS
42455LIBS="-lfdata  $LIBS"
42456cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42457/* end confdefs.h.  */
42458
42459/* Override any GCC internal prototype to avoid an error.
42460   Use char because int might match the return type of a GCC
42461   builtin and then its argument prototype would still apply.  */
42462#ifdef __cplusplus
42463extern "C"
42464#endif
42465char libfdata_list_get_list_element_by_index ();
42466int
42467main ()
42468{
42469return libfdata_list_get_list_element_by_index ();
42470  ;
42471  return 0;
42472}
42473_ACEOF
42474if ac_fn_c_try_link "$LINENO"; then :
42475  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes
42476else
42477  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no
42478fi
42479rm -f core conftest.err conftest.$ac_objext \
42480    conftest$ac_exeext conftest.$ac_ext
42481LIBS=$ac_check_lib_save_LIBS
42482fi
42483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5
42484$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; }
42485if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then :
42486  ac_cv_libfdata_dummy=yes
42487else
42488  ac_cv_libfdata=no
42489fi
42490
42491        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5
42492$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; }
42493if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then :
42494  $as_echo_n "(cached) " >&6
42495else
42496  ac_check_lib_save_LIBS=$LIBS
42497LIBS="-lfdata  $LIBS"
42498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42499/* end confdefs.h.  */
42500
42501/* Override any GCC internal prototype to avoid an error.
42502   Use char because int might match the return type of a GCC
42503   builtin and then its argument prototype would still apply.  */
42504#ifdef __cplusplus
42505extern "C"
42506#endif
42507char libfdata_list_get_element_by_index ();
42508int
42509main ()
42510{
42511return libfdata_list_get_element_by_index ();
42512  ;
42513  return 0;
42514}
42515_ACEOF
42516if ac_fn_c_try_link "$LINENO"; then :
42517  ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes
42518else
42519  ac_cv_lib_fdata_libfdata_list_get_element_by_index=no
42520fi
42521rm -f core conftest.err conftest.$ac_objext \
42522    conftest$ac_exeext conftest.$ac_ext
42523LIBS=$ac_check_lib_save_LIBS
42524fi
42525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5
42526$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; }
42527if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then :
42528  ac_cv_libfdata_dummy=yes
42529else
42530  ac_cv_libfdata=no
42531fi
42532
42533        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5
42534$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; }
42535if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then :
42536  $as_echo_n "(cached) " >&6
42537else
42538  ac_check_lib_save_LIBS=$LIBS
42539LIBS="-lfdata  $LIBS"
42540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42541/* end confdefs.h.  */
42542
42543/* Override any GCC internal prototype to avoid an error.
42544   Use char because int might match the return type of a GCC
42545   builtin and then its argument prototype would still apply.  */
42546#ifdef __cplusplus
42547extern "C"
42548#endif
42549char libfdata_list_set_element_by_index ();
42550int
42551main ()
42552{
42553return libfdata_list_set_element_by_index ();
42554  ;
42555  return 0;
42556}
42557_ACEOF
42558if ac_fn_c_try_link "$LINENO"; then :
42559  ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes
42560else
42561  ac_cv_lib_fdata_libfdata_list_set_element_by_index=no
42562fi
42563rm -f core conftest.err conftest.$ac_objext \
42564    conftest$ac_exeext conftest.$ac_ext
42565LIBS=$ac_check_lib_save_LIBS
42566fi
42567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5
42568$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; }
42569if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then :
42570  ac_cv_libfdata_dummy=yes
42571else
42572  ac_cv_libfdata=no
42573fi
42574
42575        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5
42576$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; }
42577if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then :
42578  $as_echo_n "(cached) " >&6
42579else
42580  ac_check_lib_save_LIBS=$LIBS
42581LIBS="-lfdata  $LIBS"
42582cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583/* end confdefs.h.  */
42584
42585/* Override any GCC internal prototype to avoid an error.
42586   Use char because int might match the return type of a GCC
42587   builtin and then its argument prototype would still apply.  */
42588#ifdef __cplusplus
42589extern "C"
42590#endif
42591char libfdata_list_prepend_element ();
42592int
42593main ()
42594{
42595return libfdata_list_prepend_element ();
42596  ;
42597  return 0;
42598}
42599_ACEOF
42600if ac_fn_c_try_link "$LINENO"; then :
42601  ac_cv_lib_fdata_libfdata_list_prepend_element=yes
42602else
42603  ac_cv_lib_fdata_libfdata_list_prepend_element=no
42604fi
42605rm -f core conftest.err conftest.$ac_objext \
42606    conftest$ac_exeext conftest.$ac_ext
42607LIBS=$ac_check_lib_save_LIBS
42608fi
42609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5
42610$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; }
42611if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then :
42612  ac_cv_libfdata_dummy=yes
42613else
42614  ac_cv_libfdata=no
42615fi
42616
42617        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5
42618$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; }
42619if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then :
42620  $as_echo_n "(cached) " >&6
42621else
42622  ac_check_lib_save_LIBS=$LIBS
42623LIBS="-lfdata  $LIBS"
42624cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42625/* end confdefs.h.  */
42626
42627/* Override any GCC internal prototype to avoid an error.
42628   Use char because int might match the return type of a GCC
42629   builtin and then its argument prototype would still apply.  */
42630#ifdef __cplusplus
42631extern "C"
42632#endif
42633char libfdata_list_append_element ();
42634int
42635main ()
42636{
42637return libfdata_list_append_element ();
42638  ;
42639  return 0;
42640}
42641_ACEOF
42642if ac_fn_c_try_link "$LINENO"; then :
42643  ac_cv_lib_fdata_libfdata_list_append_element=yes
42644else
42645  ac_cv_lib_fdata_libfdata_list_append_element=no
42646fi
42647rm -f core conftest.err conftest.$ac_objext \
42648    conftest$ac_exeext conftest.$ac_ext
42649LIBS=$ac_check_lib_save_LIBS
42650fi
42651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5
42652$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; }
42653if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then :
42654  ac_cv_libfdata_dummy=yes
42655else
42656  ac_cv_libfdata=no
42657fi
42658
42659        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5
42660$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; }
42661if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then :
42662  $as_echo_n "(cached) " >&6
42663else
42664  ac_check_lib_save_LIBS=$LIBS
42665LIBS="-lfdata  $LIBS"
42666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667/* end confdefs.h.  */
42668
42669/* Override any GCC internal prototype to avoid an error.
42670   Use char because int might match the return type of a GCC
42671   builtin and then its argument prototype would still apply.  */
42672#ifdef __cplusplus
42673extern "C"
42674#endif
42675char libfdata_list_append_list ();
42676int
42677main ()
42678{
42679return libfdata_list_append_list ();
42680  ;
42681  return 0;
42682}
42683_ACEOF
42684if ac_fn_c_try_link "$LINENO"; then :
42685  ac_cv_lib_fdata_libfdata_list_append_list=yes
42686else
42687  ac_cv_lib_fdata_libfdata_list_append_list=no
42688fi
42689rm -f core conftest.err conftest.$ac_objext \
42690    conftest$ac_exeext conftest.$ac_ext
42691LIBS=$ac_check_lib_save_LIBS
42692fi
42693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5
42694$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; }
42695if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then :
42696  ac_cv_libfdata_dummy=yes
42697else
42698  ac_cv_libfdata=no
42699fi
42700
42701        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5
42702$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; }
42703if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then :
42704  $as_echo_n "(cached) " >&6
42705else
42706  ac_check_lib_save_LIBS=$LIBS
42707LIBS="-lfdata  $LIBS"
42708cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42709/* end confdefs.h.  */
42710
42711/* Override any GCC internal prototype to avoid an error.
42712   Use char because int might match the return type of a GCC
42713   builtin and then its argument prototype would still apply.  */
42714#ifdef __cplusplus
42715extern "C"
42716#endif
42717char libfdata_list_is_element_set ();
42718int
42719main ()
42720{
42721return libfdata_list_is_element_set ();
42722  ;
42723  return 0;
42724}
42725_ACEOF
42726if ac_fn_c_try_link "$LINENO"; then :
42727  ac_cv_lib_fdata_libfdata_list_is_element_set=yes
42728else
42729  ac_cv_lib_fdata_libfdata_list_is_element_set=no
42730fi
42731rm -f core conftest.err conftest.$ac_objext \
42732    conftest$ac_exeext conftest.$ac_ext
42733LIBS=$ac_check_lib_save_LIBS
42734fi
42735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5
42736$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; }
42737if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then :
42738  ac_cv_libfdata_dummy=yes
42739else
42740  ac_cv_libfdata=no
42741fi
42742
42743
42744        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_mapped_range in -lfdata" >&5
42745$as_echo_n "checking for libfdata_list_get_element_mapped_range in -lfdata... " >&6; }
42746if ${ac_cv_lib_fdata_libfdata_list_get_element_mapped_range+:} false; then :
42747  $as_echo_n "(cached) " >&6
42748else
42749  ac_check_lib_save_LIBS=$LIBS
42750LIBS="-lfdata  $LIBS"
42751cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42752/* end confdefs.h.  */
42753
42754/* Override any GCC internal prototype to avoid an error.
42755   Use char because int might match the return type of a GCC
42756   builtin and then its argument prototype would still apply.  */
42757#ifdef __cplusplus
42758extern "C"
42759#endif
42760char libfdata_list_get_element_mapped_range ();
42761int
42762main ()
42763{
42764return libfdata_list_get_element_mapped_range ();
42765  ;
42766  return 0;
42767}
42768_ACEOF
42769if ac_fn_c_try_link "$LINENO"; then :
42770  ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=yes
42771else
42772  ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=no
42773fi
42774rm -f core conftest.err conftest.$ac_objext \
42775    conftest$ac_exeext conftest.$ac_ext
42776LIBS=$ac_check_lib_save_LIBS
42777fi
42778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&5
42779$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&6; }
42780if test "x$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" = xyes; then :
42781  ac_cv_libfdata_dummy=yes
42782else
42783  ac_cv_libfdata=no
42784fi
42785
42786        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5
42787$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; }
42788if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then :
42789  $as_echo_n "(cached) " >&6
42790else
42791  ac_check_lib_save_LIBS=$LIBS
42792LIBS="-lfdata  $LIBS"
42793cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42794/* end confdefs.h.  */
42795
42796/* Override any GCC internal prototype to avoid an error.
42797   Use char because int might match the return type of a GCC
42798   builtin and then its argument prototype would still apply.  */
42799#ifdef __cplusplus
42800extern "C"
42801#endif
42802char libfdata_list_get_mapped_offset ();
42803int
42804main ()
42805{
42806return libfdata_list_get_mapped_offset ();
42807  ;
42808  return 0;
42809}
42810_ACEOF
42811if ac_fn_c_try_link "$LINENO"; then :
42812  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes
42813else
42814  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no
42815fi
42816rm -f core conftest.err conftest.$ac_objext \
42817    conftest$ac_exeext conftest.$ac_ext
42818LIBS=$ac_check_lib_save_LIBS
42819fi
42820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5
42821$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; }
42822if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then :
42823  ac_cv_libfdata_dummy=yes
42824else
42825  ac_cv_libfdata=no
42826fi
42827
42828        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5
42829$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; }
42830if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then :
42831  $as_echo_n "(cached) " >&6
42832else
42833  ac_check_lib_save_LIBS=$LIBS
42834LIBS="-lfdata  $LIBS"
42835cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42836/* end confdefs.h.  */
42837
42838/* Override any GCC internal prototype to avoid an error.
42839   Use char because int might match the return type of a GCC
42840   builtin and then its argument prototype would still apply.  */
42841#ifdef __cplusplus
42842extern "C"
42843#endif
42844char libfdata_list_set_mapped_offset ();
42845int
42846main ()
42847{
42848return libfdata_list_set_mapped_offset ();
42849  ;
42850  return 0;
42851}
42852_ACEOF
42853if ac_fn_c_try_link "$LINENO"; then :
42854  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes
42855else
42856  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no
42857fi
42858rm -f core conftest.err conftest.$ac_objext \
42859    conftest$ac_exeext conftest.$ac_ext
42860LIBS=$ac_check_lib_save_LIBS
42861fi
42862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5
42863$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; }
42864if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then :
42865  ac_cv_libfdata_dummy=yes
42866else
42867  ac_cv_libfdata=no
42868fi
42869
42870
42871        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5
42872$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; }
42873if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then :
42874  $as_echo_n "(cached) " >&6
42875else
42876  ac_check_lib_save_LIBS=$LIBS
42877LIBS="-lfdata  $LIBS"
42878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42879/* end confdefs.h.  */
42880
42881/* Override any GCC internal prototype to avoid an error.
42882   Use char because int might match the return type of a GCC
42883   builtin and then its argument prototype would still apply.  */
42884#ifdef __cplusplus
42885extern "C"
42886#endif
42887char libfdata_list_get_mapped_size_by_index ();
42888int
42889main ()
42890{
42891return libfdata_list_get_mapped_size_by_index ();
42892  ;
42893  return 0;
42894}
42895_ACEOF
42896if ac_fn_c_try_link "$LINENO"; then :
42897  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes
42898else
42899  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no
42900fi
42901rm -f core conftest.err conftest.$ac_objext \
42902    conftest$ac_exeext conftest.$ac_ext
42903LIBS=$ac_check_lib_save_LIBS
42904fi
42905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5
42906$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; }
42907if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then :
42908  ac_cv_libfdata_dummy=yes
42909else
42910  ac_cv_libfdata=no
42911fi
42912
42913        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5
42914$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; }
42915if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then :
42916  $as_echo_n "(cached) " >&6
42917else
42918  ac_check_lib_save_LIBS=$LIBS
42919LIBS="-lfdata  $LIBS"
42920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42921/* end confdefs.h.  */
42922
42923/* Override any GCC internal prototype to avoid an error.
42924   Use char because int might match the return type of a GCC
42925   builtin and then its argument prototype would still apply.  */
42926#ifdef __cplusplus
42927extern "C"
42928#endif
42929char libfdata_list_set_mapped_size_by_index ();
42930int
42931main ()
42932{
42933return libfdata_list_set_mapped_size_by_index ();
42934  ;
42935  return 0;
42936}
42937_ACEOF
42938if ac_fn_c_try_link "$LINENO"; then :
42939  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes
42940else
42941  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no
42942fi
42943rm -f core conftest.err conftest.$ac_objext \
42944    conftest$ac_exeext conftest.$ac_ext
42945LIBS=$ac_check_lib_save_LIBS
42946fi
42947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5
42948$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; }
42949if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then :
42950  ac_cv_libfdata_dummy=yes
42951else
42952  ac_cv_libfdata=no
42953fi
42954
42955        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5
42956$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; }
42957if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then :
42958  $as_echo_n "(cached) " >&6
42959else
42960  ac_check_lib_save_LIBS=$LIBS
42961LIBS="-lfdata  $LIBS"
42962cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42963/* end confdefs.h.  */
42964
42965/* Override any GCC internal prototype to avoid an error.
42966   Use char because int might match the return type of a GCC
42967   builtin and then its argument prototype would still apply.  */
42968#ifdef __cplusplus
42969extern "C"
42970#endif
42971char libfdata_list_get_element_by_index_with_mapped_size ();
42972int
42973main ()
42974{
42975return libfdata_list_get_element_by_index_with_mapped_size ();
42976  ;
42977  return 0;
42978}
42979_ACEOF
42980if ac_fn_c_try_link "$LINENO"; then :
42981  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes
42982else
42983  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no
42984fi
42985rm -f core conftest.err conftest.$ac_objext \
42986    conftest$ac_exeext conftest.$ac_ext
42987LIBS=$ac_check_lib_save_LIBS
42988fi
42989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5
42990$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; }
42991if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then :
42992  ac_cv_libfdata_dummy=yes
42993else
42994  ac_cv_libfdata=no
42995fi
42996
42997        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5
42998$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; }
42999if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then :
43000  $as_echo_n "(cached) " >&6
43001else
43002  ac_check_lib_save_LIBS=$LIBS
43003LIBS="-lfdata  $LIBS"
43004cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43005/* end confdefs.h.  */
43006
43007/* Override any GCC internal prototype to avoid an error.
43008   Use char because int might match the return type of a GCC
43009   builtin and then its argument prototype would still apply.  */
43010#ifdef __cplusplus
43011extern "C"
43012#endif
43013char libfdata_list_set_element_by_index_with_mapped_size ();
43014int
43015main ()
43016{
43017return libfdata_list_set_element_by_index_with_mapped_size ();
43018  ;
43019  return 0;
43020}
43021_ACEOF
43022if ac_fn_c_try_link "$LINENO"; then :
43023  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes
43024else
43025  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no
43026fi
43027rm -f core conftest.err conftest.$ac_objext \
43028    conftest$ac_exeext conftest.$ac_ext
43029LIBS=$ac_check_lib_save_LIBS
43030fi
43031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5
43032$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; }
43033if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then :
43034  ac_cv_libfdata_dummy=yes
43035else
43036  ac_cv_libfdata=no
43037fi
43038
43039        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5
43040$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; }
43041if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then :
43042  $as_echo_n "(cached) " >&6
43043else
43044  ac_check_lib_save_LIBS=$LIBS
43045LIBS="-lfdata  $LIBS"
43046cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43047/* end confdefs.h.  */
43048
43049/* Override any GCC internal prototype to avoid an error.
43050   Use char because int might match the return type of a GCC
43051   builtin and then its argument prototype would still apply.  */
43052#ifdef __cplusplus
43053extern "C"
43054#endif
43055char libfdata_list_append_element_with_mapped_size ();
43056int
43057main ()
43058{
43059return libfdata_list_append_element_with_mapped_size ();
43060  ;
43061  return 0;
43062}
43063_ACEOF
43064if ac_fn_c_try_link "$LINENO"; then :
43065  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes
43066else
43067  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no
43068fi
43069rm -f core conftest.err conftest.$ac_objext \
43070    conftest$ac_exeext conftest.$ac_ext
43071LIBS=$ac_check_lib_save_LIBS
43072fi
43073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5
43074$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; }
43075if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then :
43076  ac_cv_libfdata_dummy=yes
43077else
43078  ac_cv_libfdata=no
43079fi
43080
43081
43082        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5
43083$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; }
43084if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then :
43085  $as_echo_n "(cached) " >&6
43086else
43087  ac_check_lib_save_LIBS=$LIBS
43088LIBS="-lfdata  $LIBS"
43089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43090/* end confdefs.h.  */
43091
43092/* Override any GCC internal prototype to avoid an error.
43093   Use char because int might match the return type of a GCC
43094   builtin and then its argument prototype would still apply.  */
43095#ifdef __cplusplus
43096extern "C"
43097#endif
43098char libfdata_list_get_element_index_at_offset ();
43099int
43100main ()
43101{
43102return libfdata_list_get_element_index_at_offset ();
43103  ;
43104  return 0;
43105}
43106_ACEOF
43107if ac_fn_c_try_link "$LINENO"; then :
43108  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes
43109else
43110  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no
43111fi
43112rm -f core conftest.err conftest.$ac_objext \
43113    conftest$ac_exeext conftest.$ac_ext
43114LIBS=$ac_check_lib_save_LIBS
43115fi
43116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5
43117$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; }
43118if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then :
43119  ac_cv_libfdata_dummy=yes
43120else
43121  ac_cv_libfdata=no
43122fi
43123
43124        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5
43125$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; }
43126if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then :
43127  $as_echo_n "(cached) " >&6
43128else
43129  ac_check_lib_save_LIBS=$LIBS
43130LIBS="-lfdata  $LIBS"
43131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43132/* end confdefs.h.  */
43133
43134/* Override any GCC internal prototype to avoid an error.
43135   Use char because int might match the return type of a GCC
43136   builtin and then its argument prototype would still apply.  */
43137#ifdef __cplusplus
43138extern "C"
43139#endif
43140char libfdata_list_get_list_element_at_offset ();
43141int
43142main ()
43143{
43144return libfdata_list_get_list_element_at_offset ();
43145  ;
43146  return 0;
43147}
43148_ACEOF
43149if ac_fn_c_try_link "$LINENO"; then :
43150  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes
43151else
43152  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no
43153fi
43154rm -f core conftest.err conftest.$ac_objext \
43155    conftest$ac_exeext conftest.$ac_ext
43156LIBS=$ac_check_lib_save_LIBS
43157fi
43158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5
43159$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; }
43160if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then :
43161  ac_cv_libfdata_dummy=yes
43162else
43163  ac_cv_libfdata=no
43164fi
43165
43166        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5
43167$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; }
43168if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then :
43169  $as_echo_n "(cached) " >&6
43170else
43171  ac_check_lib_save_LIBS=$LIBS
43172LIBS="-lfdata  $LIBS"
43173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43174/* end confdefs.h.  */
43175
43176/* Override any GCC internal prototype to avoid an error.
43177   Use char because int might match the return type of a GCC
43178   builtin and then its argument prototype would still apply.  */
43179#ifdef __cplusplus
43180extern "C"
43181#endif
43182char libfdata_list_get_element_at_offset ();
43183int
43184main ()
43185{
43186return libfdata_list_get_element_at_offset ();
43187  ;
43188  return 0;
43189}
43190_ACEOF
43191if ac_fn_c_try_link "$LINENO"; then :
43192  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes
43193else
43194  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no
43195fi
43196rm -f core conftest.err conftest.$ac_objext \
43197    conftest$ac_exeext conftest.$ac_ext
43198LIBS=$ac_check_lib_save_LIBS
43199fi
43200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5
43201$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; }
43202if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then :
43203  ac_cv_libfdata_dummy=yes
43204else
43205  ac_cv_libfdata=no
43206fi
43207
43208
43209        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5
43210$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; }
43211if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then :
43212  $as_echo_n "(cached) " >&6
43213else
43214  ac_check_lib_save_LIBS=$LIBS
43215LIBS="-lfdata  $LIBS"
43216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43217/* end confdefs.h.  */
43218
43219/* Override any GCC internal prototype to avoid an error.
43220   Use char because int might match the return type of a GCC
43221   builtin and then its argument prototype would still apply.  */
43222#ifdef __cplusplus
43223extern "C"
43224#endif
43225char libfdata_list_cache_element_value ();
43226int
43227main ()
43228{
43229return libfdata_list_cache_element_value ();
43230  ;
43231  return 0;
43232}
43233_ACEOF
43234if ac_fn_c_try_link "$LINENO"; then :
43235  ac_cv_lib_fdata_libfdata_list_cache_element_value=yes
43236else
43237  ac_cv_lib_fdata_libfdata_list_cache_element_value=no
43238fi
43239rm -f core conftest.err conftest.$ac_objext \
43240    conftest$ac_exeext conftest.$ac_ext
43241LIBS=$ac_check_lib_save_LIBS
43242fi
43243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_cache_element_value" >&5
43244$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; }
43245if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then :
43246  ac_cv_libfdata_dummy=yes
43247else
43248  ac_cv_libfdata=no
43249fi
43250
43251        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5
43252$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; }
43253if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then :
43254  $as_echo_n "(cached) " >&6
43255else
43256  ac_check_lib_save_LIBS=$LIBS
43257LIBS="-lfdata  $LIBS"
43258cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43259/* end confdefs.h.  */
43260
43261/* Override any GCC internal prototype to avoid an error.
43262   Use char because int might match the return type of a GCC
43263   builtin and then its argument prototype would still apply.  */
43264#ifdef __cplusplus
43265extern "C"
43266#endif
43267char libfdata_list_get_element_value_by_index ();
43268int
43269main ()
43270{
43271return libfdata_list_get_element_value_by_index ();
43272  ;
43273  return 0;
43274}
43275_ACEOF
43276if ac_fn_c_try_link "$LINENO"; then :
43277  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes
43278else
43279  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=no
43280fi
43281rm -f core conftest.err conftest.$ac_objext \
43282    conftest$ac_exeext conftest.$ac_ext
43283LIBS=$ac_check_lib_save_LIBS
43284fi
43285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&5
43286$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; }
43287if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then :
43288  ac_cv_libfdata_dummy=yes
43289else
43290  ac_cv_libfdata=no
43291fi
43292
43293        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5
43294$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; }
43295if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then :
43296  $as_echo_n "(cached) " >&6
43297else
43298  ac_check_lib_save_LIBS=$LIBS
43299LIBS="-lfdata  $LIBS"
43300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43301/* end confdefs.h.  */
43302
43303/* Override any GCC internal prototype to avoid an error.
43304   Use char because int might match the return type of a GCC
43305   builtin and then its argument prototype would still apply.  */
43306#ifdef __cplusplus
43307extern "C"
43308#endif
43309char libfdata_list_get_element_value_at_offset ();
43310int
43311main ()
43312{
43313return libfdata_list_get_element_value_at_offset ();
43314  ;
43315  return 0;
43316}
43317_ACEOF
43318if ac_fn_c_try_link "$LINENO"; then :
43319  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes
43320else
43321  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=no
43322fi
43323rm -f core conftest.err conftest.$ac_objext \
43324    conftest$ac_exeext conftest.$ac_ext
43325LIBS=$ac_check_lib_save_LIBS
43326fi
43327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&5
43328$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; }
43329if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then :
43330  ac_cv_libfdata_dummy=yes
43331else
43332  ac_cv_libfdata=no
43333fi
43334
43335        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5
43336$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; }
43337if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then :
43338  $as_echo_n "(cached) " >&6
43339else
43340  ac_check_lib_save_LIBS=$LIBS
43341LIBS="-lfdata  $LIBS"
43342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43343/* end confdefs.h.  */
43344
43345/* Override any GCC internal prototype to avoid an error.
43346   Use char because int might match the return type of a GCC
43347   builtin and then its argument prototype would still apply.  */
43348#ifdef __cplusplus
43349extern "C"
43350#endif
43351char libfdata_list_set_element_value_by_index ();
43352int
43353main ()
43354{
43355return libfdata_list_set_element_value_by_index ();
43356  ;
43357  return 0;
43358}
43359_ACEOF
43360if ac_fn_c_try_link "$LINENO"; then :
43361  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes
43362else
43363  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=no
43364fi
43365rm -f core conftest.err conftest.$ac_objext \
43366    conftest$ac_exeext conftest.$ac_ext
43367LIBS=$ac_check_lib_save_LIBS
43368fi
43369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&5
43370$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; }
43371if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then :
43372  ac_cv_libfdata_dummy=yes
43373else
43374  ac_cv_libfdata=no
43375fi
43376
43377
43378        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5
43379$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; }
43380if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then :
43381  $as_echo_n "(cached) " >&6
43382else
43383  ac_check_lib_save_LIBS=$LIBS
43384LIBS="-lfdata  $LIBS"
43385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43386/* end confdefs.h.  */
43387
43388/* Override any GCC internal prototype to avoid an error.
43389   Use char because int might match the return type of a GCC
43390   builtin and then its argument prototype would still apply.  */
43391#ifdef __cplusplus
43392extern "C"
43393#endif
43394char libfdata_list_set_element_value_at_offset ();
43395int
43396main ()
43397{
43398return libfdata_list_set_element_value_at_offset ();
43399  ;
43400  return 0;
43401}
43402_ACEOF
43403if ac_fn_c_try_link "$LINENO"; then :
43404  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes
43405else
43406  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=no
43407fi
43408rm -f core conftest.err conftest.$ac_objext \
43409    conftest$ac_exeext conftest.$ac_ext
43410LIBS=$ac_check_lib_save_LIBS
43411fi
43412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&5
43413$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; }
43414if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then :
43415  ac_cv_libfdata_dummy=yes
43416else
43417  ac_cv_libfdata=no
43418fi
43419
43420        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5
43421$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; }
43422if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then :
43423  $as_echo_n "(cached) " >&6
43424else
43425  ac_check_lib_save_LIBS=$LIBS
43426LIBS="-lfdata  $LIBS"
43427cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43428/* end confdefs.h.  */
43429
43430/* Override any GCC internal prototype to avoid an error.
43431   Use char because int might match the return type of a GCC
43432   builtin and then its argument prototype would still apply.  */
43433#ifdef __cplusplus
43434extern "C"
43435#endif
43436char libfdata_list_get_size ();
43437int
43438main ()
43439{
43440return libfdata_list_get_size ();
43441  ;
43442  return 0;
43443}
43444_ACEOF
43445if ac_fn_c_try_link "$LINENO"; then :
43446  ac_cv_lib_fdata_libfdata_list_get_size=yes
43447else
43448  ac_cv_lib_fdata_libfdata_list_get_size=no
43449fi
43450rm -f core conftest.err conftest.$ac_objext \
43451    conftest$ac_exeext conftest.$ac_ext
43452LIBS=$ac_check_lib_save_LIBS
43453fi
43454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_size" >&5
43455$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; }
43456if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then :
43457  ac_cv_libfdata_dummy=yes
43458else
43459  ac_cv_libfdata=no
43460fi
43461
43462
43463        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
43464$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
43465if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
43466  $as_echo_n "(cached) " >&6
43467else
43468  ac_check_lib_save_LIBS=$LIBS
43469LIBS="-lfdata  $LIBS"
43470cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43471/* end confdefs.h.  */
43472
43473/* Override any GCC internal prototype to avoid an error.
43474   Use char because int might match the return type of a GCC
43475   builtin and then its argument prototype would still apply.  */
43476#ifdef __cplusplus
43477extern "C"
43478#endif
43479char libfdata_list_element_get_mapped_size ();
43480int
43481main ()
43482{
43483return libfdata_list_element_get_mapped_size ();
43484  ;
43485  return 0;
43486}
43487_ACEOF
43488if ac_fn_c_try_link "$LINENO"; then :
43489  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
43490else
43491  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
43492fi
43493rm -f core conftest.err conftest.$ac_objext \
43494    conftest$ac_exeext conftest.$ac_ext
43495LIBS=$ac_check_lib_save_LIBS
43496fi
43497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
43498$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
43499if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
43500  ac_cv_libfdata_dummy=yes
43501else
43502  ac_cv_libfdata=no
43503fi
43504
43505        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
43506$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
43507if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
43508  $as_echo_n "(cached) " >&6
43509else
43510  ac_check_lib_save_LIBS=$LIBS
43511LIBS="-lfdata  $LIBS"
43512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43513/* end confdefs.h.  */
43514
43515/* Override any GCC internal prototype to avoid an error.
43516   Use char because int might match the return type of a GCC
43517   builtin and then its argument prototype would still apply.  */
43518#ifdef __cplusplus
43519extern "C"
43520#endif
43521char libfdata_list_element_set_mapped_size ();
43522int
43523main ()
43524{
43525return libfdata_list_element_set_mapped_size ();
43526  ;
43527  return 0;
43528}
43529_ACEOF
43530if ac_fn_c_try_link "$LINENO"; then :
43531  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
43532else
43533  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
43534fi
43535rm -f core conftest.err conftest.$ac_objext \
43536    conftest$ac_exeext conftest.$ac_ext
43537LIBS=$ac_check_lib_save_LIBS
43538fi
43539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
43540$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
43541if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
43542  ac_cv_libfdata_dummy=yes
43543else
43544  ac_cv_libfdata=no
43545fi
43546
43547        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
43548$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
43549if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
43550  $as_echo_n "(cached) " >&6
43551else
43552  ac_check_lib_save_LIBS=$LIBS
43553LIBS="-lfdata  $LIBS"
43554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43555/* end confdefs.h.  */
43556
43557/* Override any GCC internal prototype to avoid an error.
43558   Use char because int might match the return type of a GCC
43559   builtin and then its argument prototype would still apply.  */
43560#ifdef __cplusplus
43561extern "C"
43562#endif
43563char libfdata_list_element_get_element_value ();
43564int
43565main ()
43566{
43567return libfdata_list_element_get_element_value ();
43568  ;
43569  return 0;
43570}
43571_ACEOF
43572if ac_fn_c_try_link "$LINENO"; then :
43573  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
43574else
43575  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
43576fi
43577rm -f core conftest.err conftest.$ac_objext \
43578    conftest$ac_exeext conftest.$ac_ext
43579LIBS=$ac_check_lib_save_LIBS
43580fi
43581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
43582$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
43583if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
43584  ac_cv_libfdata_dummy=yes
43585else
43586  ac_cv_libfdata=no
43587fi
43588
43589        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
43590$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
43591if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
43592  $as_echo_n "(cached) " >&6
43593else
43594  ac_check_lib_save_LIBS=$LIBS
43595LIBS="-lfdata  $LIBS"
43596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43597/* end confdefs.h.  */
43598
43599/* Override any GCC internal prototype to avoid an error.
43600   Use char because int might match the return type of a GCC
43601   builtin and then its argument prototype would still apply.  */
43602#ifdef __cplusplus
43603extern "C"
43604#endif
43605char libfdata_list_element_set_element_value ();
43606int
43607main ()
43608{
43609return libfdata_list_element_set_element_value ();
43610  ;
43611  return 0;
43612}
43613_ACEOF
43614if ac_fn_c_try_link "$LINENO"; then :
43615  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
43616else
43617  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
43618fi
43619rm -f core conftest.err conftest.$ac_objext \
43620    conftest$ac_exeext conftest.$ac_ext
43621LIBS=$ac_check_lib_save_LIBS
43622fi
43623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
43624$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
43625if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
43626  ac_cv_libfdata_dummy=yes
43627else
43628  ac_cv_libfdata=no
43629fi
43630
43631
43632                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
43633$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
43634if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
43635  $as_echo_n "(cached) " >&6
43636else
43637  ac_check_lib_save_LIBS=$LIBS
43638LIBS="-lfdata  $LIBS"
43639cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43640/* end confdefs.h.  */
43641
43642/* Override any GCC internal prototype to avoid an error.
43643   Use char because int might match the return type of a GCC
43644   builtin and then its argument prototype would still apply.  */
43645#ifdef __cplusplus
43646extern "C"
43647#endif
43648char libfdata_list_element_get_mapped_size ();
43649int
43650main ()
43651{
43652return libfdata_list_element_get_mapped_size ();
43653  ;
43654  return 0;
43655}
43656_ACEOF
43657if ac_fn_c_try_link "$LINENO"; then :
43658  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
43659else
43660  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
43661fi
43662rm -f core conftest.err conftest.$ac_objext \
43663    conftest$ac_exeext conftest.$ac_ext
43664LIBS=$ac_check_lib_save_LIBS
43665fi
43666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
43667$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
43668if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
43669  ac_cv_libfdata_dummy=yes
43670else
43671  ac_cv_libfdata=no
43672fi
43673
43674        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
43675$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
43676if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
43677  $as_echo_n "(cached) " >&6
43678else
43679  ac_check_lib_save_LIBS=$LIBS
43680LIBS="-lfdata  $LIBS"
43681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682/* end confdefs.h.  */
43683
43684/* Override any GCC internal prototype to avoid an error.
43685   Use char because int might match the return type of a GCC
43686   builtin and then its argument prototype would still apply.  */
43687#ifdef __cplusplus
43688extern "C"
43689#endif
43690char libfdata_list_element_set_mapped_size ();
43691int
43692main ()
43693{
43694return libfdata_list_element_set_mapped_size ();
43695  ;
43696  return 0;
43697}
43698_ACEOF
43699if ac_fn_c_try_link "$LINENO"; then :
43700  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
43701else
43702  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
43703fi
43704rm -f core conftest.err conftest.$ac_objext \
43705    conftest$ac_exeext conftest.$ac_ext
43706LIBS=$ac_check_lib_save_LIBS
43707fi
43708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
43709$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
43710if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
43711  ac_cv_libfdata_dummy=yes
43712else
43713  ac_cv_libfdata=no
43714fi
43715
43716        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
43717$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
43718if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
43719  $as_echo_n "(cached) " >&6
43720else
43721  ac_check_lib_save_LIBS=$LIBS
43722LIBS="-lfdata  $LIBS"
43723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43724/* end confdefs.h.  */
43725
43726/* Override any GCC internal prototype to avoid an error.
43727   Use char because int might match the return type of a GCC
43728   builtin and then its argument prototype would still apply.  */
43729#ifdef __cplusplus
43730extern "C"
43731#endif
43732char libfdata_list_element_get_element_value ();
43733int
43734main ()
43735{
43736return libfdata_list_element_get_element_value ();
43737  ;
43738  return 0;
43739}
43740_ACEOF
43741if ac_fn_c_try_link "$LINENO"; then :
43742  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
43743else
43744  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
43745fi
43746rm -f core conftest.err conftest.$ac_objext \
43747    conftest$ac_exeext conftest.$ac_ext
43748LIBS=$ac_check_lib_save_LIBS
43749fi
43750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
43751$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
43752if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
43753  ac_cv_libfdata_dummy=yes
43754else
43755  ac_cv_libfdata=no
43756fi
43757
43758        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
43759$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
43760if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
43761  $as_echo_n "(cached) " >&6
43762else
43763  ac_check_lib_save_LIBS=$LIBS
43764LIBS="-lfdata  $LIBS"
43765cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43766/* end confdefs.h.  */
43767
43768/* Override any GCC internal prototype to avoid an error.
43769   Use char because int might match the return type of a GCC
43770   builtin and then its argument prototype would still apply.  */
43771#ifdef __cplusplus
43772extern "C"
43773#endif
43774char libfdata_list_element_set_element_value ();
43775int
43776main ()
43777{
43778return libfdata_list_element_set_element_value ();
43779  ;
43780  return 0;
43781}
43782_ACEOF
43783if ac_fn_c_try_link "$LINENO"; then :
43784  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
43785else
43786  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
43787fi
43788rm -f core conftest.err conftest.$ac_objext \
43789    conftest$ac_exeext conftest.$ac_ext
43790LIBS=$ac_check_lib_save_LIBS
43791fi
43792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
43793$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
43794if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
43795  ac_cv_libfdata_dummy=yes
43796else
43797  ac_cv_libfdata=no
43798fi
43799
43800
43801
43802                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5
43803$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; }
43804if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then :
43805  $as_echo_n "(cached) " >&6
43806else
43807  ac_check_lib_save_LIBS=$LIBS
43808LIBS="-lfdata  $LIBS"
43809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43810/* end confdefs.h.  */
43811
43812/* Override any GCC internal prototype to avoid an error.
43813   Use char because int might match the return type of a GCC
43814   builtin and then its argument prototype would still apply.  */
43815#ifdef __cplusplus
43816extern "C"
43817#endif
43818char libfdata_stream_initialize ();
43819int
43820main ()
43821{
43822return libfdata_stream_initialize ();
43823  ;
43824  return 0;
43825}
43826_ACEOF
43827if ac_fn_c_try_link "$LINENO"; then :
43828  ac_cv_lib_fdata_libfdata_stream_initialize=yes
43829else
43830  ac_cv_lib_fdata_libfdata_stream_initialize=no
43831fi
43832rm -f core conftest.err conftest.$ac_objext \
43833    conftest$ac_exeext conftest.$ac_ext
43834LIBS=$ac_check_lib_save_LIBS
43835fi
43836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5
43837$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; }
43838if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then :
43839  ac_cv_libfdata_dummy=yes
43840else
43841  ac_cv_libfdata=no
43842fi
43843
43844        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5
43845$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; }
43846if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then :
43847  $as_echo_n "(cached) " >&6
43848else
43849  ac_check_lib_save_LIBS=$LIBS
43850LIBS="-lfdata  $LIBS"
43851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43852/* end confdefs.h.  */
43853
43854/* Override any GCC internal prototype to avoid an error.
43855   Use char because int might match the return type of a GCC
43856   builtin and then its argument prototype would still apply.  */
43857#ifdef __cplusplus
43858extern "C"
43859#endif
43860char libfdata_stream_free ();
43861int
43862main ()
43863{
43864return libfdata_stream_free ();
43865  ;
43866  return 0;
43867}
43868_ACEOF
43869if ac_fn_c_try_link "$LINENO"; then :
43870  ac_cv_lib_fdata_libfdata_stream_free=yes
43871else
43872  ac_cv_lib_fdata_libfdata_stream_free=no
43873fi
43874rm -f core conftest.err conftest.$ac_objext \
43875    conftest$ac_exeext conftest.$ac_ext
43876LIBS=$ac_check_lib_save_LIBS
43877fi
43878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5
43879$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; }
43880if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then :
43881  ac_cv_libfdata_dummy=yes
43882else
43883  ac_cv_libfdata=no
43884fi
43885
43886        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5
43887$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; }
43888if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then :
43889  $as_echo_n "(cached) " >&6
43890else
43891  ac_check_lib_save_LIBS=$LIBS
43892LIBS="-lfdata  $LIBS"
43893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43894/* end confdefs.h.  */
43895
43896/* Override any GCC internal prototype to avoid an error.
43897   Use char because int might match the return type of a GCC
43898   builtin and then its argument prototype would still apply.  */
43899#ifdef __cplusplus
43900extern "C"
43901#endif
43902char libfdata_stream_clone ();
43903int
43904main ()
43905{
43906return libfdata_stream_clone ();
43907  ;
43908  return 0;
43909}
43910_ACEOF
43911if ac_fn_c_try_link "$LINENO"; then :
43912  ac_cv_lib_fdata_libfdata_stream_clone=yes
43913else
43914  ac_cv_lib_fdata_libfdata_stream_clone=no
43915fi
43916rm -f core conftest.err conftest.$ac_objext \
43917    conftest$ac_exeext conftest.$ac_ext
43918LIBS=$ac_check_lib_save_LIBS
43919fi
43920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5
43921$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; }
43922if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then :
43923  ac_cv_libfdata_dummy=yes
43924else
43925  ac_cv_libfdata=no
43926fi
43927
43928
43929        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5
43930$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; }
43931if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then :
43932  $as_echo_n "(cached) " >&6
43933else
43934  ac_check_lib_save_LIBS=$LIBS
43935LIBS="-lfdata  $LIBS"
43936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43937/* end confdefs.h.  */
43938
43939/* Override any GCC internal prototype to avoid an error.
43940   Use char because int might match the return type of a GCC
43941   builtin and then its argument prototype would still apply.  */
43942#ifdef __cplusplus
43943extern "C"
43944#endif
43945char libfdata_stream_empty ();
43946int
43947main ()
43948{
43949return libfdata_stream_empty ();
43950  ;
43951  return 0;
43952}
43953_ACEOF
43954if ac_fn_c_try_link "$LINENO"; then :
43955  ac_cv_lib_fdata_libfdata_stream_empty=yes
43956else
43957  ac_cv_lib_fdata_libfdata_stream_empty=no
43958fi
43959rm -f core conftest.err conftest.$ac_objext \
43960    conftest$ac_exeext conftest.$ac_ext
43961LIBS=$ac_check_lib_save_LIBS
43962fi
43963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5
43964$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; }
43965if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then :
43966  ac_cv_libfdata_dummy=yes
43967else
43968  ac_cv_libfdata=no
43969fi
43970
43971        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5
43972$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; }
43973if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then :
43974  $as_echo_n "(cached) " >&6
43975else
43976  ac_check_lib_save_LIBS=$LIBS
43977LIBS="-lfdata  $LIBS"
43978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43979/* end confdefs.h.  */
43980
43981/* Override any GCC internal prototype to avoid an error.
43982   Use char because int might match the return type of a GCC
43983   builtin and then its argument prototype would still apply.  */
43984#ifdef __cplusplus
43985extern "C"
43986#endif
43987char libfdata_stream_resize ();
43988int
43989main ()
43990{
43991return libfdata_stream_resize ();
43992  ;
43993  return 0;
43994}
43995_ACEOF
43996if ac_fn_c_try_link "$LINENO"; then :
43997  ac_cv_lib_fdata_libfdata_stream_resize=yes
43998else
43999  ac_cv_lib_fdata_libfdata_stream_resize=no
44000fi
44001rm -f core conftest.err conftest.$ac_objext \
44002    conftest$ac_exeext conftest.$ac_ext
44003LIBS=$ac_check_lib_save_LIBS
44004fi
44005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5
44006$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; }
44007if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then :
44008  ac_cv_libfdata_dummy=yes
44009else
44010  ac_cv_libfdata=no
44011fi
44012
44013        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5
44014$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; }
44015if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then :
44016  $as_echo_n "(cached) " >&6
44017else
44018  ac_check_lib_save_LIBS=$LIBS
44019LIBS="-lfdata  $LIBS"
44020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44021/* end confdefs.h.  */
44022
44023/* Override any GCC internal prototype to avoid an error.
44024   Use char because int might match the return type of a GCC
44025   builtin and then its argument prototype would still apply.  */
44026#ifdef __cplusplus
44027extern "C"
44028#endif
44029char libfdata_stream_reverse ();
44030int
44031main ()
44032{
44033return libfdata_stream_reverse ();
44034  ;
44035  return 0;
44036}
44037_ACEOF
44038if ac_fn_c_try_link "$LINENO"; then :
44039  ac_cv_lib_fdata_libfdata_stream_reverse=yes
44040else
44041  ac_cv_lib_fdata_libfdata_stream_reverse=no
44042fi
44043rm -f core conftest.err conftest.$ac_objext \
44044    conftest$ac_exeext conftest.$ac_ext
44045LIBS=$ac_check_lib_save_LIBS
44046fi
44047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5
44048$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; }
44049if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then :
44050  ac_cv_libfdata_dummy=yes
44051else
44052  ac_cv_libfdata=no
44053fi
44054
44055
44056        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5
44057$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; }
44058if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then :
44059  $as_echo_n "(cached) " >&6
44060else
44061  ac_check_lib_save_LIBS=$LIBS
44062LIBS="-lfdata  $LIBS"
44063cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44064/* end confdefs.h.  */
44065
44066/* Override any GCC internal prototype to avoid an error.
44067   Use char because int might match the return type of a GCC
44068   builtin and then its argument prototype would still apply.  */
44069#ifdef __cplusplus
44070extern "C"
44071#endif
44072char libfdata_stream_get_number_of_segments ();
44073int
44074main ()
44075{
44076return libfdata_stream_get_number_of_segments ();
44077  ;
44078  return 0;
44079}
44080_ACEOF
44081if ac_fn_c_try_link "$LINENO"; then :
44082  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes
44083else
44084  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no
44085fi
44086rm -f core conftest.err conftest.$ac_objext \
44087    conftest$ac_exeext conftest.$ac_ext
44088LIBS=$ac_check_lib_save_LIBS
44089fi
44090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5
44091$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; }
44092if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then :
44093  ac_cv_libfdata_dummy=yes
44094else
44095  ac_cv_libfdata=no
44096fi
44097
44098        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5
44099$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; }
44100if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then :
44101  $as_echo_n "(cached) " >&6
44102else
44103  ac_check_lib_save_LIBS=$LIBS
44104LIBS="-lfdata  $LIBS"
44105cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44106/* end confdefs.h.  */
44107
44108/* Override any GCC internal prototype to avoid an error.
44109   Use char because int might match the return type of a GCC
44110   builtin and then its argument prototype would still apply.  */
44111#ifdef __cplusplus
44112extern "C"
44113#endif
44114char libfdata_stream_get_segment_by_index ();
44115int
44116main ()
44117{
44118return libfdata_stream_get_segment_by_index ();
44119  ;
44120  return 0;
44121}
44122_ACEOF
44123if ac_fn_c_try_link "$LINENO"; then :
44124  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes
44125else
44126  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no
44127fi
44128rm -f core conftest.err conftest.$ac_objext \
44129    conftest$ac_exeext conftest.$ac_ext
44130LIBS=$ac_check_lib_save_LIBS
44131fi
44132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5
44133$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; }
44134if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then :
44135  ac_cv_libfdata_dummy=yes
44136else
44137  ac_cv_libfdata=no
44138fi
44139
44140        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5
44141$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; }
44142if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then :
44143  $as_echo_n "(cached) " >&6
44144else
44145  ac_check_lib_save_LIBS=$LIBS
44146LIBS="-lfdata  $LIBS"
44147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44148/* end confdefs.h.  */
44149
44150/* Override any GCC internal prototype to avoid an error.
44151   Use char because int might match the return type of a GCC
44152   builtin and then its argument prototype would still apply.  */
44153#ifdef __cplusplus
44154extern "C"
44155#endif
44156char libfdata_stream_set_segment_by_index ();
44157int
44158main ()
44159{
44160return libfdata_stream_set_segment_by_index ();
44161  ;
44162  return 0;
44163}
44164_ACEOF
44165if ac_fn_c_try_link "$LINENO"; then :
44166  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes
44167else
44168  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no
44169fi
44170rm -f core conftest.err conftest.$ac_objext \
44171    conftest$ac_exeext conftest.$ac_ext
44172LIBS=$ac_check_lib_save_LIBS
44173fi
44174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5
44175$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; }
44176if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then :
44177  ac_cv_libfdata_dummy=yes
44178else
44179  ac_cv_libfdata=no
44180fi
44181
44182        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5
44183$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; }
44184if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then :
44185  $as_echo_n "(cached) " >&6
44186else
44187  ac_check_lib_save_LIBS=$LIBS
44188LIBS="-lfdata  $LIBS"
44189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44190/* end confdefs.h.  */
44191
44192/* Override any GCC internal prototype to avoid an error.
44193   Use char because int might match the return type of a GCC
44194   builtin and then its argument prototype would still apply.  */
44195#ifdef __cplusplus
44196extern "C"
44197#endif
44198char libfdata_stream_prepend_segment ();
44199int
44200main ()
44201{
44202return libfdata_stream_prepend_segment ();
44203  ;
44204  return 0;
44205}
44206_ACEOF
44207if ac_fn_c_try_link "$LINENO"; then :
44208  ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes
44209else
44210  ac_cv_lib_fdata_libfdata_stream_prepend_segment=no
44211fi
44212rm -f core conftest.err conftest.$ac_objext \
44213    conftest$ac_exeext conftest.$ac_ext
44214LIBS=$ac_check_lib_save_LIBS
44215fi
44216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5
44217$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; }
44218if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then :
44219  ac_cv_libfdata_dummy=yes
44220else
44221  ac_cv_libfdata=no
44222fi
44223
44224        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5
44225$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; }
44226if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then :
44227  $as_echo_n "(cached) " >&6
44228else
44229  ac_check_lib_save_LIBS=$LIBS
44230LIBS="-lfdata  $LIBS"
44231cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44232/* end confdefs.h.  */
44233
44234/* Override any GCC internal prototype to avoid an error.
44235   Use char because int might match the return type of a GCC
44236   builtin and then its argument prototype would still apply.  */
44237#ifdef __cplusplus
44238extern "C"
44239#endif
44240char libfdata_stream_append_segment ();
44241int
44242main ()
44243{
44244return libfdata_stream_append_segment ();
44245  ;
44246  return 0;
44247}
44248_ACEOF
44249if ac_fn_c_try_link "$LINENO"; then :
44250  ac_cv_lib_fdata_libfdata_stream_append_segment=yes
44251else
44252  ac_cv_lib_fdata_libfdata_stream_append_segment=no
44253fi
44254rm -f core conftest.err conftest.$ac_objext \
44255    conftest$ac_exeext conftest.$ac_ext
44256LIBS=$ac_check_lib_save_LIBS
44257fi
44258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5
44259$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; }
44260if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then :
44261  ac_cv_libfdata_dummy=yes
44262else
44263  ac_cv_libfdata=no
44264fi
44265
44266        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5
44267$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; }
44268if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then :
44269  $as_echo_n "(cached) " >&6
44270else
44271  ac_check_lib_save_LIBS=$LIBS
44272LIBS="-lfdata  $LIBS"
44273cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44274/* end confdefs.h.  */
44275
44276/* Override any GCC internal prototype to avoid an error.
44277   Use char because int might match the return type of a GCC
44278   builtin and then its argument prototype would still apply.  */
44279#ifdef __cplusplus
44280extern "C"
44281#endif
44282char libfdata_stream_set_mapped_size ();
44283int
44284main ()
44285{
44286return libfdata_stream_set_mapped_size ();
44287  ;
44288  return 0;
44289}
44290_ACEOF
44291if ac_fn_c_try_link "$LINENO"; then :
44292  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes
44293else
44294  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no
44295fi
44296rm -f core conftest.err conftest.$ac_objext \
44297    conftest$ac_exeext conftest.$ac_ext
44298LIBS=$ac_check_lib_save_LIBS
44299fi
44300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5
44301$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; }
44302if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then :
44303  ac_cv_libfdata_dummy=yes
44304else
44305  ac_cv_libfdata=no
44306fi
44307
44308
44309        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5
44310$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; }
44311if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then :
44312  $as_echo_n "(cached) " >&6
44313else
44314  ac_check_lib_save_LIBS=$LIBS
44315LIBS="-lfdata  $LIBS"
44316cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44317/* end confdefs.h.  */
44318
44319/* Override any GCC internal prototype to avoid an error.
44320   Use char because int might match the return type of a GCC
44321   builtin and then its argument prototype would still apply.  */
44322#ifdef __cplusplus
44323extern "C"
44324#endif
44325char libfdata_stream_get_segment_mapped_range ();
44326int
44327main ()
44328{
44329return libfdata_stream_get_segment_mapped_range ();
44330  ;
44331  return 0;
44332}
44333_ACEOF
44334if ac_fn_c_try_link "$LINENO"; then :
44335  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes
44336else
44337  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no
44338fi
44339rm -f core conftest.err conftest.$ac_objext \
44340    conftest$ac_exeext conftest.$ac_ext
44341LIBS=$ac_check_lib_save_LIBS
44342fi
44343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5
44344$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; }
44345if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then :
44346  ac_cv_libfdata_dummy=yes
44347else
44348  ac_cv_libfdata=no
44349fi
44350
44351        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5
44352$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; }
44353if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then :
44354  $as_echo_n "(cached) " >&6
44355else
44356  ac_check_lib_save_LIBS=$LIBS
44357LIBS="-lfdata  $LIBS"
44358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44359/* end confdefs.h.  */
44360
44361/* Override any GCC internal prototype to avoid an error.
44362   Use char because int might match the return type of a GCC
44363   builtin and then its argument prototype would still apply.  */
44364#ifdef __cplusplus
44365extern "C"
44366#endif
44367char libfdata_stream_get_segment_index_at_offset ();
44368int
44369main ()
44370{
44371return libfdata_stream_get_segment_index_at_offset ();
44372  ;
44373  return 0;
44374}
44375_ACEOF
44376if ac_fn_c_try_link "$LINENO"; then :
44377  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes
44378else
44379  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no
44380fi
44381rm -f core conftest.err conftest.$ac_objext \
44382    conftest$ac_exeext conftest.$ac_ext
44383LIBS=$ac_check_lib_save_LIBS
44384fi
44385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5
44386$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; }
44387if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then :
44388  ac_cv_libfdata_dummy=yes
44389else
44390  ac_cv_libfdata=no
44391fi
44392
44393        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5
44394$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; }
44395if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then :
44396  $as_echo_n "(cached) " >&6
44397else
44398  ac_check_lib_save_LIBS=$LIBS
44399LIBS="-lfdata  $LIBS"
44400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44401/* end confdefs.h.  */
44402
44403/* Override any GCC internal prototype to avoid an error.
44404   Use char because int might match the return type of a GCC
44405   builtin and then its argument prototype would still apply.  */
44406#ifdef __cplusplus
44407extern "C"
44408#endif
44409char libfdata_stream_get_segment_at_offset ();
44410int
44411main ()
44412{
44413return libfdata_stream_get_segment_at_offset ();
44414  ;
44415  return 0;
44416}
44417_ACEOF
44418if ac_fn_c_try_link "$LINENO"; then :
44419  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes
44420else
44421  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no
44422fi
44423rm -f core conftest.err conftest.$ac_objext \
44424    conftest$ac_exeext conftest.$ac_ext
44425LIBS=$ac_check_lib_save_LIBS
44426fi
44427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5
44428$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; }
44429if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then :
44430  ac_cv_libfdata_dummy=yes
44431else
44432  ac_cv_libfdata=no
44433fi
44434
44435
44436        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5
44437$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; }
44438if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then :
44439  $as_echo_n "(cached) " >&6
44440else
44441  ac_check_lib_save_LIBS=$LIBS
44442LIBS="-lfdata  $LIBS"
44443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44444/* end confdefs.h.  */
44445
44446/* Override any GCC internal prototype to avoid an error.
44447   Use char because int might match the return type of a GCC
44448   builtin and then its argument prototype would still apply.  */
44449#ifdef __cplusplus
44450extern "C"
44451#endif
44452char libfdata_stream_read_buffer ();
44453int
44454main ()
44455{
44456return libfdata_stream_read_buffer ();
44457  ;
44458  return 0;
44459}
44460_ACEOF
44461if ac_fn_c_try_link "$LINENO"; then :
44462  ac_cv_lib_fdata_libfdata_stream_read_buffer=yes
44463else
44464  ac_cv_lib_fdata_libfdata_stream_read_buffer=no
44465fi
44466rm -f core conftest.err conftest.$ac_objext \
44467    conftest$ac_exeext conftest.$ac_ext
44468LIBS=$ac_check_lib_save_LIBS
44469fi
44470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5
44471$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; }
44472if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then :
44473  ac_cv_libfdata_dummy=yes
44474else
44475  ac_cv_libfdata=no
44476fi
44477
44478        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5
44479$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; }
44480if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then :
44481  $as_echo_n "(cached) " >&6
44482else
44483  ac_check_lib_save_LIBS=$LIBS
44484LIBS="-lfdata  $LIBS"
44485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44486/* end confdefs.h.  */
44487
44488/* Override any GCC internal prototype to avoid an error.
44489   Use char because int might match the return type of a GCC
44490   builtin and then its argument prototype would still apply.  */
44491#ifdef __cplusplus
44492extern "C"
44493#endif
44494char libfdata_stream_read_buffer_at_offset ();
44495int
44496main ()
44497{
44498return libfdata_stream_read_buffer_at_offset ();
44499  ;
44500  return 0;
44501}
44502_ACEOF
44503if ac_fn_c_try_link "$LINENO"; then :
44504  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes
44505else
44506  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no
44507fi
44508rm -f core conftest.err conftest.$ac_objext \
44509    conftest$ac_exeext conftest.$ac_ext
44510LIBS=$ac_check_lib_save_LIBS
44511fi
44512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5
44513$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; }
44514if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then :
44515  ac_cv_libfdata_dummy=yes
44516else
44517  ac_cv_libfdata=no
44518fi
44519
44520        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5
44521$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; }
44522if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then :
44523  $as_echo_n "(cached) " >&6
44524else
44525  ac_check_lib_save_LIBS=$LIBS
44526LIBS="-lfdata  $LIBS"
44527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44528/* end confdefs.h.  */
44529
44530/* Override any GCC internal prototype to avoid an error.
44531   Use char because int might match the return type of a GCC
44532   builtin and then its argument prototype would still apply.  */
44533#ifdef __cplusplus
44534extern "C"
44535#endif
44536char libfdata_stream_write_buffer ();
44537int
44538main ()
44539{
44540return libfdata_stream_write_buffer ();
44541  ;
44542  return 0;
44543}
44544_ACEOF
44545if ac_fn_c_try_link "$LINENO"; then :
44546  ac_cv_lib_fdata_libfdata_stream_write_buffer=yes
44547else
44548  ac_cv_lib_fdata_libfdata_stream_write_buffer=no
44549fi
44550rm -f core conftest.err conftest.$ac_objext \
44551    conftest$ac_exeext conftest.$ac_ext
44552LIBS=$ac_check_lib_save_LIBS
44553fi
44554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5
44555$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; }
44556if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then :
44557  ac_cv_libfdata_dummy=yes
44558else
44559  ac_cv_libfdata=no
44560fi
44561
44562        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5
44563$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; }
44564if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then :
44565  $as_echo_n "(cached) " >&6
44566else
44567  ac_check_lib_save_LIBS=$LIBS
44568LIBS="-lfdata  $LIBS"
44569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44570/* end confdefs.h.  */
44571
44572/* Override any GCC internal prototype to avoid an error.
44573   Use char because int might match the return type of a GCC
44574   builtin and then its argument prototype would still apply.  */
44575#ifdef __cplusplus
44576extern "C"
44577#endif
44578char libfdata_stream_seek_offset ();
44579int
44580main ()
44581{
44582return libfdata_stream_seek_offset ();
44583  ;
44584  return 0;
44585}
44586_ACEOF
44587if ac_fn_c_try_link "$LINENO"; then :
44588  ac_cv_lib_fdata_libfdata_stream_seek_offset=yes
44589else
44590  ac_cv_lib_fdata_libfdata_stream_seek_offset=no
44591fi
44592rm -f core conftest.err conftest.$ac_objext \
44593    conftest$ac_exeext conftest.$ac_ext
44594LIBS=$ac_check_lib_save_LIBS
44595fi
44596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5
44597$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; }
44598if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then :
44599  ac_cv_libfdata_dummy=yes
44600else
44601  ac_cv_libfdata=no
44602fi
44603
44604        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5
44605$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; }
44606if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then :
44607  $as_echo_n "(cached) " >&6
44608else
44609  ac_check_lib_save_LIBS=$LIBS
44610LIBS="-lfdata  $LIBS"
44611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44612/* end confdefs.h.  */
44613
44614/* Override any GCC internal prototype to avoid an error.
44615   Use char because int might match the return type of a GCC
44616   builtin and then its argument prototype would still apply.  */
44617#ifdef __cplusplus
44618extern "C"
44619#endif
44620char libfdata_stream_get_offset ();
44621int
44622main ()
44623{
44624return libfdata_stream_get_offset ();
44625  ;
44626  return 0;
44627}
44628_ACEOF
44629if ac_fn_c_try_link "$LINENO"; then :
44630  ac_cv_lib_fdata_libfdata_stream_get_offset=yes
44631else
44632  ac_cv_lib_fdata_libfdata_stream_get_offset=no
44633fi
44634rm -f core conftest.err conftest.$ac_objext \
44635    conftest$ac_exeext conftest.$ac_ext
44636LIBS=$ac_check_lib_save_LIBS
44637fi
44638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5
44639$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; }
44640if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then :
44641  ac_cv_libfdata_dummy=yes
44642else
44643  ac_cv_libfdata=no
44644fi
44645
44646        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5
44647$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; }
44648if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then :
44649  $as_echo_n "(cached) " >&6
44650else
44651  ac_check_lib_save_LIBS=$LIBS
44652LIBS="-lfdata  $LIBS"
44653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44654/* end confdefs.h.  */
44655
44656/* Override any GCC internal prototype to avoid an error.
44657   Use char because int might match the return type of a GCC
44658   builtin and then its argument prototype would still apply.  */
44659#ifdef __cplusplus
44660extern "C"
44661#endif
44662char libfdata_stream_get_size ();
44663int
44664main ()
44665{
44666return libfdata_stream_get_size ();
44667  ;
44668  return 0;
44669}
44670_ACEOF
44671if ac_fn_c_try_link "$LINENO"; then :
44672  ac_cv_lib_fdata_libfdata_stream_get_size=yes
44673else
44674  ac_cv_lib_fdata_libfdata_stream_get_size=no
44675fi
44676rm -f core conftest.err conftest.$ac_objext \
44677    conftest$ac_exeext conftest.$ac_ext
44678LIBS=$ac_check_lib_save_LIBS
44679fi
44680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5
44681$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; }
44682if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then :
44683  ac_cv_libfdata_dummy=yes
44684else
44685  ac_cv_libfdata=no
44686fi
44687
44688
44689
44690
44691        ac_cv_libfdata_LIBADD="-lfdata"
44692fi
44693
44694fi
44695    if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then :
44696  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44698as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata
44699See \`config.log' for more details" "$LINENO" 5; }
44700
44701fi
44702
44703fi
44704
44705  if test "x$ac_cv_libfdata" = xyes; then :
44706
44707$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h
44708
44709
44710fi
44711
44712  if test "x$ac_cv_libfdata" = xyes; then :
44713  HAVE_LIBFDATA=1
44714
44715else
44716  HAVE_LIBFDATA=0
44717
44718
44719fi
44720
44721
44722    if test "x$ac_cv_libfdata" != xyes; then :
44723
44724  ac_cv_libfdata_CPPFLAGS="-I../libfdata";
44725  ac_cv_libfdata_LIBADD="../libfdata/libfdata.la";
44726
44727  ac_cv_libfdata=local
44728
44729
44730
44731$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h
44732
44733    HAVE_LOCAL_LIBFDATA=1
44734
44735
44736fi
44737
44738   if test "x$ac_cv_libfdata" = xlocal; then
44739  HAVE_LOCAL_LIBFDATA_TRUE=
44740  HAVE_LOCAL_LIBFDATA_FALSE='#'
44741else
44742  HAVE_LOCAL_LIBFDATA_TRUE='#'
44743  HAVE_LOCAL_LIBFDATA_FALSE=
44744fi
44745
44746  if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then :
44747  LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS
44748
44749
44750fi
44751  if test "x$ac_cv_libfdata_LIBADD" != "x"; then :
44752  LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD
44753
44754
44755fi
44756
44757  if test "x$ac_cv_libfdata" = xyes; then :
44758  ax_libfdata_pc_libs_private=-lfdata
44759
44760
44761fi
44762
44763  if test "x$ac_cv_libfdata" = xyes; then :
44764  ax_libfdata_spec_requires=libfdata
44765
44766    ax_libfdata_spec_build_requires=libfdata-devel
44767
44768
44769fi
44770
44771
44772
44773
44774# Check whether --with-libfdatetime was given.
44775if test "${with_libfdatetime+set}" = set; then :
44776  withval=$with_libfdatetime; ac_cv_with_libfdatetime=$withval
44777else
44778  ac_cv_with_libfdatetime=auto-detect
44779fi
44780
44781    { $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
44782$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; }
44783if ${ac_cv_with_libfdatetime+:} false; then :
44784  $as_echo_n "(cached) " >&6
44785else
44786  ac_cv_with_libfdatetime=auto-detect
44787fi
44788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdatetime" >&5
44789$as_echo "$ac_cv_with_libfdatetime" >&6; }
44790
44791  if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdatetime" = xno; then :
44792  ac_cv_libfdatetime=no
44793else
44794  ac_cv_libfdatetime=check
44795        if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect; then :
44796  if test -d "$ac_cv_with_libfdatetime"; then :
44797  CFLAGS="$CFLAGS -I${ac_cv_with_libfdatetime}/include"
44798        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdatetime}/lib"
44799else
44800  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44801$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44802as_fn_error 1 "no such directory: $ac_cv_with_libfdatetime
44803See \`config.log' for more details" "$LINENO" 5; }
44804
44805fi
44806
44807else
44808        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
44809
44810pkg_failed=no
44811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime" >&5
44812$as_echo_n "checking for libfdatetime... " >&6; }
44813
44814if test -n "$libfdatetime_CFLAGS"; then
44815    pkg_cv_libfdatetime_CFLAGS="$libfdatetime_CFLAGS"
44816 elif test -n "$PKG_CONFIG"; then
44817    if test -n "$PKG_CONFIG" && \
44818    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5
44819  ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5
44820  ac_status=$?
44821  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44822  test $ac_status = 0; }; then
44823  pkg_cv_libfdatetime_CFLAGS=`$PKG_CONFIG --cflags "libfdatetime >= 20180910" 2>/dev/null`
44824		      test "x$?" != "x0" && pkg_failed=yes
44825else
44826  pkg_failed=yes
44827fi
44828 else
44829    pkg_failed=untried
44830fi
44831if test -n "$libfdatetime_LIBS"; then
44832    pkg_cv_libfdatetime_LIBS="$libfdatetime_LIBS"
44833 elif test -n "$PKG_CONFIG"; then
44834    if test -n "$PKG_CONFIG" && \
44835    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5
44836  ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5
44837  ac_status=$?
44838  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44839  test $ac_status = 0; }; then
44840  pkg_cv_libfdatetime_LIBS=`$PKG_CONFIG --libs "libfdatetime >= 20180910" 2>/dev/null`
44841		      test "x$?" != "x0" && pkg_failed=yes
44842else
44843  pkg_failed=yes
44844fi
44845 else
44846    pkg_failed=untried
44847fi
44848
44849
44850
44851if test $pkg_failed = yes; then
44852   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44853$as_echo "no" >&6; }
44854
44855if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44856        _pkg_short_errors_supported=yes
44857else
44858        _pkg_short_errors_supported=no
44859fi
44860        if test $_pkg_short_errors_supported = yes; then
44861	        libfdatetime_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1`
44862        else
44863	        libfdatetime_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1`
44864        fi
44865	# Put the nasty error message in config.log where it belongs
44866	echo "$libfdatetime_PKG_ERRORS" >&5
44867
44868	ac_cv_libfdatetime=check
44869elif test $pkg_failed = untried; then
44870     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44871$as_echo "no" >&6; }
44872	ac_cv_libfdatetime=check
44873else
44874	libfdatetime_CFLAGS=$pkg_cv_libfdatetime_CFLAGS
44875	libfdatetime_LIBS=$pkg_cv_libfdatetime_LIBS
44876        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44877$as_echo "yes" >&6; }
44878	ac_cv_libfdatetime=yes
44879fi
44880
44881fi
44882      if test "x$ac_cv_libfdatetime" = xyes; then :
44883  ac_cv_libfdatetime_CPPFLAGS="$pkg_cv_libfdatetime_CFLAGS"
44884        ac_cv_libfdatetime_LIBADD="$pkg_cv_libfdatetime_LIBS"
44885fi
44886
44887fi
44888
44889    if test "x$ac_cv_libfdatetime" = xcheck; then :
44890        for ac_header in libfdatetime.h
44891do :
44892  ac_fn_c_check_header_mongrel "$LINENO" "libfdatetime.h" "ac_cv_header_libfdatetime_h" "$ac_includes_default"
44893if test "x$ac_cv_header_libfdatetime_h" = xyes; then :
44894  cat >>confdefs.h <<_ACEOF
44895#define HAVE_LIBFDATETIME_H 1
44896_ACEOF
44897
44898fi
44899
44900done
44901
44902
44903      if test "x$ac_cv_header_libfdatetime_h" = xno; then :
44904  ac_cv_libfdatetime=no
44905else
44906          ac_cv_libfdatetime=yes
44907
44908        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_get_version in -lfdatetime" >&5
44909$as_echo_n "checking for libfdatetime_get_version in -lfdatetime... " >&6; }
44910if ${ac_cv_lib_fdatetime_libfdatetime_get_version+:} false; then :
44911  $as_echo_n "(cached) " >&6
44912else
44913  ac_check_lib_save_LIBS=$LIBS
44914LIBS="-lfdatetime  $LIBS"
44915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44916/* end confdefs.h.  */
44917
44918/* Override any GCC internal prototype to avoid an error.
44919   Use char because int might match the return type of a GCC
44920   builtin and then its argument prototype would still apply.  */
44921#ifdef __cplusplus
44922extern "C"
44923#endif
44924char libfdatetime_get_version ();
44925int
44926main ()
44927{
44928return libfdatetime_get_version ();
44929  ;
44930  return 0;
44931}
44932_ACEOF
44933if ac_fn_c_try_link "$LINENO"; then :
44934  ac_cv_lib_fdatetime_libfdatetime_get_version=yes
44935else
44936  ac_cv_lib_fdatetime_libfdatetime_get_version=no
44937fi
44938rm -f core conftest.err conftest.$ac_objext \
44939    conftest$ac_exeext conftest.$ac_ext
44940LIBS=$ac_check_lib_save_LIBS
44941fi
44942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_get_version" >&5
44943$as_echo "$ac_cv_lib_fdatetime_libfdatetime_get_version" >&6; }
44944if test "x$ac_cv_lib_fdatetime_libfdatetime_get_version" = xyes; then :
44945  ac_cv_libfdatetime_dummy=yes
44946else
44947  ac_cv_libfdatetime=no
44948fi
44949
44950
44951                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_initialize in -lfdatetime" >&5
44952$as_echo_n "checking for libfdatetime_fat_date_time_initialize in -lfdatetime... " >&6; }
44953if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize+:} false; then :
44954  $as_echo_n "(cached) " >&6
44955else
44956  ac_check_lib_save_LIBS=$LIBS
44957LIBS="-lfdatetime  $LIBS"
44958cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44959/* end confdefs.h.  */
44960
44961/* Override any GCC internal prototype to avoid an error.
44962   Use char because int might match the return type of a GCC
44963   builtin and then its argument prototype would still apply.  */
44964#ifdef __cplusplus
44965extern "C"
44966#endif
44967char libfdatetime_fat_date_time_initialize ();
44968int
44969main ()
44970{
44971return libfdatetime_fat_date_time_initialize ();
44972  ;
44973  return 0;
44974}
44975_ACEOF
44976if ac_fn_c_try_link "$LINENO"; then :
44977  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=yes
44978else
44979  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=no
44980fi
44981rm -f core conftest.err conftest.$ac_objext \
44982    conftest$ac_exeext conftest.$ac_ext
44983LIBS=$ac_check_lib_save_LIBS
44984fi
44985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&5
44986$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&6; }
44987if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" = xyes; then :
44988  ac_cv_libfdatetime_dummy=yes
44989else
44990  ac_cv_libfdatetime=no
44991fi
44992
44993        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_free in -lfdatetime" >&5
44994$as_echo_n "checking for libfdatetime_fat_date_time_free in -lfdatetime... " >&6; }
44995if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free+:} false; then :
44996  $as_echo_n "(cached) " >&6
44997else
44998  ac_check_lib_save_LIBS=$LIBS
44999LIBS="-lfdatetime  $LIBS"
45000cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45001/* end confdefs.h.  */
45002
45003/* Override any GCC internal prototype to avoid an error.
45004   Use char because int might match the return type of a GCC
45005   builtin and then its argument prototype would still apply.  */
45006#ifdef __cplusplus
45007extern "C"
45008#endif
45009char libfdatetime_fat_date_time_free ();
45010int
45011main ()
45012{
45013return libfdatetime_fat_date_time_free ();
45014  ;
45015  return 0;
45016}
45017_ACEOF
45018if ac_fn_c_try_link "$LINENO"; then :
45019  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=yes
45020else
45021  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=no
45022fi
45023rm -f core conftest.err conftest.$ac_objext \
45024    conftest$ac_exeext conftest.$ac_ext
45025LIBS=$ac_check_lib_save_LIBS
45026fi
45027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&5
45028$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&6; }
45029if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" = xyes; then :
45030  ac_cv_libfdatetime_dummy=yes
45031else
45032  ac_cv_libfdatetime=no
45033fi
45034
45035        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime" >&5
45036$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime... " >&6; }
45037if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream+:} false; then :
45038  $as_echo_n "(cached) " >&6
45039else
45040  ac_check_lib_save_LIBS=$LIBS
45041LIBS="-lfdatetime  $LIBS"
45042cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45043/* end confdefs.h.  */
45044
45045/* Override any GCC internal prototype to avoid an error.
45046   Use char because int might match the return type of a GCC
45047   builtin and then its argument prototype would still apply.  */
45048#ifdef __cplusplus
45049extern "C"
45050#endif
45051char libfdatetime_fat_date_time_copy_from_byte_stream ();
45052int
45053main ()
45054{
45055return libfdatetime_fat_date_time_copy_from_byte_stream ();
45056  ;
45057  return 0;
45058}
45059_ACEOF
45060if ac_fn_c_try_link "$LINENO"; then :
45061  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=yes
45062else
45063  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=no
45064fi
45065rm -f core conftest.err conftest.$ac_objext \
45066    conftest$ac_exeext conftest.$ac_ext
45067LIBS=$ac_check_lib_save_LIBS
45068fi
45069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&5
45070$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&6; }
45071if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" = xyes; then :
45072  ac_cv_libfdatetime_dummy=yes
45073else
45074  ac_cv_libfdatetime=no
45075fi
45076
45077        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime" >&5
45078$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime... " >&6; }
45079if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit+:} false; then :
45080  $as_echo_n "(cached) " >&6
45081else
45082  ac_check_lib_save_LIBS=$LIBS
45083LIBS="-lfdatetime  $LIBS"
45084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45085/* end confdefs.h.  */
45086
45087/* Override any GCC internal prototype to avoid an error.
45088   Use char because int might match the return type of a GCC
45089   builtin and then its argument prototype would still apply.  */
45090#ifdef __cplusplus
45091extern "C"
45092#endif
45093char libfdatetime_fat_date_time_copy_from_32bit ();
45094int
45095main ()
45096{
45097return libfdatetime_fat_date_time_copy_from_32bit ();
45098  ;
45099  return 0;
45100}
45101_ACEOF
45102if ac_fn_c_try_link "$LINENO"; then :
45103  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=yes
45104else
45105  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=no
45106fi
45107rm -f core conftest.err conftest.$ac_objext \
45108    conftest$ac_exeext conftest.$ac_ext
45109LIBS=$ac_check_lib_save_LIBS
45110fi
45111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&5
45112$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&6; }
45113if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" = xyes; then :
45114  ac_cv_libfdatetime_dummy=yes
45115else
45116  ac_cv_libfdatetime=no
45117fi
45118
45119        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime" >&5
45120$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime... " >&6; }
45121if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit+:} false; then :
45122  $as_echo_n "(cached) " >&6
45123else
45124  ac_check_lib_save_LIBS=$LIBS
45125LIBS="-lfdatetime  $LIBS"
45126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45127/* end confdefs.h.  */
45128
45129/* Override any GCC internal prototype to avoid an error.
45130   Use char because int might match the return type of a GCC
45131   builtin and then its argument prototype would still apply.  */
45132#ifdef __cplusplus
45133extern "C"
45134#endif
45135char libfdatetime_fat_date_time_copy_to_32bit ();
45136int
45137main ()
45138{
45139return libfdatetime_fat_date_time_copy_to_32bit ();
45140  ;
45141  return 0;
45142}
45143_ACEOF
45144if ac_fn_c_try_link "$LINENO"; then :
45145  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=yes
45146else
45147  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=no
45148fi
45149rm -f core conftest.err conftest.$ac_objext \
45150    conftest$ac_exeext conftest.$ac_ext
45151LIBS=$ac_check_lib_save_LIBS
45152fi
45153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&5
45154$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&6; }
45155if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" = xyes; then :
45156  ac_cv_libfdatetime_dummy=yes
45157else
45158  ac_cv_libfdatetime=no
45159fi
45160
45161        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime" >&5
45162$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime... " >&6; }
45163if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string+:} false; then :
45164  $as_echo_n "(cached) " >&6
45165else
45166  ac_check_lib_save_LIBS=$LIBS
45167LIBS="-lfdatetime  $LIBS"
45168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45169/* end confdefs.h.  */
45170
45171/* Override any GCC internal prototype to avoid an error.
45172   Use char because int might match the return type of a GCC
45173   builtin and then its argument prototype would still apply.  */
45174#ifdef __cplusplus
45175extern "C"
45176#endif
45177char libfdatetime_fat_date_time_copy_to_utf8_string ();
45178int
45179main ()
45180{
45181return libfdatetime_fat_date_time_copy_to_utf8_string ();
45182  ;
45183  return 0;
45184}
45185_ACEOF
45186if ac_fn_c_try_link "$LINENO"; then :
45187  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=yes
45188else
45189  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=no
45190fi
45191rm -f core conftest.err conftest.$ac_objext \
45192    conftest$ac_exeext conftest.$ac_ext
45193LIBS=$ac_check_lib_save_LIBS
45194fi
45195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&5
45196$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&6; }
45197if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" = xyes; then :
45198  ac_cv_libfdatetime_dummy=yes
45199else
45200  ac_cv_libfdatetime=no
45201fi
45202
45203        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime" >&5
45204$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
45205if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index+:} false; then :
45206  $as_echo_n "(cached) " >&6
45207else
45208  ac_check_lib_save_LIBS=$LIBS
45209LIBS="-lfdatetime  $LIBS"
45210cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45211/* end confdefs.h.  */
45212
45213/* Override any GCC internal prototype to avoid an error.
45214   Use char because int might match the return type of a GCC
45215   builtin and then its argument prototype would still apply.  */
45216#ifdef __cplusplus
45217extern "C"
45218#endif
45219char libfdatetime_fat_date_time_copy_to_utf8_string_with_index ();
45220int
45221main ()
45222{
45223return libfdatetime_fat_date_time_copy_to_utf8_string_with_index ();
45224  ;
45225  return 0;
45226}
45227_ACEOF
45228if ac_fn_c_try_link "$LINENO"; then :
45229  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=yes
45230else
45231  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=no
45232fi
45233rm -f core conftest.err conftest.$ac_objext \
45234    conftest$ac_exeext conftest.$ac_ext
45235LIBS=$ac_check_lib_save_LIBS
45236fi
45237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&5
45238$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&6; }
45239if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" = xyes; then :
45240  ac_cv_libfdatetime_dummy=yes
45241else
45242  ac_cv_libfdatetime=no
45243fi
45244
45245        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime" >&5
45246$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime... " >&6; }
45247if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string+:} false; then :
45248  $as_echo_n "(cached) " >&6
45249else
45250  ac_check_lib_save_LIBS=$LIBS
45251LIBS="-lfdatetime  $LIBS"
45252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45253/* end confdefs.h.  */
45254
45255/* Override any GCC internal prototype to avoid an error.
45256   Use char because int might match the return type of a GCC
45257   builtin and then its argument prototype would still apply.  */
45258#ifdef __cplusplus
45259extern "C"
45260#endif
45261char libfdatetime_fat_date_time_copy_to_utf16_string ();
45262int
45263main ()
45264{
45265return libfdatetime_fat_date_time_copy_to_utf16_string ();
45266  ;
45267  return 0;
45268}
45269_ACEOF
45270if ac_fn_c_try_link "$LINENO"; then :
45271  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=yes
45272else
45273  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=no
45274fi
45275rm -f core conftest.err conftest.$ac_objext \
45276    conftest$ac_exeext conftest.$ac_ext
45277LIBS=$ac_check_lib_save_LIBS
45278fi
45279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&5
45280$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&6; }
45281if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" = xyes; then :
45282  ac_cv_libfdatetime_dummy=yes
45283else
45284  ac_cv_libfdatetime=no
45285fi
45286
45287        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime" >&5
45288$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
45289if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index+:} false; then :
45290  $as_echo_n "(cached) " >&6
45291else
45292  ac_check_lib_save_LIBS=$LIBS
45293LIBS="-lfdatetime  $LIBS"
45294cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45295/* end confdefs.h.  */
45296
45297/* Override any GCC internal prototype to avoid an error.
45298   Use char because int might match the return type of a GCC
45299   builtin and then its argument prototype would still apply.  */
45300#ifdef __cplusplus
45301extern "C"
45302#endif
45303char libfdatetime_fat_date_time_copy_to_utf16_string_with_index ();
45304int
45305main ()
45306{
45307return libfdatetime_fat_date_time_copy_to_utf16_string_with_index ();
45308  ;
45309  return 0;
45310}
45311_ACEOF
45312if ac_fn_c_try_link "$LINENO"; then :
45313  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=yes
45314else
45315  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=no
45316fi
45317rm -f core conftest.err conftest.$ac_objext \
45318    conftest$ac_exeext conftest.$ac_ext
45319LIBS=$ac_check_lib_save_LIBS
45320fi
45321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&5
45322$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&6; }
45323if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" = xyes; then :
45324  ac_cv_libfdatetime_dummy=yes
45325else
45326  ac_cv_libfdatetime=no
45327fi
45328
45329        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime" >&5
45330$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime... " >&6; }
45331if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string+:} false; then :
45332  $as_echo_n "(cached) " >&6
45333else
45334  ac_check_lib_save_LIBS=$LIBS
45335LIBS="-lfdatetime  $LIBS"
45336cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45337/* end confdefs.h.  */
45338
45339/* Override any GCC internal prototype to avoid an error.
45340   Use char because int might match the return type of a GCC
45341   builtin and then its argument prototype would still apply.  */
45342#ifdef __cplusplus
45343extern "C"
45344#endif
45345char libfdatetime_fat_date_time_copy_to_utf32_string ();
45346int
45347main ()
45348{
45349return libfdatetime_fat_date_time_copy_to_utf32_string ();
45350  ;
45351  return 0;
45352}
45353_ACEOF
45354if ac_fn_c_try_link "$LINENO"; then :
45355  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=yes
45356else
45357  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=no
45358fi
45359rm -f core conftest.err conftest.$ac_objext \
45360    conftest$ac_exeext conftest.$ac_ext
45361LIBS=$ac_check_lib_save_LIBS
45362fi
45363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&5
45364$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&6; }
45365if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" = xyes; then :
45366  ac_cv_libfdatetime_dummy=yes
45367else
45368  ac_cv_libfdatetime=no
45369fi
45370
45371        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime" >&5
45372$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
45373if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index+:} false; then :
45374  $as_echo_n "(cached) " >&6
45375else
45376  ac_check_lib_save_LIBS=$LIBS
45377LIBS="-lfdatetime  $LIBS"
45378cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45379/* end confdefs.h.  */
45380
45381/* Override any GCC internal prototype to avoid an error.
45382   Use char because int might match the return type of a GCC
45383   builtin and then its argument prototype would still apply.  */
45384#ifdef __cplusplus
45385extern "C"
45386#endif
45387char libfdatetime_fat_date_time_copy_to_utf32_string_with_index ();
45388int
45389main ()
45390{
45391return libfdatetime_fat_date_time_copy_to_utf32_string_with_index ();
45392  ;
45393  return 0;
45394}
45395_ACEOF
45396if ac_fn_c_try_link "$LINENO"; then :
45397  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=yes
45398else
45399  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=no
45400fi
45401rm -f core conftest.err conftest.$ac_objext \
45402    conftest$ac_exeext conftest.$ac_ext
45403LIBS=$ac_check_lib_save_LIBS
45404fi
45405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&5
45406$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&6; }
45407if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" = xyes; then :
45408  ac_cv_libfdatetime_dummy=yes
45409else
45410  ac_cv_libfdatetime=no
45411fi
45412
45413
45414                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_initialize in -lfdatetime" >&5
45415$as_echo_n "checking for libfdatetime_filetime_initialize in -lfdatetime... " >&6; }
45416if ${ac_cv_lib_fdatetime_libfdatetime_filetime_initialize+:} false; then :
45417  $as_echo_n "(cached) " >&6
45418else
45419  ac_check_lib_save_LIBS=$LIBS
45420LIBS="-lfdatetime  $LIBS"
45421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45422/* end confdefs.h.  */
45423
45424/* Override any GCC internal prototype to avoid an error.
45425   Use char because int might match the return type of a GCC
45426   builtin and then its argument prototype would still apply.  */
45427#ifdef __cplusplus
45428extern "C"
45429#endif
45430char libfdatetime_filetime_initialize ();
45431int
45432main ()
45433{
45434return libfdatetime_filetime_initialize ();
45435  ;
45436  return 0;
45437}
45438_ACEOF
45439if ac_fn_c_try_link "$LINENO"; then :
45440  ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=yes
45441else
45442  ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=no
45443fi
45444rm -f core conftest.err conftest.$ac_objext \
45445    conftest$ac_exeext conftest.$ac_ext
45446LIBS=$ac_check_lib_save_LIBS
45447fi
45448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&5
45449$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&6; }
45450if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" = xyes; then :
45451  ac_cv_libfdatetime_dummy=yes
45452else
45453  ac_cv_libfdatetime=no
45454fi
45455
45456        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_free in -lfdatetime" >&5
45457$as_echo_n "checking for libfdatetime_filetime_free in -lfdatetime... " >&6; }
45458if ${ac_cv_lib_fdatetime_libfdatetime_filetime_free+:} false; then :
45459  $as_echo_n "(cached) " >&6
45460else
45461  ac_check_lib_save_LIBS=$LIBS
45462LIBS="-lfdatetime  $LIBS"
45463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45464/* end confdefs.h.  */
45465
45466/* Override any GCC internal prototype to avoid an error.
45467   Use char because int might match the return type of a GCC
45468   builtin and then its argument prototype would still apply.  */
45469#ifdef __cplusplus
45470extern "C"
45471#endif
45472char libfdatetime_filetime_free ();
45473int
45474main ()
45475{
45476return libfdatetime_filetime_free ();
45477  ;
45478  return 0;
45479}
45480_ACEOF
45481if ac_fn_c_try_link "$LINENO"; then :
45482  ac_cv_lib_fdatetime_libfdatetime_filetime_free=yes
45483else
45484  ac_cv_lib_fdatetime_libfdatetime_filetime_free=no
45485fi
45486rm -f core conftest.err conftest.$ac_objext \
45487    conftest$ac_exeext conftest.$ac_ext
45488LIBS=$ac_check_lib_save_LIBS
45489fi
45490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&5
45491$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&6; }
45492if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_free" = xyes; then :
45493  ac_cv_libfdatetime_dummy=yes
45494else
45495  ac_cv_libfdatetime=no
45496fi
45497
45498        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime" >&5
45499$as_echo_n "checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime... " >&6; }
45500if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream+:} false; then :
45501  $as_echo_n "(cached) " >&6
45502else
45503  ac_check_lib_save_LIBS=$LIBS
45504LIBS="-lfdatetime  $LIBS"
45505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45506/* end confdefs.h.  */
45507
45508/* Override any GCC internal prototype to avoid an error.
45509   Use char because int might match the return type of a GCC
45510   builtin and then its argument prototype would still apply.  */
45511#ifdef __cplusplus
45512extern "C"
45513#endif
45514char libfdatetime_filetime_copy_from_byte_stream ();
45515int
45516main ()
45517{
45518return libfdatetime_filetime_copy_from_byte_stream ();
45519  ;
45520  return 0;
45521}
45522_ACEOF
45523if ac_fn_c_try_link "$LINENO"; then :
45524  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=yes
45525else
45526  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=no
45527fi
45528rm -f core conftest.err conftest.$ac_objext \
45529    conftest$ac_exeext conftest.$ac_ext
45530LIBS=$ac_check_lib_save_LIBS
45531fi
45532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&5
45533$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&6; }
45534if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" = xyes; then :
45535  ac_cv_libfdatetime_dummy=yes
45536else
45537  ac_cv_libfdatetime=no
45538fi
45539
45540        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime" >&5
45541$as_echo_n "checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime... " >&6; }
45542if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit+:} false; then :
45543  $as_echo_n "(cached) " >&6
45544else
45545  ac_check_lib_save_LIBS=$LIBS
45546LIBS="-lfdatetime  $LIBS"
45547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45548/* end confdefs.h.  */
45549
45550/* Override any GCC internal prototype to avoid an error.
45551   Use char because int might match the return type of a GCC
45552   builtin and then its argument prototype would still apply.  */
45553#ifdef __cplusplus
45554extern "C"
45555#endif
45556char libfdatetime_filetime_copy_from_64bit ();
45557int
45558main ()
45559{
45560return libfdatetime_filetime_copy_from_64bit ();
45561  ;
45562  return 0;
45563}
45564_ACEOF
45565if ac_fn_c_try_link "$LINENO"; then :
45566  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=yes
45567else
45568  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=no
45569fi
45570rm -f core conftest.err conftest.$ac_objext \
45571    conftest$ac_exeext conftest.$ac_ext
45572LIBS=$ac_check_lib_save_LIBS
45573fi
45574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&5
45575$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&6; }
45576if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" = xyes; then :
45577  ac_cv_libfdatetime_dummy=yes
45578else
45579  ac_cv_libfdatetime=no
45580fi
45581
45582        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime" >&5
45583$as_echo_n "checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime... " >&6; }
45584if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit+:} false; then :
45585  $as_echo_n "(cached) " >&6
45586else
45587  ac_check_lib_save_LIBS=$LIBS
45588LIBS="-lfdatetime  $LIBS"
45589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45590/* end confdefs.h.  */
45591
45592/* Override any GCC internal prototype to avoid an error.
45593   Use char because int might match the return type of a GCC
45594   builtin and then its argument prototype would still apply.  */
45595#ifdef __cplusplus
45596extern "C"
45597#endif
45598char libfdatetime_filetime_copy_to_64bit ();
45599int
45600main ()
45601{
45602return libfdatetime_filetime_copy_to_64bit ();
45603  ;
45604  return 0;
45605}
45606_ACEOF
45607if ac_fn_c_try_link "$LINENO"; then :
45608  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=yes
45609else
45610  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=no
45611fi
45612rm -f core conftest.err conftest.$ac_objext \
45613    conftest$ac_exeext conftest.$ac_ext
45614LIBS=$ac_check_lib_save_LIBS
45615fi
45616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&5
45617$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&6; }
45618if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" = xyes; then :
45619  ac_cv_libfdatetime_dummy=yes
45620else
45621  ac_cv_libfdatetime=no
45622fi
45623
45624        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime" >&5
45625$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime... " >&6; }
45626if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string+:} false; then :
45627  $as_echo_n "(cached) " >&6
45628else
45629  ac_check_lib_save_LIBS=$LIBS
45630LIBS="-lfdatetime  $LIBS"
45631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45632/* end confdefs.h.  */
45633
45634/* Override any GCC internal prototype to avoid an error.
45635   Use char because int might match the return type of a GCC
45636   builtin and then its argument prototype would still apply.  */
45637#ifdef __cplusplus
45638extern "C"
45639#endif
45640char libfdatetime_filetime_copy_to_utf8_string ();
45641int
45642main ()
45643{
45644return libfdatetime_filetime_copy_to_utf8_string ();
45645  ;
45646  return 0;
45647}
45648_ACEOF
45649if ac_fn_c_try_link "$LINENO"; then :
45650  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=yes
45651else
45652  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=no
45653fi
45654rm -f core conftest.err conftest.$ac_objext \
45655    conftest$ac_exeext conftest.$ac_ext
45656LIBS=$ac_check_lib_save_LIBS
45657fi
45658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&5
45659$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&6; }
45660if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" = xyes; then :
45661  ac_cv_libfdatetime_dummy=yes
45662else
45663  ac_cv_libfdatetime=no
45664fi
45665
45666        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime" >&5
45667$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
45668if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index+:} false; then :
45669  $as_echo_n "(cached) " >&6
45670else
45671  ac_check_lib_save_LIBS=$LIBS
45672LIBS="-lfdatetime  $LIBS"
45673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45674/* end confdefs.h.  */
45675
45676/* Override any GCC internal prototype to avoid an error.
45677   Use char because int might match the return type of a GCC
45678   builtin and then its argument prototype would still apply.  */
45679#ifdef __cplusplus
45680extern "C"
45681#endif
45682char libfdatetime_filetime_copy_to_utf8_string_with_index ();
45683int
45684main ()
45685{
45686return libfdatetime_filetime_copy_to_utf8_string_with_index ();
45687  ;
45688  return 0;
45689}
45690_ACEOF
45691if ac_fn_c_try_link "$LINENO"; then :
45692  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=yes
45693else
45694  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=no
45695fi
45696rm -f core conftest.err conftest.$ac_objext \
45697    conftest$ac_exeext conftest.$ac_ext
45698LIBS=$ac_check_lib_save_LIBS
45699fi
45700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&5
45701$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&6; }
45702if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" = xyes; then :
45703  ac_cv_libfdatetime_dummy=yes
45704else
45705  ac_cv_libfdatetime=no
45706fi
45707
45708        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime" >&5
45709$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime... " >&6; }
45710if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string+:} false; then :
45711  $as_echo_n "(cached) " >&6
45712else
45713  ac_check_lib_save_LIBS=$LIBS
45714LIBS="-lfdatetime  $LIBS"
45715cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45716/* end confdefs.h.  */
45717
45718/* Override any GCC internal prototype to avoid an error.
45719   Use char because int might match the return type of a GCC
45720   builtin and then its argument prototype would still apply.  */
45721#ifdef __cplusplus
45722extern "C"
45723#endif
45724char libfdatetime_filetime_copy_to_utf16_string ();
45725int
45726main ()
45727{
45728return libfdatetime_filetime_copy_to_utf16_string ();
45729  ;
45730  return 0;
45731}
45732_ACEOF
45733if ac_fn_c_try_link "$LINENO"; then :
45734  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=yes
45735else
45736  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=no
45737fi
45738rm -f core conftest.err conftest.$ac_objext \
45739    conftest$ac_exeext conftest.$ac_ext
45740LIBS=$ac_check_lib_save_LIBS
45741fi
45742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&5
45743$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&6; }
45744if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" = xyes; then :
45745  ac_cv_libfdatetime_dummy=yes
45746else
45747  ac_cv_libfdatetime=no
45748fi
45749
45750        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime" >&5
45751$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
45752if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index+:} false; then :
45753  $as_echo_n "(cached) " >&6
45754else
45755  ac_check_lib_save_LIBS=$LIBS
45756LIBS="-lfdatetime  $LIBS"
45757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45758/* end confdefs.h.  */
45759
45760/* Override any GCC internal prototype to avoid an error.
45761   Use char because int might match the return type of a GCC
45762   builtin and then its argument prototype would still apply.  */
45763#ifdef __cplusplus
45764extern "C"
45765#endif
45766char libfdatetime_filetime_copy_to_utf16_string_with_index ();
45767int
45768main ()
45769{
45770return libfdatetime_filetime_copy_to_utf16_string_with_index ();
45771  ;
45772  return 0;
45773}
45774_ACEOF
45775if ac_fn_c_try_link "$LINENO"; then :
45776  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=yes
45777else
45778  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=no
45779fi
45780rm -f core conftest.err conftest.$ac_objext \
45781    conftest$ac_exeext conftest.$ac_ext
45782LIBS=$ac_check_lib_save_LIBS
45783fi
45784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&5
45785$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&6; }
45786if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" = xyes; then :
45787  ac_cv_libfdatetime_dummy=yes
45788else
45789  ac_cv_libfdatetime=no
45790fi
45791
45792        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime" >&5
45793$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime... " >&6; }
45794if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string+:} false; then :
45795  $as_echo_n "(cached) " >&6
45796else
45797  ac_check_lib_save_LIBS=$LIBS
45798LIBS="-lfdatetime  $LIBS"
45799cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45800/* end confdefs.h.  */
45801
45802/* Override any GCC internal prototype to avoid an error.
45803   Use char because int might match the return type of a GCC
45804   builtin and then its argument prototype would still apply.  */
45805#ifdef __cplusplus
45806extern "C"
45807#endif
45808char libfdatetime_filetime_copy_to_utf32_string ();
45809int
45810main ()
45811{
45812return libfdatetime_filetime_copy_to_utf32_string ();
45813  ;
45814  return 0;
45815}
45816_ACEOF
45817if ac_fn_c_try_link "$LINENO"; then :
45818  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=yes
45819else
45820  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=no
45821fi
45822rm -f core conftest.err conftest.$ac_objext \
45823    conftest$ac_exeext conftest.$ac_ext
45824LIBS=$ac_check_lib_save_LIBS
45825fi
45826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&5
45827$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&6; }
45828if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" = xyes; then :
45829  ac_cv_libfdatetime_dummy=yes
45830else
45831  ac_cv_libfdatetime=no
45832fi
45833
45834        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime" >&5
45835$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
45836if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index+:} false; then :
45837  $as_echo_n "(cached) " >&6
45838else
45839  ac_check_lib_save_LIBS=$LIBS
45840LIBS="-lfdatetime  $LIBS"
45841cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45842/* end confdefs.h.  */
45843
45844/* Override any GCC internal prototype to avoid an error.
45845   Use char because int might match the return type of a GCC
45846   builtin and then its argument prototype would still apply.  */
45847#ifdef __cplusplus
45848extern "C"
45849#endif
45850char libfdatetime_filetime_copy_to_utf32_string_with_index ();
45851int
45852main ()
45853{
45854return libfdatetime_filetime_copy_to_utf32_string_with_index ();
45855  ;
45856  return 0;
45857}
45858_ACEOF
45859if ac_fn_c_try_link "$LINENO"; then :
45860  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=yes
45861else
45862  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=no
45863fi
45864rm -f core conftest.err conftest.$ac_objext \
45865    conftest$ac_exeext conftest.$ac_ext
45866LIBS=$ac_check_lib_save_LIBS
45867fi
45868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&5
45869$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&6; }
45870if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" = xyes; then :
45871  ac_cv_libfdatetime_dummy=yes
45872else
45873  ac_cv_libfdatetime=no
45874fi
45875
45876        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_add in -lfdatetime" >&5
45877$as_echo_n "checking for libfdatetime_filetime_add in -lfdatetime... " >&6; }
45878if ${ac_cv_lib_fdatetime_libfdatetime_filetime_add+:} false; then :
45879  $as_echo_n "(cached) " >&6
45880else
45881  ac_check_lib_save_LIBS=$LIBS
45882LIBS="-lfdatetime  $LIBS"
45883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45884/* end confdefs.h.  */
45885
45886/* Override any GCC internal prototype to avoid an error.
45887   Use char because int might match the return type of a GCC
45888   builtin and then its argument prototype would still apply.  */
45889#ifdef __cplusplus
45890extern "C"
45891#endif
45892char libfdatetime_filetime_add ();
45893int
45894main ()
45895{
45896return libfdatetime_filetime_add ();
45897  ;
45898  return 0;
45899}
45900_ACEOF
45901if ac_fn_c_try_link "$LINENO"; then :
45902  ac_cv_lib_fdatetime_libfdatetime_filetime_add=yes
45903else
45904  ac_cv_lib_fdatetime_libfdatetime_filetime_add=no
45905fi
45906rm -f core conftest.err conftest.$ac_objext \
45907    conftest$ac_exeext conftest.$ac_ext
45908LIBS=$ac_check_lib_save_LIBS
45909fi
45910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&5
45911$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&6; }
45912if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_add" = xyes; then :
45913  ac_cv_libfdatetime_dummy=yes
45914else
45915  ac_cv_libfdatetime=no
45916fi
45917
45918
45919                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_initialize in -lfdatetime" >&5
45920$as_echo_n "checking for libfdatetime_floatingtime_initialize in -lfdatetime... " >&6; }
45921if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize+:} false; then :
45922  $as_echo_n "(cached) " >&6
45923else
45924  ac_check_lib_save_LIBS=$LIBS
45925LIBS="-lfdatetime  $LIBS"
45926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45927/* end confdefs.h.  */
45928
45929/* Override any GCC internal prototype to avoid an error.
45930   Use char because int might match the return type of a GCC
45931   builtin and then its argument prototype would still apply.  */
45932#ifdef __cplusplus
45933extern "C"
45934#endif
45935char libfdatetime_floatingtime_initialize ();
45936int
45937main ()
45938{
45939return libfdatetime_floatingtime_initialize ();
45940  ;
45941  return 0;
45942}
45943_ACEOF
45944if ac_fn_c_try_link "$LINENO"; then :
45945  ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=yes
45946else
45947  ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=no
45948fi
45949rm -f core conftest.err conftest.$ac_objext \
45950    conftest$ac_exeext conftest.$ac_ext
45951LIBS=$ac_check_lib_save_LIBS
45952fi
45953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&5
45954$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&6; }
45955if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" = xyes; then :
45956  ac_cv_libfdatetime_dummy=yes
45957else
45958  ac_cv_libfdatetime=no
45959fi
45960
45961        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_free in -lfdatetime" >&5
45962$as_echo_n "checking for libfdatetime_floatingtime_free in -lfdatetime... " >&6; }
45963if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_free+:} false; then :
45964  $as_echo_n "(cached) " >&6
45965else
45966  ac_check_lib_save_LIBS=$LIBS
45967LIBS="-lfdatetime  $LIBS"
45968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45969/* end confdefs.h.  */
45970
45971/* Override any GCC internal prototype to avoid an error.
45972   Use char because int might match the return type of a GCC
45973   builtin and then its argument prototype would still apply.  */
45974#ifdef __cplusplus
45975extern "C"
45976#endif
45977char libfdatetime_floatingtime_free ();
45978int
45979main ()
45980{
45981return libfdatetime_floatingtime_free ();
45982  ;
45983  return 0;
45984}
45985_ACEOF
45986if ac_fn_c_try_link "$LINENO"; then :
45987  ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=yes
45988else
45989  ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=no
45990fi
45991rm -f core conftest.err conftest.$ac_objext \
45992    conftest$ac_exeext conftest.$ac_ext
45993LIBS=$ac_check_lib_save_LIBS
45994fi
45995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&5
45996$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&6; }
45997if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" = xyes; then :
45998  ac_cv_libfdatetime_dummy=yes
45999else
46000  ac_cv_libfdatetime=no
46001fi
46002
46003        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime" >&5
46004$as_echo_n "checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime... " >&6; }
46005if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream+:} false; then :
46006  $as_echo_n "(cached) " >&6
46007else
46008  ac_check_lib_save_LIBS=$LIBS
46009LIBS="-lfdatetime  $LIBS"
46010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46011/* end confdefs.h.  */
46012
46013/* Override any GCC internal prototype to avoid an error.
46014   Use char because int might match the return type of a GCC
46015   builtin and then its argument prototype would still apply.  */
46016#ifdef __cplusplus
46017extern "C"
46018#endif
46019char libfdatetime_floatingtime_copy_from_byte_stream ();
46020int
46021main ()
46022{
46023return libfdatetime_floatingtime_copy_from_byte_stream ();
46024  ;
46025  return 0;
46026}
46027_ACEOF
46028if ac_fn_c_try_link "$LINENO"; then :
46029  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=yes
46030else
46031  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=no
46032fi
46033rm -f core conftest.err conftest.$ac_objext \
46034    conftest$ac_exeext conftest.$ac_ext
46035LIBS=$ac_check_lib_save_LIBS
46036fi
46037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&5
46038$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&6; }
46039if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" = xyes; then :
46040  ac_cv_libfdatetime_dummy=yes
46041else
46042  ac_cv_libfdatetime=no
46043fi
46044
46045        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime" >&5
46046$as_echo_n "checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime... " >&6; }
46047if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit+:} false; then :
46048  $as_echo_n "(cached) " >&6
46049else
46050  ac_check_lib_save_LIBS=$LIBS
46051LIBS="-lfdatetime  $LIBS"
46052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053/* end confdefs.h.  */
46054
46055/* Override any GCC internal prototype to avoid an error.
46056   Use char because int might match the return type of a GCC
46057   builtin and then its argument prototype would still apply.  */
46058#ifdef __cplusplus
46059extern "C"
46060#endif
46061char libfdatetime_floatingtime_copy_from_64bit ();
46062int
46063main ()
46064{
46065return libfdatetime_floatingtime_copy_from_64bit ();
46066  ;
46067  return 0;
46068}
46069_ACEOF
46070if ac_fn_c_try_link "$LINENO"; then :
46071  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=yes
46072else
46073  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=no
46074fi
46075rm -f core conftest.err conftest.$ac_objext \
46076    conftest$ac_exeext conftest.$ac_ext
46077LIBS=$ac_check_lib_save_LIBS
46078fi
46079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&5
46080$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&6; }
46081if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" = xyes; then :
46082  ac_cv_libfdatetime_dummy=yes
46083else
46084  ac_cv_libfdatetime=no
46085fi
46086
46087        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime" >&5
46088$as_echo_n "checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime... " >&6; }
46089if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit+:} false; then :
46090  $as_echo_n "(cached) " >&6
46091else
46092  ac_check_lib_save_LIBS=$LIBS
46093LIBS="-lfdatetime  $LIBS"
46094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46095/* end confdefs.h.  */
46096
46097/* Override any GCC internal prototype to avoid an error.
46098   Use char because int might match the return type of a GCC
46099   builtin and then its argument prototype would still apply.  */
46100#ifdef __cplusplus
46101extern "C"
46102#endif
46103char libfdatetime_floatingtime_copy_to_64bit ();
46104int
46105main ()
46106{
46107return libfdatetime_floatingtime_copy_to_64bit ();
46108  ;
46109  return 0;
46110}
46111_ACEOF
46112if ac_fn_c_try_link "$LINENO"; then :
46113  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=yes
46114else
46115  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=no
46116fi
46117rm -f core conftest.err conftest.$ac_objext \
46118    conftest$ac_exeext conftest.$ac_ext
46119LIBS=$ac_check_lib_save_LIBS
46120fi
46121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&5
46122$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&6; }
46123if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" = xyes; then :
46124  ac_cv_libfdatetime_dummy=yes
46125else
46126  ac_cv_libfdatetime=no
46127fi
46128
46129        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime" >&5
46130$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime... " >&6; }
46131if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string+:} false; then :
46132  $as_echo_n "(cached) " >&6
46133else
46134  ac_check_lib_save_LIBS=$LIBS
46135LIBS="-lfdatetime  $LIBS"
46136cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46137/* end confdefs.h.  */
46138
46139/* Override any GCC internal prototype to avoid an error.
46140   Use char because int might match the return type of a GCC
46141   builtin and then its argument prototype would still apply.  */
46142#ifdef __cplusplus
46143extern "C"
46144#endif
46145char libfdatetime_floatingtime_copy_to_utf8_string ();
46146int
46147main ()
46148{
46149return libfdatetime_floatingtime_copy_to_utf8_string ();
46150  ;
46151  return 0;
46152}
46153_ACEOF
46154if ac_fn_c_try_link "$LINENO"; then :
46155  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=yes
46156else
46157  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=no
46158fi
46159rm -f core conftest.err conftest.$ac_objext \
46160    conftest$ac_exeext conftest.$ac_ext
46161LIBS=$ac_check_lib_save_LIBS
46162fi
46163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&5
46164$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&6; }
46165if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" = xyes; then :
46166  ac_cv_libfdatetime_dummy=yes
46167else
46168  ac_cv_libfdatetime=no
46169fi
46170
46171        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime" >&5
46172$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
46173if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index+:} false; then :
46174  $as_echo_n "(cached) " >&6
46175else
46176  ac_check_lib_save_LIBS=$LIBS
46177LIBS="-lfdatetime  $LIBS"
46178cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179/* end confdefs.h.  */
46180
46181/* Override any GCC internal prototype to avoid an error.
46182   Use char because int might match the return type of a GCC
46183   builtin and then its argument prototype would still apply.  */
46184#ifdef __cplusplus
46185extern "C"
46186#endif
46187char libfdatetime_floatingtime_copy_to_utf8_string_with_index ();
46188int
46189main ()
46190{
46191return libfdatetime_floatingtime_copy_to_utf8_string_with_index ();
46192  ;
46193  return 0;
46194}
46195_ACEOF
46196if ac_fn_c_try_link "$LINENO"; then :
46197  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=yes
46198else
46199  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=no
46200fi
46201rm -f core conftest.err conftest.$ac_objext \
46202    conftest$ac_exeext conftest.$ac_ext
46203LIBS=$ac_check_lib_save_LIBS
46204fi
46205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&5
46206$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&6; }
46207if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" = xyes; then :
46208  ac_cv_libfdatetime_dummy=yes
46209else
46210  ac_cv_libfdatetime=no
46211fi
46212
46213        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime" >&5
46214$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime... " >&6; }
46215if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string+:} false; then :
46216  $as_echo_n "(cached) " >&6
46217else
46218  ac_check_lib_save_LIBS=$LIBS
46219LIBS="-lfdatetime  $LIBS"
46220cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46221/* end confdefs.h.  */
46222
46223/* Override any GCC internal prototype to avoid an error.
46224   Use char because int might match the return type of a GCC
46225   builtin and then its argument prototype would still apply.  */
46226#ifdef __cplusplus
46227extern "C"
46228#endif
46229char libfdatetime_floatingtime_copy_to_utf16_string ();
46230int
46231main ()
46232{
46233return libfdatetime_floatingtime_copy_to_utf16_string ();
46234  ;
46235  return 0;
46236}
46237_ACEOF
46238if ac_fn_c_try_link "$LINENO"; then :
46239  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=yes
46240else
46241  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=no
46242fi
46243rm -f core conftest.err conftest.$ac_objext \
46244    conftest$ac_exeext conftest.$ac_ext
46245LIBS=$ac_check_lib_save_LIBS
46246fi
46247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&5
46248$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&6; }
46249if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" = xyes; then :
46250  ac_cv_libfdatetime_dummy=yes
46251else
46252  ac_cv_libfdatetime=no
46253fi
46254
46255        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime" >&5
46256$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
46257if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index+:} false; then :
46258  $as_echo_n "(cached) " >&6
46259else
46260  ac_check_lib_save_LIBS=$LIBS
46261LIBS="-lfdatetime  $LIBS"
46262cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46263/* end confdefs.h.  */
46264
46265/* Override any GCC internal prototype to avoid an error.
46266   Use char because int might match the return type of a GCC
46267   builtin and then its argument prototype would still apply.  */
46268#ifdef __cplusplus
46269extern "C"
46270#endif
46271char libfdatetime_floatingtime_copy_to_utf16_string_with_index ();
46272int
46273main ()
46274{
46275return libfdatetime_floatingtime_copy_to_utf16_string_with_index ();
46276  ;
46277  return 0;
46278}
46279_ACEOF
46280if ac_fn_c_try_link "$LINENO"; then :
46281  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=yes
46282else
46283  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=no
46284fi
46285rm -f core conftest.err conftest.$ac_objext \
46286    conftest$ac_exeext conftest.$ac_ext
46287LIBS=$ac_check_lib_save_LIBS
46288fi
46289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&5
46290$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&6; }
46291if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" = xyes; then :
46292  ac_cv_libfdatetime_dummy=yes
46293else
46294  ac_cv_libfdatetime=no
46295fi
46296
46297        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime" >&5
46298$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime... " >&6; }
46299if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string+:} false; then :
46300  $as_echo_n "(cached) " >&6
46301else
46302  ac_check_lib_save_LIBS=$LIBS
46303LIBS="-lfdatetime  $LIBS"
46304cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46305/* end confdefs.h.  */
46306
46307/* Override any GCC internal prototype to avoid an error.
46308   Use char because int might match the return type of a GCC
46309   builtin and then its argument prototype would still apply.  */
46310#ifdef __cplusplus
46311extern "C"
46312#endif
46313char libfdatetime_floatingtime_copy_to_utf32_string ();
46314int
46315main ()
46316{
46317return libfdatetime_floatingtime_copy_to_utf32_string ();
46318  ;
46319  return 0;
46320}
46321_ACEOF
46322if ac_fn_c_try_link "$LINENO"; then :
46323  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=yes
46324else
46325  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=no
46326fi
46327rm -f core conftest.err conftest.$ac_objext \
46328    conftest$ac_exeext conftest.$ac_ext
46329LIBS=$ac_check_lib_save_LIBS
46330fi
46331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&5
46332$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&6; }
46333if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" = xyes; then :
46334  ac_cv_libfdatetime_dummy=yes
46335else
46336  ac_cv_libfdatetime=no
46337fi
46338
46339        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime" >&5
46340$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
46341if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index+:} false; then :
46342  $as_echo_n "(cached) " >&6
46343else
46344  ac_check_lib_save_LIBS=$LIBS
46345LIBS="-lfdatetime  $LIBS"
46346cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46347/* end confdefs.h.  */
46348
46349/* Override any GCC internal prototype to avoid an error.
46350   Use char because int might match the return type of a GCC
46351   builtin and then its argument prototype would still apply.  */
46352#ifdef __cplusplus
46353extern "C"
46354#endif
46355char libfdatetime_floatingtime_copy_to_utf32_string_with_index ();
46356int
46357main ()
46358{
46359return libfdatetime_floatingtime_copy_to_utf32_string_with_index ();
46360  ;
46361  return 0;
46362}
46363_ACEOF
46364if ac_fn_c_try_link "$LINENO"; then :
46365  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=yes
46366else
46367  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=no
46368fi
46369rm -f core conftest.err conftest.$ac_objext \
46370    conftest$ac_exeext conftest.$ac_ext
46371LIBS=$ac_check_lib_save_LIBS
46372fi
46373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&5
46374$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&6; }
46375if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" = xyes; then :
46376  ac_cv_libfdatetime_dummy=yes
46377else
46378  ac_cv_libfdatetime=no
46379fi
46380
46381
46382                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_initialize in -lfdatetime" >&5
46383$as_echo_n "checking for libfdatetime_hfs_time_initialize in -lfdatetime... " >&6; }
46384if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize+:} false; then :
46385  $as_echo_n "(cached) " >&6
46386else
46387  ac_check_lib_save_LIBS=$LIBS
46388LIBS="-lfdatetime  $LIBS"
46389cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46390/* end confdefs.h.  */
46391
46392/* Override any GCC internal prototype to avoid an error.
46393   Use char because int might match the return type of a GCC
46394   builtin and then its argument prototype would still apply.  */
46395#ifdef __cplusplus
46396extern "C"
46397#endif
46398char libfdatetime_hfs_time_initialize ();
46399int
46400main ()
46401{
46402return libfdatetime_hfs_time_initialize ();
46403  ;
46404  return 0;
46405}
46406_ACEOF
46407if ac_fn_c_try_link "$LINENO"; then :
46408  ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=yes
46409else
46410  ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=no
46411fi
46412rm -f core conftest.err conftest.$ac_objext \
46413    conftest$ac_exeext conftest.$ac_ext
46414LIBS=$ac_check_lib_save_LIBS
46415fi
46416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&5
46417$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&6; }
46418if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" = xyes; then :
46419  ac_cv_libfdatetime_dummy=yes
46420else
46421  ac_cv_libfdatetime=no
46422fi
46423
46424        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_free in -lfdatetime" >&5
46425$as_echo_n "checking for libfdatetime_hfs_time_free in -lfdatetime... " >&6; }
46426if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_free+:} false; then :
46427  $as_echo_n "(cached) " >&6
46428else
46429  ac_check_lib_save_LIBS=$LIBS
46430LIBS="-lfdatetime  $LIBS"
46431cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46432/* end confdefs.h.  */
46433
46434/* Override any GCC internal prototype to avoid an error.
46435   Use char because int might match the return type of a GCC
46436   builtin and then its argument prototype would still apply.  */
46437#ifdef __cplusplus
46438extern "C"
46439#endif
46440char libfdatetime_hfs_time_free ();
46441int
46442main ()
46443{
46444return libfdatetime_hfs_time_free ();
46445  ;
46446  return 0;
46447}
46448_ACEOF
46449if ac_fn_c_try_link "$LINENO"; then :
46450  ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=yes
46451else
46452  ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=no
46453fi
46454rm -f core conftest.err conftest.$ac_objext \
46455    conftest$ac_exeext conftest.$ac_ext
46456LIBS=$ac_check_lib_save_LIBS
46457fi
46458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&5
46459$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&6; }
46460if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" = xyes; then :
46461  ac_cv_libfdatetime_dummy=yes
46462else
46463  ac_cv_libfdatetime=no
46464fi
46465
46466        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime" >&5
46467$as_echo_n "checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime... " >&6; }
46468if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream+:} false; then :
46469  $as_echo_n "(cached) " >&6
46470else
46471  ac_check_lib_save_LIBS=$LIBS
46472LIBS="-lfdatetime  $LIBS"
46473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46474/* end confdefs.h.  */
46475
46476/* Override any GCC internal prototype to avoid an error.
46477   Use char because int might match the return type of a GCC
46478   builtin and then its argument prototype would still apply.  */
46479#ifdef __cplusplus
46480extern "C"
46481#endif
46482char libfdatetime_hfs_time_copy_from_byte_stream ();
46483int
46484main ()
46485{
46486return libfdatetime_hfs_time_copy_from_byte_stream ();
46487  ;
46488  return 0;
46489}
46490_ACEOF
46491if ac_fn_c_try_link "$LINENO"; then :
46492  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=yes
46493else
46494  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=no
46495fi
46496rm -f core conftest.err conftest.$ac_objext \
46497    conftest$ac_exeext conftest.$ac_ext
46498LIBS=$ac_check_lib_save_LIBS
46499fi
46500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&5
46501$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&6; }
46502if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" = xyes; then :
46503  ac_cv_libfdatetime_dummy=yes
46504else
46505  ac_cv_libfdatetime=no
46506fi
46507
46508        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime" >&5
46509$as_echo_n "checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime... " >&6; }
46510if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit+:} false; then :
46511  $as_echo_n "(cached) " >&6
46512else
46513  ac_check_lib_save_LIBS=$LIBS
46514LIBS="-lfdatetime  $LIBS"
46515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46516/* end confdefs.h.  */
46517
46518/* Override any GCC internal prototype to avoid an error.
46519   Use char because int might match the return type of a GCC
46520   builtin and then its argument prototype would still apply.  */
46521#ifdef __cplusplus
46522extern "C"
46523#endif
46524char libfdatetime_hfs_time_copy_from_32bit ();
46525int
46526main ()
46527{
46528return libfdatetime_hfs_time_copy_from_32bit ();
46529  ;
46530  return 0;
46531}
46532_ACEOF
46533if ac_fn_c_try_link "$LINENO"; then :
46534  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=yes
46535else
46536  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=no
46537fi
46538rm -f core conftest.err conftest.$ac_objext \
46539    conftest$ac_exeext conftest.$ac_ext
46540LIBS=$ac_check_lib_save_LIBS
46541fi
46542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&5
46543$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&6; }
46544if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" = xyes; then :
46545  ac_cv_libfdatetime_dummy=yes
46546else
46547  ac_cv_libfdatetime=no
46548fi
46549
46550        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime" >&5
46551$as_echo_n "checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime... " >&6; }
46552if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit+:} false; then :
46553  $as_echo_n "(cached) " >&6
46554else
46555  ac_check_lib_save_LIBS=$LIBS
46556LIBS="-lfdatetime  $LIBS"
46557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46558/* end confdefs.h.  */
46559
46560/* Override any GCC internal prototype to avoid an error.
46561   Use char because int might match the return type of a GCC
46562   builtin and then its argument prototype would still apply.  */
46563#ifdef __cplusplus
46564extern "C"
46565#endif
46566char libfdatetime_hfs_time_copy_to_32bit ();
46567int
46568main ()
46569{
46570return libfdatetime_hfs_time_copy_to_32bit ();
46571  ;
46572  return 0;
46573}
46574_ACEOF
46575if ac_fn_c_try_link "$LINENO"; then :
46576  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=yes
46577else
46578  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=no
46579fi
46580rm -f core conftest.err conftest.$ac_objext \
46581    conftest$ac_exeext conftest.$ac_ext
46582LIBS=$ac_check_lib_save_LIBS
46583fi
46584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&5
46585$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&6; }
46586if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" = xyes; then :
46587  ac_cv_libfdatetime_dummy=yes
46588else
46589  ac_cv_libfdatetime=no
46590fi
46591
46592        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime" >&5
46593$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime... " >&6; }
46594if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string+:} false; then :
46595  $as_echo_n "(cached) " >&6
46596else
46597  ac_check_lib_save_LIBS=$LIBS
46598LIBS="-lfdatetime  $LIBS"
46599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600/* end confdefs.h.  */
46601
46602/* Override any GCC internal prototype to avoid an error.
46603   Use char because int might match the return type of a GCC
46604   builtin and then its argument prototype would still apply.  */
46605#ifdef __cplusplus
46606extern "C"
46607#endif
46608char libfdatetime_hfs_time_copy_to_utf8_string ();
46609int
46610main ()
46611{
46612return libfdatetime_hfs_time_copy_to_utf8_string ();
46613  ;
46614  return 0;
46615}
46616_ACEOF
46617if ac_fn_c_try_link "$LINENO"; then :
46618  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=yes
46619else
46620  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=no
46621fi
46622rm -f core conftest.err conftest.$ac_objext \
46623    conftest$ac_exeext conftest.$ac_ext
46624LIBS=$ac_check_lib_save_LIBS
46625fi
46626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&5
46627$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&6; }
46628if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" = xyes; then :
46629  ac_cv_libfdatetime_dummy=yes
46630else
46631  ac_cv_libfdatetime=no
46632fi
46633
46634        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime" >&5
46635$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
46636if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index+:} false; then :
46637  $as_echo_n "(cached) " >&6
46638else
46639  ac_check_lib_save_LIBS=$LIBS
46640LIBS="-lfdatetime  $LIBS"
46641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46642/* end confdefs.h.  */
46643
46644/* Override any GCC internal prototype to avoid an error.
46645   Use char because int might match the return type of a GCC
46646   builtin and then its argument prototype would still apply.  */
46647#ifdef __cplusplus
46648extern "C"
46649#endif
46650char libfdatetime_hfs_time_copy_to_utf8_string_with_index ();
46651int
46652main ()
46653{
46654return libfdatetime_hfs_time_copy_to_utf8_string_with_index ();
46655  ;
46656  return 0;
46657}
46658_ACEOF
46659if ac_fn_c_try_link "$LINENO"; then :
46660  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=yes
46661else
46662  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=no
46663fi
46664rm -f core conftest.err conftest.$ac_objext \
46665    conftest$ac_exeext conftest.$ac_ext
46666LIBS=$ac_check_lib_save_LIBS
46667fi
46668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&5
46669$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&6; }
46670if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" = xyes; then :
46671  ac_cv_libfdatetime_dummy=yes
46672else
46673  ac_cv_libfdatetime=no
46674fi
46675
46676        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime" >&5
46677$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime... " >&6; }
46678if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string+:} false; then :
46679  $as_echo_n "(cached) " >&6
46680else
46681  ac_check_lib_save_LIBS=$LIBS
46682LIBS="-lfdatetime  $LIBS"
46683cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46684/* end confdefs.h.  */
46685
46686/* Override any GCC internal prototype to avoid an error.
46687   Use char because int might match the return type of a GCC
46688   builtin and then its argument prototype would still apply.  */
46689#ifdef __cplusplus
46690extern "C"
46691#endif
46692char libfdatetime_hfs_time_copy_to_utf16_string ();
46693int
46694main ()
46695{
46696return libfdatetime_hfs_time_copy_to_utf16_string ();
46697  ;
46698  return 0;
46699}
46700_ACEOF
46701if ac_fn_c_try_link "$LINENO"; then :
46702  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=yes
46703else
46704  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=no
46705fi
46706rm -f core conftest.err conftest.$ac_objext \
46707    conftest$ac_exeext conftest.$ac_ext
46708LIBS=$ac_check_lib_save_LIBS
46709fi
46710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&5
46711$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&6; }
46712if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" = xyes; then :
46713  ac_cv_libfdatetime_dummy=yes
46714else
46715  ac_cv_libfdatetime=no
46716fi
46717
46718        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime" >&5
46719$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
46720if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index+:} false; then :
46721  $as_echo_n "(cached) " >&6
46722else
46723  ac_check_lib_save_LIBS=$LIBS
46724LIBS="-lfdatetime  $LIBS"
46725cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46726/* end confdefs.h.  */
46727
46728/* Override any GCC internal prototype to avoid an error.
46729   Use char because int might match the return type of a GCC
46730   builtin and then its argument prototype would still apply.  */
46731#ifdef __cplusplus
46732extern "C"
46733#endif
46734char libfdatetime_hfs_time_copy_to_utf16_string_with_index ();
46735int
46736main ()
46737{
46738return libfdatetime_hfs_time_copy_to_utf16_string_with_index ();
46739  ;
46740  return 0;
46741}
46742_ACEOF
46743if ac_fn_c_try_link "$LINENO"; then :
46744  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=yes
46745else
46746  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=no
46747fi
46748rm -f core conftest.err conftest.$ac_objext \
46749    conftest$ac_exeext conftest.$ac_ext
46750LIBS=$ac_check_lib_save_LIBS
46751fi
46752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&5
46753$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&6; }
46754if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" = xyes; then :
46755  ac_cv_libfdatetime_dummy=yes
46756else
46757  ac_cv_libfdatetime=no
46758fi
46759
46760        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime" >&5
46761$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime... " >&6; }
46762if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string+:} false; then :
46763  $as_echo_n "(cached) " >&6
46764else
46765  ac_check_lib_save_LIBS=$LIBS
46766LIBS="-lfdatetime  $LIBS"
46767cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46768/* end confdefs.h.  */
46769
46770/* Override any GCC internal prototype to avoid an error.
46771   Use char because int might match the return type of a GCC
46772   builtin and then its argument prototype would still apply.  */
46773#ifdef __cplusplus
46774extern "C"
46775#endif
46776char libfdatetime_hfs_time_copy_to_utf32_string ();
46777int
46778main ()
46779{
46780return libfdatetime_hfs_time_copy_to_utf32_string ();
46781  ;
46782  return 0;
46783}
46784_ACEOF
46785if ac_fn_c_try_link "$LINENO"; then :
46786  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=yes
46787else
46788  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=no
46789fi
46790rm -f core conftest.err conftest.$ac_objext \
46791    conftest$ac_exeext conftest.$ac_ext
46792LIBS=$ac_check_lib_save_LIBS
46793fi
46794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&5
46795$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&6; }
46796if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" = xyes; then :
46797  ac_cv_libfdatetime_dummy=yes
46798else
46799  ac_cv_libfdatetime=no
46800fi
46801
46802        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime" >&5
46803$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
46804if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index+:} false; then :
46805  $as_echo_n "(cached) " >&6
46806else
46807  ac_check_lib_save_LIBS=$LIBS
46808LIBS="-lfdatetime  $LIBS"
46809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46810/* end confdefs.h.  */
46811
46812/* Override any GCC internal prototype to avoid an error.
46813   Use char because int might match the return type of a GCC
46814   builtin and then its argument prototype would still apply.  */
46815#ifdef __cplusplus
46816extern "C"
46817#endif
46818char libfdatetime_hfs_time_copy_to_utf32_string_with_index ();
46819int
46820main ()
46821{
46822return libfdatetime_hfs_time_copy_to_utf32_string_with_index ();
46823  ;
46824  return 0;
46825}
46826_ACEOF
46827if ac_fn_c_try_link "$LINENO"; then :
46828  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=yes
46829else
46830  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=no
46831fi
46832rm -f core conftest.err conftest.$ac_objext \
46833    conftest$ac_exeext conftest.$ac_ext
46834LIBS=$ac_check_lib_save_LIBS
46835fi
46836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&5
46837$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&6; }
46838if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" = xyes; then :
46839  ac_cv_libfdatetime_dummy=yes
46840else
46841  ac_cv_libfdatetime=no
46842fi
46843
46844
46845                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_initialize in -lfdatetime" >&5
46846$as_echo_n "checking for libfdatetime_nsf_timedate_initialize in -lfdatetime... " >&6; }
46847if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize+:} false; then :
46848  $as_echo_n "(cached) " >&6
46849else
46850  ac_check_lib_save_LIBS=$LIBS
46851LIBS="-lfdatetime  $LIBS"
46852cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46853/* end confdefs.h.  */
46854
46855/* Override any GCC internal prototype to avoid an error.
46856   Use char because int might match the return type of a GCC
46857   builtin and then its argument prototype would still apply.  */
46858#ifdef __cplusplus
46859extern "C"
46860#endif
46861char libfdatetime_nsf_timedate_initialize ();
46862int
46863main ()
46864{
46865return libfdatetime_nsf_timedate_initialize ();
46866  ;
46867  return 0;
46868}
46869_ACEOF
46870if ac_fn_c_try_link "$LINENO"; then :
46871  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=yes
46872else
46873  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=no
46874fi
46875rm -f core conftest.err conftest.$ac_objext \
46876    conftest$ac_exeext conftest.$ac_ext
46877LIBS=$ac_check_lib_save_LIBS
46878fi
46879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&5
46880$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&6; }
46881if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" = xyes; then :
46882  ac_cv_libfdatetime_dummy=yes
46883else
46884  ac_cv_libfdatetime=no
46885fi
46886
46887        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_free in -lfdatetime" >&5
46888$as_echo_n "checking for libfdatetime_nsf_timedate_free in -lfdatetime... " >&6; }
46889if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free+:} false; then :
46890  $as_echo_n "(cached) " >&6
46891else
46892  ac_check_lib_save_LIBS=$LIBS
46893LIBS="-lfdatetime  $LIBS"
46894cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46895/* end confdefs.h.  */
46896
46897/* Override any GCC internal prototype to avoid an error.
46898   Use char because int might match the return type of a GCC
46899   builtin and then its argument prototype would still apply.  */
46900#ifdef __cplusplus
46901extern "C"
46902#endif
46903char libfdatetime_nsf_timedate_free ();
46904int
46905main ()
46906{
46907return libfdatetime_nsf_timedate_free ();
46908  ;
46909  return 0;
46910}
46911_ACEOF
46912if ac_fn_c_try_link "$LINENO"; then :
46913  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=yes
46914else
46915  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=no
46916fi
46917rm -f core conftest.err conftest.$ac_objext \
46918    conftest$ac_exeext conftest.$ac_ext
46919LIBS=$ac_check_lib_save_LIBS
46920fi
46921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&5
46922$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&6; }
46923if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" = xyes; then :
46924  ac_cv_libfdatetime_dummy=yes
46925else
46926  ac_cv_libfdatetime=no
46927fi
46928
46929        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime" >&5
46930$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime... " >&6; }
46931if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream+:} false; then :
46932  $as_echo_n "(cached) " >&6
46933else
46934  ac_check_lib_save_LIBS=$LIBS
46935LIBS="-lfdatetime  $LIBS"
46936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46937/* end confdefs.h.  */
46938
46939/* Override any GCC internal prototype to avoid an error.
46940   Use char because int might match the return type of a GCC
46941   builtin and then its argument prototype would still apply.  */
46942#ifdef __cplusplus
46943extern "C"
46944#endif
46945char libfdatetime_nsf_timedate_copy_from_byte_stream ();
46946int
46947main ()
46948{
46949return libfdatetime_nsf_timedate_copy_from_byte_stream ();
46950  ;
46951  return 0;
46952}
46953_ACEOF
46954if ac_fn_c_try_link "$LINENO"; then :
46955  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=yes
46956else
46957  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=no
46958fi
46959rm -f core conftest.err conftest.$ac_objext \
46960    conftest$ac_exeext conftest.$ac_ext
46961LIBS=$ac_check_lib_save_LIBS
46962fi
46963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&5
46964$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&6; }
46965if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" = xyes; then :
46966  ac_cv_libfdatetime_dummy=yes
46967else
46968  ac_cv_libfdatetime=no
46969fi
46970
46971        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime" >&5
46972$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime... " >&6; }
46973if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit+:} false; then :
46974  $as_echo_n "(cached) " >&6
46975else
46976  ac_check_lib_save_LIBS=$LIBS
46977LIBS="-lfdatetime  $LIBS"
46978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46979/* end confdefs.h.  */
46980
46981/* Override any GCC internal prototype to avoid an error.
46982   Use char because int might match the return type of a GCC
46983   builtin and then its argument prototype would still apply.  */
46984#ifdef __cplusplus
46985extern "C"
46986#endif
46987char libfdatetime_nsf_timedate_copy_from_64bit ();
46988int
46989main ()
46990{
46991return libfdatetime_nsf_timedate_copy_from_64bit ();
46992  ;
46993  return 0;
46994}
46995_ACEOF
46996if ac_fn_c_try_link "$LINENO"; then :
46997  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=yes
46998else
46999  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=no
47000fi
47001rm -f core conftest.err conftest.$ac_objext \
47002    conftest$ac_exeext conftest.$ac_ext
47003LIBS=$ac_check_lib_save_LIBS
47004fi
47005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&5
47006$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&6; }
47007if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" = xyes; then :
47008  ac_cv_libfdatetime_dummy=yes
47009else
47010  ac_cv_libfdatetime=no
47011fi
47012
47013        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime" >&5
47014$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime... " >&6; }
47015if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit+:} false; then :
47016  $as_echo_n "(cached) " >&6
47017else
47018  ac_check_lib_save_LIBS=$LIBS
47019LIBS="-lfdatetime  $LIBS"
47020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021/* end confdefs.h.  */
47022
47023/* Override any GCC internal prototype to avoid an error.
47024   Use char because int might match the return type of a GCC
47025   builtin and then its argument prototype would still apply.  */
47026#ifdef __cplusplus
47027extern "C"
47028#endif
47029char libfdatetime_nsf_timedate_copy_to_64bit ();
47030int
47031main ()
47032{
47033return libfdatetime_nsf_timedate_copy_to_64bit ();
47034  ;
47035  return 0;
47036}
47037_ACEOF
47038if ac_fn_c_try_link "$LINENO"; then :
47039  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=yes
47040else
47041  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=no
47042fi
47043rm -f core conftest.err conftest.$ac_objext \
47044    conftest$ac_exeext conftest.$ac_ext
47045LIBS=$ac_check_lib_save_LIBS
47046fi
47047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&5
47048$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&6; }
47049if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" = xyes; then :
47050  ac_cv_libfdatetime_dummy=yes
47051else
47052  ac_cv_libfdatetime=no
47053fi
47054
47055        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime" >&5
47056$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime... " >&6; }
47057if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string+:} false; then :
47058  $as_echo_n "(cached) " >&6
47059else
47060  ac_check_lib_save_LIBS=$LIBS
47061LIBS="-lfdatetime  $LIBS"
47062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47063/* end confdefs.h.  */
47064
47065/* Override any GCC internal prototype to avoid an error.
47066   Use char because int might match the return type of a GCC
47067   builtin and then its argument prototype would still apply.  */
47068#ifdef __cplusplus
47069extern "C"
47070#endif
47071char libfdatetime_nsf_timedate_copy_to_utf8_string ();
47072int
47073main ()
47074{
47075return libfdatetime_nsf_timedate_copy_to_utf8_string ();
47076  ;
47077  return 0;
47078}
47079_ACEOF
47080if ac_fn_c_try_link "$LINENO"; then :
47081  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=yes
47082else
47083  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=no
47084fi
47085rm -f core conftest.err conftest.$ac_objext \
47086    conftest$ac_exeext conftest.$ac_ext
47087LIBS=$ac_check_lib_save_LIBS
47088fi
47089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&5
47090$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&6; }
47091if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" = xyes; then :
47092  ac_cv_libfdatetime_dummy=yes
47093else
47094  ac_cv_libfdatetime=no
47095fi
47096
47097        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime" >&5
47098$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
47099if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index+:} false; then :
47100  $as_echo_n "(cached) " >&6
47101else
47102  ac_check_lib_save_LIBS=$LIBS
47103LIBS="-lfdatetime  $LIBS"
47104cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105/* end confdefs.h.  */
47106
47107/* Override any GCC internal prototype to avoid an error.
47108   Use char because int might match the return type of a GCC
47109   builtin and then its argument prototype would still apply.  */
47110#ifdef __cplusplus
47111extern "C"
47112#endif
47113char libfdatetime_nsf_timedate_copy_to_utf8_string_with_index ();
47114int
47115main ()
47116{
47117return libfdatetime_nsf_timedate_copy_to_utf8_string_with_index ();
47118  ;
47119  return 0;
47120}
47121_ACEOF
47122if ac_fn_c_try_link "$LINENO"; then :
47123  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=yes
47124else
47125  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=no
47126fi
47127rm -f core conftest.err conftest.$ac_objext \
47128    conftest$ac_exeext conftest.$ac_ext
47129LIBS=$ac_check_lib_save_LIBS
47130fi
47131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&5
47132$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&6; }
47133if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" = xyes; then :
47134  ac_cv_libfdatetime_dummy=yes
47135else
47136  ac_cv_libfdatetime=no
47137fi
47138
47139        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime" >&5
47140$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime... " >&6; }
47141if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string+:} false; then :
47142  $as_echo_n "(cached) " >&6
47143else
47144  ac_check_lib_save_LIBS=$LIBS
47145LIBS="-lfdatetime  $LIBS"
47146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47147/* end confdefs.h.  */
47148
47149/* Override any GCC internal prototype to avoid an error.
47150   Use char because int might match the return type of a GCC
47151   builtin and then its argument prototype would still apply.  */
47152#ifdef __cplusplus
47153extern "C"
47154#endif
47155char libfdatetime_nsf_timedate_copy_to_utf16_string ();
47156int
47157main ()
47158{
47159return libfdatetime_nsf_timedate_copy_to_utf16_string ();
47160  ;
47161  return 0;
47162}
47163_ACEOF
47164if ac_fn_c_try_link "$LINENO"; then :
47165  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=yes
47166else
47167  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=no
47168fi
47169rm -f core conftest.err conftest.$ac_objext \
47170    conftest$ac_exeext conftest.$ac_ext
47171LIBS=$ac_check_lib_save_LIBS
47172fi
47173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&5
47174$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&6; }
47175if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" = xyes; then :
47176  ac_cv_libfdatetime_dummy=yes
47177else
47178  ac_cv_libfdatetime=no
47179fi
47180
47181        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime" >&5
47182$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
47183if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index+:} false; then :
47184  $as_echo_n "(cached) " >&6
47185else
47186  ac_check_lib_save_LIBS=$LIBS
47187LIBS="-lfdatetime  $LIBS"
47188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47189/* end confdefs.h.  */
47190
47191/* Override any GCC internal prototype to avoid an error.
47192   Use char because int might match the return type of a GCC
47193   builtin and then its argument prototype would still apply.  */
47194#ifdef __cplusplus
47195extern "C"
47196#endif
47197char libfdatetime_nsf_timedate_copy_to_utf16_string_with_index ();
47198int
47199main ()
47200{
47201return libfdatetime_nsf_timedate_copy_to_utf16_string_with_index ();
47202  ;
47203  return 0;
47204}
47205_ACEOF
47206if ac_fn_c_try_link "$LINENO"; then :
47207  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=yes
47208else
47209  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=no
47210fi
47211rm -f core conftest.err conftest.$ac_objext \
47212    conftest$ac_exeext conftest.$ac_ext
47213LIBS=$ac_check_lib_save_LIBS
47214fi
47215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&5
47216$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&6; }
47217if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" = xyes; then :
47218  ac_cv_libfdatetime_dummy=yes
47219else
47220  ac_cv_libfdatetime=no
47221fi
47222
47223        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime" >&5
47224$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime... " >&6; }
47225if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string+:} false; then :
47226  $as_echo_n "(cached) " >&6
47227else
47228  ac_check_lib_save_LIBS=$LIBS
47229LIBS="-lfdatetime  $LIBS"
47230cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231/* end confdefs.h.  */
47232
47233/* Override any GCC internal prototype to avoid an error.
47234   Use char because int might match the return type of a GCC
47235   builtin and then its argument prototype would still apply.  */
47236#ifdef __cplusplus
47237extern "C"
47238#endif
47239char libfdatetime_nsf_timedate_copy_to_utf32_string ();
47240int
47241main ()
47242{
47243return libfdatetime_nsf_timedate_copy_to_utf32_string ();
47244  ;
47245  return 0;
47246}
47247_ACEOF
47248if ac_fn_c_try_link "$LINENO"; then :
47249  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=yes
47250else
47251  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=no
47252fi
47253rm -f core conftest.err conftest.$ac_objext \
47254    conftest$ac_exeext conftest.$ac_ext
47255LIBS=$ac_check_lib_save_LIBS
47256fi
47257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&5
47258$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&6; }
47259if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" = xyes; then :
47260  ac_cv_libfdatetime_dummy=yes
47261else
47262  ac_cv_libfdatetime=no
47263fi
47264
47265        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime" >&5
47266$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
47267if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index+:} false; then :
47268  $as_echo_n "(cached) " >&6
47269else
47270  ac_check_lib_save_LIBS=$LIBS
47271LIBS="-lfdatetime  $LIBS"
47272cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47273/* end confdefs.h.  */
47274
47275/* Override any GCC internal prototype to avoid an error.
47276   Use char because int might match the return type of a GCC
47277   builtin and then its argument prototype would still apply.  */
47278#ifdef __cplusplus
47279extern "C"
47280#endif
47281char libfdatetime_nsf_timedate_copy_to_utf32_string_with_index ();
47282int
47283main ()
47284{
47285return libfdatetime_nsf_timedate_copy_to_utf32_string_with_index ();
47286  ;
47287  return 0;
47288}
47289_ACEOF
47290if ac_fn_c_try_link "$LINENO"; then :
47291  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=yes
47292else
47293  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=no
47294fi
47295rm -f core conftest.err conftest.$ac_objext \
47296    conftest$ac_exeext conftest.$ac_ext
47297LIBS=$ac_check_lib_save_LIBS
47298fi
47299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&5
47300$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&6; }
47301if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" = xyes; then :
47302  ac_cv_libfdatetime_dummy=yes
47303else
47304  ac_cv_libfdatetime=no
47305fi
47306
47307
47308                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_initialize in -lfdatetime" >&5
47309$as_echo_n "checking for libfdatetime_posix_time_initialize in -lfdatetime... " >&6; }
47310if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize+:} false; then :
47311  $as_echo_n "(cached) " >&6
47312else
47313  ac_check_lib_save_LIBS=$LIBS
47314LIBS="-lfdatetime  $LIBS"
47315cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47316/* end confdefs.h.  */
47317
47318/* Override any GCC internal prototype to avoid an error.
47319   Use char because int might match the return type of a GCC
47320   builtin and then its argument prototype would still apply.  */
47321#ifdef __cplusplus
47322extern "C"
47323#endif
47324char libfdatetime_posix_time_initialize ();
47325int
47326main ()
47327{
47328return libfdatetime_posix_time_initialize ();
47329  ;
47330  return 0;
47331}
47332_ACEOF
47333if ac_fn_c_try_link "$LINENO"; then :
47334  ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=yes
47335else
47336  ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=no
47337fi
47338rm -f core conftest.err conftest.$ac_objext \
47339    conftest$ac_exeext conftest.$ac_ext
47340LIBS=$ac_check_lib_save_LIBS
47341fi
47342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&5
47343$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&6; }
47344if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" = xyes; then :
47345  ac_cv_libfdatetime_dummy=yes
47346else
47347  ac_cv_libfdatetime=no
47348fi
47349
47350        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_free in -lfdatetime" >&5
47351$as_echo_n "checking for libfdatetime_posix_time_free in -lfdatetime... " >&6; }
47352if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_free+:} false; then :
47353  $as_echo_n "(cached) " >&6
47354else
47355  ac_check_lib_save_LIBS=$LIBS
47356LIBS="-lfdatetime  $LIBS"
47357cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47358/* end confdefs.h.  */
47359
47360/* Override any GCC internal prototype to avoid an error.
47361   Use char because int might match the return type of a GCC
47362   builtin and then its argument prototype would still apply.  */
47363#ifdef __cplusplus
47364extern "C"
47365#endif
47366char libfdatetime_posix_time_free ();
47367int
47368main ()
47369{
47370return libfdatetime_posix_time_free ();
47371  ;
47372  return 0;
47373}
47374_ACEOF
47375if ac_fn_c_try_link "$LINENO"; then :
47376  ac_cv_lib_fdatetime_libfdatetime_posix_time_free=yes
47377else
47378  ac_cv_lib_fdatetime_libfdatetime_posix_time_free=no
47379fi
47380rm -f core conftest.err conftest.$ac_objext \
47381    conftest$ac_exeext conftest.$ac_ext
47382LIBS=$ac_check_lib_save_LIBS
47383fi
47384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&5
47385$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&6; }
47386if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" = xyes; then :
47387  ac_cv_libfdatetime_dummy=yes
47388else
47389  ac_cv_libfdatetime=no
47390fi
47391
47392        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime" >&5
47393$as_echo_n "checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime... " >&6; }
47394if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream+:} false; then :
47395  $as_echo_n "(cached) " >&6
47396else
47397  ac_check_lib_save_LIBS=$LIBS
47398LIBS="-lfdatetime  $LIBS"
47399cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47400/* end confdefs.h.  */
47401
47402/* Override any GCC internal prototype to avoid an error.
47403   Use char because int might match the return type of a GCC
47404   builtin and then its argument prototype would still apply.  */
47405#ifdef __cplusplus
47406extern "C"
47407#endif
47408char libfdatetime_posix_time_copy_from_byte_stream ();
47409int
47410main ()
47411{
47412return libfdatetime_posix_time_copy_from_byte_stream ();
47413  ;
47414  return 0;
47415}
47416_ACEOF
47417if ac_fn_c_try_link "$LINENO"; then :
47418  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=yes
47419else
47420  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=no
47421fi
47422rm -f core conftest.err conftest.$ac_objext \
47423    conftest$ac_exeext conftest.$ac_ext
47424LIBS=$ac_check_lib_save_LIBS
47425fi
47426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&5
47427$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&6; }
47428if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" = xyes; then :
47429  ac_cv_libfdatetime_dummy=yes
47430else
47431  ac_cv_libfdatetime=no
47432fi
47433
47434        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime" >&5
47435$as_echo_n "checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime... " >&6; }
47436if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit+:} false; then :
47437  $as_echo_n "(cached) " >&6
47438else
47439  ac_check_lib_save_LIBS=$LIBS
47440LIBS="-lfdatetime  $LIBS"
47441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47442/* end confdefs.h.  */
47443
47444/* Override any GCC internal prototype to avoid an error.
47445   Use char because int might match the return type of a GCC
47446   builtin and then its argument prototype would still apply.  */
47447#ifdef __cplusplus
47448extern "C"
47449#endif
47450char libfdatetime_posix_time_copy_from_32bit ();
47451int
47452main ()
47453{
47454return libfdatetime_posix_time_copy_from_32bit ();
47455  ;
47456  return 0;
47457}
47458_ACEOF
47459if ac_fn_c_try_link "$LINENO"; then :
47460  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=yes
47461else
47462  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=no
47463fi
47464rm -f core conftest.err conftest.$ac_objext \
47465    conftest$ac_exeext conftest.$ac_ext
47466LIBS=$ac_check_lib_save_LIBS
47467fi
47468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&5
47469$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&6; }
47470if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" = xyes; then :
47471  ac_cv_libfdatetime_dummy=yes
47472else
47473  ac_cv_libfdatetime=no
47474fi
47475
47476        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime" >&5
47477$as_echo_n "checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime... " >&6; }
47478if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit+:} false; then :
47479  $as_echo_n "(cached) " >&6
47480else
47481  ac_check_lib_save_LIBS=$LIBS
47482LIBS="-lfdatetime  $LIBS"
47483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47484/* end confdefs.h.  */
47485
47486/* Override any GCC internal prototype to avoid an error.
47487   Use char because int might match the return type of a GCC
47488   builtin and then its argument prototype would still apply.  */
47489#ifdef __cplusplus
47490extern "C"
47491#endif
47492char libfdatetime_posix_time_copy_to_32bit ();
47493int
47494main ()
47495{
47496return libfdatetime_posix_time_copy_to_32bit ();
47497  ;
47498  return 0;
47499}
47500_ACEOF
47501if ac_fn_c_try_link "$LINENO"; then :
47502  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=yes
47503else
47504  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=no
47505fi
47506rm -f core conftest.err conftest.$ac_objext \
47507    conftest$ac_exeext conftest.$ac_ext
47508LIBS=$ac_check_lib_save_LIBS
47509fi
47510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&5
47511$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&6; }
47512if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" = xyes; then :
47513  ac_cv_libfdatetime_dummy=yes
47514else
47515  ac_cv_libfdatetime=no
47516fi
47517
47518        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime" >&5
47519$as_echo_n "checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime... " >&6; }
47520if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit+:} false; then :
47521  $as_echo_n "(cached) " >&6
47522else
47523  ac_check_lib_save_LIBS=$LIBS
47524LIBS="-lfdatetime  $LIBS"
47525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47526/* end confdefs.h.  */
47527
47528/* Override any GCC internal prototype to avoid an error.
47529   Use char because int might match the return type of a GCC
47530   builtin and then its argument prototype would still apply.  */
47531#ifdef __cplusplus
47532extern "C"
47533#endif
47534char libfdatetime_posix_time_copy_from_64bit ();
47535int
47536main ()
47537{
47538return libfdatetime_posix_time_copy_from_64bit ();
47539  ;
47540  return 0;
47541}
47542_ACEOF
47543if ac_fn_c_try_link "$LINENO"; then :
47544  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=yes
47545else
47546  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=no
47547fi
47548rm -f core conftest.err conftest.$ac_objext \
47549    conftest$ac_exeext conftest.$ac_ext
47550LIBS=$ac_check_lib_save_LIBS
47551fi
47552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&5
47553$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&6; }
47554if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" = xyes; then :
47555  ac_cv_libfdatetime_dummy=yes
47556else
47557  ac_cv_libfdatetime=no
47558fi
47559
47560        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime" >&5
47561$as_echo_n "checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime... " >&6; }
47562if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit+:} false; then :
47563  $as_echo_n "(cached) " >&6
47564else
47565  ac_check_lib_save_LIBS=$LIBS
47566LIBS="-lfdatetime  $LIBS"
47567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47568/* end confdefs.h.  */
47569
47570/* Override any GCC internal prototype to avoid an error.
47571   Use char because int might match the return type of a GCC
47572   builtin and then its argument prototype would still apply.  */
47573#ifdef __cplusplus
47574extern "C"
47575#endif
47576char libfdatetime_posix_time_copy_to_64bit ();
47577int
47578main ()
47579{
47580return libfdatetime_posix_time_copy_to_64bit ();
47581  ;
47582  return 0;
47583}
47584_ACEOF
47585if ac_fn_c_try_link "$LINENO"; then :
47586  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=yes
47587else
47588  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=no
47589fi
47590rm -f core conftest.err conftest.$ac_objext \
47591    conftest$ac_exeext conftest.$ac_ext
47592LIBS=$ac_check_lib_save_LIBS
47593fi
47594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&5
47595$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&6; }
47596if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" = xyes; then :
47597  ac_cv_libfdatetime_dummy=yes
47598else
47599  ac_cv_libfdatetime=no
47600fi
47601
47602        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime" >&5
47603$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime... " >&6; }
47604if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string+:} false; then :
47605  $as_echo_n "(cached) " >&6
47606else
47607  ac_check_lib_save_LIBS=$LIBS
47608LIBS="-lfdatetime  $LIBS"
47609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47610/* end confdefs.h.  */
47611
47612/* Override any GCC internal prototype to avoid an error.
47613   Use char because int might match the return type of a GCC
47614   builtin and then its argument prototype would still apply.  */
47615#ifdef __cplusplus
47616extern "C"
47617#endif
47618char libfdatetime_posix_time_copy_to_utf8_string ();
47619int
47620main ()
47621{
47622return libfdatetime_posix_time_copy_to_utf8_string ();
47623  ;
47624  return 0;
47625}
47626_ACEOF
47627if ac_fn_c_try_link "$LINENO"; then :
47628  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=yes
47629else
47630  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=no
47631fi
47632rm -f core conftest.err conftest.$ac_objext \
47633    conftest$ac_exeext conftest.$ac_ext
47634LIBS=$ac_check_lib_save_LIBS
47635fi
47636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&5
47637$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&6; }
47638if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" = xyes; then :
47639  ac_cv_libfdatetime_dummy=yes
47640else
47641  ac_cv_libfdatetime=no
47642fi
47643
47644        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime" >&5
47645$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
47646if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index+:} false; then :
47647  $as_echo_n "(cached) " >&6
47648else
47649  ac_check_lib_save_LIBS=$LIBS
47650LIBS="-lfdatetime  $LIBS"
47651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47652/* end confdefs.h.  */
47653
47654/* Override any GCC internal prototype to avoid an error.
47655   Use char because int might match the return type of a GCC
47656   builtin and then its argument prototype would still apply.  */
47657#ifdef __cplusplus
47658extern "C"
47659#endif
47660char libfdatetime_posix_time_copy_to_utf8_string_with_index ();
47661int
47662main ()
47663{
47664return libfdatetime_posix_time_copy_to_utf8_string_with_index ();
47665  ;
47666  return 0;
47667}
47668_ACEOF
47669if ac_fn_c_try_link "$LINENO"; then :
47670  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=yes
47671else
47672  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=no
47673fi
47674rm -f core conftest.err conftest.$ac_objext \
47675    conftest$ac_exeext conftest.$ac_ext
47676LIBS=$ac_check_lib_save_LIBS
47677fi
47678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&5
47679$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&6; }
47680if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" = xyes; then :
47681  ac_cv_libfdatetime_dummy=yes
47682else
47683  ac_cv_libfdatetime=no
47684fi
47685
47686        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime" >&5
47687$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime... " >&6; }
47688if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string+:} false; then :
47689  $as_echo_n "(cached) " >&6
47690else
47691  ac_check_lib_save_LIBS=$LIBS
47692LIBS="-lfdatetime  $LIBS"
47693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47694/* end confdefs.h.  */
47695
47696/* Override any GCC internal prototype to avoid an error.
47697   Use char because int might match the return type of a GCC
47698   builtin and then its argument prototype would still apply.  */
47699#ifdef __cplusplus
47700extern "C"
47701#endif
47702char libfdatetime_posix_time_copy_to_utf16_string ();
47703int
47704main ()
47705{
47706return libfdatetime_posix_time_copy_to_utf16_string ();
47707  ;
47708  return 0;
47709}
47710_ACEOF
47711if ac_fn_c_try_link "$LINENO"; then :
47712  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=yes
47713else
47714  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=no
47715fi
47716rm -f core conftest.err conftest.$ac_objext \
47717    conftest$ac_exeext conftest.$ac_ext
47718LIBS=$ac_check_lib_save_LIBS
47719fi
47720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&5
47721$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&6; }
47722if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" = xyes; then :
47723  ac_cv_libfdatetime_dummy=yes
47724else
47725  ac_cv_libfdatetime=no
47726fi
47727
47728        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime" >&5
47729$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
47730if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index+:} false; then :
47731  $as_echo_n "(cached) " >&6
47732else
47733  ac_check_lib_save_LIBS=$LIBS
47734LIBS="-lfdatetime  $LIBS"
47735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47736/* end confdefs.h.  */
47737
47738/* Override any GCC internal prototype to avoid an error.
47739   Use char because int might match the return type of a GCC
47740   builtin and then its argument prototype would still apply.  */
47741#ifdef __cplusplus
47742extern "C"
47743#endif
47744char libfdatetime_posix_time_copy_to_utf16_string_with_index ();
47745int
47746main ()
47747{
47748return libfdatetime_posix_time_copy_to_utf16_string_with_index ();
47749  ;
47750  return 0;
47751}
47752_ACEOF
47753if ac_fn_c_try_link "$LINENO"; then :
47754  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=yes
47755else
47756  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=no
47757fi
47758rm -f core conftest.err conftest.$ac_objext \
47759    conftest$ac_exeext conftest.$ac_ext
47760LIBS=$ac_check_lib_save_LIBS
47761fi
47762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&5
47763$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&6; }
47764if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" = xyes; then :
47765  ac_cv_libfdatetime_dummy=yes
47766else
47767  ac_cv_libfdatetime=no
47768fi
47769
47770        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime" >&5
47771$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime... " >&6; }
47772if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string+:} false; then :
47773  $as_echo_n "(cached) " >&6
47774else
47775  ac_check_lib_save_LIBS=$LIBS
47776LIBS="-lfdatetime  $LIBS"
47777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47778/* end confdefs.h.  */
47779
47780/* Override any GCC internal prototype to avoid an error.
47781   Use char because int might match the return type of a GCC
47782   builtin and then its argument prototype would still apply.  */
47783#ifdef __cplusplus
47784extern "C"
47785#endif
47786char libfdatetime_posix_time_copy_to_utf32_string ();
47787int
47788main ()
47789{
47790return libfdatetime_posix_time_copy_to_utf32_string ();
47791  ;
47792  return 0;
47793}
47794_ACEOF
47795if ac_fn_c_try_link "$LINENO"; then :
47796  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=yes
47797else
47798  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=no
47799fi
47800rm -f core conftest.err conftest.$ac_objext \
47801    conftest$ac_exeext conftest.$ac_ext
47802LIBS=$ac_check_lib_save_LIBS
47803fi
47804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&5
47805$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&6; }
47806if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" = xyes; then :
47807  ac_cv_libfdatetime_dummy=yes
47808else
47809  ac_cv_libfdatetime=no
47810fi
47811
47812        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime" >&5
47813$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
47814if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index+:} false; then :
47815  $as_echo_n "(cached) " >&6
47816else
47817  ac_check_lib_save_LIBS=$LIBS
47818LIBS="-lfdatetime  $LIBS"
47819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47820/* end confdefs.h.  */
47821
47822/* Override any GCC internal prototype to avoid an error.
47823   Use char because int might match the return type of a GCC
47824   builtin and then its argument prototype would still apply.  */
47825#ifdef __cplusplus
47826extern "C"
47827#endif
47828char libfdatetime_posix_time_copy_to_utf32_string_with_index ();
47829int
47830main ()
47831{
47832return libfdatetime_posix_time_copy_to_utf32_string_with_index ();
47833  ;
47834  return 0;
47835}
47836_ACEOF
47837if ac_fn_c_try_link "$LINENO"; then :
47838  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=yes
47839else
47840  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=no
47841fi
47842rm -f core conftest.err conftest.$ac_objext \
47843    conftest$ac_exeext conftest.$ac_ext
47844LIBS=$ac_check_lib_save_LIBS
47845fi
47846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&5
47847$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&6; }
47848if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" = xyes; then :
47849  ac_cv_libfdatetime_dummy=yes
47850else
47851  ac_cv_libfdatetime=no
47852fi
47853
47854
47855                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_initialize in -lfdatetime" >&5
47856$as_echo_n "checking for libfdatetime_systemetime_initialize in -lfdatetime... " >&6; }
47857if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize+:} false; then :
47858  $as_echo_n "(cached) " >&6
47859else
47860  ac_check_lib_save_LIBS=$LIBS
47861LIBS="-lfdatetime  $LIBS"
47862cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47863/* end confdefs.h.  */
47864
47865/* Override any GCC internal prototype to avoid an error.
47866   Use char because int might match the return type of a GCC
47867   builtin and then its argument prototype would still apply.  */
47868#ifdef __cplusplus
47869extern "C"
47870#endif
47871char libfdatetime_systemetime_initialize ();
47872int
47873main ()
47874{
47875return libfdatetime_systemetime_initialize ();
47876  ;
47877  return 0;
47878}
47879_ACEOF
47880if ac_fn_c_try_link "$LINENO"; then :
47881  ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=yes
47882else
47883  ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=no
47884fi
47885rm -f core conftest.err conftest.$ac_objext \
47886    conftest$ac_exeext conftest.$ac_ext
47887LIBS=$ac_check_lib_save_LIBS
47888fi
47889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&5
47890$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&6; }
47891if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" = xyes; then :
47892  ac_cv_libfdatetime_dummy=yes
47893else
47894  ac_cv_libfdatetime=no
47895fi
47896
47897        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_free in -lfdatetime" >&5
47898$as_echo_n "checking for libfdatetime_systemetime_free in -lfdatetime... " >&6; }
47899if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_free+:} false; then :
47900  $as_echo_n "(cached) " >&6
47901else
47902  ac_check_lib_save_LIBS=$LIBS
47903LIBS="-lfdatetime  $LIBS"
47904cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47905/* end confdefs.h.  */
47906
47907/* Override any GCC internal prototype to avoid an error.
47908   Use char because int might match the return type of a GCC
47909   builtin and then its argument prototype would still apply.  */
47910#ifdef __cplusplus
47911extern "C"
47912#endif
47913char libfdatetime_systemetime_free ();
47914int
47915main ()
47916{
47917return libfdatetime_systemetime_free ();
47918  ;
47919  return 0;
47920}
47921_ACEOF
47922if ac_fn_c_try_link "$LINENO"; then :
47923  ac_cv_lib_fdatetime_libfdatetime_systemetime_free=yes
47924else
47925  ac_cv_lib_fdatetime_libfdatetime_systemetime_free=no
47926fi
47927rm -f core conftest.err conftest.$ac_objext \
47928    conftest$ac_exeext conftest.$ac_ext
47929LIBS=$ac_check_lib_save_LIBS
47930fi
47931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&5
47932$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&6; }
47933if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" = xyes; then :
47934  ac_cv_libfdatetime_dummy=yes
47935else
47936  ac_cv_libfdatetime=no
47937fi
47938
47939        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime" >&5
47940$as_echo_n "checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime... " >&6; }
47941if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream+:} false; then :
47942  $as_echo_n "(cached) " >&6
47943else
47944  ac_check_lib_save_LIBS=$LIBS
47945LIBS="-lfdatetime  $LIBS"
47946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47947/* end confdefs.h.  */
47948
47949/* Override any GCC internal prototype to avoid an error.
47950   Use char because int might match the return type of a GCC
47951   builtin and then its argument prototype would still apply.  */
47952#ifdef __cplusplus
47953extern "C"
47954#endif
47955char libfdatetime_systemetime_copy_from_byte_stream ();
47956int
47957main ()
47958{
47959return libfdatetime_systemetime_copy_from_byte_stream ();
47960  ;
47961  return 0;
47962}
47963_ACEOF
47964if ac_fn_c_try_link "$LINENO"; then :
47965  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=yes
47966else
47967  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=no
47968fi
47969rm -f core conftest.err conftest.$ac_objext \
47970    conftest$ac_exeext conftest.$ac_ext
47971LIBS=$ac_check_lib_save_LIBS
47972fi
47973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&5
47974$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&6; }
47975if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" = xyes; then :
47976  ac_cv_libfdatetime_dummy=yes
47977else
47978  ac_cv_libfdatetime=no
47979fi
47980
47981        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime" >&5
47982$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime... " >&6; }
47983if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string+:} false; then :
47984  $as_echo_n "(cached) " >&6
47985else
47986  ac_check_lib_save_LIBS=$LIBS
47987LIBS="-lfdatetime  $LIBS"
47988cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47989/* end confdefs.h.  */
47990
47991/* Override any GCC internal prototype to avoid an error.
47992   Use char because int might match the return type of a GCC
47993   builtin and then its argument prototype would still apply.  */
47994#ifdef __cplusplus
47995extern "C"
47996#endif
47997char libfdatetime_systemetime_copy_to_utf8_string ();
47998int
47999main ()
48000{
48001return libfdatetime_systemetime_copy_to_utf8_string ();
48002  ;
48003  return 0;
48004}
48005_ACEOF
48006if ac_fn_c_try_link "$LINENO"; then :
48007  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=yes
48008else
48009  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=no
48010fi
48011rm -f core conftest.err conftest.$ac_objext \
48012    conftest$ac_exeext conftest.$ac_ext
48013LIBS=$ac_check_lib_save_LIBS
48014fi
48015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&5
48016$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&6; }
48017if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" = xyes; then :
48018  ac_cv_libfdatetime_dummy=yes
48019else
48020  ac_cv_libfdatetime=no
48021fi
48022
48023        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime" >&5
48024$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
48025if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index+:} false; then :
48026  $as_echo_n "(cached) " >&6
48027else
48028  ac_check_lib_save_LIBS=$LIBS
48029LIBS="-lfdatetime  $LIBS"
48030cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48031/* end confdefs.h.  */
48032
48033/* Override any GCC internal prototype to avoid an error.
48034   Use char because int might match the return type of a GCC
48035   builtin and then its argument prototype would still apply.  */
48036#ifdef __cplusplus
48037extern "C"
48038#endif
48039char libfdatetime_systemetime_copy_to_utf8_string_with_index ();
48040int
48041main ()
48042{
48043return libfdatetime_systemetime_copy_to_utf8_string_with_index ();
48044  ;
48045  return 0;
48046}
48047_ACEOF
48048if ac_fn_c_try_link "$LINENO"; then :
48049  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=yes
48050else
48051  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=no
48052fi
48053rm -f core conftest.err conftest.$ac_objext \
48054    conftest$ac_exeext conftest.$ac_ext
48055LIBS=$ac_check_lib_save_LIBS
48056fi
48057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&5
48058$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&6; }
48059if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" = xyes; then :
48060  ac_cv_libfdatetime_dummy=yes
48061else
48062  ac_cv_libfdatetime=no
48063fi
48064
48065        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime" >&5
48066$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime... " >&6; }
48067if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string+:} false; then :
48068  $as_echo_n "(cached) " >&6
48069else
48070  ac_check_lib_save_LIBS=$LIBS
48071LIBS="-lfdatetime  $LIBS"
48072cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48073/* end confdefs.h.  */
48074
48075/* Override any GCC internal prototype to avoid an error.
48076   Use char because int might match the return type of a GCC
48077   builtin and then its argument prototype would still apply.  */
48078#ifdef __cplusplus
48079extern "C"
48080#endif
48081char libfdatetime_systemetime_copy_to_utf16_string ();
48082int
48083main ()
48084{
48085return libfdatetime_systemetime_copy_to_utf16_string ();
48086  ;
48087  return 0;
48088}
48089_ACEOF
48090if ac_fn_c_try_link "$LINENO"; then :
48091  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=yes
48092else
48093  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=no
48094fi
48095rm -f core conftest.err conftest.$ac_objext \
48096    conftest$ac_exeext conftest.$ac_ext
48097LIBS=$ac_check_lib_save_LIBS
48098fi
48099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&5
48100$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&6; }
48101if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" = xyes; then :
48102  ac_cv_libfdatetime_dummy=yes
48103else
48104  ac_cv_libfdatetime=no
48105fi
48106
48107        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime" >&5
48108$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
48109if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index+:} false; then :
48110  $as_echo_n "(cached) " >&6
48111else
48112  ac_check_lib_save_LIBS=$LIBS
48113LIBS="-lfdatetime  $LIBS"
48114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48115/* end confdefs.h.  */
48116
48117/* Override any GCC internal prototype to avoid an error.
48118   Use char because int might match the return type of a GCC
48119   builtin and then its argument prototype would still apply.  */
48120#ifdef __cplusplus
48121extern "C"
48122#endif
48123char libfdatetime_systemetime_copy_to_utf16_string_with_index ();
48124int
48125main ()
48126{
48127return libfdatetime_systemetime_copy_to_utf16_string_with_index ();
48128  ;
48129  return 0;
48130}
48131_ACEOF
48132if ac_fn_c_try_link "$LINENO"; then :
48133  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=yes
48134else
48135  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=no
48136fi
48137rm -f core conftest.err conftest.$ac_objext \
48138    conftest$ac_exeext conftest.$ac_ext
48139LIBS=$ac_check_lib_save_LIBS
48140fi
48141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&5
48142$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&6; }
48143if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" = xyes; then :
48144  ac_cv_libfdatetime_dummy=yes
48145else
48146  ac_cv_libfdatetime=no
48147fi
48148
48149        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime" >&5
48150$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime... " >&6; }
48151if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string+:} false; then :
48152  $as_echo_n "(cached) " >&6
48153else
48154  ac_check_lib_save_LIBS=$LIBS
48155LIBS="-lfdatetime  $LIBS"
48156cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48157/* end confdefs.h.  */
48158
48159/* Override any GCC internal prototype to avoid an error.
48160   Use char because int might match the return type of a GCC
48161   builtin and then its argument prototype would still apply.  */
48162#ifdef __cplusplus
48163extern "C"
48164#endif
48165char libfdatetime_systemetime_copy_to_utf32_string ();
48166int
48167main ()
48168{
48169return libfdatetime_systemetime_copy_to_utf32_string ();
48170  ;
48171  return 0;
48172}
48173_ACEOF
48174if ac_fn_c_try_link "$LINENO"; then :
48175  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=yes
48176else
48177  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=no
48178fi
48179rm -f core conftest.err conftest.$ac_objext \
48180    conftest$ac_exeext conftest.$ac_ext
48181LIBS=$ac_check_lib_save_LIBS
48182fi
48183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&5
48184$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&6; }
48185if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" = xyes; then :
48186  ac_cv_libfdatetime_dummy=yes
48187else
48188  ac_cv_libfdatetime=no
48189fi
48190
48191        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime" >&5
48192$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
48193if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index+:} false; then :
48194  $as_echo_n "(cached) " >&6
48195else
48196  ac_check_lib_save_LIBS=$LIBS
48197LIBS="-lfdatetime  $LIBS"
48198cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48199/* end confdefs.h.  */
48200
48201/* Override any GCC internal prototype to avoid an error.
48202   Use char because int might match the return type of a GCC
48203   builtin and then its argument prototype would still apply.  */
48204#ifdef __cplusplus
48205extern "C"
48206#endif
48207char libfdatetime_systemetime_copy_to_utf32_string_with_index ();
48208int
48209main ()
48210{
48211return libfdatetime_systemetime_copy_to_utf32_string_with_index ();
48212  ;
48213  return 0;
48214}
48215_ACEOF
48216if ac_fn_c_try_link "$LINENO"; then :
48217  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=yes
48218else
48219  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=no
48220fi
48221rm -f core conftest.err conftest.$ac_objext \
48222    conftest$ac_exeext conftest.$ac_ext
48223LIBS=$ac_check_lib_save_LIBS
48224fi
48225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&5
48226$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&6; }
48227if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" = xyes; then :
48228  ac_cv_libfdatetime_dummy=yes
48229else
48230  ac_cv_libfdatetime=no
48231fi
48232
48233
48234        ac_cv_libfdatetime_LIBADD="-lfdatetime"
48235fi
48236
48237fi
48238    if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect && test "x$ac_cv_libfdatetime" != xyes; then :
48239  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48240$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48241as_fn_error 1 "unable to find supported libfdatetime in directory: $ac_cv_with_libfdatetime
48242See \`config.log' for more details" "$LINENO" 5; }
48243
48244fi
48245
48246fi
48247
48248  if test "x$ac_cv_libfdatetime" = xyes; then :
48249
48250$as_echo "#define HAVE_LIBFDATETIME 1" >>confdefs.h
48251
48252
48253fi
48254
48255  if test "x$ac_cv_libfdatetime" = xyes; then :
48256  HAVE_LIBFDATETIME=1
48257
48258else
48259  HAVE_LIBFDATETIME=0
48260
48261
48262fi
48263
48264
48265    if test "x$ac_cv_libfdatetime" != xyes; then :
48266
48267  ac_cv_libfdatetime_CPPFLAGS="-I../libfdatetime";
48268  ac_cv_libfdatetime_LIBADD="../libfdatetime/libfdatetime.la";
48269
48270  ac_cv_libfdatetime=local
48271
48272
48273
48274$as_echo "#define HAVE_LOCAL_LIBFDATETIME 1" >>confdefs.h
48275
48276    HAVE_LOCAL_LIBFDATETIME=1
48277
48278
48279fi
48280
48281   if test "x$ac_cv_libfdatetime" = xlocal; then
48282  HAVE_LOCAL_LIBFDATETIME_TRUE=
48283  HAVE_LOCAL_LIBFDATETIME_FALSE='#'
48284else
48285  HAVE_LOCAL_LIBFDATETIME_TRUE='#'
48286  HAVE_LOCAL_LIBFDATETIME_FALSE=
48287fi
48288
48289  if test "x$ac_cv_libfdatetime_CPPFLAGS" != "x"; then :
48290  LIBFDATETIME_CPPFLAGS=$ac_cv_libfdatetime_CPPFLAGS
48291
48292
48293fi
48294  if test "x$ac_cv_libfdatetime_LIBADD" != "x"; then :
48295  LIBFDATETIME_LIBADD=$ac_cv_libfdatetime_LIBADD
48296
48297
48298fi
48299
48300  if test "x$ac_cv_libfdatetime" = xyes; then :
48301  ax_libfdatetime_pc_libs_private=-lfdatetime
48302
48303
48304fi
48305
48306  if test "x$ac_cv_libfdatetime" = xyes; then :
48307  ax_libfdatetime_spec_requires=libfdatetime
48308
48309    ax_libfdatetime_spec_build_requires=libfdatetime-devel
48310
48311
48312fi
48313
48314
48315
48316
48317# Check whether --with-libfguid was given.
48318if test "${with_libfguid+set}" = set; then :
48319  withval=$with_libfguid; ac_cv_with_libfguid=$withval
48320else
48321  ac_cv_with_libfguid=auto-detect
48322fi
48323
48324    { $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
48325$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; }
48326if ${ac_cv_with_libfguid+:} false; then :
48327  $as_echo_n "(cached) " >&6
48328else
48329  ac_cv_with_libfguid=auto-detect
48330fi
48331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5
48332$as_echo "$ac_cv_with_libfguid" >&6; }
48333
48334    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then :
48335  ac_cv_libfguid=no
48336else
48337  ac_cv_libfguid=check
48338        if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then :
48339  if test -d "$ac_cv_with_libfguid"; then :
48340  CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include"
48341        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib"
48342else
48343  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48344$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48345as_fn_error 1 "no such directory: $ac_cv_with_libfguid
48346See \`config.log' for more details" "$LINENO" 5; }
48347
48348fi
48349
48350else
48351        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
48352
48353pkg_failed=no
48354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5
48355$as_echo_n "checking for libfguid... " >&6; }
48356
48357if test -n "$libfguid_CFLAGS"; then
48358    pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS"
48359 elif test -n "$PKG_CONFIG"; then
48360    if test -n "$PKG_CONFIG" && \
48361    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5
48362  ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5
48363  ac_status=$?
48364  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48365  test $ac_status = 0; }; then
48366  pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null`
48367		      test "x$?" != "x0" && pkg_failed=yes
48368else
48369  pkg_failed=yes
48370fi
48371 else
48372    pkg_failed=untried
48373fi
48374if test -n "$libfguid_LIBS"; then
48375    pkg_cv_libfguid_LIBS="$libfguid_LIBS"
48376 elif test -n "$PKG_CONFIG"; then
48377    if test -n "$PKG_CONFIG" && \
48378    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5
48379  ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5
48380  ac_status=$?
48381  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48382  test $ac_status = 0; }; then
48383  pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null`
48384		      test "x$?" != "x0" && pkg_failed=yes
48385else
48386  pkg_failed=yes
48387fi
48388 else
48389    pkg_failed=untried
48390fi
48391
48392
48393
48394if test $pkg_failed = yes; then
48395   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48396$as_echo "no" >&6; }
48397
48398if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48399        _pkg_short_errors_supported=yes
48400else
48401        _pkg_short_errors_supported=no
48402fi
48403        if test $_pkg_short_errors_supported = yes; then
48404	        libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1`
48405        else
48406	        libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1`
48407        fi
48408	# Put the nasty error message in config.log where it belongs
48409	echo "$libfguid_PKG_ERRORS" >&5
48410
48411	ac_cv_libfguid=check
48412elif test $pkg_failed = untried; then
48413     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48414$as_echo "no" >&6; }
48415	ac_cv_libfguid=check
48416else
48417	libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS
48418	libfguid_LIBS=$pkg_cv_libfguid_LIBS
48419        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48420$as_echo "yes" >&6; }
48421	ac_cv_libfguid=yes
48422fi
48423
48424fi
48425      if test "x$ac_cv_libfguid" = xyes; then :
48426  ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS"
48427        ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS"
48428fi
48429
48430fi
48431
48432    if test "x$ac_cv_libfguid" = xcheck; then :
48433        for ac_header in libfguid.h
48434do :
48435  ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default"
48436if test "x$ac_cv_header_libfguid_h" = xyes; then :
48437  cat >>confdefs.h <<_ACEOF
48438#define HAVE_LIBFGUID_H 1
48439_ACEOF
48440
48441fi
48442
48443done
48444
48445
48446      if test "x$ac_cv_header_libfguid_h" = xno; then :
48447  ac_cv_libfguid=no
48448else
48449          ac_cv_libfguid=yes
48450
48451        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5
48452$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; }
48453if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then :
48454  $as_echo_n "(cached) " >&6
48455else
48456  ac_check_lib_save_LIBS=$LIBS
48457LIBS="-lfguid  $LIBS"
48458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48459/* end confdefs.h.  */
48460
48461/* Override any GCC internal prototype to avoid an error.
48462   Use char because int might match the return type of a GCC
48463   builtin and then its argument prototype would still apply.  */
48464#ifdef __cplusplus
48465extern "C"
48466#endif
48467char libfguid_get_version ();
48468int
48469main ()
48470{
48471return libfguid_get_version ();
48472  ;
48473  return 0;
48474}
48475_ACEOF
48476if ac_fn_c_try_link "$LINENO"; then :
48477  ac_cv_lib_fguid_libfguid_get_version=yes
48478else
48479  ac_cv_lib_fguid_libfguid_get_version=no
48480fi
48481rm -f core conftest.err conftest.$ac_objext \
48482    conftest$ac_exeext conftest.$ac_ext
48483LIBS=$ac_check_lib_save_LIBS
48484fi
48485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5
48486$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; }
48487if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then :
48488  ac_cv_libfguid_dummy=yes
48489else
48490  ac_cv_libfguid=no
48491fi
48492
48493
48494                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5
48495$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; }
48496if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then :
48497  $as_echo_n "(cached) " >&6
48498else
48499  ac_check_lib_save_LIBS=$LIBS
48500LIBS="-lfguid  $LIBS"
48501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48502/* end confdefs.h.  */
48503
48504/* Override any GCC internal prototype to avoid an error.
48505   Use char because int might match the return type of a GCC
48506   builtin and then its argument prototype would still apply.  */
48507#ifdef __cplusplus
48508extern "C"
48509#endif
48510char libfguid_identifier_initialize ();
48511int
48512main ()
48513{
48514return libfguid_identifier_initialize ();
48515  ;
48516  return 0;
48517}
48518_ACEOF
48519if ac_fn_c_try_link "$LINENO"; then :
48520  ac_cv_lib_fguid_libfguid_identifier_initialize=yes
48521else
48522  ac_cv_lib_fguid_libfguid_identifier_initialize=no
48523fi
48524rm -f core conftest.err conftest.$ac_objext \
48525    conftest$ac_exeext conftest.$ac_ext
48526LIBS=$ac_check_lib_save_LIBS
48527fi
48528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5
48529$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; }
48530if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then :
48531  ac_cv_libfguid_dummy=yes
48532else
48533  ac_cv_libfguid=no
48534fi
48535
48536        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5
48537$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; }
48538if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then :
48539  $as_echo_n "(cached) " >&6
48540else
48541  ac_check_lib_save_LIBS=$LIBS
48542LIBS="-lfguid  $LIBS"
48543cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48544/* end confdefs.h.  */
48545
48546/* Override any GCC internal prototype to avoid an error.
48547   Use char because int might match the return type of a GCC
48548   builtin and then its argument prototype would still apply.  */
48549#ifdef __cplusplus
48550extern "C"
48551#endif
48552char libfguid_identifier_free ();
48553int
48554main ()
48555{
48556return libfguid_identifier_free ();
48557  ;
48558  return 0;
48559}
48560_ACEOF
48561if ac_fn_c_try_link "$LINENO"; then :
48562  ac_cv_lib_fguid_libfguid_identifier_free=yes
48563else
48564  ac_cv_lib_fguid_libfguid_identifier_free=no
48565fi
48566rm -f core conftest.err conftest.$ac_objext \
48567    conftest$ac_exeext conftest.$ac_ext
48568LIBS=$ac_check_lib_save_LIBS
48569fi
48570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5
48571$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; }
48572if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then :
48573  ac_cv_libfguid_dummy=yes
48574else
48575  ac_cv_libfguid=no
48576fi
48577
48578        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5
48579$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; }
48580if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then :
48581  $as_echo_n "(cached) " >&6
48582else
48583  ac_check_lib_save_LIBS=$LIBS
48584LIBS="-lfguid  $LIBS"
48585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48586/* end confdefs.h.  */
48587
48588/* Override any GCC internal prototype to avoid an error.
48589   Use char because int might match the return type of a GCC
48590   builtin and then its argument prototype would still apply.  */
48591#ifdef __cplusplus
48592extern "C"
48593#endif
48594char libfguid_identifier_copy_from_byte_stream ();
48595int
48596main ()
48597{
48598return libfguid_identifier_copy_from_byte_stream ();
48599  ;
48600  return 0;
48601}
48602_ACEOF
48603if ac_fn_c_try_link "$LINENO"; then :
48604  ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes
48605else
48606  ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no
48607fi
48608rm -f core conftest.err conftest.$ac_objext \
48609    conftest$ac_exeext conftest.$ac_ext
48610LIBS=$ac_check_lib_save_LIBS
48611fi
48612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5
48613$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; }
48614if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then :
48615  ac_cv_libfguid_dummy=yes
48616else
48617  ac_cv_libfguid=no
48618fi
48619
48620        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5
48621$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; }
48622if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then :
48623  $as_echo_n "(cached) " >&6
48624else
48625  ac_check_lib_save_LIBS=$LIBS
48626LIBS="-lfguid  $LIBS"
48627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48628/* end confdefs.h.  */
48629
48630/* Override any GCC internal prototype to avoid an error.
48631   Use char because int might match the return type of a GCC
48632   builtin and then its argument prototype would still apply.  */
48633#ifdef __cplusplus
48634extern "C"
48635#endif
48636char libfguid_identifier_get_string_size ();
48637int
48638main ()
48639{
48640return libfguid_identifier_get_string_size ();
48641  ;
48642  return 0;
48643}
48644_ACEOF
48645if ac_fn_c_try_link "$LINENO"; then :
48646  ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes
48647else
48648  ac_cv_lib_fguid_libfguid_identifier_get_string_size=no
48649fi
48650rm -f core conftest.err conftest.$ac_objext \
48651    conftest$ac_exeext conftest.$ac_ext
48652LIBS=$ac_check_lib_save_LIBS
48653fi
48654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5
48655$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; }
48656if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then :
48657  ac_cv_libfguid_dummy=yes
48658else
48659  ac_cv_libfguid=no
48660fi
48661
48662        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5
48663$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; }
48664if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then :
48665  $as_echo_n "(cached) " >&6
48666else
48667  ac_check_lib_save_LIBS=$LIBS
48668LIBS="-lfguid  $LIBS"
48669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48670/* end confdefs.h.  */
48671
48672/* Override any GCC internal prototype to avoid an error.
48673   Use char because int might match the return type of a GCC
48674   builtin and then its argument prototype would still apply.  */
48675#ifdef __cplusplus
48676extern "C"
48677#endif
48678char libfguid_identifier_copy_to_utf8_string ();
48679int
48680main ()
48681{
48682return libfguid_identifier_copy_to_utf8_string ();
48683  ;
48684  return 0;
48685}
48686_ACEOF
48687if ac_fn_c_try_link "$LINENO"; then :
48688  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes
48689else
48690  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no
48691fi
48692rm -f core conftest.err conftest.$ac_objext \
48693    conftest$ac_exeext conftest.$ac_ext
48694LIBS=$ac_check_lib_save_LIBS
48695fi
48696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5
48697$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; }
48698if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then :
48699  ac_cv_libfguid_dummy=yes
48700else
48701  ac_cv_libfguid=no
48702fi
48703
48704        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5
48705$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; }
48706if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then :
48707  $as_echo_n "(cached) " >&6
48708else
48709  ac_check_lib_save_LIBS=$LIBS
48710LIBS="-lfguid  $LIBS"
48711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48712/* end confdefs.h.  */
48713
48714/* Override any GCC internal prototype to avoid an error.
48715   Use char because int might match the return type of a GCC
48716   builtin and then its argument prototype would still apply.  */
48717#ifdef __cplusplus
48718extern "C"
48719#endif
48720char libfguid_identifier_copy_to_utf8_string_with_index ();
48721int
48722main ()
48723{
48724return libfguid_identifier_copy_to_utf8_string_with_index ();
48725  ;
48726  return 0;
48727}
48728_ACEOF
48729if ac_fn_c_try_link "$LINENO"; then :
48730  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes
48731else
48732  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no
48733fi
48734rm -f core conftest.err conftest.$ac_objext \
48735    conftest$ac_exeext conftest.$ac_ext
48736LIBS=$ac_check_lib_save_LIBS
48737fi
48738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5
48739$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; }
48740if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then :
48741  ac_cv_libfguid_dummy=yes
48742else
48743  ac_cv_libfguid=no
48744fi
48745
48746        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5
48747$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; }
48748if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then :
48749  $as_echo_n "(cached) " >&6
48750else
48751  ac_check_lib_save_LIBS=$LIBS
48752LIBS="-lfguid  $LIBS"
48753cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48754/* end confdefs.h.  */
48755
48756/* Override any GCC internal prototype to avoid an error.
48757   Use char because int might match the return type of a GCC
48758   builtin and then its argument prototype would still apply.  */
48759#ifdef __cplusplus
48760extern "C"
48761#endif
48762char libfguid_identifier_copy_to_utf16_string ();
48763int
48764main ()
48765{
48766return libfguid_identifier_copy_to_utf16_string ();
48767  ;
48768  return 0;
48769}
48770_ACEOF
48771if ac_fn_c_try_link "$LINENO"; then :
48772  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes
48773else
48774  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no
48775fi
48776rm -f core conftest.err conftest.$ac_objext \
48777    conftest$ac_exeext conftest.$ac_ext
48778LIBS=$ac_check_lib_save_LIBS
48779fi
48780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5
48781$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; }
48782if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then :
48783  ac_cv_libfguid_dummy=yes
48784else
48785  ac_cv_libfguid=no
48786fi
48787
48788        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5
48789$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; }
48790if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then :
48791  $as_echo_n "(cached) " >&6
48792else
48793  ac_check_lib_save_LIBS=$LIBS
48794LIBS="-lfguid  $LIBS"
48795cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48796/* end confdefs.h.  */
48797
48798/* Override any GCC internal prototype to avoid an error.
48799   Use char because int might match the return type of a GCC
48800   builtin and then its argument prototype would still apply.  */
48801#ifdef __cplusplus
48802extern "C"
48803#endif
48804char libfguid_identifier_copy_to_utf16_string_with_index ();
48805int
48806main ()
48807{
48808return libfguid_identifier_copy_to_utf16_string_with_index ();
48809  ;
48810  return 0;
48811}
48812_ACEOF
48813if ac_fn_c_try_link "$LINENO"; then :
48814  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes
48815else
48816  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no
48817fi
48818rm -f core conftest.err conftest.$ac_objext \
48819    conftest$ac_exeext conftest.$ac_ext
48820LIBS=$ac_check_lib_save_LIBS
48821fi
48822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5
48823$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; }
48824if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then :
48825  ac_cv_libfguid_dummy=yes
48826else
48827  ac_cv_libfguid=no
48828fi
48829
48830        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5
48831$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; }
48832if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then :
48833  $as_echo_n "(cached) " >&6
48834else
48835  ac_check_lib_save_LIBS=$LIBS
48836LIBS="-lfguid  $LIBS"
48837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48838/* end confdefs.h.  */
48839
48840/* Override any GCC internal prototype to avoid an error.
48841   Use char because int might match the return type of a GCC
48842   builtin and then its argument prototype would still apply.  */
48843#ifdef __cplusplus
48844extern "C"
48845#endif
48846char libfguid_identifier_copy_to_utf32_string ();
48847int
48848main ()
48849{
48850return libfguid_identifier_copy_to_utf32_string ();
48851  ;
48852  return 0;
48853}
48854_ACEOF
48855if ac_fn_c_try_link "$LINENO"; then :
48856  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes
48857else
48858  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no
48859fi
48860rm -f core conftest.err conftest.$ac_objext \
48861    conftest$ac_exeext conftest.$ac_ext
48862LIBS=$ac_check_lib_save_LIBS
48863fi
48864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5
48865$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; }
48866if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then :
48867  ac_cv_libfguid_dummy=yes
48868else
48869  ac_cv_libfguid=no
48870fi
48871
48872        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5
48873$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; }
48874if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then :
48875  $as_echo_n "(cached) " >&6
48876else
48877  ac_check_lib_save_LIBS=$LIBS
48878LIBS="-lfguid  $LIBS"
48879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48880/* end confdefs.h.  */
48881
48882/* Override any GCC internal prototype to avoid an error.
48883   Use char because int might match the return type of a GCC
48884   builtin and then its argument prototype would still apply.  */
48885#ifdef __cplusplus
48886extern "C"
48887#endif
48888char libfguid_identifier_copy_to_utf32_string_with_index ();
48889int
48890main ()
48891{
48892return libfguid_identifier_copy_to_utf32_string_with_index ();
48893  ;
48894  return 0;
48895}
48896_ACEOF
48897if ac_fn_c_try_link "$LINENO"; then :
48898  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes
48899else
48900  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no
48901fi
48902rm -f core conftest.err conftest.$ac_objext \
48903    conftest$ac_exeext conftest.$ac_ext
48904LIBS=$ac_check_lib_save_LIBS
48905fi
48906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5
48907$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; }
48908if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then :
48909  ac_cv_libfguid_dummy=yes
48910else
48911  ac_cv_libfguid=no
48912fi
48913
48914
48915        ac_cv_libfguid_LIBADD="-lfguid"
48916fi
48917
48918fi
48919    if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then :
48920  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48921$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48922as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid
48923See \`config.log' for more details" "$LINENO" 5; }
48924
48925fi
48926
48927fi
48928
48929  if test "x$ac_cv_libfguid" = xyes; then :
48930
48931$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h
48932
48933
48934fi
48935
48936  if test "x$ac_cv_libfguid" = xyes; then :
48937  HAVE_LIBFGUID=1
48938
48939else
48940  HAVE_LIBFGUID=0
48941
48942
48943fi
48944
48945
48946    if test "x$ac_cv_libfguid" != xyes; then :
48947
48948  ac_cv_libfguid_CPPFLAGS="-I../libfguid";
48949  ac_cv_libfguid_LIBADD="../libfguid/libfguid.la";
48950
48951  ac_cv_libfguid=local
48952
48953
48954
48955$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h
48956
48957    HAVE_LOCAL_LIBFGUID=1
48958
48959
48960fi
48961
48962   if test "x$ac_cv_libfguid" = xlocal; then
48963  HAVE_LOCAL_LIBFGUID_TRUE=
48964  HAVE_LOCAL_LIBFGUID_FALSE='#'
48965else
48966  HAVE_LOCAL_LIBFGUID_TRUE='#'
48967  HAVE_LOCAL_LIBFGUID_FALSE=
48968fi
48969
48970  if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then :
48971  LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS
48972
48973
48974fi
48975  if test "x$ac_cv_libfguid_LIBADD" != "x"; then :
48976  LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD
48977
48978
48979fi
48980
48981  if test "x$ac_cv_libfguid" = xyes; then :
48982  ax_libfguid_pc_libs_private=-lfguid
48983
48984
48985fi
48986
48987  if test "x$ac_cv_libfguid" = xyes; then :
48988  ax_libfguid_spec_requires=libfguid
48989
48990    ax_libfguid_spec_build_requires=libfguid-devel
48991
48992
48993fi
48994
48995
48996
48997
48998# Check whether --with-libfvalue was given.
48999if test "${with_libfvalue+set}" = set; then :
49000  withval=$with_libfvalue; ac_cv_with_libfvalue=$withval
49001else
49002  ac_cv_with_libfvalue=auto-detect
49003fi
49004
49005    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfvalue in includedir and libdir or in the specified DIR, or no if to use local version" >&5
49006$as_echo_n "checking whether to use search for libfvalue in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; }
49007if ${ac_cv_with_libfvalue+:} false; then :
49008  $as_echo_n "(cached) " >&6
49009else
49010  ac_cv_with_libfvalue=auto-detect
49011fi
49012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfvalue" >&5
49013$as_echo "$ac_cv_with_libfvalue" >&6; }
49014
49015    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfvalue" = xno; then :
49016  ac_cv_libfvalue=no
49017else
49018  ac_cv_libfvalue=check
49019        if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect; then :
49020  if test -d "$ac_cv_with_libfvalue"; then :
49021  CFLAGS="$CFLAGS -I${ac_cv_with_libfvalue}/include"
49022        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfvalue}/lib"
49023else
49024  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49026as_fn_error 1 "no such directory: $ac_cv_with_libfvalue
49027See \`config.log' for more details" "$LINENO" 5; }
49028
49029fi
49030
49031else
49032        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
49033
49034pkg_failed=no
49035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue" >&5
49036$as_echo_n "checking for libfvalue... " >&6; }
49037
49038if test -n "$libfvalue_CFLAGS"; then
49039    pkg_cv_libfvalue_CFLAGS="$libfvalue_CFLAGS"
49040 elif test -n "$PKG_CONFIG"; then
49041    if test -n "$PKG_CONFIG" && \
49042    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5
49043  ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5
49044  ac_status=$?
49045  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49046  test $ac_status = 0; }; then
49047  pkg_cv_libfvalue_CFLAGS=`$PKG_CONFIG --cflags "libfvalue >= 20200711" 2>/dev/null`
49048		      test "x$?" != "x0" && pkg_failed=yes
49049else
49050  pkg_failed=yes
49051fi
49052 else
49053    pkg_failed=untried
49054fi
49055if test -n "$libfvalue_LIBS"; then
49056    pkg_cv_libfvalue_LIBS="$libfvalue_LIBS"
49057 elif test -n "$PKG_CONFIG"; then
49058    if test -n "$PKG_CONFIG" && \
49059    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5
49060  ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5
49061  ac_status=$?
49062  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49063  test $ac_status = 0; }; then
49064  pkg_cv_libfvalue_LIBS=`$PKG_CONFIG --libs "libfvalue >= 20200711" 2>/dev/null`
49065		      test "x$?" != "x0" && pkg_failed=yes
49066else
49067  pkg_failed=yes
49068fi
49069 else
49070    pkg_failed=untried
49071fi
49072
49073
49074
49075if test $pkg_failed = yes; then
49076   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49077$as_echo "no" >&6; }
49078
49079if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49080        _pkg_short_errors_supported=yes
49081else
49082        _pkg_short_errors_supported=no
49083fi
49084        if test $_pkg_short_errors_supported = yes; then
49085	        libfvalue_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1`
49086        else
49087	        libfvalue_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1`
49088        fi
49089	# Put the nasty error message in config.log where it belongs
49090	echo "$libfvalue_PKG_ERRORS" >&5
49091
49092	ac_cv_libfvalue=check
49093elif test $pkg_failed = untried; then
49094     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49095$as_echo "no" >&6; }
49096	ac_cv_libfvalue=check
49097else
49098	libfvalue_CFLAGS=$pkg_cv_libfvalue_CFLAGS
49099	libfvalue_LIBS=$pkg_cv_libfvalue_LIBS
49100        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49101$as_echo "yes" >&6; }
49102	ac_cv_libfvalue=yes
49103fi
49104
49105fi
49106      if test "x$ac_cv_libfvalue" = xyes; then :
49107  ac_cv_libfvalue_CPPFLAGS="$pkg_cv_libfvalue_CFLAGS"
49108        ac_cv_libfvalue_LIBADD="$pkg_cv_libfvalue_LIBS"
49109fi
49110
49111fi
49112
49113    if test "x$ac_cv_libfvalue" = xcheck; then :
49114        for ac_header in libfvalue.h
49115do :
49116  ac_fn_c_check_header_mongrel "$LINENO" "libfvalue.h" "ac_cv_header_libfvalue_h" "$ac_includes_default"
49117if test "x$ac_cv_header_libfvalue_h" = xyes; then :
49118  cat >>confdefs.h <<_ACEOF
49119#define HAVE_LIBFVALUE_H 1
49120_ACEOF
49121
49122fi
49123
49124done
49125
49126
49127      if test "x$ac_cv_header_libfvalue_h" = xno; then :
49128  ac_cv_libfvalue=no
49129else
49130          ac_cv_libfvalue=yes
49131
49132        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_get_version in -lfvalue" >&5
49133$as_echo_n "checking for libfvalue_get_version in -lfvalue... " >&6; }
49134if ${ac_cv_lib_fvalue_libfvalue_get_version+:} false; then :
49135  $as_echo_n "(cached) " >&6
49136else
49137  ac_check_lib_save_LIBS=$LIBS
49138LIBS="-lfvalue  $LIBS"
49139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49140/* end confdefs.h.  */
49141
49142/* Override any GCC internal prototype to avoid an error.
49143   Use char because int might match the return type of a GCC
49144   builtin and then its argument prototype would still apply.  */
49145#ifdef __cplusplus
49146extern "C"
49147#endif
49148char libfvalue_get_version ();
49149int
49150main ()
49151{
49152return libfvalue_get_version ();
49153  ;
49154  return 0;
49155}
49156_ACEOF
49157if ac_fn_c_try_link "$LINENO"; then :
49158  ac_cv_lib_fvalue_libfvalue_get_version=yes
49159else
49160  ac_cv_lib_fvalue_libfvalue_get_version=no
49161fi
49162rm -f core conftest.err conftest.$ac_objext \
49163    conftest$ac_exeext conftest.$ac_ext
49164LIBS=$ac_check_lib_save_LIBS
49165fi
49166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_get_version" >&5
49167$as_echo "$ac_cv_lib_fvalue_libfvalue_get_version" >&6; }
49168if test "x$ac_cv_lib_fvalue_libfvalue_get_version" = xyes; then :
49169  ac_cv_libfvalue_dummy=yes
49170else
49171  ac_cv_libfvalue=no
49172fi
49173
49174
49175                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_initialize in -lfvalue" >&5
49176$as_echo_n "checking for libfvalue_data_handle_initialize in -lfvalue... " >&6; }
49177if ${ac_cv_lib_fvalue_libfvalue_data_handle_initialize+:} false; then :
49178  $as_echo_n "(cached) " >&6
49179else
49180  ac_check_lib_save_LIBS=$LIBS
49181LIBS="-lfvalue  $LIBS"
49182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49183/* end confdefs.h.  */
49184
49185/* Override any GCC internal prototype to avoid an error.
49186   Use char because int might match the return type of a GCC
49187   builtin and then its argument prototype would still apply.  */
49188#ifdef __cplusplus
49189extern "C"
49190#endif
49191char libfvalue_data_handle_initialize ();
49192int
49193main ()
49194{
49195return libfvalue_data_handle_initialize ();
49196  ;
49197  return 0;
49198}
49199_ACEOF
49200if ac_fn_c_try_link "$LINENO"; then :
49201  ac_cv_lib_fvalue_libfvalue_data_handle_initialize=yes
49202else
49203  ac_cv_lib_fvalue_libfvalue_data_handle_initialize=no
49204fi
49205rm -f core conftest.err conftest.$ac_objext \
49206    conftest$ac_exeext conftest.$ac_ext
49207LIBS=$ac_check_lib_save_LIBS
49208fi
49209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&5
49210$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&6; }
49211if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" = xyes; then :
49212  ac_cv_libfvalue_dummy=yes
49213else
49214  ac_cv_libfvalue=no
49215fi
49216
49217        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_free in -lfvalue" >&5
49218$as_echo_n "checking for libfvalue_data_handle_free in -lfvalue... " >&6; }
49219if ${ac_cv_lib_fvalue_libfvalue_data_handle_free+:} false; then :
49220  $as_echo_n "(cached) " >&6
49221else
49222  ac_check_lib_save_LIBS=$LIBS
49223LIBS="-lfvalue  $LIBS"
49224cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49225/* end confdefs.h.  */
49226
49227/* Override any GCC internal prototype to avoid an error.
49228   Use char because int might match the return type of a GCC
49229   builtin and then its argument prototype would still apply.  */
49230#ifdef __cplusplus
49231extern "C"
49232#endif
49233char libfvalue_data_handle_free ();
49234int
49235main ()
49236{
49237return libfvalue_data_handle_free ();
49238  ;
49239  return 0;
49240}
49241_ACEOF
49242if ac_fn_c_try_link "$LINENO"; then :
49243  ac_cv_lib_fvalue_libfvalue_data_handle_free=yes
49244else
49245  ac_cv_lib_fvalue_libfvalue_data_handle_free=no
49246fi
49247rm -f core conftest.err conftest.$ac_objext \
49248    conftest$ac_exeext conftest.$ac_ext
49249LIBS=$ac_check_lib_save_LIBS
49250fi
49251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_free" >&5
49252$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_free" >&6; }
49253if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_free" = xyes; then :
49254  ac_cv_libfvalue_dummy=yes
49255else
49256  ac_cv_libfvalue=no
49257fi
49258
49259        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clone in -lfvalue" >&5
49260$as_echo_n "checking for libfvalue_data_handle_clone in -lfvalue... " >&6; }
49261if ${ac_cv_lib_fvalue_libfvalue_data_handle_clone+:} false; then :
49262  $as_echo_n "(cached) " >&6
49263else
49264  ac_check_lib_save_LIBS=$LIBS
49265LIBS="-lfvalue  $LIBS"
49266cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49267/* end confdefs.h.  */
49268
49269/* Override any GCC internal prototype to avoid an error.
49270   Use char because int might match the return type of a GCC
49271   builtin and then its argument prototype would still apply.  */
49272#ifdef __cplusplus
49273extern "C"
49274#endif
49275char libfvalue_data_handle_clone ();
49276int
49277main ()
49278{
49279return libfvalue_data_handle_clone ();
49280  ;
49281  return 0;
49282}
49283_ACEOF
49284if ac_fn_c_try_link "$LINENO"; then :
49285  ac_cv_lib_fvalue_libfvalue_data_handle_clone=yes
49286else
49287  ac_cv_lib_fvalue_libfvalue_data_handle_clone=no
49288fi
49289rm -f core conftest.err conftest.$ac_objext \
49290    conftest$ac_exeext conftest.$ac_ext
49291LIBS=$ac_check_lib_save_LIBS
49292fi
49293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&5
49294$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&6; }
49295if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clone" = xyes; then :
49296  ac_cv_libfvalue_dummy=yes
49297else
49298  ac_cv_libfvalue=no
49299fi
49300
49301        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clear in -lfvalue" >&5
49302$as_echo_n "checking for libfvalue_data_handle_clear in -lfvalue... " >&6; }
49303if ${ac_cv_lib_fvalue_libfvalue_data_handle_clear+:} false; then :
49304  $as_echo_n "(cached) " >&6
49305else
49306  ac_check_lib_save_LIBS=$LIBS
49307LIBS="-lfvalue  $LIBS"
49308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49309/* end confdefs.h.  */
49310
49311/* Override any GCC internal prototype to avoid an error.
49312   Use char because int might match the return type of a GCC
49313   builtin and then its argument prototype would still apply.  */
49314#ifdef __cplusplus
49315extern "C"
49316#endif
49317char libfvalue_data_handle_clear ();
49318int
49319main ()
49320{
49321return libfvalue_data_handle_clear ();
49322  ;
49323  return 0;
49324}
49325_ACEOF
49326if ac_fn_c_try_link "$LINENO"; then :
49327  ac_cv_lib_fvalue_libfvalue_data_handle_clear=yes
49328else
49329  ac_cv_lib_fvalue_libfvalue_data_handle_clear=no
49330fi
49331rm -f core conftest.err conftest.$ac_objext \
49332    conftest$ac_exeext conftest.$ac_ext
49333LIBS=$ac_check_lib_save_LIBS
49334fi
49335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&5
49336$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&6; }
49337if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clear" = xyes; then :
49338  ac_cv_libfvalue_dummy=yes
49339else
49340  ac_cv_libfvalue=no
49341fi
49342
49343
49344        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data in -lfvalue" >&5
49345$as_echo_n "checking for libfvalue_data_handle_get_data in -lfvalue... " >&6; }
49346if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data+:} false; then :
49347  $as_echo_n "(cached) " >&6
49348else
49349  ac_check_lib_save_LIBS=$LIBS
49350LIBS="-lfvalue  $LIBS"
49351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49352/* end confdefs.h.  */
49353
49354/* Override any GCC internal prototype to avoid an error.
49355   Use char because int might match the return type of a GCC
49356   builtin and then its argument prototype would still apply.  */
49357#ifdef __cplusplus
49358extern "C"
49359#endif
49360char libfvalue_data_handle_get_data ();
49361int
49362main ()
49363{
49364return libfvalue_data_handle_get_data ();
49365  ;
49366  return 0;
49367}
49368_ACEOF
49369if ac_fn_c_try_link "$LINENO"; then :
49370  ac_cv_lib_fvalue_libfvalue_data_handle_get_data=yes
49371else
49372  ac_cv_lib_fvalue_libfvalue_data_handle_get_data=no
49373fi
49374rm -f core conftest.err conftest.$ac_objext \
49375    conftest$ac_exeext conftest.$ac_ext
49376LIBS=$ac_check_lib_save_LIBS
49377fi
49378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&5
49379$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&6; }
49380if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" = xyes; then :
49381  ac_cv_libfvalue_dummy=yes
49382else
49383  ac_cv_libfvalue=no
49384fi
49385
49386        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data in -lfvalue" >&5
49387$as_echo_n "checking for libfvalue_data_handle_set_data in -lfvalue... " >&6; }
49388if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data+:} false; then :
49389  $as_echo_n "(cached) " >&6
49390else
49391  ac_check_lib_save_LIBS=$LIBS
49392LIBS="-lfvalue  $LIBS"
49393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49394/* end confdefs.h.  */
49395
49396/* Override any GCC internal prototype to avoid an error.
49397   Use char because int might match the return type of a GCC
49398   builtin and then its argument prototype would still apply.  */
49399#ifdef __cplusplus
49400extern "C"
49401#endif
49402char libfvalue_data_handle_set_data ();
49403int
49404main ()
49405{
49406return libfvalue_data_handle_set_data ();
49407  ;
49408  return 0;
49409}
49410_ACEOF
49411if ac_fn_c_try_link "$LINENO"; then :
49412  ac_cv_lib_fvalue_libfvalue_data_handle_set_data=yes
49413else
49414  ac_cv_lib_fvalue_libfvalue_data_handle_set_data=no
49415fi
49416rm -f core conftest.err conftest.$ac_objext \
49417    conftest$ac_exeext conftest.$ac_ext
49418LIBS=$ac_check_lib_save_LIBS
49419fi
49420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&5
49421$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&6; }
49422if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" = xyes; then :
49423  ac_cv_libfvalue_dummy=yes
49424else
49425  ac_cv_libfvalue=no
49426fi
49427
49428
49429        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data_flags in -lfvalue" >&5
49430$as_echo_n "checking for libfvalue_data_handle_get_data_flags in -lfvalue... " >&6; }
49431if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags+:} false; then :
49432  $as_echo_n "(cached) " >&6
49433else
49434  ac_check_lib_save_LIBS=$LIBS
49435LIBS="-lfvalue  $LIBS"
49436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49437/* end confdefs.h.  */
49438
49439/* Override any GCC internal prototype to avoid an error.
49440   Use char because int might match the return type of a GCC
49441   builtin and then its argument prototype would still apply.  */
49442#ifdef __cplusplus
49443extern "C"
49444#endif
49445char libfvalue_data_handle_get_data_flags ();
49446int
49447main ()
49448{
49449return libfvalue_data_handle_get_data_flags ();
49450  ;
49451  return 0;
49452}
49453_ACEOF
49454if ac_fn_c_try_link "$LINENO"; then :
49455  ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=yes
49456else
49457  ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=no
49458fi
49459rm -f core conftest.err conftest.$ac_objext \
49460    conftest$ac_exeext conftest.$ac_ext
49461LIBS=$ac_check_lib_save_LIBS
49462fi
49463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&5
49464$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&6; }
49465if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" = xyes; then :
49466  ac_cv_libfvalue_dummy=yes
49467else
49468  ac_cv_libfvalue=no
49469fi
49470
49471        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data_flags in -lfvalue" >&5
49472$as_echo_n "checking for libfvalue_data_handle_set_data_flags in -lfvalue... " >&6; }
49473if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags+:} false; then :
49474  $as_echo_n "(cached) " >&6
49475else
49476  ac_check_lib_save_LIBS=$LIBS
49477LIBS="-lfvalue  $LIBS"
49478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49479/* end confdefs.h.  */
49480
49481/* Override any GCC internal prototype to avoid an error.
49482   Use char because int might match the return type of a GCC
49483   builtin and then its argument prototype would still apply.  */
49484#ifdef __cplusplus
49485extern "C"
49486#endif
49487char libfvalue_data_handle_set_data_flags ();
49488int
49489main ()
49490{
49491return libfvalue_data_handle_set_data_flags ();
49492  ;
49493  return 0;
49494}
49495_ACEOF
49496if ac_fn_c_try_link "$LINENO"; then :
49497  ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=yes
49498else
49499  ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=no
49500fi
49501rm -f core conftest.err conftest.$ac_objext \
49502    conftest$ac_exeext conftest.$ac_ext
49503LIBS=$ac_check_lib_save_LIBS
49504fi
49505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&5
49506$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&6; }
49507if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" = xyes; then :
49508  ac_cv_libfvalue_dummy=yes
49509else
49510  ac_cv_libfvalue=no
49511fi
49512
49513
49514        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue" >&5
49515$as_echo_n "checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue... " >&6; }
49516if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries+:} false; then :
49517  $as_echo_n "(cached) " >&6
49518else
49519  ac_check_lib_save_LIBS=$LIBS
49520LIBS="-lfvalue  $LIBS"
49521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49522/* end confdefs.h.  */
49523
49524/* Override any GCC internal prototype to avoid an error.
49525   Use char because int might match the return type of a GCC
49526   builtin and then its argument prototype would still apply.  */
49527#ifdef __cplusplus
49528extern "C"
49529#endif
49530char libfvalue_data_handle_get_number_of_value_entries ();
49531int
49532main ()
49533{
49534return libfvalue_data_handle_get_number_of_value_entries ();
49535  ;
49536  return 0;
49537}
49538_ACEOF
49539if ac_fn_c_try_link "$LINENO"; then :
49540  ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=yes
49541else
49542  ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=no
49543fi
49544rm -f core conftest.err conftest.$ac_objext \
49545    conftest$ac_exeext conftest.$ac_ext
49546LIBS=$ac_check_lib_save_LIBS
49547fi
49548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&5
49549$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&6; }
49550if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" = xyes; then :
49551  ac_cv_libfvalue_dummy=yes
49552else
49553  ac_cv_libfvalue=no
49554fi
49555
49556        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_value_entry in -lfvalue" >&5
49557$as_echo_n "checking for libfvalue_data_handle_get_value_entry in -lfvalue... " >&6; }
49558if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry+:} false; then :
49559  $as_echo_n "(cached) " >&6
49560else
49561  ac_check_lib_save_LIBS=$LIBS
49562LIBS="-lfvalue  $LIBS"
49563cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49564/* end confdefs.h.  */
49565
49566/* Override any GCC internal prototype to avoid an error.
49567   Use char because int might match the return type of a GCC
49568   builtin and then its argument prototype would still apply.  */
49569#ifdef __cplusplus
49570extern "C"
49571#endif
49572char libfvalue_data_handle_get_value_entry ();
49573int
49574main ()
49575{
49576return libfvalue_data_handle_get_value_entry ();
49577  ;
49578  return 0;
49579}
49580_ACEOF
49581if ac_fn_c_try_link "$LINENO"; then :
49582  ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=yes
49583else
49584  ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=no
49585fi
49586rm -f core conftest.err conftest.$ac_objext \
49587    conftest$ac_exeext conftest.$ac_ext
49588LIBS=$ac_check_lib_save_LIBS
49589fi
49590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&5
49591$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&6; }
49592if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" = xyes; then :
49593  ac_cv_libfvalue_dummy=yes
49594else
49595  ac_cv_libfvalue=no
49596fi
49597
49598        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_value_entry in -lfvalue" >&5
49599$as_echo_n "checking for libfvalue_data_handle_set_value_entry in -lfvalue... " >&6; }
49600if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry+:} false; then :
49601  $as_echo_n "(cached) " >&6
49602else
49603  ac_check_lib_save_LIBS=$LIBS
49604LIBS="-lfvalue  $LIBS"
49605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49606/* end confdefs.h.  */
49607
49608/* Override any GCC internal prototype to avoid an error.
49609   Use char because int might match the return type of a GCC
49610   builtin and then its argument prototype would still apply.  */
49611#ifdef __cplusplus
49612extern "C"
49613#endif
49614char libfvalue_data_handle_set_value_entry ();
49615int
49616main ()
49617{
49618return libfvalue_data_handle_set_value_entry ();
49619  ;
49620  return 0;
49621}
49622_ACEOF
49623if ac_fn_c_try_link "$LINENO"; then :
49624  ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=yes
49625else
49626  ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=no
49627fi
49628rm -f core conftest.err conftest.$ac_objext \
49629    conftest$ac_exeext conftest.$ac_ext
49630LIBS=$ac_check_lib_save_LIBS
49631fi
49632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&5
49633$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&6; }
49634if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" = xyes; then :
49635  ac_cv_libfvalue_dummy=yes
49636else
49637  ac_cv_libfvalue=no
49638fi
49639
49640        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_append_value_entry in -lfvalue" >&5
49641$as_echo_n "checking for libfvalue_data_handle_append_value_entry in -lfvalue... " >&6; }
49642if ${ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry+:} false; then :
49643  $as_echo_n "(cached) " >&6
49644else
49645  ac_check_lib_save_LIBS=$LIBS
49646LIBS="-lfvalue  $LIBS"
49647cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648/* end confdefs.h.  */
49649
49650/* Override any GCC internal prototype to avoid an error.
49651   Use char because int might match the return type of a GCC
49652   builtin and then its argument prototype would still apply.  */
49653#ifdef __cplusplus
49654extern "C"
49655#endif
49656char libfvalue_data_handle_append_value_entry ();
49657int
49658main ()
49659{
49660return libfvalue_data_handle_append_value_entry ();
49661  ;
49662  return 0;
49663}
49664_ACEOF
49665if ac_fn_c_try_link "$LINENO"; then :
49666  ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=yes
49667else
49668  ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=no
49669fi
49670rm -f core conftest.err conftest.$ac_objext \
49671    conftest$ac_exeext conftest.$ac_ext
49672LIBS=$ac_check_lib_save_LIBS
49673fi
49674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&5
49675$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&6; }
49676if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" = xyes; then :
49677  ac_cv_libfvalue_dummy=yes
49678else
49679  ac_cv_libfvalue=no
49680fi
49681
49682
49683                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_string_size_from_integer in -lfvalue" >&5
49684$as_echo_n "checking for libfvalue_string_size_from_integer in -lfvalue... " >&6; }
49685if ${ac_cv_lib_fvalue_libfvalue_string_size_from_integer+:} false; then :
49686  $as_echo_n "(cached) " >&6
49687else
49688  ac_check_lib_save_LIBS=$LIBS
49689LIBS="-lfvalue  $LIBS"
49690cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49691/* end confdefs.h.  */
49692
49693/* Override any GCC internal prototype to avoid an error.
49694   Use char because int might match the return type of a GCC
49695   builtin and then its argument prototype would still apply.  */
49696#ifdef __cplusplus
49697extern "C"
49698#endif
49699char libfvalue_string_size_from_integer ();
49700int
49701main ()
49702{
49703return libfvalue_string_size_from_integer ();
49704  ;
49705  return 0;
49706}
49707_ACEOF
49708if ac_fn_c_try_link "$LINENO"; then :
49709  ac_cv_lib_fvalue_libfvalue_string_size_from_integer=yes
49710else
49711  ac_cv_lib_fvalue_libfvalue_string_size_from_integer=no
49712fi
49713rm -f core conftest.err conftest.$ac_objext \
49714    conftest$ac_exeext conftest.$ac_ext
49715LIBS=$ac_check_lib_save_LIBS
49716fi
49717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&5
49718$as_echo "$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&6; }
49719if test "x$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" = xyes; then :
49720  ac_cv_libfvalue_dummy=yes
49721else
49722  ac_cv_libfvalue=no
49723fi
49724
49725
49726        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_from_integer in -lfvalue" >&5
49727$as_echo_n "checking for libfvalue_utf8_string_copy_from_integer in -lfvalue... " >&6; }
49728if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer+:} false; then :
49729  $as_echo_n "(cached) " >&6
49730else
49731  ac_check_lib_save_LIBS=$LIBS
49732LIBS="-lfvalue  $LIBS"
49733cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49734/* end confdefs.h.  */
49735
49736/* Override any GCC internal prototype to avoid an error.
49737   Use char because int might match the return type of a GCC
49738   builtin and then its argument prototype would still apply.  */
49739#ifdef __cplusplus
49740extern "C"
49741#endif
49742char libfvalue_utf8_string_copy_from_integer ();
49743int
49744main ()
49745{
49746return libfvalue_utf8_string_copy_from_integer ();
49747  ;
49748  return 0;
49749}
49750_ACEOF
49751if ac_fn_c_try_link "$LINENO"; then :
49752  ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=yes
49753else
49754  ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=no
49755fi
49756rm -f core conftest.err conftest.$ac_objext \
49757    conftest$ac_exeext conftest.$ac_ext
49758LIBS=$ac_check_lib_save_LIBS
49759fi
49760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&5
49761$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&6; }
49762if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" = xyes; then :
49763  ac_cv_libfvalue_dummy=yes
49764else
49765  ac_cv_libfvalue=no
49766fi
49767
49768        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue" >&5
49769$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue... " >&6; }
49770if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer+:} false; then :
49771  $as_echo_n "(cached) " >&6
49772else
49773  ac_check_lib_save_LIBS=$LIBS
49774LIBS="-lfvalue  $LIBS"
49775cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49776/* end confdefs.h.  */
49777
49778/* Override any GCC internal prototype to avoid an error.
49779   Use char because int might match the return type of a GCC
49780   builtin and then its argument prototype would still apply.  */
49781#ifdef __cplusplus
49782extern "C"
49783#endif
49784char libfvalue_utf8_string_with_index_copy_from_integer ();
49785int
49786main ()
49787{
49788return libfvalue_utf8_string_with_index_copy_from_integer ();
49789  ;
49790  return 0;
49791}
49792_ACEOF
49793if ac_fn_c_try_link "$LINENO"; then :
49794  ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=yes
49795else
49796  ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=no
49797fi
49798rm -f core conftest.err conftest.$ac_objext \
49799    conftest$ac_exeext conftest.$ac_ext
49800LIBS=$ac_check_lib_save_LIBS
49801fi
49802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&5
49803$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&6; }
49804if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" = xyes; then :
49805  ac_cv_libfvalue_dummy=yes
49806else
49807  ac_cv_libfvalue=no
49808fi
49809
49810        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_to_integer in -lfvalue" >&5
49811$as_echo_n "checking for libfvalue_utf8_string_copy_to_integer in -lfvalue... " >&6; }
49812if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer+:} false; then :
49813  $as_echo_n "(cached) " >&6
49814else
49815  ac_check_lib_save_LIBS=$LIBS
49816LIBS="-lfvalue  $LIBS"
49817cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49818/* end confdefs.h.  */
49819
49820/* Override any GCC internal prototype to avoid an error.
49821   Use char because int might match the return type of a GCC
49822   builtin and then its argument prototype would still apply.  */
49823#ifdef __cplusplus
49824extern "C"
49825#endif
49826char libfvalue_utf8_string_copy_to_integer ();
49827int
49828main ()
49829{
49830return libfvalue_utf8_string_copy_to_integer ();
49831  ;
49832  return 0;
49833}
49834_ACEOF
49835if ac_fn_c_try_link "$LINENO"; then :
49836  ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=yes
49837else
49838  ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=no
49839fi
49840rm -f core conftest.err conftest.$ac_objext \
49841    conftest$ac_exeext conftest.$ac_ext
49842LIBS=$ac_check_lib_save_LIBS
49843fi
49844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&5
49845$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&6; }
49846if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" = xyes; then :
49847  ac_cv_libfvalue_dummy=yes
49848else
49849  ac_cv_libfvalue=no
49850fi
49851
49852        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue" >&5
49853$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue... " >&6; }
49854if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer+:} false; then :
49855  $as_echo_n "(cached) " >&6
49856else
49857  ac_check_lib_save_LIBS=$LIBS
49858LIBS="-lfvalue  $LIBS"
49859cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49860/* end confdefs.h.  */
49861
49862/* Override any GCC internal prototype to avoid an error.
49863   Use char because int might match the return type of a GCC
49864   builtin and then its argument prototype would still apply.  */
49865#ifdef __cplusplus
49866extern "C"
49867#endif
49868char libfvalue_utf8_string_with_index_copy_to_integer ();
49869int
49870main ()
49871{
49872return libfvalue_utf8_string_with_index_copy_to_integer ();
49873  ;
49874  return 0;
49875}
49876_ACEOF
49877if ac_fn_c_try_link "$LINENO"; then :
49878  ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=yes
49879else
49880  ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=no
49881fi
49882rm -f core conftest.err conftest.$ac_objext \
49883    conftest$ac_exeext conftest.$ac_ext
49884LIBS=$ac_check_lib_save_LIBS
49885fi
49886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&5
49887$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&6; }
49888if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" = xyes; then :
49889  ac_cv_libfvalue_dummy=yes
49890else
49891  ac_cv_libfvalue=no
49892fi
49893
49894
49895        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_from_integer in -lfvalue" >&5
49896$as_echo_n "checking for libfvalue_utf16_string_copy_from_integer in -lfvalue... " >&6; }
49897if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer+:} false; then :
49898  $as_echo_n "(cached) " >&6
49899else
49900  ac_check_lib_save_LIBS=$LIBS
49901LIBS="-lfvalue  $LIBS"
49902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49903/* end confdefs.h.  */
49904
49905/* Override any GCC internal prototype to avoid an error.
49906   Use char because int might match the return type of a GCC
49907   builtin and then its argument prototype would still apply.  */
49908#ifdef __cplusplus
49909extern "C"
49910#endif
49911char libfvalue_utf16_string_copy_from_integer ();
49912int
49913main ()
49914{
49915return libfvalue_utf16_string_copy_from_integer ();
49916  ;
49917  return 0;
49918}
49919_ACEOF
49920if ac_fn_c_try_link "$LINENO"; then :
49921  ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=yes
49922else
49923  ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=no
49924fi
49925rm -f core conftest.err conftest.$ac_objext \
49926    conftest$ac_exeext conftest.$ac_ext
49927LIBS=$ac_check_lib_save_LIBS
49928fi
49929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&5
49930$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&6; }
49931if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" = xyes; then :
49932  ac_cv_libfvalue_dummy=yes
49933else
49934  ac_cv_libfvalue=no
49935fi
49936
49937        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue" >&5
49938$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue... " >&6; }
49939if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer+:} false; then :
49940  $as_echo_n "(cached) " >&6
49941else
49942  ac_check_lib_save_LIBS=$LIBS
49943LIBS="-lfvalue  $LIBS"
49944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49945/* end confdefs.h.  */
49946
49947/* Override any GCC internal prototype to avoid an error.
49948   Use char because int might match the return type of a GCC
49949   builtin and then its argument prototype would still apply.  */
49950#ifdef __cplusplus
49951extern "C"
49952#endif
49953char libfvalue_utf16_string_with_index_copy_from_integer ();
49954int
49955main ()
49956{
49957return libfvalue_utf16_string_with_index_copy_from_integer ();
49958  ;
49959  return 0;
49960}
49961_ACEOF
49962if ac_fn_c_try_link "$LINENO"; then :
49963  ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=yes
49964else
49965  ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=no
49966fi
49967rm -f core conftest.err conftest.$ac_objext \
49968    conftest$ac_exeext conftest.$ac_ext
49969LIBS=$ac_check_lib_save_LIBS
49970fi
49971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&5
49972$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&6; }
49973if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" = xyes; then :
49974  ac_cv_libfvalue_dummy=yes
49975else
49976  ac_cv_libfvalue=no
49977fi
49978
49979        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_to_integer in -lfvalue" >&5
49980$as_echo_n "checking for libfvalue_utf16_string_copy_to_integer in -lfvalue... " >&6; }
49981if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer+:} false; then :
49982  $as_echo_n "(cached) " >&6
49983else
49984  ac_check_lib_save_LIBS=$LIBS
49985LIBS="-lfvalue  $LIBS"
49986cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49987/* end confdefs.h.  */
49988
49989/* Override any GCC internal prototype to avoid an error.
49990   Use char because int might match the return type of a GCC
49991   builtin and then its argument prototype would still apply.  */
49992#ifdef __cplusplus
49993extern "C"
49994#endif
49995char libfvalue_utf16_string_copy_to_integer ();
49996int
49997main ()
49998{
49999return libfvalue_utf16_string_copy_to_integer ();
50000  ;
50001  return 0;
50002}
50003_ACEOF
50004if ac_fn_c_try_link "$LINENO"; then :
50005  ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=yes
50006else
50007  ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=no
50008fi
50009rm -f core conftest.err conftest.$ac_objext \
50010    conftest$ac_exeext conftest.$ac_ext
50011LIBS=$ac_check_lib_save_LIBS
50012fi
50013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&5
50014$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&6; }
50015if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" = xyes; then :
50016  ac_cv_libfvalue_dummy=yes
50017else
50018  ac_cv_libfvalue=no
50019fi
50020
50021        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue" >&5
50022$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue... " >&6; }
50023if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer+:} false; then :
50024  $as_echo_n "(cached) " >&6
50025else
50026  ac_check_lib_save_LIBS=$LIBS
50027LIBS="-lfvalue  $LIBS"
50028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50029/* end confdefs.h.  */
50030
50031/* Override any GCC internal prototype to avoid an error.
50032   Use char because int might match the return type of a GCC
50033   builtin and then its argument prototype would still apply.  */
50034#ifdef __cplusplus
50035extern "C"
50036#endif
50037char libfvalue_utf16_string_with_index_copy_to_integer ();
50038int
50039main ()
50040{
50041return libfvalue_utf16_string_with_index_copy_to_integer ();
50042  ;
50043  return 0;
50044}
50045_ACEOF
50046if ac_fn_c_try_link "$LINENO"; then :
50047  ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=yes
50048else
50049  ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=no
50050fi
50051rm -f core conftest.err conftest.$ac_objext \
50052    conftest$ac_exeext conftest.$ac_ext
50053LIBS=$ac_check_lib_save_LIBS
50054fi
50055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&5
50056$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&6; }
50057if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" = xyes; then :
50058  ac_cv_libfvalue_dummy=yes
50059else
50060  ac_cv_libfvalue=no
50061fi
50062
50063
50064        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_from_integer in -lfvalue" >&5
50065$as_echo_n "checking for libfvalue_utf32_string_copy_from_integer in -lfvalue... " >&6; }
50066if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer+:} false; then :
50067  $as_echo_n "(cached) " >&6
50068else
50069  ac_check_lib_save_LIBS=$LIBS
50070LIBS="-lfvalue  $LIBS"
50071cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50072/* end confdefs.h.  */
50073
50074/* Override any GCC internal prototype to avoid an error.
50075   Use char because int might match the return type of a GCC
50076   builtin and then its argument prototype would still apply.  */
50077#ifdef __cplusplus
50078extern "C"
50079#endif
50080char libfvalue_utf32_string_copy_from_integer ();
50081int
50082main ()
50083{
50084return libfvalue_utf32_string_copy_from_integer ();
50085  ;
50086  return 0;
50087}
50088_ACEOF
50089if ac_fn_c_try_link "$LINENO"; then :
50090  ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=yes
50091else
50092  ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=no
50093fi
50094rm -f core conftest.err conftest.$ac_objext \
50095    conftest$ac_exeext conftest.$ac_ext
50096LIBS=$ac_check_lib_save_LIBS
50097fi
50098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&5
50099$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&6; }
50100if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" = xyes; then :
50101  ac_cv_libfvalue_dummy=yes
50102else
50103  ac_cv_libfvalue=no
50104fi
50105
50106        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue" >&5
50107$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue... " >&6; }
50108if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer+:} false; then :
50109  $as_echo_n "(cached) " >&6
50110else
50111  ac_check_lib_save_LIBS=$LIBS
50112LIBS="-lfvalue  $LIBS"
50113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50114/* end confdefs.h.  */
50115
50116/* Override any GCC internal prototype to avoid an error.
50117   Use char because int might match the return type of a GCC
50118   builtin and then its argument prototype would still apply.  */
50119#ifdef __cplusplus
50120extern "C"
50121#endif
50122char libfvalue_utf32_string_with_index_copy_from_integer ();
50123int
50124main ()
50125{
50126return libfvalue_utf32_string_with_index_copy_from_integer ();
50127  ;
50128  return 0;
50129}
50130_ACEOF
50131if ac_fn_c_try_link "$LINENO"; then :
50132  ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=yes
50133else
50134  ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=no
50135fi
50136rm -f core conftest.err conftest.$ac_objext \
50137    conftest$ac_exeext conftest.$ac_ext
50138LIBS=$ac_check_lib_save_LIBS
50139fi
50140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&5
50141$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&6; }
50142if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" = xyes; then :
50143  ac_cv_libfvalue_dummy=yes
50144else
50145  ac_cv_libfvalue=no
50146fi
50147
50148        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_to_integer in -lfvalue" >&5
50149$as_echo_n "checking for libfvalue_utf32_string_copy_to_integer in -lfvalue... " >&6; }
50150if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer+:} false; then :
50151  $as_echo_n "(cached) " >&6
50152else
50153  ac_check_lib_save_LIBS=$LIBS
50154LIBS="-lfvalue  $LIBS"
50155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50156/* end confdefs.h.  */
50157
50158/* Override any GCC internal prototype to avoid an error.
50159   Use char because int might match the return type of a GCC
50160   builtin and then its argument prototype would still apply.  */
50161#ifdef __cplusplus
50162extern "C"
50163#endif
50164char libfvalue_utf32_string_copy_to_integer ();
50165int
50166main ()
50167{
50168return libfvalue_utf32_string_copy_to_integer ();
50169  ;
50170  return 0;
50171}
50172_ACEOF
50173if ac_fn_c_try_link "$LINENO"; then :
50174  ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=yes
50175else
50176  ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=no
50177fi
50178rm -f core conftest.err conftest.$ac_objext \
50179    conftest$ac_exeext conftest.$ac_ext
50180LIBS=$ac_check_lib_save_LIBS
50181fi
50182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&5
50183$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&6; }
50184if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" = xyes; then :
50185  ac_cv_libfvalue_dummy=yes
50186else
50187  ac_cv_libfvalue=no
50188fi
50189
50190        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue" >&5
50191$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue... " >&6; }
50192if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer+:} false; then :
50193  $as_echo_n "(cached) " >&6
50194else
50195  ac_check_lib_save_LIBS=$LIBS
50196LIBS="-lfvalue  $LIBS"
50197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50198/* end confdefs.h.  */
50199
50200/* Override any GCC internal prototype to avoid an error.
50201   Use char because int might match the return type of a GCC
50202   builtin and then its argument prototype would still apply.  */
50203#ifdef __cplusplus
50204extern "C"
50205#endif
50206char libfvalue_utf32_string_with_index_copy_to_integer ();
50207int
50208main ()
50209{
50210return libfvalue_utf32_string_with_index_copy_to_integer ();
50211  ;
50212  return 0;
50213}
50214_ACEOF
50215if ac_fn_c_try_link "$LINENO"; then :
50216  ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=yes
50217else
50218  ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=no
50219fi
50220rm -f core conftest.err conftest.$ac_objext \
50221    conftest$ac_exeext conftest.$ac_ext
50222LIBS=$ac_check_lib_save_LIBS
50223fi
50224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&5
50225$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&6; }
50226if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" = xyes; then :
50227  ac_cv_libfvalue_dummy=yes
50228else
50229  ac_cv_libfvalue=no
50230fi
50231
50232
50233                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_split in -lfvalue" >&5
50234$as_echo_n "checking for libfvalue_utf8_string_split in -lfvalue... " >&6; }
50235if ${ac_cv_lib_fvalue_libfvalue_utf8_string_split+:} false; then :
50236  $as_echo_n "(cached) " >&6
50237else
50238  ac_check_lib_save_LIBS=$LIBS
50239LIBS="-lfvalue  $LIBS"
50240cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50241/* end confdefs.h.  */
50242
50243/* Override any GCC internal prototype to avoid an error.
50244   Use char because int might match the return type of a GCC
50245   builtin and then its argument prototype would still apply.  */
50246#ifdef __cplusplus
50247extern "C"
50248#endif
50249char libfvalue_utf8_string_split ();
50250int
50251main ()
50252{
50253return libfvalue_utf8_string_split ();
50254  ;
50255  return 0;
50256}
50257_ACEOF
50258if ac_fn_c_try_link "$LINENO"; then :
50259  ac_cv_lib_fvalue_libfvalue_utf8_string_split=yes
50260else
50261  ac_cv_lib_fvalue_libfvalue_utf8_string_split=no
50262fi
50263rm -f core conftest.err conftest.$ac_objext \
50264    conftest$ac_exeext conftest.$ac_ext
50265LIBS=$ac_check_lib_save_LIBS
50266fi
50267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&5
50268$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&6; }
50269if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_split" = xyes; then :
50270  ac_cv_libfvalue_dummy=yes
50271else
50272  ac_cv_libfvalue=no
50273fi
50274
50275
50276        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_split in -lfvalue" >&5
50277$as_echo_n "checking for libfvalue_utf16_string_split in -lfvalue... " >&6; }
50278if ${ac_cv_lib_fvalue_libfvalue_utf16_string_split+:} false; then :
50279  $as_echo_n "(cached) " >&6
50280else
50281  ac_check_lib_save_LIBS=$LIBS
50282LIBS="-lfvalue  $LIBS"
50283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50284/* end confdefs.h.  */
50285
50286/* Override any GCC internal prototype to avoid an error.
50287   Use char because int might match the return type of a GCC
50288   builtin and then its argument prototype would still apply.  */
50289#ifdef __cplusplus
50290extern "C"
50291#endif
50292char libfvalue_utf16_string_split ();
50293int
50294main ()
50295{
50296return libfvalue_utf16_string_split ();
50297  ;
50298  return 0;
50299}
50300_ACEOF
50301if ac_fn_c_try_link "$LINENO"; then :
50302  ac_cv_lib_fvalue_libfvalue_utf16_string_split=yes
50303else
50304  ac_cv_lib_fvalue_libfvalue_utf16_string_split=no
50305fi
50306rm -f core conftest.err conftest.$ac_objext \
50307    conftest$ac_exeext conftest.$ac_ext
50308LIBS=$ac_check_lib_save_LIBS
50309fi
50310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&5
50311$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&6; }
50312if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_split" = xyes; then :
50313  ac_cv_libfvalue_dummy=yes
50314else
50315  ac_cv_libfvalue=no
50316fi
50317
50318
50319                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_free in -lfvalue" >&5
50320$as_echo_n "checking for libfvalue_split_utf8_string_free in -lfvalue... " >&6; }
50321if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_free+:} false; then :
50322  $as_echo_n "(cached) " >&6
50323else
50324  ac_check_lib_save_LIBS=$LIBS
50325LIBS="-lfvalue  $LIBS"
50326cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50327/* end confdefs.h.  */
50328
50329/* Override any GCC internal prototype to avoid an error.
50330   Use char because int might match the return type of a GCC
50331   builtin and then its argument prototype would still apply.  */
50332#ifdef __cplusplus
50333extern "C"
50334#endif
50335char libfvalue_split_utf8_string_free ();
50336int
50337main ()
50338{
50339return libfvalue_split_utf8_string_free ();
50340  ;
50341  return 0;
50342}
50343_ACEOF
50344if ac_fn_c_try_link "$LINENO"; then :
50345  ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=yes
50346else
50347  ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=no
50348fi
50349rm -f core conftest.err conftest.$ac_objext \
50350    conftest$ac_exeext conftest.$ac_ext
50351LIBS=$ac_check_lib_save_LIBS
50352fi
50353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&5
50354$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&6; }
50355if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" = xyes; then :
50356  ac_cv_libfvalue_dummy=yes
50357else
50358  ac_cv_libfvalue=no
50359fi
50360
50361        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_string in -lfvalue" >&5
50362$as_echo_n "checking for libfvalue_split_utf8_string_get_string in -lfvalue... " >&6; }
50363if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string+:} false; then :
50364  $as_echo_n "(cached) " >&6
50365else
50366  ac_check_lib_save_LIBS=$LIBS
50367LIBS="-lfvalue  $LIBS"
50368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50369/* end confdefs.h.  */
50370
50371/* Override any GCC internal prototype to avoid an error.
50372   Use char because int might match the return type of a GCC
50373   builtin and then its argument prototype would still apply.  */
50374#ifdef __cplusplus
50375extern "C"
50376#endif
50377char libfvalue_split_utf8_string_get_string ();
50378int
50379main ()
50380{
50381return libfvalue_split_utf8_string_get_string ();
50382  ;
50383  return 0;
50384}
50385_ACEOF
50386if ac_fn_c_try_link "$LINENO"; then :
50387  ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=yes
50388else
50389  ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=no
50390fi
50391rm -f core conftest.err conftest.$ac_objext \
50392    conftest$ac_exeext conftest.$ac_ext
50393LIBS=$ac_check_lib_save_LIBS
50394fi
50395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&5
50396$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&6; }
50397if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" = xyes; then :
50398  ac_cv_libfvalue_dummy=yes
50399else
50400  ac_cv_libfvalue=no
50401fi
50402
50403        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue" >&5
50404$as_echo_n "checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue... " >&6; }
50405if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments+:} false; then :
50406  $as_echo_n "(cached) " >&6
50407else
50408  ac_check_lib_save_LIBS=$LIBS
50409LIBS="-lfvalue  $LIBS"
50410cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50411/* end confdefs.h.  */
50412
50413/* Override any GCC internal prototype to avoid an error.
50414   Use char because int might match the return type of a GCC
50415   builtin and then its argument prototype would still apply.  */
50416#ifdef __cplusplus
50417extern "C"
50418#endif
50419char libfvalue_split_utf8_string_get_number_of_segments ();
50420int
50421main ()
50422{
50423return libfvalue_split_utf8_string_get_number_of_segments ();
50424  ;
50425  return 0;
50426}
50427_ACEOF
50428if ac_fn_c_try_link "$LINENO"; then :
50429  ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=yes
50430else
50431  ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=no
50432fi
50433rm -f core conftest.err conftest.$ac_objext \
50434    conftest$ac_exeext conftest.$ac_ext
50435LIBS=$ac_check_lib_save_LIBS
50436fi
50437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&5
50438$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&6; }
50439if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" = xyes; then :
50440  ac_cv_libfvalue_dummy=yes
50441else
50442  ac_cv_libfvalue=no
50443fi
50444
50445        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue" >&5
50446$as_echo_n "checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue... " >&6; }
50447if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index+:} false; then :
50448  $as_echo_n "(cached) " >&6
50449else
50450  ac_check_lib_save_LIBS=$LIBS
50451LIBS="-lfvalue  $LIBS"
50452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50453/* end confdefs.h.  */
50454
50455/* Override any GCC internal prototype to avoid an error.
50456   Use char because int might match the return type of a GCC
50457   builtin and then its argument prototype would still apply.  */
50458#ifdef __cplusplus
50459extern "C"
50460#endif
50461char libfvalue_split_utf8_string_get_segment_by_index ();
50462int
50463main ()
50464{
50465return libfvalue_split_utf8_string_get_segment_by_index ();
50466  ;
50467  return 0;
50468}
50469_ACEOF
50470if ac_fn_c_try_link "$LINENO"; then :
50471  ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=yes
50472else
50473  ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=no
50474fi
50475rm -f core conftest.err conftest.$ac_objext \
50476    conftest$ac_exeext conftest.$ac_ext
50477LIBS=$ac_check_lib_save_LIBS
50478fi
50479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&5
50480$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&6; }
50481if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" = xyes; then :
50482  ac_cv_libfvalue_dummy=yes
50483else
50484  ac_cv_libfvalue=no
50485fi
50486
50487
50488        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_free in -lfvalue" >&5
50489$as_echo_n "checking for libfvalue_split_utf16_string_free in -lfvalue... " >&6; }
50490if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_free+:} false; then :
50491  $as_echo_n "(cached) " >&6
50492else
50493  ac_check_lib_save_LIBS=$LIBS
50494LIBS="-lfvalue  $LIBS"
50495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496/* end confdefs.h.  */
50497
50498/* Override any GCC internal prototype to avoid an error.
50499   Use char because int might match the return type of a GCC
50500   builtin and then its argument prototype would still apply.  */
50501#ifdef __cplusplus
50502extern "C"
50503#endif
50504char libfvalue_split_utf16_string_free ();
50505int
50506main ()
50507{
50508return libfvalue_split_utf16_string_free ();
50509  ;
50510  return 0;
50511}
50512_ACEOF
50513if ac_fn_c_try_link "$LINENO"; then :
50514  ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=yes
50515else
50516  ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=no
50517fi
50518rm -f core conftest.err conftest.$ac_objext \
50519    conftest$ac_exeext conftest.$ac_ext
50520LIBS=$ac_check_lib_save_LIBS
50521fi
50522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&5
50523$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&6; }
50524if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" = xyes; then :
50525  ac_cv_libfvalue_dummy=yes
50526else
50527  ac_cv_libfvalue=no
50528fi
50529
50530        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_string in -lfvalue" >&5
50531$as_echo_n "checking for libfvalue_split_utf16_string_get_string in -lfvalue... " >&6; }
50532if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string+:} false; then :
50533  $as_echo_n "(cached) " >&6
50534else
50535  ac_check_lib_save_LIBS=$LIBS
50536LIBS="-lfvalue  $LIBS"
50537cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50538/* end confdefs.h.  */
50539
50540/* Override any GCC internal prototype to avoid an error.
50541   Use char because int might match the return type of a GCC
50542   builtin and then its argument prototype would still apply.  */
50543#ifdef __cplusplus
50544extern "C"
50545#endif
50546char libfvalue_split_utf16_string_get_string ();
50547int
50548main ()
50549{
50550return libfvalue_split_utf16_string_get_string ();
50551  ;
50552  return 0;
50553}
50554_ACEOF
50555if ac_fn_c_try_link "$LINENO"; then :
50556  ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=yes
50557else
50558  ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=no
50559fi
50560rm -f core conftest.err conftest.$ac_objext \
50561    conftest$ac_exeext conftest.$ac_ext
50562LIBS=$ac_check_lib_save_LIBS
50563fi
50564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&5
50565$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&6; }
50566if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" = xyes; then :
50567  ac_cv_libfvalue_dummy=yes
50568else
50569  ac_cv_libfvalue=no
50570fi
50571
50572        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue" >&5
50573$as_echo_n "checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue... " >&6; }
50574if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments+:} false; then :
50575  $as_echo_n "(cached) " >&6
50576else
50577  ac_check_lib_save_LIBS=$LIBS
50578LIBS="-lfvalue  $LIBS"
50579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580/* end confdefs.h.  */
50581
50582/* Override any GCC internal prototype to avoid an error.
50583   Use char because int might match the return type of a GCC
50584   builtin and then its argument prototype would still apply.  */
50585#ifdef __cplusplus
50586extern "C"
50587#endif
50588char libfvalue_split_utf16_string_get_number_of_segments ();
50589int
50590main ()
50591{
50592return libfvalue_split_utf16_string_get_number_of_segments ();
50593  ;
50594  return 0;
50595}
50596_ACEOF
50597if ac_fn_c_try_link "$LINENO"; then :
50598  ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=yes
50599else
50600  ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=no
50601fi
50602rm -f core conftest.err conftest.$ac_objext \
50603    conftest$ac_exeext conftest.$ac_ext
50604LIBS=$ac_check_lib_save_LIBS
50605fi
50606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&5
50607$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&6; }
50608if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" = xyes; then :
50609  ac_cv_libfvalue_dummy=yes
50610else
50611  ac_cv_libfvalue=no
50612fi
50613
50614        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue" >&5
50615$as_echo_n "checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue... " >&6; }
50616if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index+:} false; then :
50617  $as_echo_n "(cached) " >&6
50618else
50619  ac_check_lib_save_LIBS=$LIBS
50620LIBS="-lfvalue  $LIBS"
50621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50622/* end confdefs.h.  */
50623
50624/* Override any GCC internal prototype to avoid an error.
50625   Use char because int might match the return type of a GCC
50626   builtin and then its argument prototype would still apply.  */
50627#ifdef __cplusplus
50628extern "C"
50629#endif
50630char libfvalue_split_utf16_string_get_segment_by_index ();
50631int
50632main ()
50633{
50634return libfvalue_split_utf16_string_get_segment_by_index ();
50635  ;
50636  return 0;
50637}
50638_ACEOF
50639if ac_fn_c_try_link "$LINENO"; then :
50640  ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=yes
50641else
50642  ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=no
50643fi
50644rm -f core conftest.err conftest.$ac_objext \
50645    conftest$ac_exeext conftest.$ac_ext
50646LIBS=$ac_check_lib_save_LIBS
50647fi
50648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&5
50649$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&6; }
50650if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" = xyes; then :
50651  ac_cv_libfvalue_dummy=yes
50652else
50653  ac_cv_libfvalue=no
50654fi
50655
50656
50657                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_initialize in -lfvalue" >&5
50658$as_echo_n "checking for libfvalue_table_initialize in -lfvalue... " >&6; }
50659if ${ac_cv_lib_fvalue_libfvalue_table_initialize+:} false; then :
50660  $as_echo_n "(cached) " >&6
50661else
50662  ac_check_lib_save_LIBS=$LIBS
50663LIBS="-lfvalue  $LIBS"
50664cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50665/* end confdefs.h.  */
50666
50667/* Override any GCC internal prototype to avoid an error.
50668   Use char because int might match the return type of a GCC
50669   builtin and then its argument prototype would still apply.  */
50670#ifdef __cplusplus
50671extern "C"
50672#endif
50673char libfvalue_table_initialize ();
50674int
50675main ()
50676{
50677return libfvalue_table_initialize ();
50678  ;
50679  return 0;
50680}
50681_ACEOF
50682if ac_fn_c_try_link "$LINENO"; then :
50683  ac_cv_lib_fvalue_libfvalue_table_initialize=yes
50684else
50685  ac_cv_lib_fvalue_libfvalue_table_initialize=no
50686fi
50687rm -f core conftest.err conftest.$ac_objext \
50688    conftest$ac_exeext conftest.$ac_ext
50689LIBS=$ac_check_lib_save_LIBS
50690fi
50691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_initialize" >&5
50692$as_echo "$ac_cv_lib_fvalue_libfvalue_table_initialize" >&6; }
50693if test "x$ac_cv_lib_fvalue_libfvalue_table_initialize" = xyes; then :
50694  ac_cv_libfvalue_dummy=yes
50695else
50696  ac_cv_libfvalue=no
50697fi
50698
50699        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_free in -lfvalue" >&5
50700$as_echo_n "checking for libfvalue_table_free in -lfvalue... " >&6; }
50701if ${ac_cv_lib_fvalue_libfvalue_table_free+:} false; then :
50702  $as_echo_n "(cached) " >&6
50703else
50704  ac_check_lib_save_LIBS=$LIBS
50705LIBS="-lfvalue  $LIBS"
50706cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50707/* end confdefs.h.  */
50708
50709/* Override any GCC internal prototype to avoid an error.
50710   Use char because int might match the return type of a GCC
50711   builtin and then its argument prototype would still apply.  */
50712#ifdef __cplusplus
50713extern "C"
50714#endif
50715char libfvalue_table_free ();
50716int
50717main ()
50718{
50719return libfvalue_table_free ();
50720  ;
50721  return 0;
50722}
50723_ACEOF
50724if ac_fn_c_try_link "$LINENO"; then :
50725  ac_cv_lib_fvalue_libfvalue_table_free=yes
50726else
50727  ac_cv_lib_fvalue_libfvalue_table_free=no
50728fi
50729rm -f core conftest.err conftest.$ac_objext \
50730    conftest$ac_exeext conftest.$ac_ext
50731LIBS=$ac_check_lib_save_LIBS
50732fi
50733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_free" >&5
50734$as_echo "$ac_cv_lib_fvalue_libfvalue_table_free" >&6; }
50735if test "x$ac_cv_lib_fvalue_libfvalue_table_free" = xyes; then :
50736  ac_cv_libfvalue_dummy=yes
50737else
50738  ac_cv_libfvalue=no
50739fi
50740
50741        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_resize in -lfvalue" >&5
50742$as_echo_n "checking for libfvalue_table_resize in -lfvalue... " >&6; }
50743if ${ac_cv_lib_fvalue_libfvalue_table_resize+:} false; then :
50744  $as_echo_n "(cached) " >&6
50745else
50746  ac_check_lib_save_LIBS=$LIBS
50747LIBS="-lfvalue  $LIBS"
50748cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50749/* end confdefs.h.  */
50750
50751/* Override any GCC internal prototype to avoid an error.
50752   Use char because int might match the return type of a GCC
50753   builtin and then its argument prototype would still apply.  */
50754#ifdef __cplusplus
50755extern "C"
50756#endif
50757char libfvalue_table_resize ();
50758int
50759main ()
50760{
50761return libfvalue_table_resize ();
50762  ;
50763  return 0;
50764}
50765_ACEOF
50766if ac_fn_c_try_link "$LINENO"; then :
50767  ac_cv_lib_fvalue_libfvalue_table_resize=yes
50768else
50769  ac_cv_lib_fvalue_libfvalue_table_resize=no
50770fi
50771rm -f core conftest.err conftest.$ac_objext \
50772    conftest$ac_exeext conftest.$ac_ext
50773LIBS=$ac_check_lib_save_LIBS
50774fi
50775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_resize" >&5
50776$as_echo "$ac_cv_lib_fvalue_libfvalue_table_resize" >&6; }
50777if test "x$ac_cv_lib_fvalue_libfvalue_table_resize" = xyes; then :
50778  ac_cv_libfvalue_dummy=yes
50779else
50780  ac_cv_libfvalue=no
50781fi
50782
50783        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_clone in -lfvalue" >&5
50784$as_echo_n "checking for libfvalue_table_clone in -lfvalue... " >&6; }
50785if ${ac_cv_lib_fvalue_libfvalue_table_clone+:} false; then :
50786  $as_echo_n "(cached) " >&6
50787else
50788  ac_check_lib_save_LIBS=$LIBS
50789LIBS="-lfvalue  $LIBS"
50790cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50791/* end confdefs.h.  */
50792
50793/* Override any GCC internal prototype to avoid an error.
50794   Use char because int might match the return type of a GCC
50795   builtin and then its argument prototype would still apply.  */
50796#ifdef __cplusplus
50797extern "C"
50798#endif
50799char libfvalue_table_clone ();
50800int
50801main ()
50802{
50803return libfvalue_table_clone ();
50804  ;
50805  return 0;
50806}
50807_ACEOF
50808if ac_fn_c_try_link "$LINENO"; then :
50809  ac_cv_lib_fvalue_libfvalue_table_clone=yes
50810else
50811  ac_cv_lib_fvalue_libfvalue_table_clone=no
50812fi
50813rm -f core conftest.err conftest.$ac_objext \
50814    conftest$ac_exeext conftest.$ac_ext
50815LIBS=$ac_check_lib_save_LIBS
50816fi
50817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_clone" >&5
50818$as_echo "$ac_cv_lib_fvalue_libfvalue_table_clone" >&6; }
50819if test "x$ac_cv_lib_fvalue_libfvalue_table_clone" = xyes; then :
50820  ac_cv_libfvalue_dummy=yes
50821else
50822  ac_cv_libfvalue=no
50823fi
50824
50825
50826        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_number_of_values in -lfvalue" >&5
50827$as_echo_n "checking for libfvalue_table_get_number_of_values in -lfvalue... " >&6; }
50828if ${ac_cv_lib_fvalue_libfvalue_table_get_number_of_values+:} false; then :
50829  $as_echo_n "(cached) " >&6
50830else
50831  ac_check_lib_save_LIBS=$LIBS
50832LIBS="-lfvalue  $LIBS"
50833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50834/* end confdefs.h.  */
50835
50836/* Override any GCC internal prototype to avoid an error.
50837   Use char because int might match the return type of a GCC
50838   builtin and then its argument prototype would still apply.  */
50839#ifdef __cplusplus
50840extern "C"
50841#endif
50842char libfvalue_table_get_number_of_values ();
50843int
50844main ()
50845{
50846return libfvalue_table_get_number_of_values ();
50847  ;
50848  return 0;
50849}
50850_ACEOF
50851if ac_fn_c_try_link "$LINENO"; then :
50852  ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=yes
50853else
50854  ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=no
50855fi
50856rm -f core conftest.err conftest.$ac_objext \
50857    conftest$ac_exeext conftest.$ac_ext
50858LIBS=$ac_check_lib_save_LIBS
50859fi
50860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&5
50861$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&6; }
50862if test "x$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" = xyes; then :
50863  ac_cv_libfvalue_dummy=yes
50864else
50865  ac_cv_libfvalue=no
50866fi
50867
50868
50869        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_index_by_identifier in -lfvalue" >&5
50870$as_echo_n "checking for libfvalue_table_get_index_by_identifier in -lfvalue... " >&6; }
50871if ${ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier+:} false; then :
50872  $as_echo_n "(cached) " >&6
50873else
50874  ac_check_lib_save_LIBS=$LIBS
50875LIBS="-lfvalue  $LIBS"
50876cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50877/* end confdefs.h.  */
50878
50879/* Override any GCC internal prototype to avoid an error.
50880   Use char because int might match the return type of a GCC
50881   builtin and then its argument prototype would still apply.  */
50882#ifdef __cplusplus
50883extern "C"
50884#endif
50885char libfvalue_table_get_index_by_identifier ();
50886int
50887main ()
50888{
50889return libfvalue_table_get_index_by_identifier ();
50890  ;
50891  return 0;
50892}
50893_ACEOF
50894if ac_fn_c_try_link "$LINENO"; then :
50895  ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=yes
50896else
50897  ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=no
50898fi
50899rm -f core conftest.err conftest.$ac_objext \
50900    conftest$ac_exeext conftest.$ac_ext
50901LIBS=$ac_check_lib_save_LIBS
50902fi
50903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&5
50904$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&6; }
50905if test "x$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" = xyes; then :
50906  ac_cv_libfvalue_dummy=yes
50907else
50908  ac_cv_libfvalue=no
50909fi
50910
50911
50912        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_index in -lfvalue" >&5
50913$as_echo_n "checking for libfvalue_table_get_value_by_index in -lfvalue... " >&6; }
50914if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_index+:} false; then :
50915  $as_echo_n "(cached) " >&6
50916else
50917  ac_check_lib_save_LIBS=$LIBS
50918LIBS="-lfvalue  $LIBS"
50919cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50920/* end confdefs.h.  */
50921
50922/* Override any GCC internal prototype to avoid an error.
50923   Use char because int might match the return type of a GCC
50924   builtin and then its argument prototype would still apply.  */
50925#ifdef __cplusplus
50926extern "C"
50927#endif
50928char libfvalue_table_get_value_by_index ();
50929int
50930main ()
50931{
50932return libfvalue_table_get_value_by_index ();
50933  ;
50934  return 0;
50935}
50936_ACEOF
50937if ac_fn_c_try_link "$LINENO"; then :
50938  ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=yes
50939else
50940  ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=no
50941fi
50942rm -f core conftest.err conftest.$ac_objext \
50943    conftest$ac_exeext conftest.$ac_ext
50944LIBS=$ac_check_lib_save_LIBS
50945fi
50946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&5
50947$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&6; }
50948if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" = xyes; then :
50949  ac_cv_libfvalue_dummy=yes
50950else
50951  ac_cv_libfvalue=no
50952fi
50953
50954        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_identifier in -lfvalue" >&5
50955$as_echo_n "checking for libfvalue_table_get_value_by_identifier in -lfvalue... " >&6; }
50956if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier+:} false; then :
50957  $as_echo_n "(cached) " >&6
50958else
50959  ac_check_lib_save_LIBS=$LIBS
50960LIBS="-lfvalue  $LIBS"
50961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50962/* end confdefs.h.  */
50963
50964/* Override any GCC internal prototype to avoid an error.
50965   Use char because int might match the return type of a GCC
50966   builtin and then its argument prototype would still apply.  */
50967#ifdef __cplusplus
50968extern "C"
50969#endif
50970char libfvalue_table_get_value_by_identifier ();
50971int
50972main ()
50973{
50974return libfvalue_table_get_value_by_identifier ();
50975  ;
50976  return 0;
50977}
50978_ACEOF
50979if ac_fn_c_try_link "$LINENO"; then :
50980  ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=yes
50981else
50982  ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=no
50983fi
50984rm -f core conftest.err conftest.$ac_objext \
50985    conftest$ac_exeext conftest.$ac_ext
50986LIBS=$ac_check_lib_save_LIBS
50987fi
50988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&5
50989$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&6; }
50990if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" = xyes; then :
50991  ac_cv_libfvalue_dummy=yes
50992else
50993  ac_cv_libfvalue=no
50994fi
50995
50996        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value_by_index in -lfvalue" >&5
50997$as_echo_n "checking for libfvalue_table_set_value_by_index in -lfvalue... " >&6; }
50998if ${ac_cv_lib_fvalue_libfvalue_table_set_value_by_index+:} false; then :
50999  $as_echo_n "(cached) " >&6
51000else
51001  ac_check_lib_save_LIBS=$LIBS
51002LIBS="-lfvalue  $LIBS"
51003cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51004/* end confdefs.h.  */
51005
51006/* Override any GCC internal prototype to avoid an error.
51007   Use char because int might match the return type of a GCC
51008   builtin and then its argument prototype would still apply.  */
51009#ifdef __cplusplus
51010extern "C"
51011#endif
51012char libfvalue_table_set_value_by_index ();
51013int
51014main ()
51015{
51016return libfvalue_table_set_value_by_index ();
51017  ;
51018  return 0;
51019}
51020_ACEOF
51021if ac_fn_c_try_link "$LINENO"; then :
51022  ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=yes
51023else
51024  ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=no
51025fi
51026rm -f core conftest.err conftest.$ac_objext \
51027    conftest$ac_exeext conftest.$ac_ext
51028LIBS=$ac_check_lib_save_LIBS
51029fi
51030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&5
51031$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&6; }
51032if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" = xyes; then :
51033  ac_cv_libfvalue_dummy=yes
51034else
51035  ac_cv_libfvalue=no
51036fi
51037
51038        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value in -lfvalue" >&5
51039$as_echo_n "checking for libfvalue_table_set_value in -lfvalue... " >&6; }
51040if ${ac_cv_lib_fvalue_libfvalue_table_set_value+:} false; then :
51041  $as_echo_n "(cached) " >&6
51042else
51043  ac_check_lib_save_LIBS=$LIBS
51044LIBS="-lfvalue  $LIBS"
51045cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51046/* end confdefs.h.  */
51047
51048/* Override any GCC internal prototype to avoid an error.
51049   Use char because int might match the return type of a GCC
51050   builtin and then its argument prototype would still apply.  */
51051#ifdef __cplusplus
51052extern "C"
51053#endif
51054char libfvalue_table_set_value ();
51055int
51056main ()
51057{
51058return libfvalue_table_set_value ();
51059  ;
51060  return 0;
51061}
51062_ACEOF
51063if ac_fn_c_try_link "$LINENO"; then :
51064  ac_cv_lib_fvalue_libfvalue_table_set_value=yes
51065else
51066  ac_cv_lib_fvalue_libfvalue_table_set_value=no
51067fi
51068rm -f core conftest.err conftest.$ac_objext \
51069    conftest$ac_exeext conftest.$ac_ext
51070LIBS=$ac_check_lib_save_LIBS
51071fi
51072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value" >&5
51073$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value" >&6; }
51074if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value" = xyes; then :
51075  ac_cv_libfvalue_dummy=yes
51076else
51077  ac_cv_libfvalue=no
51078fi
51079
51080
51081        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue" >&5
51082$as_echo_n "checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue... " >&6; }
51083if ${ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string+:} false; then :
51084  $as_echo_n "(cached) " >&6
51085else
51086  ac_check_lib_save_LIBS=$LIBS
51087LIBS="-lfvalue  $LIBS"
51088cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51089/* end confdefs.h.  */
51090
51091/* Override any GCC internal prototype to avoid an error.
51092   Use char because int might match the return type of a GCC
51093   builtin and then its argument prototype would still apply.  */
51094#ifdef __cplusplus
51095extern "C"
51096#endif
51097char libfvalue_table_copy_from_utf8_xml_string ();
51098int
51099main ()
51100{
51101return libfvalue_table_copy_from_utf8_xml_string ();
51102  ;
51103  return 0;
51104}
51105_ACEOF
51106if ac_fn_c_try_link "$LINENO"; then :
51107  ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=yes
51108else
51109  ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=no
51110fi
51111rm -f core conftest.err conftest.$ac_objext \
51112    conftest$ac_exeext conftest.$ac_ext
51113LIBS=$ac_check_lib_save_LIBS
51114fi
51115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&5
51116$as_echo "$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&6; }
51117if test "x$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" = xyes; then :
51118  ac_cv_libfvalue_dummy=yes
51119else
51120  ac_cv_libfvalue=no
51121fi
51122
51123
51124                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_initialize in -lfvalue" >&5
51125$as_echo_n "checking for libfvalue_value_initialize in -lfvalue... " >&6; }
51126if ${ac_cv_lib_fvalue_libfvalue_value_initialize+:} false; then :
51127  $as_echo_n "(cached) " >&6
51128else
51129  ac_check_lib_save_LIBS=$LIBS
51130LIBS="-lfvalue  $LIBS"
51131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51132/* end confdefs.h.  */
51133
51134/* Override any GCC internal prototype to avoid an error.
51135   Use char because int might match the return type of a GCC
51136   builtin and then its argument prototype would still apply.  */
51137#ifdef __cplusplus
51138extern "C"
51139#endif
51140char libfvalue_value_initialize ();
51141int
51142main ()
51143{
51144return libfvalue_value_initialize ();
51145  ;
51146  return 0;
51147}
51148_ACEOF
51149if ac_fn_c_try_link "$LINENO"; then :
51150  ac_cv_lib_fvalue_libfvalue_value_initialize=yes
51151else
51152  ac_cv_lib_fvalue_libfvalue_value_initialize=no
51153fi
51154rm -f core conftest.err conftest.$ac_objext \
51155    conftest$ac_exeext conftest.$ac_ext
51156LIBS=$ac_check_lib_save_LIBS
51157fi
51158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_initialize" >&5
51159$as_echo "$ac_cv_lib_fvalue_libfvalue_value_initialize" >&6; }
51160if test "x$ac_cv_lib_fvalue_libfvalue_value_initialize" = xyes; then :
51161  ac_cv_libfvalue_dummy=yes
51162else
51163  ac_cv_libfvalue=no
51164fi
51165
51166        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_free in -lfvalue" >&5
51167$as_echo_n "checking for libfvalue_value_free in -lfvalue... " >&6; }
51168if ${ac_cv_lib_fvalue_libfvalue_value_free+:} false; then :
51169  $as_echo_n "(cached) " >&6
51170else
51171  ac_check_lib_save_LIBS=$LIBS
51172LIBS="-lfvalue  $LIBS"
51173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51174/* end confdefs.h.  */
51175
51176/* Override any GCC internal prototype to avoid an error.
51177   Use char because int might match the return type of a GCC
51178   builtin and then its argument prototype would still apply.  */
51179#ifdef __cplusplus
51180extern "C"
51181#endif
51182char libfvalue_value_free ();
51183int
51184main ()
51185{
51186return libfvalue_value_free ();
51187  ;
51188  return 0;
51189}
51190_ACEOF
51191if ac_fn_c_try_link "$LINENO"; then :
51192  ac_cv_lib_fvalue_libfvalue_value_free=yes
51193else
51194  ac_cv_lib_fvalue_libfvalue_value_free=no
51195fi
51196rm -f core conftest.err conftest.$ac_objext \
51197    conftest$ac_exeext conftest.$ac_ext
51198LIBS=$ac_check_lib_save_LIBS
51199fi
51200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_free" >&5
51201$as_echo "$ac_cv_lib_fvalue_libfvalue_value_free" >&6; }
51202if test "x$ac_cv_lib_fvalue_libfvalue_value_free" = xyes; then :
51203  ac_cv_libfvalue_dummy=yes
51204else
51205  ac_cv_libfvalue=no
51206fi
51207
51208        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clone in -lfvalue" >&5
51209$as_echo_n "checking for libfvalue_value_clone in -lfvalue... " >&6; }
51210if ${ac_cv_lib_fvalue_libfvalue_value_clone+:} false; then :
51211  $as_echo_n "(cached) " >&6
51212else
51213  ac_check_lib_save_LIBS=$LIBS
51214LIBS="-lfvalue  $LIBS"
51215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51216/* end confdefs.h.  */
51217
51218/* Override any GCC internal prototype to avoid an error.
51219   Use char because int might match the return type of a GCC
51220   builtin and then its argument prototype would still apply.  */
51221#ifdef __cplusplus
51222extern "C"
51223#endif
51224char libfvalue_value_clone ();
51225int
51226main ()
51227{
51228return libfvalue_value_clone ();
51229  ;
51230  return 0;
51231}
51232_ACEOF
51233if ac_fn_c_try_link "$LINENO"; then :
51234  ac_cv_lib_fvalue_libfvalue_value_clone=yes
51235else
51236  ac_cv_lib_fvalue_libfvalue_value_clone=no
51237fi
51238rm -f core conftest.err conftest.$ac_objext \
51239    conftest$ac_exeext conftest.$ac_ext
51240LIBS=$ac_check_lib_save_LIBS
51241fi
51242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clone" >&5
51243$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clone" >&6; }
51244if test "x$ac_cv_lib_fvalue_libfvalue_value_clone" = xyes; then :
51245  ac_cv_libfvalue_dummy=yes
51246else
51247  ac_cv_libfvalue=no
51248fi
51249
51250        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clear in -lfvalue" >&5
51251$as_echo_n "checking for libfvalue_value_clear in -lfvalue... " >&6; }
51252if ${ac_cv_lib_fvalue_libfvalue_value_clear+:} false; then :
51253  $as_echo_n "(cached) " >&6
51254else
51255  ac_check_lib_save_LIBS=$LIBS
51256LIBS="-lfvalue  $LIBS"
51257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51258/* end confdefs.h.  */
51259
51260/* Override any GCC internal prototype to avoid an error.
51261   Use char because int might match the return type of a GCC
51262   builtin and then its argument prototype would still apply.  */
51263#ifdef __cplusplus
51264extern "C"
51265#endif
51266char libfvalue_value_clear ();
51267int
51268main ()
51269{
51270return libfvalue_value_clear ();
51271  ;
51272  return 0;
51273}
51274_ACEOF
51275if ac_fn_c_try_link "$LINENO"; then :
51276  ac_cv_lib_fvalue_libfvalue_value_clear=yes
51277else
51278  ac_cv_lib_fvalue_libfvalue_value_clear=no
51279fi
51280rm -f core conftest.err conftest.$ac_objext \
51281    conftest$ac_exeext conftest.$ac_ext
51282LIBS=$ac_check_lib_save_LIBS
51283fi
51284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clear" >&5
51285$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clear" >&6; }
51286if test "x$ac_cv_lib_fvalue_libfvalue_value_clear" = xyes; then :
51287  ac_cv_libfvalue_dummy=yes
51288else
51289  ac_cv_libfvalue=no
51290fi
51291
51292
51293        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_type in -lfvalue" >&5
51294$as_echo_n "checking for libfvalue_value_get_type in -lfvalue... " >&6; }
51295if ${ac_cv_lib_fvalue_libfvalue_value_get_type+:} false; then :
51296  $as_echo_n "(cached) " >&6
51297else
51298  ac_check_lib_save_LIBS=$LIBS
51299LIBS="-lfvalue  $LIBS"
51300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51301/* end confdefs.h.  */
51302
51303/* Override any GCC internal prototype to avoid an error.
51304   Use char because int might match the return type of a GCC
51305   builtin and then its argument prototype would still apply.  */
51306#ifdef __cplusplus
51307extern "C"
51308#endif
51309char libfvalue_value_get_type ();
51310int
51311main ()
51312{
51313return libfvalue_value_get_type ();
51314  ;
51315  return 0;
51316}
51317_ACEOF
51318if ac_fn_c_try_link "$LINENO"; then :
51319  ac_cv_lib_fvalue_libfvalue_value_get_type=yes
51320else
51321  ac_cv_lib_fvalue_libfvalue_value_get_type=no
51322fi
51323rm -f core conftest.err conftest.$ac_objext \
51324    conftest$ac_exeext conftest.$ac_ext
51325LIBS=$ac_check_lib_save_LIBS
51326fi
51327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_type" >&5
51328$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_type" >&6; }
51329if test "x$ac_cv_lib_fvalue_libfvalue_value_get_type" = xyes; then :
51330  ac_cv_libfvalue_dummy=yes
51331else
51332  ac_cv_libfvalue=no
51333fi
51334
51335
51336        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_identifier in -lfvalue" >&5
51337$as_echo_n "checking for libfvalue_value_get_identifier in -lfvalue... " >&6; }
51338if ${ac_cv_lib_fvalue_libfvalue_value_get_identifier+:} false; then :
51339  $as_echo_n "(cached) " >&6
51340else
51341  ac_check_lib_save_LIBS=$LIBS
51342LIBS="-lfvalue  $LIBS"
51343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51344/* end confdefs.h.  */
51345
51346/* Override any GCC internal prototype to avoid an error.
51347   Use char because int might match the return type of a GCC
51348   builtin and then its argument prototype would still apply.  */
51349#ifdef __cplusplus
51350extern "C"
51351#endif
51352char libfvalue_value_get_identifier ();
51353int
51354main ()
51355{
51356return libfvalue_value_get_identifier ();
51357  ;
51358  return 0;
51359}
51360_ACEOF
51361if ac_fn_c_try_link "$LINENO"; then :
51362  ac_cv_lib_fvalue_libfvalue_value_get_identifier=yes
51363else
51364  ac_cv_lib_fvalue_libfvalue_value_get_identifier=no
51365fi
51366rm -f core conftest.err conftest.$ac_objext \
51367    conftest$ac_exeext conftest.$ac_ext
51368LIBS=$ac_check_lib_save_LIBS
51369fi
51370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&5
51371$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&6; }
51372if test "x$ac_cv_lib_fvalue_libfvalue_value_get_identifier" = xyes; then :
51373  ac_cv_libfvalue_dummy=yes
51374else
51375  ac_cv_libfvalue=no
51376fi
51377
51378        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_identifier in -lfvalue" >&5
51379$as_echo_n "checking for libfvalue_value_set_identifier in -lfvalue... " >&6; }
51380if ${ac_cv_lib_fvalue_libfvalue_value_set_identifier+:} false; then :
51381  $as_echo_n "(cached) " >&6
51382else
51383  ac_check_lib_save_LIBS=$LIBS
51384LIBS="-lfvalue  $LIBS"
51385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51386/* end confdefs.h.  */
51387
51388/* Override any GCC internal prototype to avoid an error.
51389   Use char because int might match the return type of a GCC
51390   builtin and then its argument prototype would still apply.  */
51391#ifdef __cplusplus
51392extern "C"
51393#endif
51394char libfvalue_value_set_identifier ();
51395int
51396main ()
51397{
51398return libfvalue_value_set_identifier ();
51399  ;
51400  return 0;
51401}
51402_ACEOF
51403if ac_fn_c_try_link "$LINENO"; then :
51404  ac_cv_lib_fvalue_libfvalue_value_set_identifier=yes
51405else
51406  ac_cv_lib_fvalue_libfvalue_value_set_identifier=no
51407fi
51408rm -f core conftest.err conftest.$ac_objext \
51409    conftest$ac_exeext conftest.$ac_ext
51410LIBS=$ac_check_lib_save_LIBS
51411fi
51412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&5
51413$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&6; }
51414if test "x$ac_cv_lib_fvalue_libfvalue_value_set_identifier" = xyes; then :
51415  ac_cv_libfvalue_dummy=yes
51416else
51417  ac_cv_libfvalue=no
51418fi
51419
51420
51421        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_handle in -lfvalue" >&5
51422$as_echo_n "checking for libfvalue_value_get_data_handle in -lfvalue... " >&6; }
51423if ${ac_cv_lib_fvalue_libfvalue_value_get_data_handle+:} false; then :
51424  $as_echo_n "(cached) " >&6
51425else
51426  ac_check_lib_save_LIBS=$LIBS
51427LIBS="-lfvalue  $LIBS"
51428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51429/* end confdefs.h.  */
51430
51431/* Override any GCC internal prototype to avoid an error.
51432   Use char because int might match the return type of a GCC
51433   builtin and then its argument prototype would still apply.  */
51434#ifdef __cplusplus
51435extern "C"
51436#endif
51437char libfvalue_value_get_data_handle ();
51438int
51439main ()
51440{
51441return libfvalue_value_get_data_handle ();
51442  ;
51443  return 0;
51444}
51445_ACEOF
51446if ac_fn_c_try_link "$LINENO"; then :
51447  ac_cv_lib_fvalue_libfvalue_value_get_data_handle=yes
51448else
51449  ac_cv_lib_fvalue_libfvalue_value_get_data_handle=no
51450fi
51451rm -f core conftest.err conftest.$ac_objext \
51452    conftest$ac_exeext conftest.$ac_ext
51453LIBS=$ac_check_lib_save_LIBS
51454fi
51455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&5
51456$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&6; }
51457if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" = xyes; then :
51458  ac_cv_libfvalue_dummy=yes
51459else
51460  ac_cv_libfvalue=no
51461fi
51462
51463        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_has_data in -lfvalue" >&5
51464$as_echo_n "checking for libfvalue_value_has_data in -lfvalue... " >&6; }
51465if ${ac_cv_lib_fvalue_libfvalue_value_has_data+:} false; then :
51466  $as_echo_n "(cached) " >&6
51467else
51468  ac_check_lib_save_LIBS=$LIBS
51469LIBS="-lfvalue  $LIBS"
51470cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51471/* end confdefs.h.  */
51472
51473/* Override any GCC internal prototype to avoid an error.
51474   Use char because int might match the return type of a GCC
51475   builtin and then its argument prototype would still apply.  */
51476#ifdef __cplusplus
51477extern "C"
51478#endif
51479char libfvalue_value_has_data ();
51480int
51481main ()
51482{
51483return libfvalue_value_has_data ();
51484  ;
51485  return 0;
51486}
51487_ACEOF
51488if ac_fn_c_try_link "$LINENO"; then :
51489  ac_cv_lib_fvalue_libfvalue_value_has_data=yes
51490else
51491  ac_cv_lib_fvalue_libfvalue_value_has_data=no
51492fi
51493rm -f core conftest.err conftest.$ac_objext \
51494    conftest$ac_exeext conftest.$ac_ext
51495LIBS=$ac_check_lib_save_LIBS
51496fi
51497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_has_data" >&5
51498$as_echo "$ac_cv_lib_fvalue_libfvalue_value_has_data" >&6; }
51499if test "x$ac_cv_lib_fvalue_libfvalue_value_has_data" = xyes; then :
51500  ac_cv_libfvalue_dummy=yes
51501else
51502  ac_cv_libfvalue=no
51503fi
51504
51505        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_size in -lfvalue" >&5
51506$as_echo_n "checking for libfvalue_value_get_data_size in -lfvalue... " >&6; }
51507if ${ac_cv_lib_fvalue_libfvalue_value_get_data_size+:} false; then :
51508  $as_echo_n "(cached) " >&6
51509else
51510  ac_check_lib_save_LIBS=$LIBS
51511LIBS="-lfvalue  $LIBS"
51512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51513/* end confdefs.h.  */
51514
51515/* Override any GCC internal prototype to avoid an error.
51516   Use char because int might match the return type of a GCC
51517   builtin and then its argument prototype would still apply.  */
51518#ifdef __cplusplus
51519extern "C"
51520#endif
51521char libfvalue_value_get_data_size ();
51522int
51523main ()
51524{
51525return libfvalue_value_get_data_size ();
51526  ;
51527  return 0;
51528}
51529_ACEOF
51530if ac_fn_c_try_link "$LINENO"; then :
51531  ac_cv_lib_fvalue_libfvalue_value_get_data_size=yes
51532else
51533  ac_cv_lib_fvalue_libfvalue_value_get_data_size=no
51534fi
51535rm -f core conftest.err conftest.$ac_objext \
51536    conftest$ac_exeext conftest.$ac_ext
51537LIBS=$ac_check_lib_save_LIBS
51538fi
51539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&5
51540$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&6; }
51541if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_size" = xyes; then :
51542  ac_cv_libfvalue_dummy=yes
51543else
51544  ac_cv_libfvalue=no
51545fi
51546
51547        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data in -lfvalue" >&5
51548$as_echo_n "checking for libfvalue_value_get_data in -lfvalue... " >&6; }
51549if ${ac_cv_lib_fvalue_libfvalue_value_get_data+:} false; then :
51550  $as_echo_n "(cached) " >&6
51551else
51552  ac_check_lib_save_LIBS=$LIBS
51553LIBS="-lfvalue  $LIBS"
51554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51555/* end confdefs.h.  */
51556
51557/* Override any GCC internal prototype to avoid an error.
51558   Use char because int might match the return type of a GCC
51559   builtin and then its argument prototype would still apply.  */
51560#ifdef __cplusplus
51561extern "C"
51562#endif
51563char libfvalue_value_get_data ();
51564int
51565main ()
51566{
51567return libfvalue_value_get_data ();
51568  ;
51569  return 0;
51570}
51571_ACEOF
51572if ac_fn_c_try_link "$LINENO"; then :
51573  ac_cv_lib_fvalue_libfvalue_value_get_data=yes
51574else
51575  ac_cv_lib_fvalue_libfvalue_value_get_data=no
51576fi
51577rm -f core conftest.err conftest.$ac_objext \
51578    conftest$ac_exeext conftest.$ac_ext
51579LIBS=$ac_check_lib_save_LIBS
51580fi
51581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data" >&5
51582$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data" >&6; }
51583if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data" = xyes; then :
51584  ac_cv_libfvalue_dummy=yes
51585else
51586  ac_cv_libfvalue=no
51587fi
51588
51589        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_data in -lfvalue" >&5
51590$as_echo_n "checking for libfvalue_value_set_data in -lfvalue... " >&6; }
51591if ${ac_cv_lib_fvalue_libfvalue_value_set_data+:} false; then :
51592  $as_echo_n "(cached) " >&6
51593else
51594  ac_check_lib_save_LIBS=$LIBS
51595LIBS="-lfvalue  $LIBS"
51596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51597/* end confdefs.h.  */
51598
51599/* Override any GCC internal prototype to avoid an error.
51600   Use char because int might match the return type of a GCC
51601   builtin and then its argument prototype would still apply.  */
51602#ifdef __cplusplus
51603extern "C"
51604#endif
51605char libfvalue_value_set_data ();
51606int
51607main ()
51608{
51609return libfvalue_value_set_data ();
51610  ;
51611  return 0;
51612}
51613_ACEOF
51614if ac_fn_c_try_link "$LINENO"; then :
51615  ac_cv_lib_fvalue_libfvalue_value_set_data=yes
51616else
51617  ac_cv_lib_fvalue_libfvalue_value_set_data=no
51618fi
51619rm -f core conftest.err conftest.$ac_objext \
51620    conftest$ac_exeext conftest.$ac_ext
51621LIBS=$ac_check_lib_save_LIBS
51622fi
51623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_data" >&5
51624$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_data" >&6; }
51625if test "x$ac_cv_lib_fvalue_libfvalue_value_set_data" = xyes; then :
51626  ac_cv_libfvalue_dummy=yes
51627else
51628  ac_cv_libfvalue=no
51629fi
51630
51631        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_data in -lfvalue" >&5
51632$as_echo_n "checking for libfvalue_value_copy_data in -lfvalue... " >&6; }
51633if ${ac_cv_lib_fvalue_libfvalue_value_copy_data+:} false; then :
51634  $as_echo_n "(cached) " >&6
51635else
51636  ac_check_lib_save_LIBS=$LIBS
51637LIBS="-lfvalue  $LIBS"
51638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51639/* end confdefs.h.  */
51640
51641/* Override any GCC internal prototype to avoid an error.
51642   Use char because int might match the return type of a GCC
51643   builtin and then its argument prototype would still apply.  */
51644#ifdef __cplusplus
51645extern "C"
51646#endif
51647char libfvalue_value_copy_data ();
51648int
51649main ()
51650{
51651return libfvalue_value_copy_data ();
51652  ;
51653  return 0;
51654}
51655_ACEOF
51656if ac_fn_c_try_link "$LINENO"; then :
51657  ac_cv_lib_fvalue_libfvalue_value_copy_data=yes
51658else
51659  ac_cv_lib_fvalue_libfvalue_value_copy_data=no
51660fi
51661rm -f core conftest.err conftest.$ac_objext \
51662    conftest$ac_exeext conftest.$ac_ext
51663LIBS=$ac_check_lib_save_LIBS
51664fi
51665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_data" >&5
51666$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_data" >&6; }
51667if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_data" = xyes; then :
51668  ac_cv_libfvalue_dummy=yes
51669else
51670  ac_cv_libfvalue=no
51671fi
51672
51673
51674        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_format_flags in -lfvalue" >&5
51675$as_echo_n "checking for libfvalue_value_get_format_flags in -lfvalue... " >&6; }
51676if ${ac_cv_lib_fvalue_libfvalue_value_get_format_flags+:} false; then :
51677  $as_echo_n "(cached) " >&6
51678else
51679  ac_check_lib_save_LIBS=$LIBS
51680LIBS="-lfvalue  $LIBS"
51681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51682/* end confdefs.h.  */
51683
51684/* Override any GCC internal prototype to avoid an error.
51685   Use char because int might match the return type of a GCC
51686   builtin and then its argument prototype would still apply.  */
51687#ifdef __cplusplus
51688extern "C"
51689#endif
51690char libfvalue_value_get_format_flags ();
51691int
51692main ()
51693{
51694return libfvalue_value_get_format_flags ();
51695  ;
51696  return 0;
51697}
51698_ACEOF
51699if ac_fn_c_try_link "$LINENO"; then :
51700  ac_cv_lib_fvalue_libfvalue_value_get_format_flags=yes
51701else
51702  ac_cv_lib_fvalue_libfvalue_value_get_format_flags=no
51703fi
51704rm -f core conftest.err conftest.$ac_objext \
51705    conftest$ac_exeext conftest.$ac_ext
51706LIBS=$ac_check_lib_save_LIBS
51707fi
51708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&5
51709$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&6; }
51710if test "x$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" = xyes; then :
51711  ac_cv_libfvalue_dummy=yes
51712else
51713  ac_cv_libfvalue=no
51714fi
51715
51716        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_format_flags in -lfvalue" >&5
51717$as_echo_n "checking for libfvalue_value_set_format_flags in -lfvalue... " >&6; }
51718if ${ac_cv_lib_fvalue_libfvalue_value_set_format_flags+:} false; then :
51719  $as_echo_n "(cached) " >&6
51720else
51721  ac_check_lib_save_LIBS=$LIBS
51722LIBS="-lfvalue  $LIBS"
51723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51724/* end confdefs.h.  */
51725
51726/* Override any GCC internal prototype to avoid an error.
51727   Use char because int might match the return type of a GCC
51728   builtin and then its argument prototype would still apply.  */
51729#ifdef __cplusplus
51730extern "C"
51731#endif
51732char libfvalue_value_set_format_flags ();
51733int
51734main ()
51735{
51736return libfvalue_value_set_format_flags ();
51737  ;
51738  return 0;
51739}
51740_ACEOF
51741if ac_fn_c_try_link "$LINENO"; then :
51742  ac_cv_lib_fvalue_libfvalue_value_set_format_flags=yes
51743else
51744  ac_cv_lib_fvalue_libfvalue_value_set_format_flags=no
51745fi
51746rm -f core conftest.err conftest.$ac_objext \
51747    conftest$ac_exeext conftest.$ac_ext
51748LIBS=$ac_check_lib_save_LIBS
51749fi
51750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&5
51751$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&6; }
51752if test "x$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" = xyes; then :
51753  ac_cv_libfvalue_dummy=yes
51754else
51755  ac_cv_libfvalue=no
51756fi
51757
51758
51759        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_number_of_value_entries in -lfvalue" >&5
51760$as_echo_n "checking for libfvalue_value_get_number_of_value_entries in -lfvalue... " >&6; }
51761if ${ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries+:} false; then :
51762  $as_echo_n "(cached) " >&6
51763else
51764  ac_check_lib_save_LIBS=$LIBS
51765LIBS="-lfvalue  $LIBS"
51766cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51767/* end confdefs.h.  */
51768
51769/* Override any GCC internal prototype to avoid an error.
51770   Use char because int might match the return type of a GCC
51771   builtin and then its argument prototype would still apply.  */
51772#ifdef __cplusplus
51773extern "C"
51774#endif
51775char libfvalue_value_get_number_of_value_entries ();
51776int
51777main ()
51778{
51779return libfvalue_value_get_number_of_value_entries ();
51780  ;
51781  return 0;
51782}
51783_ACEOF
51784if ac_fn_c_try_link "$LINENO"; then :
51785  ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=yes
51786else
51787  ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=no
51788fi
51789rm -f core conftest.err conftest.$ac_objext \
51790    conftest$ac_exeext conftest.$ac_ext
51791LIBS=$ac_check_lib_save_LIBS
51792fi
51793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&5
51794$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&6; }
51795if test "x$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" = xyes; then :
51796  ac_cv_libfvalue_dummy=yes
51797else
51798  ac_cv_libfvalue=no
51799fi
51800
51801        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_value_entry in -lfvalue" >&5
51802$as_echo_n "checking for libfvalue_value_get_value_entry in -lfvalue... " >&6; }
51803if ${ac_cv_lib_fvalue_libfvalue_value_get_value_entry+:} false; then :
51804  $as_echo_n "(cached) " >&6
51805else
51806  ac_check_lib_save_LIBS=$LIBS
51807LIBS="-lfvalue  $LIBS"
51808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51809/* end confdefs.h.  */
51810
51811/* Override any GCC internal prototype to avoid an error.
51812   Use char because int might match the return type of a GCC
51813   builtin and then its argument prototype would still apply.  */
51814#ifdef __cplusplus
51815extern "C"
51816#endif
51817char libfvalue_value_get_value_entry ();
51818int
51819main ()
51820{
51821return libfvalue_value_get_value_entry ();
51822  ;
51823  return 0;
51824}
51825_ACEOF
51826if ac_fn_c_try_link "$LINENO"; then :
51827  ac_cv_lib_fvalue_libfvalue_value_get_value_entry=yes
51828else
51829  ac_cv_lib_fvalue_libfvalue_value_get_value_entry=no
51830fi
51831rm -f core conftest.err conftest.$ac_objext \
51832    conftest$ac_exeext conftest.$ac_ext
51833LIBS=$ac_check_lib_save_LIBS
51834fi
51835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&5
51836$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&6; }
51837if test "x$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" = xyes; then :
51838  ac_cv_libfvalue_dummy=yes
51839else
51840  ac_cv_libfvalue=no
51841fi
51842
51843        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_value_entry in -lfvalue" >&5
51844$as_echo_n "checking for libfvalue_value_set_value_entry in -lfvalue... " >&6; }
51845if ${ac_cv_lib_fvalue_libfvalue_value_set_value_entry+:} false; then :
51846  $as_echo_n "(cached) " >&6
51847else
51848  ac_check_lib_save_LIBS=$LIBS
51849LIBS="-lfvalue  $LIBS"
51850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51851/* end confdefs.h.  */
51852
51853/* Override any GCC internal prototype to avoid an error.
51854   Use char because int might match the return type of a GCC
51855   builtin and then its argument prototype would still apply.  */
51856#ifdef __cplusplus
51857extern "C"
51858#endif
51859char libfvalue_value_set_value_entry ();
51860int
51861main ()
51862{
51863return libfvalue_value_set_value_entry ();
51864  ;
51865  return 0;
51866}
51867_ACEOF
51868if ac_fn_c_try_link "$LINENO"; then :
51869  ac_cv_lib_fvalue_libfvalue_value_set_value_entry=yes
51870else
51871  ac_cv_lib_fvalue_libfvalue_value_set_value_entry=no
51872fi
51873rm -f core conftest.err conftest.$ac_objext \
51874    conftest$ac_exeext conftest.$ac_ext
51875LIBS=$ac_check_lib_save_LIBS
51876fi
51877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&5
51878$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&6; }
51879if test "x$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" = xyes; then :
51880  ac_cv_libfvalue_dummy=yes
51881else
51882  ac_cv_libfvalue=no
51883fi
51884
51885        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_append_value_entry in -lfvalue" >&5
51886$as_echo_n "checking for libfvalue_value_append_value_entry in -lfvalue... " >&6; }
51887if ${ac_cv_lib_fvalue_libfvalue_value_append_value_entry+:} false; then :
51888  $as_echo_n "(cached) " >&6
51889else
51890  ac_check_lib_save_LIBS=$LIBS
51891LIBS="-lfvalue  $LIBS"
51892cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51893/* end confdefs.h.  */
51894
51895/* Override any GCC internal prototype to avoid an error.
51896   Use char because int might match the return type of a GCC
51897   builtin and then its argument prototype would still apply.  */
51898#ifdef __cplusplus
51899extern "C"
51900#endif
51901char libfvalue_value_append_value_entry ();
51902int
51903main ()
51904{
51905return libfvalue_value_append_value_entry ();
51906  ;
51907  return 0;
51908}
51909_ACEOF
51910if ac_fn_c_try_link "$LINENO"; then :
51911  ac_cv_lib_fvalue_libfvalue_value_append_value_entry=yes
51912else
51913  ac_cv_lib_fvalue_libfvalue_value_append_value_entry=no
51914fi
51915rm -f core conftest.err conftest.$ac_objext \
51916    conftest$ac_exeext conftest.$ac_ext
51917LIBS=$ac_check_lib_save_LIBS
51918fi
51919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&5
51920$as_echo "$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&6; }
51921if test "x$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" = xyes; then :
51922  ac_cv_libfvalue_dummy=yes
51923else
51924  ac_cv_libfvalue=no
51925fi
51926
51927
51928        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_boolean in -lfvalue" >&5
51929$as_echo_n "checking for libfvalue_value_copy_from_boolean in -lfvalue... " >&6; }
51930if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean+:} false; then :
51931  $as_echo_n "(cached) " >&6
51932else
51933  ac_check_lib_save_LIBS=$LIBS
51934LIBS="-lfvalue  $LIBS"
51935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936/* end confdefs.h.  */
51937
51938/* Override any GCC internal prototype to avoid an error.
51939   Use char because int might match the return type of a GCC
51940   builtin and then its argument prototype would still apply.  */
51941#ifdef __cplusplus
51942extern "C"
51943#endif
51944char libfvalue_value_copy_from_boolean ();
51945int
51946main ()
51947{
51948return libfvalue_value_copy_from_boolean ();
51949  ;
51950  return 0;
51951}
51952_ACEOF
51953if ac_fn_c_try_link "$LINENO"; then :
51954  ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=yes
51955else
51956  ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=no
51957fi
51958rm -f core conftest.err conftest.$ac_objext \
51959    conftest$ac_exeext conftest.$ac_ext
51960LIBS=$ac_check_lib_save_LIBS
51961fi
51962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&5
51963$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&6; }
51964if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" = xyes; then :
51965  ac_cv_libfvalue_dummy=yes
51966else
51967  ac_cv_libfvalue=no
51968fi
51969
51970        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_boolean in -lfvalue" >&5
51971$as_echo_n "checking for libfvalue_value_copy_to_boolean in -lfvalue... " >&6; }
51972if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean+:} false; then :
51973  $as_echo_n "(cached) " >&6
51974else
51975  ac_check_lib_save_LIBS=$LIBS
51976LIBS="-lfvalue  $LIBS"
51977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51978/* end confdefs.h.  */
51979
51980/* Override any GCC internal prototype to avoid an error.
51981   Use char because int might match the return type of a GCC
51982   builtin and then its argument prototype would still apply.  */
51983#ifdef __cplusplus
51984extern "C"
51985#endif
51986char libfvalue_value_copy_to_boolean ();
51987int
51988main ()
51989{
51990return libfvalue_value_copy_to_boolean ();
51991  ;
51992  return 0;
51993}
51994_ACEOF
51995if ac_fn_c_try_link "$LINENO"; then :
51996  ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=yes
51997else
51998  ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=no
51999fi
52000rm -f core conftest.err conftest.$ac_objext \
52001    conftest$ac_exeext conftest.$ac_ext
52002LIBS=$ac_check_lib_save_LIBS
52003fi
52004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&5
52005$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&6; }
52006if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" = xyes; then :
52007  ac_cv_libfvalue_dummy=yes
52008else
52009  ac_cv_libfvalue=no
52010fi
52011
52012
52013        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_8bit in -lfvalue" >&5
52014$as_echo_n "checking for libfvalue_value_copy_from_8bit in -lfvalue... " >&6; }
52015if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit+:} false; then :
52016  $as_echo_n "(cached) " >&6
52017else
52018  ac_check_lib_save_LIBS=$LIBS
52019LIBS="-lfvalue  $LIBS"
52020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52021/* end confdefs.h.  */
52022
52023/* Override any GCC internal prototype to avoid an error.
52024   Use char because int might match the return type of a GCC
52025   builtin and then its argument prototype would still apply.  */
52026#ifdef __cplusplus
52027extern "C"
52028#endif
52029char libfvalue_value_copy_from_8bit ();
52030int
52031main ()
52032{
52033return libfvalue_value_copy_from_8bit ();
52034  ;
52035  return 0;
52036}
52037_ACEOF
52038if ac_fn_c_try_link "$LINENO"; then :
52039  ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=yes
52040else
52041  ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=no
52042fi
52043rm -f core conftest.err conftest.$ac_objext \
52044    conftest$ac_exeext conftest.$ac_ext
52045LIBS=$ac_check_lib_save_LIBS
52046fi
52047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&5
52048$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&6; }
52049if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" = xyes; then :
52050  ac_cv_libfvalue_dummy=yes
52051else
52052  ac_cv_libfvalue=no
52053fi
52054
52055        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_8bit in -lfvalue" >&5
52056$as_echo_n "checking for libfvalue_value_copy_to_8bit in -lfvalue... " >&6; }
52057if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit+:} false; then :
52058  $as_echo_n "(cached) " >&6
52059else
52060  ac_check_lib_save_LIBS=$LIBS
52061LIBS="-lfvalue  $LIBS"
52062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52063/* end confdefs.h.  */
52064
52065/* Override any GCC internal prototype to avoid an error.
52066   Use char because int might match the return type of a GCC
52067   builtin and then its argument prototype would still apply.  */
52068#ifdef __cplusplus
52069extern "C"
52070#endif
52071char libfvalue_value_copy_to_8bit ();
52072int
52073main ()
52074{
52075return libfvalue_value_copy_to_8bit ();
52076  ;
52077  return 0;
52078}
52079_ACEOF
52080if ac_fn_c_try_link "$LINENO"; then :
52081  ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=yes
52082else
52083  ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=no
52084fi
52085rm -f core conftest.err conftest.$ac_objext \
52086    conftest$ac_exeext conftest.$ac_ext
52087LIBS=$ac_check_lib_save_LIBS
52088fi
52089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&5
52090$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&6; }
52091if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" = xyes; then :
52092  ac_cv_libfvalue_dummy=yes
52093else
52094  ac_cv_libfvalue=no
52095fi
52096
52097
52098        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_16bit in -lfvalue" >&5
52099$as_echo_n "checking for libfvalue_value_copy_from_16bit in -lfvalue... " >&6; }
52100if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit+:} false; then :
52101  $as_echo_n "(cached) " >&6
52102else
52103  ac_check_lib_save_LIBS=$LIBS
52104LIBS="-lfvalue  $LIBS"
52105cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52106/* end confdefs.h.  */
52107
52108/* Override any GCC internal prototype to avoid an error.
52109   Use char because int might match the return type of a GCC
52110   builtin and then its argument prototype would still apply.  */
52111#ifdef __cplusplus
52112extern "C"
52113#endif
52114char libfvalue_value_copy_from_16bit ();
52115int
52116main ()
52117{
52118return libfvalue_value_copy_from_16bit ();
52119  ;
52120  return 0;
52121}
52122_ACEOF
52123if ac_fn_c_try_link "$LINENO"; then :
52124  ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=yes
52125else
52126  ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=no
52127fi
52128rm -f core conftest.err conftest.$ac_objext \
52129    conftest$ac_exeext conftest.$ac_ext
52130LIBS=$ac_check_lib_save_LIBS
52131fi
52132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&5
52133$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&6; }
52134if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" = xyes; then :
52135  ac_cv_libfvalue_dummy=yes
52136else
52137  ac_cv_libfvalue=no
52138fi
52139
52140        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_16bit in -lfvalue" >&5
52141$as_echo_n "checking for libfvalue_value_copy_to_16bit in -lfvalue... " >&6; }
52142if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit+:} false; then :
52143  $as_echo_n "(cached) " >&6
52144else
52145  ac_check_lib_save_LIBS=$LIBS
52146LIBS="-lfvalue  $LIBS"
52147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52148/* end confdefs.h.  */
52149
52150/* Override any GCC internal prototype to avoid an error.
52151   Use char because int might match the return type of a GCC
52152   builtin and then its argument prototype would still apply.  */
52153#ifdef __cplusplus
52154extern "C"
52155#endif
52156char libfvalue_value_copy_to_16bit ();
52157int
52158main ()
52159{
52160return libfvalue_value_copy_to_16bit ();
52161  ;
52162  return 0;
52163}
52164_ACEOF
52165if ac_fn_c_try_link "$LINENO"; then :
52166  ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=yes
52167else
52168  ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=no
52169fi
52170rm -f core conftest.err conftest.$ac_objext \
52171    conftest$ac_exeext conftest.$ac_ext
52172LIBS=$ac_check_lib_save_LIBS
52173fi
52174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&5
52175$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&6; }
52176if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" = xyes; then :
52177  ac_cv_libfvalue_dummy=yes
52178else
52179  ac_cv_libfvalue=no
52180fi
52181
52182
52183        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_32bit in -lfvalue" >&5
52184$as_echo_n "checking for libfvalue_value_copy_from_32bit in -lfvalue... " >&6; }
52185if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit+:} false; then :
52186  $as_echo_n "(cached) " >&6
52187else
52188  ac_check_lib_save_LIBS=$LIBS
52189LIBS="-lfvalue  $LIBS"
52190cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52191/* end confdefs.h.  */
52192
52193/* Override any GCC internal prototype to avoid an error.
52194   Use char because int might match the return type of a GCC
52195   builtin and then its argument prototype would still apply.  */
52196#ifdef __cplusplus
52197extern "C"
52198#endif
52199char libfvalue_value_copy_from_32bit ();
52200int
52201main ()
52202{
52203return libfvalue_value_copy_from_32bit ();
52204  ;
52205  return 0;
52206}
52207_ACEOF
52208if ac_fn_c_try_link "$LINENO"; then :
52209  ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=yes
52210else
52211  ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=no
52212fi
52213rm -f core conftest.err conftest.$ac_objext \
52214    conftest$ac_exeext conftest.$ac_ext
52215LIBS=$ac_check_lib_save_LIBS
52216fi
52217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&5
52218$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&6; }
52219if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" = xyes; then :
52220  ac_cv_libfvalue_dummy=yes
52221else
52222  ac_cv_libfvalue=no
52223fi
52224
52225        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_32bit in -lfvalue" >&5
52226$as_echo_n "checking for libfvalue_value_copy_to_32bit in -lfvalue... " >&6; }
52227if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit+:} false; then :
52228  $as_echo_n "(cached) " >&6
52229else
52230  ac_check_lib_save_LIBS=$LIBS
52231LIBS="-lfvalue  $LIBS"
52232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52233/* end confdefs.h.  */
52234
52235/* Override any GCC internal prototype to avoid an error.
52236   Use char because int might match the return type of a GCC
52237   builtin and then its argument prototype would still apply.  */
52238#ifdef __cplusplus
52239extern "C"
52240#endif
52241char libfvalue_value_copy_to_32bit ();
52242int
52243main ()
52244{
52245return libfvalue_value_copy_to_32bit ();
52246  ;
52247  return 0;
52248}
52249_ACEOF
52250if ac_fn_c_try_link "$LINENO"; then :
52251  ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=yes
52252else
52253  ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=no
52254fi
52255rm -f core conftest.err conftest.$ac_objext \
52256    conftest$ac_exeext conftest.$ac_ext
52257LIBS=$ac_check_lib_save_LIBS
52258fi
52259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&5
52260$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&6; }
52261if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" = xyes; then :
52262  ac_cv_libfvalue_dummy=yes
52263else
52264  ac_cv_libfvalue=no
52265fi
52266
52267
52268        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_64bit in -lfvalue" >&5
52269$as_echo_n "checking for libfvalue_value_copy_from_64bit in -lfvalue... " >&6; }
52270if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit+:} false; then :
52271  $as_echo_n "(cached) " >&6
52272else
52273  ac_check_lib_save_LIBS=$LIBS
52274LIBS="-lfvalue  $LIBS"
52275cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52276/* end confdefs.h.  */
52277
52278/* Override any GCC internal prototype to avoid an error.
52279   Use char because int might match the return type of a GCC
52280   builtin and then its argument prototype would still apply.  */
52281#ifdef __cplusplus
52282extern "C"
52283#endif
52284char libfvalue_value_copy_from_64bit ();
52285int
52286main ()
52287{
52288return libfvalue_value_copy_from_64bit ();
52289  ;
52290  return 0;
52291}
52292_ACEOF
52293if ac_fn_c_try_link "$LINENO"; then :
52294  ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=yes
52295else
52296  ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=no
52297fi
52298rm -f core conftest.err conftest.$ac_objext \
52299    conftest$ac_exeext conftest.$ac_ext
52300LIBS=$ac_check_lib_save_LIBS
52301fi
52302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&5
52303$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&6; }
52304if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" = xyes; then :
52305  ac_cv_libfvalue_dummy=yes
52306else
52307  ac_cv_libfvalue=no
52308fi
52309
52310        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_64bit in -lfvalue" >&5
52311$as_echo_n "checking for libfvalue_value_copy_to_64bit in -lfvalue... " >&6; }
52312if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit+:} false; then :
52313  $as_echo_n "(cached) " >&6
52314else
52315  ac_check_lib_save_LIBS=$LIBS
52316LIBS="-lfvalue  $LIBS"
52317cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52318/* end confdefs.h.  */
52319
52320/* Override any GCC internal prototype to avoid an error.
52321   Use char because int might match the return type of a GCC
52322   builtin and then its argument prototype would still apply.  */
52323#ifdef __cplusplus
52324extern "C"
52325#endif
52326char libfvalue_value_copy_to_64bit ();
52327int
52328main ()
52329{
52330return libfvalue_value_copy_to_64bit ();
52331  ;
52332  return 0;
52333}
52334_ACEOF
52335if ac_fn_c_try_link "$LINENO"; then :
52336  ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=yes
52337else
52338  ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=no
52339fi
52340rm -f core conftest.err conftest.$ac_objext \
52341    conftest$ac_exeext conftest.$ac_ext
52342LIBS=$ac_check_lib_save_LIBS
52343fi
52344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&5
52345$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&6; }
52346if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" = xyes; then :
52347  ac_cv_libfvalue_dummy=yes
52348else
52349  ac_cv_libfvalue=no
52350fi
52351
52352
52353        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_float in -lfvalue" >&5
52354$as_echo_n "checking for libfvalue_value_copy_from_float in -lfvalue... " >&6; }
52355if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_float+:} false; then :
52356  $as_echo_n "(cached) " >&6
52357else
52358  ac_check_lib_save_LIBS=$LIBS
52359LIBS="-lfvalue  $LIBS"
52360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52361/* end confdefs.h.  */
52362
52363/* Override any GCC internal prototype to avoid an error.
52364   Use char because int might match the return type of a GCC
52365   builtin and then its argument prototype would still apply.  */
52366#ifdef __cplusplus
52367extern "C"
52368#endif
52369char libfvalue_value_copy_from_float ();
52370int
52371main ()
52372{
52373return libfvalue_value_copy_from_float ();
52374  ;
52375  return 0;
52376}
52377_ACEOF
52378if ac_fn_c_try_link "$LINENO"; then :
52379  ac_cv_lib_fvalue_libfvalue_value_copy_from_float=yes
52380else
52381  ac_cv_lib_fvalue_libfvalue_value_copy_from_float=no
52382fi
52383rm -f core conftest.err conftest.$ac_objext \
52384    conftest$ac_exeext conftest.$ac_ext
52385LIBS=$ac_check_lib_save_LIBS
52386fi
52387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&5
52388$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&6; }
52389if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" = xyes; then :
52390  ac_cv_libfvalue_dummy=yes
52391else
52392  ac_cv_libfvalue=no
52393fi
52394
52395        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_float in -lfvalue" >&5
52396$as_echo_n "checking for libfvalue_value_copy_to_float in -lfvalue... " >&6; }
52397if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_float+:} false; then :
52398  $as_echo_n "(cached) " >&6
52399else
52400  ac_check_lib_save_LIBS=$LIBS
52401LIBS="-lfvalue  $LIBS"
52402cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52403/* end confdefs.h.  */
52404
52405/* Override any GCC internal prototype to avoid an error.
52406   Use char because int might match the return type of a GCC
52407   builtin and then its argument prototype would still apply.  */
52408#ifdef __cplusplus
52409extern "C"
52410#endif
52411char libfvalue_value_copy_to_float ();
52412int
52413main ()
52414{
52415return libfvalue_value_copy_to_float ();
52416  ;
52417  return 0;
52418}
52419_ACEOF
52420if ac_fn_c_try_link "$LINENO"; then :
52421  ac_cv_lib_fvalue_libfvalue_value_copy_to_float=yes
52422else
52423  ac_cv_lib_fvalue_libfvalue_value_copy_to_float=no
52424fi
52425rm -f core conftest.err conftest.$ac_objext \
52426    conftest$ac_exeext conftest.$ac_ext
52427LIBS=$ac_check_lib_save_LIBS
52428fi
52429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&5
52430$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&6; }
52431if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" = xyes; then :
52432  ac_cv_libfvalue_dummy=yes
52433else
52434  ac_cv_libfvalue=no
52435fi
52436
52437
52438        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_double in -lfvalue" >&5
52439$as_echo_n "checking for libfvalue_value_copy_from_double in -lfvalue... " >&6; }
52440if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_double+:} false; then :
52441  $as_echo_n "(cached) " >&6
52442else
52443  ac_check_lib_save_LIBS=$LIBS
52444LIBS="-lfvalue  $LIBS"
52445cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52446/* end confdefs.h.  */
52447
52448/* Override any GCC internal prototype to avoid an error.
52449   Use char because int might match the return type of a GCC
52450   builtin and then its argument prototype would still apply.  */
52451#ifdef __cplusplus
52452extern "C"
52453#endif
52454char libfvalue_value_copy_from_double ();
52455int
52456main ()
52457{
52458return libfvalue_value_copy_from_double ();
52459  ;
52460  return 0;
52461}
52462_ACEOF
52463if ac_fn_c_try_link "$LINENO"; then :
52464  ac_cv_lib_fvalue_libfvalue_value_copy_from_double=yes
52465else
52466  ac_cv_lib_fvalue_libfvalue_value_copy_from_double=no
52467fi
52468rm -f core conftest.err conftest.$ac_objext \
52469    conftest$ac_exeext conftest.$ac_ext
52470LIBS=$ac_check_lib_save_LIBS
52471fi
52472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&5
52473$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&6; }
52474if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" = xyes; then :
52475  ac_cv_libfvalue_dummy=yes
52476else
52477  ac_cv_libfvalue=no
52478fi
52479
52480        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_double in -lfvalue" >&5
52481$as_echo_n "checking for libfvalue_value_copy_to_double in -lfvalue... " >&6; }
52482if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_double+:} false; then :
52483  $as_echo_n "(cached) " >&6
52484else
52485  ac_check_lib_save_LIBS=$LIBS
52486LIBS="-lfvalue  $LIBS"
52487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52488/* end confdefs.h.  */
52489
52490/* Override any GCC internal prototype to avoid an error.
52491   Use char because int might match the return type of a GCC
52492   builtin and then its argument prototype would still apply.  */
52493#ifdef __cplusplus
52494extern "C"
52495#endif
52496char libfvalue_value_copy_to_double ();
52497int
52498main ()
52499{
52500return libfvalue_value_copy_to_double ();
52501  ;
52502  return 0;
52503}
52504_ACEOF
52505if ac_fn_c_try_link "$LINENO"; then :
52506  ac_cv_lib_fvalue_libfvalue_value_copy_to_double=yes
52507else
52508  ac_cv_lib_fvalue_libfvalue_value_copy_to_double=no
52509fi
52510rm -f core conftest.err conftest.$ac_objext \
52511    conftest$ac_exeext conftest.$ac_ext
52512LIBS=$ac_check_lib_save_LIBS
52513fi
52514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&5
52515$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&6; }
52516if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" = xyes; then :
52517  ac_cv_libfvalue_dummy=yes
52518else
52519  ac_cv_libfvalue=no
52520fi
52521
52522
52523        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf8_string in -lfvalue" >&5
52524$as_echo_n "checking for libfvalue_value_copy_from_utf8_string in -lfvalue... " >&6; }
52525if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string+:} false; then :
52526  $as_echo_n "(cached) " >&6
52527else
52528  ac_check_lib_save_LIBS=$LIBS
52529LIBS="-lfvalue  $LIBS"
52530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52531/* end confdefs.h.  */
52532
52533/* Override any GCC internal prototype to avoid an error.
52534   Use char because int might match the return type of a GCC
52535   builtin and then its argument prototype would still apply.  */
52536#ifdef __cplusplus
52537extern "C"
52538#endif
52539char libfvalue_value_copy_from_utf8_string ();
52540int
52541main ()
52542{
52543return libfvalue_value_copy_from_utf8_string ();
52544  ;
52545  return 0;
52546}
52547_ACEOF
52548if ac_fn_c_try_link "$LINENO"; then :
52549  ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=yes
52550else
52551  ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=no
52552fi
52553rm -f core conftest.err conftest.$ac_objext \
52554    conftest$ac_exeext conftest.$ac_ext
52555LIBS=$ac_check_lib_save_LIBS
52556fi
52557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&5
52558$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&6; }
52559if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" = xyes; then :
52560  ac_cv_libfvalue_dummy=yes
52561else
52562  ac_cv_libfvalue=no
52563fi
52564
52565        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf8_string_size in -lfvalue" >&5
52566$as_echo_n "checking for libfvalue_value_get_utf8_string_size in -lfvalue... " >&6; }
52567if ${ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size+:} false; then :
52568  $as_echo_n "(cached) " >&6
52569else
52570  ac_check_lib_save_LIBS=$LIBS
52571LIBS="-lfvalue  $LIBS"
52572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52573/* end confdefs.h.  */
52574
52575/* Override any GCC internal prototype to avoid an error.
52576   Use char because int might match the return type of a GCC
52577   builtin and then its argument prototype would still apply.  */
52578#ifdef __cplusplus
52579extern "C"
52580#endif
52581char libfvalue_value_get_utf8_string_size ();
52582int
52583main ()
52584{
52585return libfvalue_value_get_utf8_string_size ();
52586  ;
52587  return 0;
52588}
52589_ACEOF
52590if ac_fn_c_try_link "$LINENO"; then :
52591  ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=yes
52592else
52593  ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=no
52594fi
52595rm -f core conftest.err conftest.$ac_objext \
52596    conftest$ac_exeext conftest.$ac_ext
52597LIBS=$ac_check_lib_save_LIBS
52598fi
52599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&5
52600$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&6; }
52601if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" = xyes; then :
52602  ac_cv_libfvalue_dummy=yes
52603else
52604  ac_cv_libfvalue=no
52605fi
52606
52607        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string in -lfvalue" >&5
52608$as_echo_n "checking for libfvalue_value_copy_to_utf8_string in -lfvalue... " >&6; }
52609if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string+:} false; then :
52610  $as_echo_n "(cached) " >&6
52611else
52612  ac_check_lib_save_LIBS=$LIBS
52613LIBS="-lfvalue  $LIBS"
52614cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52615/* end confdefs.h.  */
52616
52617/* Override any GCC internal prototype to avoid an error.
52618   Use char because int might match the return type of a GCC
52619   builtin and then its argument prototype would still apply.  */
52620#ifdef __cplusplus
52621extern "C"
52622#endif
52623char libfvalue_value_copy_to_utf8_string ();
52624int
52625main ()
52626{
52627return libfvalue_value_copy_to_utf8_string ();
52628  ;
52629  return 0;
52630}
52631_ACEOF
52632if ac_fn_c_try_link "$LINENO"; then :
52633  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=yes
52634else
52635  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=no
52636fi
52637rm -f core conftest.err conftest.$ac_objext \
52638    conftest$ac_exeext conftest.$ac_ext
52639LIBS=$ac_check_lib_save_LIBS
52640fi
52641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&5
52642$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&6; }
52643if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" = xyes; then :
52644  ac_cv_libfvalue_dummy=yes
52645else
52646  ac_cv_libfvalue=no
52647fi
52648
52649        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue" >&5
52650$as_echo_n "checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue... " >&6; }
52651if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index+:} false; then :
52652  $as_echo_n "(cached) " >&6
52653else
52654  ac_check_lib_save_LIBS=$LIBS
52655LIBS="-lfvalue  $LIBS"
52656cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52657/* end confdefs.h.  */
52658
52659/* Override any GCC internal prototype to avoid an error.
52660   Use char because int might match the return type of a GCC
52661   builtin and then its argument prototype would still apply.  */
52662#ifdef __cplusplus
52663extern "C"
52664#endif
52665char libfvalue_value_copy_to_utf8_string_with_index ();
52666int
52667main ()
52668{
52669return libfvalue_value_copy_to_utf8_string_with_index ();
52670  ;
52671  return 0;
52672}
52673_ACEOF
52674if ac_fn_c_try_link "$LINENO"; then :
52675  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=yes
52676else
52677  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=no
52678fi
52679rm -f core conftest.err conftest.$ac_objext \
52680    conftest$ac_exeext conftest.$ac_ext
52681LIBS=$ac_check_lib_save_LIBS
52682fi
52683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&5
52684$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&6; }
52685if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" = xyes; then :
52686  ac_cv_libfvalue_dummy=yes
52687else
52688  ac_cv_libfvalue=no
52689fi
52690
52691
52692        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf16_string in -lfvalue" >&5
52693$as_echo_n "checking for libfvalue_value_copy_from_utf16_string in -lfvalue... " >&6; }
52694if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string+:} false; then :
52695  $as_echo_n "(cached) " >&6
52696else
52697  ac_check_lib_save_LIBS=$LIBS
52698LIBS="-lfvalue  $LIBS"
52699cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52700/* end confdefs.h.  */
52701
52702/* Override any GCC internal prototype to avoid an error.
52703   Use char because int might match the return type of a GCC
52704   builtin and then its argument prototype would still apply.  */
52705#ifdef __cplusplus
52706extern "C"
52707#endif
52708char libfvalue_value_copy_from_utf16_string ();
52709int
52710main ()
52711{
52712return libfvalue_value_copy_from_utf16_string ();
52713  ;
52714  return 0;
52715}
52716_ACEOF
52717if ac_fn_c_try_link "$LINENO"; then :
52718  ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=yes
52719else
52720  ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=no
52721fi
52722rm -f core conftest.err conftest.$ac_objext \
52723    conftest$ac_exeext conftest.$ac_ext
52724LIBS=$ac_check_lib_save_LIBS
52725fi
52726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&5
52727$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&6; }
52728if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" = xyes; then :
52729  ac_cv_libfvalue_dummy=yes
52730else
52731  ac_cv_libfvalue=no
52732fi
52733
52734        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf16_string_size in -lfvalue" >&5
52735$as_echo_n "checking for libfvalue_value_get_utf16_string_size in -lfvalue... " >&6; }
52736if ${ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size+:} false; then :
52737  $as_echo_n "(cached) " >&6
52738else
52739  ac_check_lib_save_LIBS=$LIBS
52740LIBS="-lfvalue  $LIBS"
52741cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52742/* end confdefs.h.  */
52743
52744/* Override any GCC internal prototype to avoid an error.
52745   Use char because int might match the return type of a GCC
52746   builtin and then its argument prototype would still apply.  */
52747#ifdef __cplusplus
52748extern "C"
52749#endif
52750char libfvalue_value_get_utf16_string_size ();
52751int
52752main ()
52753{
52754return libfvalue_value_get_utf16_string_size ();
52755  ;
52756  return 0;
52757}
52758_ACEOF
52759if ac_fn_c_try_link "$LINENO"; then :
52760  ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=yes
52761else
52762  ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=no
52763fi
52764rm -f core conftest.err conftest.$ac_objext \
52765    conftest$ac_exeext conftest.$ac_ext
52766LIBS=$ac_check_lib_save_LIBS
52767fi
52768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&5
52769$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&6; }
52770if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" = xyes; then :
52771  ac_cv_libfvalue_dummy=yes
52772else
52773  ac_cv_libfvalue=no
52774fi
52775
52776        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string in -lfvalue" >&5
52777$as_echo_n "checking for libfvalue_value_copy_to_utf16_string in -lfvalue... " >&6; }
52778if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string+:} false; then :
52779  $as_echo_n "(cached) " >&6
52780else
52781  ac_check_lib_save_LIBS=$LIBS
52782LIBS="-lfvalue  $LIBS"
52783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52784/* end confdefs.h.  */
52785
52786/* Override any GCC internal prototype to avoid an error.
52787   Use char because int might match the return type of a GCC
52788   builtin and then its argument prototype would still apply.  */
52789#ifdef __cplusplus
52790extern "C"
52791#endif
52792char libfvalue_value_copy_to_utf16_string ();
52793int
52794main ()
52795{
52796return libfvalue_value_copy_to_utf16_string ();
52797  ;
52798  return 0;
52799}
52800_ACEOF
52801if ac_fn_c_try_link "$LINENO"; then :
52802  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=yes
52803else
52804  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=no
52805fi
52806rm -f core conftest.err conftest.$ac_objext \
52807    conftest$ac_exeext conftest.$ac_ext
52808LIBS=$ac_check_lib_save_LIBS
52809fi
52810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&5
52811$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&6; }
52812if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" = xyes; then :
52813  ac_cv_libfvalue_dummy=yes
52814else
52815  ac_cv_libfvalue=no
52816fi
52817
52818        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue" >&5
52819$as_echo_n "checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue... " >&6; }
52820if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index+:} false; then :
52821  $as_echo_n "(cached) " >&6
52822else
52823  ac_check_lib_save_LIBS=$LIBS
52824LIBS="-lfvalue  $LIBS"
52825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52826/* end confdefs.h.  */
52827
52828/* Override any GCC internal prototype to avoid an error.
52829   Use char because int might match the return type of a GCC
52830   builtin and then its argument prototype would still apply.  */
52831#ifdef __cplusplus
52832extern "C"
52833#endif
52834char libfvalue_value_copy_to_utf16_string_with_index ();
52835int
52836main ()
52837{
52838return libfvalue_value_copy_to_utf16_string_with_index ();
52839  ;
52840  return 0;
52841}
52842_ACEOF
52843if ac_fn_c_try_link "$LINENO"; then :
52844  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=yes
52845else
52846  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=no
52847fi
52848rm -f core conftest.err conftest.$ac_objext \
52849    conftest$ac_exeext conftest.$ac_ext
52850LIBS=$ac_check_lib_save_LIBS
52851fi
52852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&5
52853$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&6; }
52854if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" = xyes; then :
52855  ac_cv_libfvalue_dummy=yes
52856else
52857  ac_cv_libfvalue=no
52858fi
52859
52860
52861        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf32_string in -lfvalue" >&5
52862$as_echo_n "checking for libfvalue_value_copy_from_utf32_string in -lfvalue... " >&6; }
52863if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string+:} false; then :
52864  $as_echo_n "(cached) " >&6
52865else
52866  ac_check_lib_save_LIBS=$LIBS
52867LIBS="-lfvalue  $LIBS"
52868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52869/* end confdefs.h.  */
52870
52871/* Override any GCC internal prototype to avoid an error.
52872   Use char because int might match the return type of a GCC
52873   builtin and then its argument prototype would still apply.  */
52874#ifdef __cplusplus
52875extern "C"
52876#endif
52877char libfvalue_value_copy_from_utf32_string ();
52878int
52879main ()
52880{
52881return libfvalue_value_copy_from_utf32_string ();
52882  ;
52883  return 0;
52884}
52885_ACEOF
52886if ac_fn_c_try_link "$LINENO"; then :
52887  ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=yes
52888else
52889  ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=no
52890fi
52891rm -f core conftest.err conftest.$ac_objext \
52892    conftest$ac_exeext conftest.$ac_ext
52893LIBS=$ac_check_lib_save_LIBS
52894fi
52895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&5
52896$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&6; }
52897if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" = xyes; then :
52898  ac_cv_libfvalue_dummy=yes
52899else
52900  ac_cv_libfvalue=no
52901fi
52902
52903        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf32_string_size in -lfvalue" >&5
52904$as_echo_n "checking for libfvalue_value_get_utf32_string_size in -lfvalue... " >&6; }
52905if ${ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size+:} false; then :
52906  $as_echo_n "(cached) " >&6
52907else
52908  ac_check_lib_save_LIBS=$LIBS
52909LIBS="-lfvalue  $LIBS"
52910cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52911/* end confdefs.h.  */
52912
52913/* Override any GCC internal prototype to avoid an error.
52914   Use char because int might match the return type of a GCC
52915   builtin and then its argument prototype would still apply.  */
52916#ifdef __cplusplus
52917extern "C"
52918#endif
52919char libfvalue_value_get_utf32_string_size ();
52920int
52921main ()
52922{
52923return libfvalue_value_get_utf32_string_size ();
52924  ;
52925  return 0;
52926}
52927_ACEOF
52928if ac_fn_c_try_link "$LINENO"; then :
52929  ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=yes
52930else
52931  ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=no
52932fi
52933rm -f core conftest.err conftest.$ac_objext \
52934    conftest$ac_exeext conftest.$ac_ext
52935LIBS=$ac_check_lib_save_LIBS
52936fi
52937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&5
52938$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&6; }
52939if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" = xyes; then :
52940  ac_cv_libfvalue_dummy=yes
52941else
52942  ac_cv_libfvalue=no
52943fi
52944
52945        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string in -lfvalue" >&5
52946$as_echo_n "checking for libfvalue_value_copy_to_utf32_string in -lfvalue... " >&6; }
52947if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string+:} false; then :
52948  $as_echo_n "(cached) " >&6
52949else
52950  ac_check_lib_save_LIBS=$LIBS
52951LIBS="-lfvalue  $LIBS"
52952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52953/* end confdefs.h.  */
52954
52955/* Override any GCC internal prototype to avoid an error.
52956   Use char because int might match the return type of a GCC
52957   builtin and then its argument prototype would still apply.  */
52958#ifdef __cplusplus
52959extern "C"
52960#endif
52961char libfvalue_value_copy_to_utf32_string ();
52962int
52963main ()
52964{
52965return libfvalue_value_copy_to_utf32_string ();
52966  ;
52967  return 0;
52968}
52969_ACEOF
52970if ac_fn_c_try_link "$LINENO"; then :
52971  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=yes
52972else
52973  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=no
52974fi
52975rm -f core conftest.err conftest.$ac_objext \
52976    conftest$ac_exeext conftest.$ac_ext
52977LIBS=$ac_check_lib_save_LIBS
52978fi
52979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&5
52980$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&6; }
52981if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" = xyes; then :
52982  ac_cv_libfvalue_dummy=yes
52983else
52984  ac_cv_libfvalue=no
52985fi
52986
52987        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue" >&5
52988$as_echo_n "checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue... " >&6; }
52989if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index+:} false; then :
52990  $as_echo_n "(cached) " >&6
52991else
52992  ac_check_lib_save_LIBS=$LIBS
52993LIBS="-lfvalue  $LIBS"
52994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52995/* end confdefs.h.  */
52996
52997/* Override any GCC internal prototype to avoid an error.
52998   Use char because int might match the return type of a GCC
52999   builtin and then its argument prototype would still apply.  */
53000#ifdef __cplusplus
53001extern "C"
53002#endif
53003char libfvalue_value_copy_to_utf32_string_with_index ();
53004int
53005main ()
53006{
53007return libfvalue_value_copy_to_utf32_string_with_index ();
53008  ;
53009  return 0;
53010}
53011_ACEOF
53012if ac_fn_c_try_link "$LINENO"; then :
53013  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=yes
53014else
53015  ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=no
53016fi
53017rm -f core conftest.err conftest.$ac_objext \
53018    conftest$ac_exeext conftest.$ac_ext
53019LIBS=$ac_check_lib_save_LIBS
53020fi
53021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&5
53022$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&6; }
53023if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" = xyes; then :
53024  ac_cv_libfvalue_dummy=yes
53025else
53026  ac_cv_libfvalue=no
53027fi
53028
53029
53030        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_read_from_file_stream in -lfvalue" >&5
53031$as_echo_n "checking for libfvalue_value_read_from_file_stream in -lfvalue... " >&6; }
53032if ${ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream+:} false; then :
53033  $as_echo_n "(cached) " >&6
53034else
53035  ac_check_lib_save_LIBS=$LIBS
53036LIBS="-lfvalue  $LIBS"
53037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53038/* end confdefs.h.  */
53039
53040/* Override any GCC internal prototype to avoid an error.
53041   Use char because int might match the return type of a GCC
53042   builtin and then its argument prototype would still apply.  */
53043#ifdef __cplusplus
53044extern "C"
53045#endif
53046char libfvalue_value_read_from_file_stream ();
53047int
53048main ()
53049{
53050return libfvalue_value_read_from_file_stream ();
53051  ;
53052  return 0;
53053}
53054_ACEOF
53055if ac_fn_c_try_link "$LINENO"; then :
53056  ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=yes
53057else
53058  ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=no
53059fi
53060rm -f core conftest.err conftest.$ac_objext \
53061    conftest$ac_exeext conftest.$ac_ext
53062LIBS=$ac_check_lib_save_LIBS
53063fi
53064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&5
53065$as_echo "$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&6; }
53066if test "x$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" = xyes; then :
53067  ac_cv_libfvalue_dummy=yes
53068else
53069  ac_cv_libfvalue=no
53070fi
53071
53072        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_write_to_file_stream in -lfvalue" >&5
53073$as_echo_n "checking for libfvalue_value_write_to_file_stream in -lfvalue... " >&6; }
53074if ${ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream+:} false; then :
53075  $as_echo_n "(cached) " >&6
53076else
53077  ac_check_lib_save_LIBS=$LIBS
53078LIBS="-lfvalue  $LIBS"
53079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53080/* end confdefs.h.  */
53081
53082/* Override any GCC internal prototype to avoid an error.
53083   Use char because int might match the return type of a GCC
53084   builtin and then its argument prototype would still apply.  */
53085#ifdef __cplusplus
53086extern "C"
53087#endif
53088char libfvalue_value_write_to_file_stream ();
53089int
53090main ()
53091{
53092return libfvalue_value_write_to_file_stream ();
53093  ;
53094  return 0;
53095}
53096_ACEOF
53097if ac_fn_c_try_link "$LINENO"; then :
53098  ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=yes
53099else
53100  ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=no
53101fi
53102rm -f core conftest.err conftest.$ac_objext \
53103    conftest$ac_exeext conftest.$ac_ext
53104LIBS=$ac_check_lib_save_LIBS
53105fi
53106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&5
53107$as_echo "$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&6; }
53108if test "x$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" = xyes; then :
53109  ac_cv_libfvalue_dummy=yes
53110else
53111  ac_cv_libfvalue=no
53112fi
53113
53114
53115                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize in -lfvalue" >&5
53116$as_echo_n "checking for libfvalue_value_type_initialize in -lfvalue... " >&6; }
53117if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize+:} false; then :
53118  $as_echo_n "(cached) " >&6
53119else
53120  ac_check_lib_save_LIBS=$LIBS
53121LIBS="-lfvalue  $LIBS"
53122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53123/* end confdefs.h.  */
53124
53125/* Override any GCC internal prototype to avoid an error.
53126   Use char because int might match the return type of a GCC
53127   builtin and then its argument prototype would still apply.  */
53128#ifdef __cplusplus
53129extern "C"
53130#endif
53131char libfvalue_value_type_initialize ();
53132int
53133main ()
53134{
53135return libfvalue_value_type_initialize ();
53136  ;
53137  return 0;
53138}
53139_ACEOF
53140if ac_fn_c_try_link "$LINENO"; then :
53141  ac_cv_lib_fvalue_libfvalue_value_type_initialize=yes
53142else
53143  ac_cv_lib_fvalue_libfvalue_value_type_initialize=no
53144fi
53145rm -f core conftest.err conftest.$ac_objext \
53146    conftest$ac_exeext conftest.$ac_ext
53147LIBS=$ac_check_lib_save_LIBS
53148fi
53149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&5
53150$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&6; }
53151if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize" = xyes; then :
53152  ac_cv_libfvalue_dummy=yes
53153else
53154  ac_cv_libfvalue=no
53155fi
53156
53157        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue" >&5
53158$as_echo_n "checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue... " >&6; }
53159if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle+:} false; then :
53160  $as_echo_n "(cached) " >&6
53161else
53162  ac_check_lib_save_LIBS=$LIBS
53163LIBS="-lfvalue  $LIBS"
53164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53165/* end confdefs.h.  */
53166
53167/* Override any GCC internal prototype to avoid an error.
53168   Use char because int might match the return type of a GCC
53169   builtin and then its argument prototype would still apply.  */
53170#ifdef __cplusplus
53171extern "C"
53172#endif
53173char libfvalue_value_type_initialize_with_data_handle ();
53174int
53175main ()
53176{
53177return libfvalue_value_type_initialize_with_data_handle ();
53178  ;
53179  return 0;
53180}
53181_ACEOF
53182if ac_fn_c_try_link "$LINENO"; then :
53183  ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=yes
53184else
53185  ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=no
53186fi
53187rm -f core conftest.err conftest.$ac_objext \
53188    conftest$ac_exeext conftest.$ac_ext
53189LIBS=$ac_check_lib_save_LIBS
53190fi
53191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&5
53192$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&6; }
53193if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" = xyes; then :
53194  ac_cv_libfvalue_dummy=yes
53195else
53196  ac_cv_libfvalue=no
53197fi
53198
53199
53200        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_string in -lfvalue" >&5
53201$as_echo_n "checking for libfvalue_value_type_set_data_string in -lfvalue... " >&6; }
53202if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_string+:} false; then :
53203  $as_echo_n "(cached) " >&6
53204else
53205  ac_check_lib_save_LIBS=$LIBS
53206LIBS="-lfvalue  $LIBS"
53207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53208/* end confdefs.h.  */
53209
53210/* Override any GCC internal prototype to avoid an error.
53211   Use char because int might match the return type of a GCC
53212   builtin and then its argument prototype would still apply.  */
53213#ifdef __cplusplus
53214extern "C"
53215#endif
53216char libfvalue_value_type_set_data_string ();
53217int
53218main ()
53219{
53220return libfvalue_value_type_set_data_string ();
53221  ;
53222  return 0;
53223}
53224_ACEOF
53225if ac_fn_c_try_link "$LINENO"; then :
53226  ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=yes
53227else
53228  ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=no
53229fi
53230rm -f core conftest.err conftest.$ac_objext \
53231    conftest$ac_exeext conftest.$ac_ext
53232LIBS=$ac_check_lib_save_LIBS
53233fi
53234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&5
53235$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&6; }
53236if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" = xyes; then :
53237  ac_cv_libfvalue_dummy=yes
53238else
53239  ac_cv_libfvalue=no
53240fi
53241
53242        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_append_data_string in -lfvalue" >&5
53243$as_echo_n "checking for libfvalue_value_type_append_data_string in -lfvalue... " >&6; }
53244if ${ac_cv_lib_fvalue_libfvalue_value_type_append_data_string+:} false; then :
53245  $as_echo_n "(cached) " >&6
53246else
53247  ac_check_lib_save_LIBS=$LIBS
53248LIBS="-lfvalue  $LIBS"
53249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53250/* end confdefs.h.  */
53251
53252/* Override any GCC internal prototype to avoid an error.
53253   Use char because int might match the return type of a GCC
53254   builtin and then its argument prototype would still apply.  */
53255#ifdef __cplusplus
53256extern "C"
53257#endif
53258char libfvalue_value_type_append_data_string ();
53259int
53260main ()
53261{
53262return libfvalue_value_type_append_data_string ();
53263  ;
53264  return 0;
53265}
53266_ACEOF
53267if ac_fn_c_try_link "$LINENO"; then :
53268  ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=yes
53269else
53270  ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=no
53271fi
53272rm -f core conftest.err conftest.$ac_objext \
53273    conftest$ac_exeext conftest.$ac_ext
53274LIBS=$ac_check_lib_save_LIBS
53275fi
53276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&5
53277$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&6; }
53278if test "x$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" = xyes; then :
53279  ac_cv_libfvalue_dummy=yes
53280else
53281  ac_cv_libfvalue=no
53282fi
53283
53284
53285        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_strings_array in -lfvalue" >&5
53286$as_echo_n "checking for libfvalue_value_type_set_data_strings_array in -lfvalue... " >&6; }
53287if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array+:} false; then :
53288  $as_echo_n "(cached) " >&6
53289else
53290  ac_check_lib_save_LIBS=$LIBS
53291LIBS="-lfvalue  $LIBS"
53292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53293/* end confdefs.h.  */
53294
53295/* Override any GCC internal prototype to avoid an error.
53296   Use char because int might match the return type of a GCC
53297   builtin and then its argument prototype would still apply.  */
53298#ifdef __cplusplus
53299extern "C"
53300#endif
53301char libfvalue_value_type_set_data_strings_array ();
53302int
53303main ()
53304{
53305return libfvalue_value_type_set_data_strings_array ();
53306  ;
53307  return 0;
53308}
53309_ACEOF
53310if ac_fn_c_try_link "$LINENO"; then :
53311  ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=yes
53312else
53313  ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=no
53314fi
53315rm -f core conftest.err conftest.$ac_objext \
53316    conftest$ac_exeext conftest.$ac_ext
53317LIBS=$ac_check_lib_save_LIBS
53318fi
53319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&5
53320$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&6; }
53321if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" = xyes; then :
53322  ac_cv_libfvalue_dummy=yes
53323else
53324  ac_cv_libfvalue=no
53325fi
53326
53327
53328        ac_cv_libfvalue_LIBADD="-lfvalue"
53329fi
53330
53331fi
53332    if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect && test "x$ac_cv_libfvalue" != xyes; then :
53333  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53335as_fn_error 1 "unable to find supported libfvalue in directory: $ac_cv_with_libfvalue
53336See \`config.log' for more details" "$LINENO" 5; }
53337
53338fi
53339
53340fi
53341
53342  if test "x$ac_cv_libfvalue" = xyes; then :
53343
53344$as_echo "#define HAVE_LIBFVALUE 1" >>confdefs.h
53345
53346
53347fi
53348
53349  if test "x$ac_cv_libfvalue" = xyes; then :
53350  HAVE_LIBFVALUE=1
53351
53352else
53353  HAVE_LIBFVALUE=0
53354
53355
53356fi
53357
53358
53359    if test "x$ac_cv_libfvalue" != xyes; then :
53360
53361  ac_cv_libfvalue_CPPFLAGS="-I../libfvalue";
53362  ac_cv_libfvalue_LIBADD="../libfvalue/libfvalue.la";
53363
53364  ac_cv_libfvalue=local
53365
53366
53367
53368$as_echo "#define HAVE_LOCAL_LIBFVALUE 1" >>confdefs.h
53369
53370    HAVE_LOCAL_LIBFVALUE=1
53371
53372
53373fi
53374
53375   if test "x$ac_cv_libfvalue" = xlocal; then
53376  HAVE_LOCAL_LIBFVALUE_TRUE=
53377  HAVE_LOCAL_LIBFVALUE_FALSE='#'
53378else
53379  HAVE_LOCAL_LIBFVALUE_TRUE='#'
53380  HAVE_LOCAL_LIBFVALUE_FALSE=
53381fi
53382
53383  if test "x$ac_cv_libfvalue_CPPFLAGS" != "x"; then :
53384  LIBFVALUE_CPPFLAGS=$ac_cv_libfvalue_CPPFLAGS
53385
53386
53387fi
53388  if test "x$ac_cv_libfvalue_LIBADD" != "x"; then :
53389  LIBFVALUE_LIBADD=$ac_cv_libfvalue_LIBADD
53390
53391
53392fi
53393
53394  if test "x$ac_cv_libfvalue" = xyes; then :
53395  ax_libfvalue_pc_libs_private=-lfvalue
53396
53397
53398fi
53399
53400  if test "x$ac_cv_libfvalue" = xyes; then :
53401  ax_libfvalue_spec_requires=libfvalue
53402
53403    ax_libfvalue_spec_build_requires=libfvalue-devel
53404
53405
53406fi
53407
53408
53409
53410
53411# Check whether --with-libhmac was given.
53412if test "${with_libhmac+set}" = set; then :
53413  withval=$with_libhmac; ac_cv_with_libhmac=$withval
53414else
53415  ac_cv_with_libhmac=auto-detect
53416fi
53417
53418    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libhmac in includedir and libdir or in the specified DIR, or no if to use local version" >&5
53419$as_echo_n "checking whether to use search for libhmac in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; }
53420if ${ac_cv_with_libhmac+:} false; then :
53421  $as_echo_n "(cached) " >&6
53422else
53423  ac_cv_with_libhmac=auto-detect
53424fi
53425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libhmac" >&5
53426$as_echo "$ac_cv_with_libhmac" >&6; }
53427
53428    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libhmac" = xno; then :
53429  ac_cv_libhmac=no
53430else
53431  ac_cv_libhmac=check
53432        if test "x$ac_cv_with_libhmac" != x && test "x$ac_cv_with_libhmac" != xauto-detect; then :
53433  if test -d "$ac_cv_with_libhmac"; then :
53434  CFLAGS="$CFLAGS -I${ac_cv_with_libhmac}/include"
53435        LDFLAGS="$LDFLAGS -L${ac_cv_with_libhmac}/lib"
53436else
53437  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53438$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53439as_fn_error 1 "no such directory: $ac_cv_with_libhmac
53440See \`config.log' for more details" "$LINENO" 5; }
53441
53442fi
53443
53444else
53445        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
53446
53447pkg_failed=no
53448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac" >&5
53449$as_echo_n "checking for libhmac... " >&6; }
53450
53451if test -n "$libhmac_CFLAGS"; then
53452    pkg_cv_libhmac_CFLAGS="$libhmac_CFLAGS"
53453 elif test -n "$PKG_CONFIG"; then
53454    if test -n "$PKG_CONFIG" && \
53455    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libhmac >= 20200104\""; } >&5
53456  ($PKG_CONFIG --exists --print-errors "libhmac >= 20200104") 2>&5
53457  ac_status=$?
53458  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53459  test $ac_status = 0; }; then
53460  pkg_cv_libhmac_CFLAGS=`$PKG_CONFIG --cflags "libhmac >= 20200104" 2>/dev/null`
53461		      test "x$?" != "x0" && pkg_failed=yes
53462else
53463  pkg_failed=yes
53464fi
53465 else
53466    pkg_failed=untried
53467fi
53468if test -n "$libhmac_LIBS"; then
53469    pkg_cv_libhmac_LIBS="$libhmac_LIBS"
53470 elif test -n "$PKG_CONFIG"; then
53471    if test -n "$PKG_CONFIG" && \
53472    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libhmac >= 20200104\""; } >&5
53473  ($PKG_CONFIG --exists --print-errors "libhmac >= 20200104") 2>&5
53474  ac_status=$?
53475  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53476  test $ac_status = 0; }; then
53477  pkg_cv_libhmac_LIBS=`$PKG_CONFIG --libs "libhmac >= 20200104" 2>/dev/null`
53478		      test "x$?" != "x0" && pkg_failed=yes
53479else
53480  pkg_failed=yes
53481fi
53482 else
53483    pkg_failed=untried
53484fi
53485
53486
53487
53488if test $pkg_failed = yes; then
53489   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
53490$as_echo "no" >&6; }
53491
53492if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53493        _pkg_short_errors_supported=yes
53494else
53495        _pkg_short_errors_supported=no
53496fi
53497        if test $_pkg_short_errors_supported = yes; then
53498	        libhmac_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libhmac >= 20200104" 2>&1`
53499        else
53500	        libhmac_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libhmac >= 20200104" 2>&1`
53501        fi
53502	# Put the nasty error message in config.log where it belongs
53503	echo "$libhmac_PKG_ERRORS" >&5
53504
53505	ac_cv_libhmac=check
53506elif test $pkg_failed = untried; then
53507     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
53508$as_echo "no" >&6; }
53509	ac_cv_libhmac=check
53510else
53511	libhmac_CFLAGS=$pkg_cv_libhmac_CFLAGS
53512	libhmac_LIBS=$pkg_cv_libhmac_LIBS
53513        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
53514$as_echo "yes" >&6; }
53515	ac_cv_libhmac=yes
53516fi
53517
53518fi
53519      if test "x$ac_cv_libhmac" = xyes; then :
53520  ac_cv_libhmac_CPPFLAGS="$pkg_cv_libhmac_CFLAGS"
53521        ac_cv_libhmac_LIBADD="$pkg_cv_libhmac_LIBS"
53522fi
53523
53524fi
53525
53526    if test "x$ac_cv_libhmac" = xcheck; then :
53527        for ac_header in libhmac.h
53528do :
53529  ac_fn_c_check_header_mongrel "$LINENO" "libhmac.h" "ac_cv_header_libhmac_h" "$ac_includes_default"
53530if test "x$ac_cv_header_libhmac_h" = xyes; then :
53531  cat >>confdefs.h <<_ACEOF
53532#define HAVE_LIBHMAC_H 1
53533_ACEOF
53534
53535fi
53536
53537done
53538
53539
53540      if test "x$ac_cv_header_libhmac_h" = xno; then :
53541  ac_cv_libhmac=no
53542else
53543          ac_cv_libhmac=yes
53544
53545        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_get_version in -lhmac" >&5
53546$as_echo_n "checking for libhmac_get_version in -lhmac... " >&6; }
53547if ${ac_cv_lib_hmac_libhmac_get_version+:} false; then :
53548  $as_echo_n "(cached) " >&6
53549else
53550  ac_check_lib_save_LIBS=$LIBS
53551LIBS="-lhmac  $LIBS"
53552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53553/* end confdefs.h.  */
53554
53555/* Override any GCC internal prototype to avoid an error.
53556   Use char because int might match the return type of a GCC
53557   builtin and then its argument prototype would still apply.  */
53558#ifdef __cplusplus
53559extern "C"
53560#endif
53561char libhmac_get_version ();
53562int
53563main ()
53564{
53565return libhmac_get_version ();
53566  ;
53567  return 0;
53568}
53569_ACEOF
53570if ac_fn_c_try_link "$LINENO"; then :
53571  ac_cv_lib_hmac_libhmac_get_version=yes
53572else
53573  ac_cv_lib_hmac_libhmac_get_version=no
53574fi
53575rm -f core conftest.err conftest.$ac_objext \
53576    conftest$ac_exeext conftest.$ac_ext
53577LIBS=$ac_check_lib_save_LIBS
53578fi
53579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_get_version" >&5
53580$as_echo "$ac_cv_lib_hmac_libhmac_get_version" >&6; }
53581if test "x$ac_cv_lib_hmac_libhmac_get_version" = xyes; then :
53582  ac_cv_libhmac_dummy=yes
53583else
53584  ac_cv_libhmac=no
53585fi
53586
53587
53588                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_initialize in -lhmac" >&5
53589$as_echo_n "checking for libhmac_md5_initialize in -lhmac... " >&6; }
53590if ${ac_cv_lib_hmac_libhmac_md5_initialize+:} false; then :
53591  $as_echo_n "(cached) " >&6
53592else
53593  ac_check_lib_save_LIBS=$LIBS
53594LIBS="-lhmac  $LIBS"
53595cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53596/* end confdefs.h.  */
53597
53598/* Override any GCC internal prototype to avoid an error.
53599   Use char because int might match the return type of a GCC
53600   builtin and then its argument prototype would still apply.  */
53601#ifdef __cplusplus
53602extern "C"
53603#endif
53604char libhmac_md5_initialize ();
53605int
53606main ()
53607{
53608return libhmac_md5_initialize ();
53609  ;
53610  return 0;
53611}
53612_ACEOF
53613if ac_fn_c_try_link "$LINENO"; then :
53614  ac_cv_lib_hmac_libhmac_md5_initialize=yes
53615else
53616  ac_cv_lib_hmac_libhmac_md5_initialize=no
53617fi
53618rm -f core conftest.err conftest.$ac_objext \
53619    conftest$ac_exeext conftest.$ac_ext
53620LIBS=$ac_check_lib_save_LIBS
53621fi
53622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_initialize" >&5
53623$as_echo "$ac_cv_lib_hmac_libhmac_md5_initialize" >&6; }
53624if test "x$ac_cv_lib_hmac_libhmac_md5_initialize" = xyes; then :
53625  ac_cv_libhmac_dummy=yes
53626else
53627  ac_cv_libhmac=no
53628fi
53629
53630        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_update in -lhmac" >&5
53631$as_echo_n "checking for libhmac_md5_update in -lhmac... " >&6; }
53632if ${ac_cv_lib_hmac_libhmac_md5_update+:} false; then :
53633  $as_echo_n "(cached) " >&6
53634else
53635  ac_check_lib_save_LIBS=$LIBS
53636LIBS="-lhmac  $LIBS"
53637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53638/* end confdefs.h.  */
53639
53640/* Override any GCC internal prototype to avoid an error.
53641   Use char because int might match the return type of a GCC
53642   builtin and then its argument prototype would still apply.  */
53643#ifdef __cplusplus
53644extern "C"
53645#endif
53646char libhmac_md5_update ();
53647int
53648main ()
53649{
53650return libhmac_md5_update ();
53651  ;
53652  return 0;
53653}
53654_ACEOF
53655if ac_fn_c_try_link "$LINENO"; then :
53656  ac_cv_lib_hmac_libhmac_md5_update=yes
53657else
53658  ac_cv_lib_hmac_libhmac_md5_update=no
53659fi
53660rm -f core conftest.err conftest.$ac_objext \
53661    conftest$ac_exeext conftest.$ac_ext
53662LIBS=$ac_check_lib_save_LIBS
53663fi
53664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_update" >&5
53665$as_echo "$ac_cv_lib_hmac_libhmac_md5_update" >&6; }
53666if test "x$ac_cv_lib_hmac_libhmac_md5_update" = xyes; then :
53667  ac_cv_libhmac_dummy=yes
53668else
53669  ac_cv_libhmac=no
53670fi
53671
53672        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_finalize in -lhmac" >&5
53673$as_echo_n "checking for libhmac_md5_finalize in -lhmac... " >&6; }
53674if ${ac_cv_lib_hmac_libhmac_md5_finalize+:} false; then :
53675  $as_echo_n "(cached) " >&6
53676else
53677  ac_check_lib_save_LIBS=$LIBS
53678LIBS="-lhmac  $LIBS"
53679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680/* end confdefs.h.  */
53681
53682/* Override any GCC internal prototype to avoid an error.
53683   Use char because int might match the return type of a GCC
53684   builtin and then its argument prototype would still apply.  */
53685#ifdef __cplusplus
53686extern "C"
53687#endif
53688char libhmac_md5_finalize ();
53689int
53690main ()
53691{
53692return libhmac_md5_finalize ();
53693  ;
53694  return 0;
53695}
53696_ACEOF
53697if ac_fn_c_try_link "$LINENO"; then :
53698  ac_cv_lib_hmac_libhmac_md5_finalize=yes
53699else
53700  ac_cv_lib_hmac_libhmac_md5_finalize=no
53701fi
53702rm -f core conftest.err conftest.$ac_objext \
53703    conftest$ac_exeext conftest.$ac_ext
53704LIBS=$ac_check_lib_save_LIBS
53705fi
53706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_finalize" >&5
53707$as_echo "$ac_cv_lib_hmac_libhmac_md5_finalize" >&6; }
53708if test "x$ac_cv_lib_hmac_libhmac_md5_finalize" = xyes; then :
53709  ac_cv_libhmac_dummy=yes
53710else
53711  ac_cv_libhmac=no
53712fi
53713
53714        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_free in -lhmac" >&5
53715$as_echo_n "checking for libhmac_md5_free in -lhmac... " >&6; }
53716if ${ac_cv_lib_hmac_libhmac_md5_free+:} false; then :
53717  $as_echo_n "(cached) " >&6
53718else
53719  ac_check_lib_save_LIBS=$LIBS
53720LIBS="-lhmac  $LIBS"
53721cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53722/* end confdefs.h.  */
53723
53724/* Override any GCC internal prototype to avoid an error.
53725   Use char because int might match the return type of a GCC
53726   builtin and then its argument prototype would still apply.  */
53727#ifdef __cplusplus
53728extern "C"
53729#endif
53730char libhmac_md5_free ();
53731int
53732main ()
53733{
53734return libhmac_md5_free ();
53735  ;
53736  return 0;
53737}
53738_ACEOF
53739if ac_fn_c_try_link "$LINENO"; then :
53740  ac_cv_lib_hmac_libhmac_md5_free=yes
53741else
53742  ac_cv_lib_hmac_libhmac_md5_free=no
53743fi
53744rm -f core conftest.err conftest.$ac_objext \
53745    conftest$ac_exeext conftest.$ac_ext
53746LIBS=$ac_check_lib_save_LIBS
53747fi
53748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_free" >&5
53749$as_echo "$ac_cv_lib_hmac_libhmac_md5_free" >&6; }
53750if test "x$ac_cv_lib_hmac_libhmac_md5_free" = xyes; then :
53751  ac_cv_libhmac_dummy=yes
53752else
53753  ac_cv_libhmac=no
53754fi
53755
53756
53757                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_initialize in -lhmac" >&5
53758$as_echo_n "checking for libhmac_sha1_initialize in -lhmac... " >&6; }
53759if ${ac_cv_lib_hmac_libhmac_sha1_initialize+:} false; then :
53760  $as_echo_n "(cached) " >&6
53761else
53762  ac_check_lib_save_LIBS=$LIBS
53763LIBS="-lhmac  $LIBS"
53764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765/* end confdefs.h.  */
53766
53767/* Override any GCC internal prototype to avoid an error.
53768   Use char because int might match the return type of a GCC
53769   builtin and then its argument prototype would still apply.  */
53770#ifdef __cplusplus
53771extern "C"
53772#endif
53773char libhmac_sha1_initialize ();
53774int
53775main ()
53776{
53777return libhmac_sha1_initialize ();
53778  ;
53779  return 0;
53780}
53781_ACEOF
53782if ac_fn_c_try_link "$LINENO"; then :
53783  ac_cv_lib_hmac_libhmac_sha1_initialize=yes
53784else
53785  ac_cv_lib_hmac_libhmac_sha1_initialize=no
53786fi
53787rm -f core conftest.err conftest.$ac_objext \
53788    conftest$ac_exeext conftest.$ac_ext
53789LIBS=$ac_check_lib_save_LIBS
53790fi
53791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_initialize" >&5
53792$as_echo "$ac_cv_lib_hmac_libhmac_sha1_initialize" >&6; }
53793if test "x$ac_cv_lib_hmac_libhmac_sha1_initialize" = xyes; then :
53794  ac_cv_libhmac_dummy=yes
53795else
53796  ac_cv_libhmac=no
53797fi
53798
53799        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_update in -lhmac" >&5
53800$as_echo_n "checking for libhmac_sha1_update in -lhmac... " >&6; }
53801if ${ac_cv_lib_hmac_libhmac_sha1_update+:} false; then :
53802  $as_echo_n "(cached) " >&6
53803else
53804  ac_check_lib_save_LIBS=$LIBS
53805LIBS="-lhmac  $LIBS"
53806cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53807/* end confdefs.h.  */
53808
53809/* Override any GCC internal prototype to avoid an error.
53810   Use char because int might match the return type of a GCC
53811   builtin and then its argument prototype would still apply.  */
53812#ifdef __cplusplus
53813extern "C"
53814#endif
53815char libhmac_sha1_update ();
53816int
53817main ()
53818{
53819return libhmac_sha1_update ();
53820  ;
53821  return 0;
53822}
53823_ACEOF
53824if ac_fn_c_try_link "$LINENO"; then :
53825  ac_cv_lib_hmac_libhmac_sha1_update=yes
53826else
53827  ac_cv_lib_hmac_libhmac_sha1_update=no
53828fi
53829rm -f core conftest.err conftest.$ac_objext \
53830    conftest$ac_exeext conftest.$ac_ext
53831LIBS=$ac_check_lib_save_LIBS
53832fi
53833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_update" >&5
53834$as_echo "$ac_cv_lib_hmac_libhmac_sha1_update" >&6; }
53835if test "x$ac_cv_lib_hmac_libhmac_sha1_update" = xyes; then :
53836  ac_cv_libhmac_dummy=yes
53837else
53838  ac_cv_libhmac=no
53839fi
53840
53841        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_finalize in -lhmac" >&5
53842$as_echo_n "checking for libhmac_sha1_finalize in -lhmac... " >&6; }
53843if ${ac_cv_lib_hmac_libhmac_sha1_finalize+:} false; then :
53844  $as_echo_n "(cached) " >&6
53845else
53846  ac_check_lib_save_LIBS=$LIBS
53847LIBS="-lhmac  $LIBS"
53848cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53849/* end confdefs.h.  */
53850
53851/* Override any GCC internal prototype to avoid an error.
53852   Use char because int might match the return type of a GCC
53853   builtin and then its argument prototype would still apply.  */
53854#ifdef __cplusplus
53855extern "C"
53856#endif
53857char libhmac_sha1_finalize ();
53858int
53859main ()
53860{
53861return libhmac_sha1_finalize ();
53862  ;
53863  return 0;
53864}
53865_ACEOF
53866if ac_fn_c_try_link "$LINENO"; then :
53867  ac_cv_lib_hmac_libhmac_sha1_finalize=yes
53868else
53869  ac_cv_lib_hmac_libhmac_sha1_finalize=no
53870fi
53871rm -f core conftest.err conftest.$ac_objext \
53872    conftest$ac_exeext conftest.$ac_ext
53873LIBS=$ac_check_lib_save_LIBS
53874fi
53875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_finalize" >&5
53876$as_echo "$ac_cv_lib_hmac_libhmac_sha1_finalize" >&6; }
53877if test "x$ac_cv_lib_hmac_libhmac_sha1_finalize" = xyes; then :
53878  ac_cv_libhmac_dummy=yes
53879else
53880  ac_cv_libhmac=no
53881fi
53882
53883        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_free in -lhmac" >&5
53884$as_echo_n "checking for libhmac_sha1_free in -lhmac... " >&6; }
53885if ${ac_cv_lib_hmac_libhmac_sha1_free+:} false; then :
53886  $as_echo_n "(cached) " >&6
53887else
53888  ac_check_lib_save_LIBS=$LIBS
53889LIBS="-lhmac  $LIBS"
53890cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53891/* end confdefs.h.  */
53892
53893/* Override any GCC internal prototype to avoid an error.
53894   Use char because int might match the return type of a GCC
53895   builtin and then its argument prototype would still apply.  */
53896#ifdef __cplusplus
53897extern "C"
53898#endif
53899char libhmac_sha1_free ();
53900int
53901main ()
53902{
53903return libhmac_sha1_free ();
53904  ;
53905  return 0;
53906}
53907_ACEOF
53908if ac_fn_c_try_link "$LINENO"; then :
53909  ac_cv_lib_hmac_libhmac_sha1_free=yes
53910else
53911  ac_cv_lib_hmac_libhmac_sha1_free=no
53912fi
53913rm -f core conftest.err conftest.$ac_objext \
53914    conftest$ac_exeext conftest.$ac_ext
53915LIBS=$ac_check_lib_save_LIBS
53916fi
53917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_free" >&5
53918$as_echo "$ac_cv_lib_hmac_libhmac_sha1_free" >&6; }
53919if test "x$ac_cv_lib_hmac_libhmac_sha1_free" = xyes; then :
53920  ac_cv_libhmac_dummy=yes
53921else
53922  ac_cv_libhmac=no
53923fi
53924
53925
53926                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_initialize in -lhmac" >&5
53927$as_echo_n "checking for libhmac_sha224_initialize in -lhmac... " >&6; }
53928if ${ac_cv_lib_hmac_libhmac_sha224_initialize+:} false; then :
53929  $as_echo_n "(cached) " >&6
53930else
53931  ac_check_lib_save_LIBS=$LIBS
53932LIBS="-lhmac  $LIBS"
53933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53934/* end confdefs.h.  */
53935
53936/* Override any GCC internal prototype to avoid an error.
53937   Use char because int might match the return type of a GCC
53938   builtin and then its argument prototype would still apply.  */
53939#ifdef __cplusplus
53940extern "C"
53941#endif
53942char libhmac_sha224_initialize ();
53943int
53944main ()
53945{
53946return libhmac_sha224_initialize ();
53947  ;
53948  return 0;
53949}
53950_ACEOF
53951if ac_fn_c_try_link "$LINENO"; then :
53952  ac_cv_lib_hmac_libhmac_sha224_initialize=yes
53953else
53954  ac_cv_lib_hmac_libhmac_sha224_initialize=no
53955fi
53956rm -f core conftest.err conftest.$ac_objext \
53957    conftest$ac_exeext conftest.$ac_ext
53958LIBS=$ac_check_lib_save_LIBS
53959fi
53960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_initialize" >&5
53961$as_echo "$ac_cv_lib_hmac_libhmac_sha224_initialize" >&6; }
53962if test "x$ac_cv_lib_hmac_libhmac_sha224_initialize" = xyes; then :
53963  ac_cv_libhmac_dummy=yes
53964else
53965  ac_cv_libhmac=no
53966fi
53967
53968        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_update in -lhmac" >&5
53969$as_echo_n "checking for libhmac_sha224_update in -lhmac... " >&6; }
53970if ${ac_cv_lib_hmac_libhmac_sha224_update+:} false; then :
53971  $as_echo_n "(cached) " >&6
53972else
53973  ac_check_lib_save_LIBS=$LIBS
53974LIBS="-lhmac  $LIBS"
53975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53976/* end confdefs.h.  */
53977
53978/* Override any GCC internal prototype to avoid an error.
53979   Use char because int might match the return type of a GCC
53980   builtin and then its argument prototype would still apply.  */
53981#ifdef __cplusplus
53982extern "C"
53983#endif
53984char libhmac_sha224_update ();
53985int
53986main ()
53987{
53988return libhmac_sha224_update ();
53989  ;
53990  return 0;
53991}
53992_ACEOF
53993if ac_fn_c_try_link "$LINENO"; then :
53994  ac_cv_lib_hmac_libhmac_sha224_update=yes
53995else
53996  ac_cv_lib_hmac_libhmac_sha224_update=no
53997fi
53998rm -f core conftest.err conftest.$ac_objext \
53999    conftest$ac_exeext conftest.$ac_ext
54000LIBS=$ac_check_lib_save_LIBS
54001fi
54002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_update" >&5
54003$as_echo "$ac_cv_lib_hmac_libhmac_sha224_update" >&6; }
54004if test "x$ac_cv_lib_hmac_libhmac_sha224_update" = xyes; then :
54005  ac_cv_libhmac_dummy=yes
54006else
54007  ac_cv_libhmac=no
54008fi
54009
54010        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_finalize in -lhmac" >&5
54011$as_echo_n "checking for libhmac_sha224_finalize in -lhmac... " >&6; }
54012if ${ac_cv_lib_hmac_libhmac_sha224_finalize+:} false; then :
54013  $as_echo_n "(cached) " >&6
54014else
54015  ac_check_lib_save_LIBS=$LIBS
54016LIBS="-lhmac  $LIBS"
54017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54018/* end confdefs.h.  */
54019
54020/* Override any GCC internal prototype to avoid an error.
54021   Use char because int might match the return type of a GCC
54022   builtin and then its argument prototype would still apply.  */
54023#ifdef __cplusplus
54024extern "C"
54025#endif
54026char libhmac_sha224_finalize ();
54027int
54028main ()
54029{
54030return libhmac_sha224_finalize ();
54031  ;
54032  return 0;
54033}
54034_ACEOF
54035if ac_fn_c_try_link "$LINENO"; then :
54036  ac_cv_lib_hmac_libhmac_sha224_finalize=yes
54037else
54038  ac_cv_lib_hmac_libhmac_sha224_finalize=no
54039fi
54040rm -f core conftest.err conftest.$ac_objext \
54041    conftest$ac_exeext conftest.$ac_ext
54042LIBS=$ac_check_lib_save_LIBS
54043fi
54044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_finalize" >&5
54045$as_echo "$ac_cv_lib_hmac_libhmac_sha224_finalize" >&6; }
54046if test "x$ac_cv_lib_hmac_libhmac_sha224_finalize" = xyes; then :
54047  ac_cv_libhmac_dummy=yes
54048else
54049  ac_cv_libhmac=no
54050fi
54051
54052        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_free in -lhmac" >&5
54053$as_echo_n "checking for libhmac_sha224_free in -lhmac... " >&6; }
54054if ${ac_cv_lib_hmac_libhmac_sha224_free+:} false; then :
54055  $as_echo_n "(cached) " >&6
54056else
54057  ac_check_lib_save_LIBS=$LIBS
54058LIBS="-lhmac  $LIBS"
54059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54060/* end confdefs.h.  */
54061
54062/* Override any GCC internal prototype to avoid an error.
54063   Use char because int might match the return type of a GCC
54064   builtin and then its argument prototype would still apply.  */
54065#ifdef __cplusplus
54066extern "C"
54067#endif
54068char libhmac_sha224_free ();
54069int
54070main ()
54071{
54072return libhmac_sha224_free ();
54073  ;
54074  return 0;
54075}
54076_ACEOF
54077if ac_fn_c_try_link "$LINENO"; then :
54078  ac_cv_lib_hmac_libhmac_sha224_free=yes
54079else
54080  ac_cv_lib_hmac_libhmac_sha224_free=no
54081fi
54082rm -f core conftest.err conftest.$ac_objext \
54083    conftest$ac_exeext conftest.$ac_ext
54084LIBS=$ac_check_lib_save_LIBS
54085fi
54086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_free" >&5
54087$as_echo "$ac_cv_lib_hmac_libhmac_sha224_free" >&6; }
54088if test "x$ac_cv_lib_hmac_libhmac_sha224_free" = xyes; then :
54089  ac_cv_libhmac_dummy=yes
54090else
54091  ac_cv_libhmac=no
54092fi
54093
54094
54095                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_initialize in -lhmac" >&5
54096$as_echo_n "checking for libhmac_sha256_initialize in -lhmac... " >&6; }
54097if ${ac_cv_lib_hmac_libhmac_sha256_initialize+:} false; then :
54098  $as_echo_n "(cached) " >&6
54099else
54100  ac_check_lib_save_LIBS=$LIBS
54101LIBS="-lhmac  $LIBS"
54102cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54103/* end confdefs.h.  */
54104
54105/* Override any GCC internal prototype to avoid an error.
54106   Use char because int might match the return type of a GCC
54107   builtin and then its argument prototype would still apply.  */
54108#ifdef __cplusplus
54109extern "C"
54110#endif
54111char libhmac_sha256_initialize ();
54112int
54113main ()
54114{
54115return libhmac_sha256_initialize ();
54116  ;
54117  return 0;
54118}
54119_ACEOF
54120if ac_fn_c_try_link "$LINENO"; then :
54121  ac_cv_lib_hmac_libhmac_sha256_initialize=yes
54122else
54123  ac_cv_lib_hmac_libhmac_sha256_initialize=no
54124fi
54125rm -f core conftest.err conftest.$ac_objext \
54126    conftest$ac_exeext conftest.$ac_ext
54127LIBS=$ac_check_lib_save_LIBS
54128fi
54129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_initialize" >&5
54130$as_echo "$ac_cv_lib_hmac_libhmac_sha256_initialize" >&6; }
54131if test "x$ac_cv_lib_hmac_libhmac_sha256_initialize" = xyes; then :
54132  ac_cv_libhmac_dummy=yes
54133else
54134  ac_cv_libhmac=no
54135fi
54136
54137        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_update in -lhmac" >&5
54138$as_echo_n "checking for libhmac_sha256_update in -lhmac... " >&6; }
54139if ${ac_cv_lib_hmac_libhmac_sha256_update+:} false; then :
54140  $as_echo_n "(cached) " >&6
54141else
54142  ac_check_lib_save_LIBS=$LIBS
54143LIBS="-lhmac  $LIBS"
54144cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54145/* end confdefs.h.  */
54146
54147/* Override any GCC internal prototype to avoid an error.
54148   Use char because int might match the return type of a GCC
54149   builtin and then its argument prototype would still apply.  */
54150#ifdef __cplusplus
54151extern "C"
54152#endif
54153char libhmac_sha256_update ();
54154int
54155main ()
54156{
54157return libhmac_sha256_update ();
54158  ;
54159  return 0;
54160}
54161_ACEOF
54162if ac_fn_c_try_link "$LINENO"; then :
54163  ac_cv_lib_hmac_libhmac_sha256_update=yes
54164else
54165  ac_cv_lib_hmac_libhmac_sha256_update=no
54166fi
54167rm -f core conftest.err conftest.$ac_objext \
54168    conftest$ac_exeext conftest.$ac_ext
54169LIBS=$ac_check_lib_save_LIBS
54170fi
54171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_update" >&5
54172$as_echo "$ac_cv_lib_hmac_libhmac_sha256_update" >&6; }
54173if test "x$ac_cv_lib_hmac_libhmac_sha256_update" = xyes; then :
54174  ac_cv_libhmac_dummy=yes
54175else
54176  ac_cv_libhmac=no
54177fi
54178
54179        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_finalize in -lhmac" >&5
54180$as_echo_n "checking for libhmac_sha256_finalize in -lhmac... " >&6; }
54181if ${ac_cv_lib_hmac_libhmac_sha256_finalize+:} false; then :
54182  $as_echo_n "(cached) " >&6
54183else
54184  ac_check_lib_save_LIBS=$LIBS
54185LIBS="-lhmac  $LIBS"
54186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54187/* end confdefs.h.  */
54188
54189/* Override any GCC internal prototype to avoid an error.
54190   Use char because int might match the return type of a GCC
54191   builtin and then its argument prototype would still apply.  */
54192#ifdef __cplusplus
54193extern "C"
54194#endif
54195char libhmac_sha256_finalize ();
54196int
54197main ()
54198{
54199return libhmac_sha256_finalize ();
54200  ;
54201  return 0;
54202}
54203_ACEOF
54204if ac_fn_c_try_link "$LINENO"; then :
54205  ac_cv_lib_hmac_libhmac_sha256_finalize=yes
54206else
54207  ac_cv_lib_hmac_libhmac_sha256_finalize=no
54208fi
54209rm -f core conftest.err conftest.$ac_objext \
54210    conftest$ac_exeext conftest.$ac_ext
54211LIBS=$ac_check_lib_save_LIBS
54212fi
54213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_finalize" >&5
54214$as_echo "$ac_cv_lib_hmac_libhmac_sha256_finalize" >&6; }
54215if test "x$ac_cv_lib_hmac_libhmac_sha256_finalize" = xyes; then :
54216  ac_cv_libhmac_dummy=yes
54217else
54218  ac_cv_libhmac=no
54219fi
54220
54221        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_free in -lhmac" >&5
54222$as_echo_n "checking for libhmac_sha256_free in -lhmac... " >&6; }
54223if ${ac_cv_lib_hmac_libhmac_sha256_free+:} false; then :
54224  $as_echo_n "(cached) " >&6
54225else
54226  ac_check_lib_save_LIBS=$LIBS
54227LIBS="-lhmac  $LIBS"
54228cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54229/* end confdefs.h.  */
54230
54231/* Override any GCC internal prototype to avoid an error.
54232   Use char because int might match the return type of a GCC
54233   builtin and then its argument prototype would still apply.  */
54234#ifdef __cplusplus
54235extern "C"
54236#endif
54237char libhmac_sha256_free ();
54238int
54239main ()
54240{
54241return libhmac_sha256_free ();
54242  ;
54243  return 0;
54244}
54245_ACEOF
54246if ac_fn_c_try_link "$LINENO"; then :
54247  ac_cv_lib_hmac_libhmac_sha256_free=yes
54248else
54249  ac_cv_lib_hmac_libhmac_sha256_free=no
54250fi
54251rm -f core conftest.err conftest.$ac_objext \
54252    conftest$ac_exeext conftest.$ac_ext
54253LIBS=$ac_check_lib_save_LIBS
54254fi
54255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_free" >&5
54256$as_echo "$ac_cv_lib_hmac_libhmac_sha256_free" >&6; }
54257if test "x$ac_cv_lib_hmac_libhmac_sha256_free" = xyes; then :
54258  ac_cv_libhmac_dummy=yes
54259else
54260  ac_cv_libhmac=no
54261fi
54262
54263
54264                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_initialize in -lhmac" >&5
54265$as_echo_n "checking for libhmac_sha512_initialize in -lhmac... " >&6; }
54266if ${ac_cv_lib_hmac_libhmac_sha512_initialize+:} false; then :
54267  $as_echo_n "(cached) " >&6
54268else
54269  ac_check_lib_save_LIBS=$LIBS
54270LIBS="-lhmac  $LIBS"
54271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54272/* end confdefs.h.  */
54273
54274/* Override any GCC internal prototype to avoid an error.
54275   Use char because int might match the return type of a GCC
54276   builtin and then its argument prototype would still apply.  */
54277#ifdef __cplusplus
54278extern "C"
54279#endif
54280char libhmac_sha512_initialize ();
54281int
54282main ()
54283{
54284return libhmac_sha512_initialize ();
54285  ;
54286  return 0;
54287}
54288_ACEOF
54289if ac_fn_c_try_link "$LINENO"; then :
54290  ac_cv_lib_hmac_libhmac_sha512_initialize=yes
54291else
54292  ac_cv_lib_hmac_libhmac_sha512_initialize=no
54293fi
54294rm -f core conftest.err conftest.$ac_objext \
54295    conftest$ac_exeext conftest.$ac_ext
54296LIBS=$ac_check_lib_save_LIBS
54297fi
54298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_initialize" >&5
54299$as_echo "$ac_cv_lib_hmac_libhmac_sha512_initialize" >&6; }
54300if test "x$ac_cv_lib_hmac_libhmac_sha512_initialize" = xyes; then :
54301  ac_cv_libhmac_dummy=yes
54302else
54303  ac_cv_libhmac=no
54304fi
54305
54306        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_update in -lhmac" >&5
54307$as_echo_n "checking for libhmac_sha512_update in -lhmac... " >&6; }
54308if ${ac_cv_lib_hmac_libhmac_sha512_update+:} false; then :
54309  $as_echo_n "(cached) " >&6
54310else
54311  ac_check_lib_save_LIBS=$LIBS
54312LIBS="-lhmac  $LIBS"
54313cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54314/* end confdefs.h.  */
54315
54316/* Override any GCC internal prototype to avoid an error.
54317   Use char because int might match the return type of a GCC
54318   builtin and then its argument prototype would still apply.  */
54319#ifdef __cplusplus
54320extern "C"
54321#endif
54322char libhmac_sha512_update ();
54323int
54324main ()
54325{
54326return libhmac_sha512_update ();
54327  ;
54328  return 0;
54329}
54330_ACEOF
54331if ac_fn_c_try_link "$LINENO"; then :
54332  ac_cv_lib_hmac_libhmac_sha512_update=yes
54333else
54334  ac_cv_lib_hmac_libhmac_sha512_update=no
54335fi
54336rm -f core conftest.err conftest.$ac_objext \
54337    conftest$ac_exeext conftest.$ac_ext
54338LIBS=$ac_check_lib_save_LIBS
54339fi
54340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_update" >&5
54341$as_echo "$ac_cv_lib_hmac_libhmac_sha512_update" >&6; }
54342if test "x$ac_cv_lib_hmac_libhmac_sha512_update" = xyes; then :
54343  ac_cv_libhmac_dummy=yes
54344else
54345  ac_cv_libhmac=no
54346fi
54347
54348        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_finalize in -lhmac" >&5
54349$as_echo_n "checking for libhmac_sha512_finalize in -lhmac... " >&6; }
54350if ${ac_cv_lib_hmac_libhmac_sha512_finalize+:} false; then :
54351  $as_echo_n "(cached) " >&6
54352else
54353  ac_check_lib_save_LIBS=$LIBS
54354LIBS="-lhmac  $LIBS"
54355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54356/* end confdefs.h.  */
54357
54358/* Override any GCC internal prototype to avoid an error.
54359   Use char because int might match the return type of a GCC
54360   builtin and then its argument prototype would still apply.  */
54361#ifdef __cplusplus
54362extern "C"
54363#endif
54364char libhmac_sha512_finalize ();
54365int
54366main ()
54367{
54368return libhmac_sha512_finalize ();
54369  ;
54370  return 0;
54371}
54372_ACEOF
54373if ac_fn_c_try_link "$LINENO"; then :
54374  ac_cv_lib_hmac_libhmac_sha512_finalize=yes
54375else
54376  ac_cv_lib_hmac_libhmac_sha512_finalize=no
54377fi
54378rm -f core conftest.err conftest.$ac_objext \
54379    conftest$ac_exeext conftest.$ac_ext
54380LIBS=$ac_check_lib_save_LIBS
54381fi
54382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_finalize" >&5
54383$as_echo "$ac_cv_lib_hmac_libhmac_sha512_finalize" >&6; }
54384if test "x$ac_cv_lib_hmac_libhmac_sha512_finalize" = xyes; then :
54385  ac_cv_libhmac_dummy=yes
54386else
54387  ac_cv_libhmac=no
54388fi
54389
54390        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_free in -lhmac" >&5
54391$as_echo_n "checking for libhmac_sha512_free in -lhmac... " >&6; }
54392if ${ac_cv_lib_hmac_libhmac_sha512_free+:} false; then :
54393  $as_echo_n "(cached) " >&6
54394else
54395  ac_check_lib_save_LIBS=$LIBS
54396LIBS="-lhmac  $LIBS"
54397cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54398/* end confdefs.h.  */
54399
54400/* Override any GCC internal prototype to avoid an error.
54401   Use char because int might match the return type of a GCC
54402   builtin and then its argument prototype would still apply.  */
54403#ifdef __cplusplus
54404extern "C"
54405#endif
54406char libhmac_sha512_free ();
54407int
54408main ()
54409{
54410return libhmac_sha512_free ();
54411  ;
54412  return 0;
54413}
54414_ACEOF
54415if ac_fn_c_try_link "$LINENO"; then :
54416  ac_cv_lib_hmac_libhmac_sha512_free=yes
54417else
54418  ac_cv_lib_hmac_libhmac_sha512_free=no
54419fi
54420rm -f core conftest.err conftest.$ac_objext \
54421    conftest$ac_exeext conftest.$ac_ext
54422LIBS=$ac_check_lib_save_LIBS
54423fi
54424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_free" >&5
54425$as_echo "$ac_cv_lib_hmac_libhmac_sha512_free" >&6; }
54426if test "x$ac_cv_lib_hmac_libhmac_sha512_free" = xyes; then :
54427  ac_cv_libhmac_dummy=yes
54428else
54429  ac_cv_libhmac=no
54430fi
54431
54432
54433        ac_cv_libhmac_LIBADD="-lhmac"
54434fi
54435
54436fi
54437    if test "x$ac_cv_with_libhmac" != x && test "x$ac_cv_with_libhmac" != xauto-detect && test "x$ac_cv_libhmac" != xyes; then :
54438  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54439$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54440as_fn_error 1 "unable to find supported libhmac in directory: $ac_cv_with_libhmac
54441See \`config.log' for more details" "$LINENO" 5; }
54442
54443fi
54444
54445fi
54446
54447  if test "x$ac_cv_libhmac" = xyes; then :
54448
54449$as_echo "#define HAVE_LIBHMAC 1" >>confdefs.h
54450
54451
54452fi
54453
54454  if test "x$ac_cv_libhmac" = xyes; then :
54455  ac_cv_libhmac_md5=libhmac
54456    ac_cv_libhmac_sha1=libhmac
54457    ac_cv_libhmac_sha224=libhmac
54458    ac_cv_libhmac_sha256=libhmac
54459    ac_cv_libhmac_sha512=libhmac
54460else
54461  ac_cv_libhmac_md5=no
54462    ac_cv_libhmac_sha1=no
54463    ac_cv_libhmac_sha224=no
54464    ac_cv_libhmac_sha256=no
54465    ac_cv_libhmac_sha512=no
54466fi
54467
54468  if test "x$ac_cv_libhmac" = xyes; then :
54469  HAVE_LIBHMAC=1
54470
54471else
54472  HAVE_LIBHMAC=0
54473
54474
54475fi
54476
54477
54478    if test "x$ac_cv_libhmac" != xyes; then :
54479
54480
54481# Check whether --with-openssl was given.
54482if test "${with_openssl+set}" = set; then :
54483  withval=$with_openssl; ac_cv_with_openssl=$withval
54484else
54485  ac_cv_with_openssl=auto-detect
54486fi
54487
54488    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for OpenSSL in includedir and libdir or in the specified DIR, or no if not to use OpenSSL" >&5
54489$as_echo_n "checking whether to use search for OpenSSL in includedir and libdir or in the specified DIR, or no if not to use OpenSSL... " >&6; }
54490if ${ac_cv_with_openssl+:} false; then :
54491  $as_echo_n "(cached) " >&6
54492else
54493  ac_cv_with_openssl=auto-detect
54494fi
54495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_openssl" >&5
54496$as_echo "$ac_cv_with_openssl" >&6; }
54497
54498
54499  # Check whether --enable-openssl-evp-cipher was given.
54500if test "${enable_openssl_evp_cipher+set}" = set; then :
54501  enableval=$enable_openssl_evp_cipher; ac_cv_enable_openssl_evp_cipher=$enableval
54502else
54503  ac_cv_enable_openssl_evp_cipher=auto-detect
54504fi
54505
54506    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable" >&5
54507$as_echo_n "checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable... " >&6; }
54508if ${ac_cv_enable_openssl_evp_cipher+:} false; then :
54509  $as_echo_n "(cached) " >&6
54510else
54511  ac_cv_enable_openssl_evp_cipher=auto-detect
54512fi
54513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_cipher" >&5
54514$as_echo "$ac_cv_enable_openssl_evp_cipher" >&6; }
54515
54516
54517  # Check whether --enable-openssl-evp-md was given.
54518if test "${enable_openssl_evp_md+set}" = set; then :
54519  enableval=$enable_openssl_evp_md; ac_cv_enable_openssl_evp_md=$enableval
54520else
54521  ac_cv_enable_openssl_evp_md=auto-detect
54522fi
54523
54524    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP MD support, or no to disable" >&5
54525$as_echo_n "checking whether to enable enable OpenSSL EVP MD support, or no to disable... " >&6; }
54526if ${ac_cv_enable_openssl_evp_md+:} false; then :
54527  $as_echo_n "(cached) " >&6
54528else
54529  ac_cv_enable_openssl_evp_md=auto-detect
54530fi
54531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_md" >&5
54532$as_echo "$ac_cv_enable_openssl_evp_md" >&6; }
54533
54534  if test "x$ac_cv_enable_static_executables" != xyes; then :
54535      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_openssl" = xno; then :
54536  ac_cv_libcrypto=no
54537else
54538      if test "x$ac_cv_with_openssl" != x && test "x$ac_cv_with_openssl" != xauto-detect; then :
54539  if test -d "$ac_cv_with_openssl"; then :
54540  CFLAGS="$CFLAGS -I${ac_cv_with_openssl}/include"
54541        LDFLAGS="$LDFLAGS -L${ac_cv_with_openssl}/lib"
54542else
54543  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54544$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54545as_fn_error 1 "no such directory: $ac_cv_with_openssl
54546See \`config.log' for more details" "$LINENO" 5; }
54547
54548fi
54549else
54550        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
54551
54552pkg_failed=no
54553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
54554$as_echo_n "checking for openssl... " >&6; }
54555
54556if test -n "$openssl_CFLAGS"; then
54557    pkg_cv_openssl_CFLAGS="$openssl_CFLAGS"
54558 elif test -n "$PKG_CONFIG"; then
54559    if test -n "$PKG_CONFIG" && \
54560    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
54561  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
54562  ac_status=$?
54563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54564  test $ac_status = 0; }; then
54565  pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
54566		      test "x$?" != "x0" && pkg_failed=yes
54567else
54568  pkg_failed=yes
54569fi
54570 else
54571    pkg_failed=untried
54572fi
54573if test -n "$openssl_LIBS"; then
54574    pkg_cv_openssl_LIBS="$openssl_LIBS"
54575 elif test -n "$PKG_CONFIG"; then
54576    if test -n "$PKG_CONFIG" && \
54577    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
54578  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
54579  ac_status=$?
54580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54581  test $ac_status = 0; }; then
54582  pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
54583		      test "x$?" != "x0" && pkg_failed=yes
54584else
54585  pkg_failed=yes
54586fi
54587 else
54588    pkg_failed=untried
54589fi
54590
54591
54592
54593if test $pkg_failed = yes; then
54594   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54595$as_echo "no" >&6; }
54596
54597if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
54598        _pkg_short_errors_supported=yes
54599else
54600        _pkg_short_errors_supported=no
54601fi
54602        if test $_pkg_short_errors_supported = yes; then
54603	        openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
54604        else
54605	        openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
54606        fi
54607	# Put the nasty error message in config.log where it belongs
54608	echo "$openssl_PKG_ERRORS" >&5
54609
54610	ac_cv_libcrypto=no
54611          ac_cv_libcrypto_evp=no
54612elif test $pkg_failed = untried; then
54613     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54614$as_echo "no" >&6; }
54615	ac_cv_libcrypto=no
54616          ac_cv_libcrypto_evp=no
54617else
54618	openssl_CFLAGS=$pkg_cv_openssl_CFLAGS
54619	openssl_LIBS=$pkg_cv_openssl_LIBS
54620        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
54621$as_echo "yes" >&6; }
54622	ac_cv_libcrypto=yes
54623          ac_cv_libcrypto_evp=yes
54624fi
54625
54626fi
54627      if test "x$ac_cv_libcrypto" = xyes; then :
54628  ac_cv_libcrypto_CPPFLAGS="$pkg_cv_openssl_CFLAGS"
54629        ac_cv_libcrypto_LIBADD="$pkg_cv_openssl_LIBS"
54630fi
54631
54632fi
54633
54634    if test "x$ac_cv_libcrypto" != xyes; then :
54635        for ac_header in openssl/opensslv.h
54636do :
54637  ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
54638if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
54639  cat >>confdefs.h <<_ACEOF
54640#define HAVE_OPENSSL_OPENSSLV_H 1
54641_ACEOF
54642
54643fi
54644
54645done
54646
54647
54648      for ac_header in openssl/evp.h
54649do :
54650  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
54651if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
54652  cat >>confdefs.h <<_ACEOF
54653#define HAVE_OPENSSL_EVP_H 1
54654_ACEOF
54655
54656fi
54657
54658done
54659
54660
54661  if test "x$ac_cv_header_openssl_evp_h" = xno; then :
54662  ac_cv_libcrypto=no
54663    ac_cv_libcrypto_evp=no
54664else
54665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl/evp.h can be used in combination with zlib.h" >&5
54666$as_echo_n "checking if openssl/evp.h can be used in combination with zlib.h... " >&6; }
54667if ${ac_cv_openssl_evp_zlib_compatible+:} false; then :
54668  $as_echo_n "(cached) " >&6
54669else
54670  ac_ext=c
54671ac_cpp='$CPP $CPPFLAGS'
54672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54674ac_compiler_gnu=$ac_cv_c_compiler_gnu
54675
54676    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54677/* end confdefs.h.  */
54678#include <zlib.h>
54679#include <openssl/evp.h>
54680int
54681main ()
54682{
54683
54684  ;
54685  return 0;
54686}
54687_ACEOF
54688if ac_fn_c_try_link "$LINENO"; then :
54689  ac_cv_openssl_evp_zlib_compatible=yes
54690else
54691  ac_cv_openssl_evp_zlib_compatible=no
54692fi
54693rm -f core conftest.err conftest.$ac_objext \
54694    conftest$ac_exeext conftest.$ac_ext
54695    ac_ext=c
54696ac_cpp='$CPP $CPPFLAGS'
54697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54699ac_compiler_gnu=$ac_cv_c_compiler_gnu
54700
54701fi
54702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_evp_zlib_compatible" >&5
54703$as_echo "$ac_cv_openssl_evp_zlib_compatible" >&6; }
54704
54705
54706    if test "x$ac_cv_openssl_evp_zlib_compatible" = xyes; then :
54707  ac_cv_libcrypto=yes
54708      ac_cv_libcrypto_evp=yes
54709else
54710  ac_cv_libcrypto=no
54711      ac_cv_libcrypto_evp=no
54712fi
54713
54714fi
54715
54716
54717      if test "x$ac_cv_libcrypto_evp" != xyes && test "$ac_cv_header_openssl_opensslv" = xyes; then :
54718  ac_cv_libcrypto=yes
54719fi
54720
54721fi
54722
54723        if test "x$ac_cv_libcrypto" = xyes && test "x$ac_cv_libcrypto_evp" = xyes; then :
54724
54725$as_echo "#define HAVE_OPENSSL_EVP_H 1" >>confdefs.h
54726
54727      HAVE_OPENSSL_EVP_H=1
54728
54729else
54730  HAVE_OPENSSL_EVP_H=0
54731
54732
54733fi
54734
54735    if test "x$ac_cv_libcrypto" != xno; then :
54736
54737$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
54738
54739
54740      ac_cv_libcrypto_LIBADD="-lcrypto"
54741
54742            case $host in #(
54743  *cygwin*) :
54744    ac_cv_libcrypto_LIBADD="-lcrypto -lz" ;; #(
54745  *) :
54746     ;;
54747esac
54748
54749            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
54750$as_echo_n "checking for dlopen in -ldl... " >&6; }
54751if ${ac_cv_lib_dl_dlopen+:} false; then :
54752  $as_echo_n "(cached) " >&6
54753else
54754  ac_check_lib_save_LIBS=$LIBS
54755LIBS="-ldl  $LIBS"
54756cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54757/* end confdefs.h.  */
54758
54759/* Override any GCC internal prototype to avoid an error.
54760   Use char because int might match the return type of a GCC
54761   builtin and then its argument prototype would still apply.  */
54762#ifdef __cplusplus
54763extern "C"
54764#endif
54765char dlopen ();
54766int
54767main ()
54768{
54769return dlopen ();
54770  ;
54771  return 0;
54772}
54773_ACEOF
54774if ac_fn_c_try_link "$LINENO"; then :
54775  ac_cv_lib_dl_dlopen=yes
54776else
54777  ac_cv_lib_dl_dlopen=no
54778fi
54779rm -f core conftest.err conftest.$ac_objext \
54780    conftest$ac_exeext conftest.$ac_ext
54781LIBS=$ac_check_lib_save_LIBS
54782fi
54783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
54784$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
54785if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
54786  LIBDL_LIBADD="-ldl"
54787
54788fi
54789
54790
54791fi
54792
54793fi
54794
54795fi
54796
54797  if test "x$ac_cv_libcrypto_CPPFLAGS" != "x"; then :
54798  LIBCRYPTO_CPPFLAGS=$ac_cv_libcrypto_CPPFLAGS
54799
54800
54801fi
54802  if test "x$ac_cv_libcrypto_LIBADD" != "x"; then :
54803  LIBCRYPTO_LIBADD=$ac_cv_libcrypto_LIBADD
54804
54805
54806fi
54807
54808  if test "x$ac_cv_libcrypto" != xno; then :
54809  ax_libcrypto_pc_libs_private=-lcrypto
54810
54811
54812fi
54813
54814  if test "x$ac_cv_libcrypto" != xno; then :
54815  ax_libcrypto_spec_requires=openssl
54816
54817    ax_libcrypto_spec_build_requires=openssl-devel
54818
54819
54820fi
54821
54822
54823  if test "x$ac_cv_libcrypto" != xno; then :
54824  ac_cv_libcrypto_md5=no
54825
54826    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_libcrypto_evp_md" != xyes; then :
54827  ac_cv_libcrypto_evp_md=yes
54828
54829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
54830$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
54831if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
54832  $as_echo_n "(cached) " >&6
54833else
54834  ac_check_lib_save_LIBS=$LIBS
54835LIBS="-lcrypto  $LIBS"
54836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54837/* end confdefs.h.  */
54838
54839/* Override any GCC internal prototype to avoid an error.
54840   Use char because int might match the return type of a GCC
54841   builtin and then its argument prototype would still apply.  */
54842#ifdef __cplusplus
54843extern "C"
54844#endif
54845char EVP_MD_CTX_new ();
54846int
54847main ()
54848{
54849return EVP_MD_CTX_new ();
54850  ;
54851  return 0;
54852}
54853_ACEOF
54854if ac_fn_c_try_link "$LINENO"; then :
54855  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
54856else
54857  ac_cv_lib_crypto_EVP_MD_CTX_new=no
54858fi
54859rm -f core conftest.err conftest.$ac_objext \
54860    conftest$ac_exeext conftest.$ac_ext
54861LIBS=$ac_check_lib_save_LIBS
54862fi
54863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
54864$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
54865if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
54866  ac_cv_libcrypto_dummy=yes
54867else
54868  ac_cv_libcrypto_dummy=no
54869fi
54870
54871
54872  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
54873      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
54874$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
54875if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
54876  $as_echo_n "(cached) " >&6
54877else
54878  ac_check_lib_save_LIBS=$LIBS
54879LIBS="-lcrypto  $LIBS"
54880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881/* end confdefs.h.  */
54882
54883/* Override any GCC internal prototype to avoid an error.
54884   Use char because int might match the return type of a GCC
54885   builtin and then its argument prototype would still apply.  */
54886#ifdef __cplusplus
54887extern "C"
54888#endif
54889char EVP_MD_CTX_free ();
54890int
54891main ()
54892{
54893return EVP_MD_CTX_free ();
54894  ;
54895  return 0;
54896}
54897_ACEOF
54898if ac_fn_c_try_link "$LINENO"; then :
54899  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
54900else
54901  ac_cv_lib_crypto_EVP_MD_CTX_free=no
54902fi
54903rm -f core conftest.err conftest.$ac_objext \
54904    conftest$ac_exeext conftest.$ac_ext
54905LIBS=$ac_check_lib_save_LIBS
54906fi
54907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
54908$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
54909if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
54910  ac_cv_libcrypto_dummy=yes
54911else
54912  ac_cv_libcrypto_evp_md=no
54913fi
54914
54915
54916else
54917      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
54918$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
54919if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
54920  $as_echo_n "(cached) " >&6
54921else
54922  ac_check_lib_save_LIBS=$LIBS
54923LIBS="-lcrypto  $LIBS"
54924cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54925/* end confdefs.h.  */
54926
54927/* Override any GCC internal prototype to avoid an error.
54928   Use char because int might match the return type of a GCC
54929   builtin and then its argument prototype would still apply.  */
54930#ifdef __cplusplus
54931extern "C"
54932#endif
54933char EVP_MD_CTX_init ();
54934int
54935main ()
54936{
54937return EVP_MD_CTX_init ();
54938  ;
54939  return 0;
54940}
54941_ACEOF
54942if ac_fn_c_try_link "$LINENO"; then :
54943  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
54944else
54945  ac_cv_lib_crypto_EVP_MD_CTX_init=no
54946fi
54947rm -f core conftest.err conftest.$ac_objext \
54948    conftest$ac_exeext conftest.$ac_ext
54949LIBS=$ac_check_lib_save_LIBS
54950fi
54951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
54952$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
54953if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
54954  ac_cv_libcrypto_dummy=yes
54955else
54956  ac_cv_libcrypto_evp_md=no
54957fi
54958
54959    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
54960$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
54961if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
54962  $as_echo_n "(cached) " >&6
54963else
54964  ac_check_lib_save_LIBS=$LIBS
54965LIBS="-lcrypto  $LIBS"
54966cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967/* end confdefs.h.  */
54968
54969/* Override any GCC internal prototype to avoid an error.
54970   Use char because int might match the return type of a GCC
54971   builtin and then its argument prototype would still apply.  */
54972#ifdef __cplusplus
54973extern "C"
54974#endif
54975char EVP_MD_CTX_cleanup ();
54976int
54977main ()
54978{
54979return EVP_MD_CTX_cleanup ();
54980  ;
54981  return 0;
54982}
54983_ACEOF
54984if ac_fn_c_try_link "$LINENO"; then :
54985  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
54986else
54987  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
54988fi
54989rm -f core conftest.err conftest.$ac_objext \
54990    conftest$ac_exeext conftest.$ac_ext
54991LIBS=$ac_check_lib_save_LIBS
54992fi
54993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
54994$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
54995if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
54996  ac_cv_libcrypto_dummy=yes
54997else
54998  ac_cv_libcrypto_evp_md=no
54999fi
55000
55001
55002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
55003$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
55004if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
55005  $as_echo_n "(cached) " >&6
55006else
55007  ac_check_lib_save_LIBS=$LIBS
55008LIBS="-lcrypto  $LIBS"
55009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55010/* end confdefs.h.  */
55011
55012/* Override any GCC internal prototype to avoid an error.
55013   Use char because int might match the return type of a GCC
55014   builtin and then its argument prototype would still apply.  */
55015#ifdef __cplusplus
55016extern "C"
55017#endif
55018char ERR_remove_thread_state ();
55019int
55020main ()
55021{
55022return ERR_remove_thread_state ();
55023  ;
55024  return 0;
55025}
55026_ACEOF
55027if ac_fn_c_try_link "$LINENO"; then :
55028  ac_cv_lib_crypto_ERR_remove_thread_state=yes
55029else
55030  ac_cv_lib_crypto_ERR_remove_thread_state=no
55031fi
55032rm -f core conftest.err conftest.$ac_objext \
55033    conftest$ac_exeext conftest.$ac_ext
55034LIBS=$ac_check_lib_save_LIBS
55035fi
55036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
55037$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
55038if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
55039  ac_cv_libcrypto_dummy=yes
55040else
55041  ac_cv_libcrypto_evp_md=no
55042fi
55043
55044
55045fi
55046
55047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
55048$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
55049if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
55050  $as_echo_n "(cached) " >&6
55051else
55052  ac_check_lib_save_LIBS=$LIBS
55053LIBS="-lcrypto  $LIBS"
55054cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55055/* end confdefs.h.  */
55056
55057/* Override any GCC internal prototype to avoid an error.
55058   Use char because int might match the return type of a GCC
55059   builtin and then its argument prototype would still apply.  */
55060#ifdef __cplusplus
55061extern "C"
55062#endif
55063char EVP_DigestInit_ex ();
55064int
55065main ()
55066{
55067return EVP_DigestInit_ex ();
55068  ;
55069  return 0;
55070}
55071_ACEOF
55072if ac_fn_c_try_link "$LINENO"; then :
55073  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
55074else
55075  ac_cv_lib_crypto_EVP_DigestInit_ex=no
55076fi
55077rm -f core conftest.err conftest.$ac_objext \
55078    conftest$ac_exeext conftest.$ac_ext
55079LIBS=$ac_check_lib_save_LIBS
55080fi
55081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
55082$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
55083if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
55084  ac_cv_libcrypto_dummy=yes
55085else
55086  ac_cv_libcrypto_evp_md=no
55087fi
55088
55089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
55090$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
55091if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
55092  $as_echo_n "(cached) " >&6
55093else
55094  ac_check_lib_save_LIBS=$LIBS
55095LIBS="-lcrypto  $LIBS"
55096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55097/* end confdefs.h.  */
55098
55099/* Override any GCC internal prototype to avoid an error.
55100   Use char because int might match the return type of a GCC
55101   builtin and then its argument prototype would still apply.  */
55102#ifdef __cplusplus
55103extern "C"
55104#endif
55105char EVP_DigestUpdate ();
55106int
55107main ()
55108{
55109return EVP_DigestUpdate ();
55110  ;
55111  return 0;
55112}
55113_ACEOF
55114if ac_fn_c_try_link "$LINENO"; then :
55115  ac_cv_lib_crypto_EVP_DigestUpdate=yes
55116else
55117  ac_cv_lib_crypto_EVP_DigestUpdate=no
55118fi
55119rm -f core conftest.err conftest.$ac_objext \
55120    conftest$ac_exeext conftest.$ac_ext
55121LIBS=$ac_check_lib_save_LIBS
55122fi
55123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
55124$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
55125if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
55126  ac_cv_libcrypto_dummy=yes
55127else
55128  ac_cv_libcrypto_evp_md=no
55129fi
55130
55131  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
55132$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
55133if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
55134  $as_echo_n "(cached) " >&6
55135else
55136  ac_check_lib_save_LIBS=$LIBS
55137LIBS="-lcrypto  $LIBS"
55138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55139/* end confdefs.h.  */
55140
55141/* Override any GCC internal prototype to avoid an error.
55142   Use char because int might match the return type of a GCC
55143   builtin and then its argument prototype would still apply.  */
55144#ifdef __cplusplus
55145extern "C"
55146#endif
55147char EVP_DigestFinal_ex ();
55148int
55149main ()
55150{
55151return EVP_DigestFinal_ex ();
55152  ;
55153  return 0;
55154}
55155_ACEOF
55156if ac_fn_c_try_link "$LINENO"; then :
55157  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
55158else
55159  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
55160fi
55161rm -f core conftest.err conftest.$ac_objext \
55162    conftest$ac_exeext conftest.$ac_ext
55163LIBS=$ac_check_lib_save_LIBS
55164fi
55165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
55166$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
55167if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
55168  ac_cv_libcrypto_dummy=yes
55169else
55170  ac_cv_libcrypto_evp_md=no
55171fi
55172
55173
55174  if test "x$ac_cv_enable_openssl_evp_md" = xyes && test "x$ac_cv_libcrypto_evp_md" = xno; then :
55175  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55177as_fn_error 1 "Missing OpenSSL EVP MD support
55178See \`config.log' for more details" "$LINENO" 5; }
55179
55180fi
55181
55182  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
55183
55184$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
55185
55186
55187fi
55188
55189  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
55190
55191$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
55192
55193
55194fi
55195
55196fi
55197
55198    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
55199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_md5 in -lcrypto" >&5
55200$as_echo_n "checking for EVP_md5 in -lcrypto... " >&6; }
55201if ${ac_cv_lib_crypto_EVP_md5+:} false; then :
55202  $as_echo_n "(cached) " >&6
55203else
55204  ac_check_lib_save_LIBS=$LIBS
55205LIBS="-lcrypto  $LIBS"
55206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55207/* end confdefs.h.  */
55208
55209/* Override any GCC internal prototype to avoid an error.
55210   Use char because int might match the return type of a GCC
55211   builtin and then its argument prototype would still apply.  */
55212#ifdef __cplusplus
55213extern "C"
55214#endif
55215char EVP_md5 ();
55216int
55217main ()
55218{
55219return EVP_md5 ();
55220  ;
55221  return 0;
55222}
55223_ACEOF
55224if ac_fn_c_try_link "$LINENO"; then :
55225  ac_cv_lib_crypto_EVP_md5=yes
55226else
55227  ac_cv_lib_crypto_EVP_md5=no
55228fi
55229rm -f core conftest.err conftest.$ac_objext \
55230    conftest$ac_exeext conftest.$ac_ext
55231LIBS=$ac_check_lib_save_LIBS
55232fi
55233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_md5" >&5
55234$as_echo "$ac_cv_lib_crypto_EVP_md5" >&6; }
55235if test "x$ac_cv_lib_crypto_EVP_md5" = xyes; then :
55236  ac_cv_libcrypto_md5=libcrypto_evp
55237else
55238  ac_cv_libcrypto_md5=no
55239fi
55240
55241
55242  if test "x$ac_cv_libcrypto_md5" = xlibcrypto_evp; then :
55243
55244$as_echo "#define HAVE_EVP_MD5 1" >>confdefs.h
55245
55246
55247fi
55248
55249fi
55250
55251    if test "x$ac_cv_libcrypto_md5" = xno; then :
55252  for ac_header in openssl/md5.h
55253do :
55254  ac_fn_c_check_header_mongrel "$LINENO" "openssl/md5.h" "ac_cv_header_openssl_md5_h" "$ac_includes_default"
55255if test "x$ac_cv_header_openssl_md5_h" = xyes; then :
55256  cat >>confdefs.h <<_ACEOF
55257#define HAVE_OPENSSL_MD5_H 1
55258_ACEOF
55259
55260fi
55261
55262done
55263
55264
55265  if test "x$ac_cv_header_openssl_md5_h" = xno; then :
55266  ac_cv_libcrypto_md5=no
55267else
55268  ac_cv_libcrypto_md5=libcrypto
55269
55270    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Init in -lcrypto" >&5
55271$as_echo_n "checking for MD5_Init in -lcrypto... " >&6; }
55272if ${ac_cv_lib_crypto_MD5_Init+:} false; then :
55273  $as_echo_n "(cached) " >&6
55274else
55275  ac_check_lib_save_LIBS=$LIBS
55276LIBS="-lcrypto  $LIBS"
55277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55278/* end confdefs.h.  */
55279
55280/* Override any GCC internal prototype to avoid an error.
55281   Use char because int might match the return type of a GCC
55282   builtin and then its argument prototype would still apply.  */
55283#ifdef __cplusplus
55284extern "C"
55285#endif
55286char MD5_Init ();
55287int
55288main ()
55289{
55290return MD5_Init ();
55291  ;
55292  return 0;
55293}
55294_ACEOF
55295if ac_fn_c_try_link "$LINENO"; then :
55296  ac_cv_lib_crypto_MD5_Init=yes
55297else
55298  ac_cv_lib_crypto_MD5_Init=no
55299fi
55300rm -f core conftest.err conftest.$ac_objext \
55301    conftest$ac_exeext conftest.$ac_ext
55302LIBS=$ac_check_lib_save_LIBS
55303fi
55304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Init" >&5
55305$as_echo "$ac_cv_lib_crypto_MD5_Init" >&6; }
55306if test "x$ac_cv_lib_crypto_MD5_Init" = xyes; then :
55307  ac_cv_libcrypto_dummy=yes
55308else
55309  ac_cv_libcrypto_md5=no
55310fi
55311
55312    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Update in -lcrypto" >&5
55313$as_echo_n "checking for MD5_Update in -lcrypto... " >&6; }
55314if ${ac_cv_lib_crypto_MD5_Update+:} false; then :
55315  $as_echo_n "(cached) " >&6
55316else
55317  ac_check_lib_save_LIBS=$LIBS
55318LIBS="-lcrypto  $LIBS"
55319cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55320/* end confdefs.h.  */
55321
55322/* Override any GCC internal prototype to avoid an error.
55323   Use char because int might match the return type of a GCC
55324   builtin and then its argument prototype would still apply.  */
55325#ifdef __cplusplus
55326extern "C"
55327#endif
55328char MD5_Update ();
55329int
55330main ()
55331{
55332return MD5_Update ();
55333  ;
55334  return 0;
55335}
55336_ACEOF
55337if ac_fn_c_try_link "$LINENO"; then :
55338  ac_cv_lib_crypto_MD5_Update=yes
55339else
55340  ac_cv_lib_crypto_MD5_Update=no
55341fi
55342rm -f core conftest.err conftest.$ac_objext \
55343    conftest$ac_exeext conftest.$ac_ext
55344LIBS=$ac_check_lib_save_LIBS
55345fi
55346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Update" >&5
55347$as_echo "$ac_cv_lib_crypto_MD5_Update" >&6; }
55348if test "x$ac_cv_lib_crypto_MD5_Update" = xyes; then :
55349  ac_cv_libcrypto_dummy=yes
55350else
55351  ac_cv_libcrypto_md5=no
55352fi
55353
55354    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Final in -lcrypto" >&5
55355$as_echo_n "checking for MD5_Final in -lcrypto... " >&6; }
55356if ${ac_cv_lib_crypto_MD5_Final+:} false; then :
55357  $as_echo_n "(cached) " >&6
55358else
55359  ac_check_lib_save_LIBS=$LIBS
55360LIBS="-lcrypto  $LIBS"
55361cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55362/* end confdefs.h.  */
55363
55364/* Override any GCC internal prototype to avoid an error.
55365   Use char because int might match the return type of a GCC
55366   builtin and then its argument prototype would still apply.  */
55367#ifdef __cplusplus
55368extern "C"
55369#endif
55370char MD5_Final ();
55371int
55372main ()
55373{
55374return MD5_Final ();
55375  ;
55376  return 0;
55377}
55378_ACEOF
55379if ac_fn_c_try_link "$LINENO"; then :
55380  ac_cv_lib_crypto_MD5_Final=yes
55381else
55382  ac_cv_lib_crypto_MD5_Final=no
55383fi
55384rm -f core conftest.err conftest.$ac_objext \
55385    conftest$ac_exeext conftest.$ac_ext
55386LIBS=$ac_check_lib_save_LIBS
55387fi
55388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Final" >&5
55389$as_echo "$ac_cv_lib_crypto_MD5_Final" >&6; }
55390if test "x$ac_cv_lib_crypto_MD5_Final" = xyes; then :
55391  ac_cv_libcrypto_dummy=yes
55392else
55393  ac_cv_libcrypto_md5=no
55394fi
55395
55396
55397fi
55398
55399  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_md5" = xlibcrypto; then :
55400  ac_cv_libcrypto=yes
55401fi
55402
55403fi
55404
55405    ac_cv_libcrypto_sha1=no
55406
55407    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_md" != xno && test "x$ac_cv_libcrypto_evp_md" != xyes; then :
55408  ac_cv_libcrypto_evp_md=yes
55409
55410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
55411$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
55412if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
55413  $as_echo_n "(cached) " >&6
55414else
55415  ac_check_lib_save_LIBS=$LIBS
55416LIBS="-lcrypto  $LIBS"
55417cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418/* end confdefs.h.  */
55419
55420/* Override any GCC internal prototype to avoid an error.
55421   Use char because int might match the return type of a GCC
55422   builtin and then its argument prototype would still apply.  */
55423#ifdef __cplusplus
55424extern "C"
55425#endif
55426char EVP_MD_CTX_new ();
55427int
55428main ()
55429{
55430return EVP_MD_CTX_new ();
55431  ;
55432  return 0;
55433}
55434_ACEOF
55435if ac_fn_c_try_link "$LINENO"; then :
55436  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
55437else
55438  ac_cv_lib_crypto_EVP_MD_CTX_new=no
55439fi
55440rm -f core conftest.err conftest.$ac_objext \
55441    conftest$ac_exeext conftest.$ac_ext
55442LIBS=$ac_check_lib_save_LIBS
55443fi
55444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
55445$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
55446if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
55447  ac_cv_libcrypto_dummy=yes
55448else
55449  ac_cv_libcrypto_dummy=no
55450fi
55451
55452
55453  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
55454      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
55455$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
55456if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
55457  $as_echo_n "(cached) " >&6
55458else
55459  ac_check_lib_save_LIBS=$LIBS
55460LIBS="-lcrypto  $LIBS"
55461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55462/* end confdefs.h.  */
55463
55464/* Override any GCC internal prototype to avoid an error.
55465   Use char because int might match the return type of a GCC
55466   builtin and then its argument prototype would still apply.  */
55467#ifdef __cplusplus
55468extern "C"
55469#endif
55470char EVP_MD_CTX_free ();
55471int
55472main ()
55473{
55474return EVP_MD_CTX_free ();
55475  ;
55476  return 0;
55477}
55478_ACEOF
55479if ac_fn_c_try_link "$LINENO"; then :
55480  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
55481else
55482  ac_cv_lib_crypto_EVP_MD_CTX_free=no
55483fi
55484rm -f core conftest.err conftest.$ac_objext \
55485    conftest$ac_exeext conftest.$ac_ext
55486LIBS=$ac_check_lib_save_LIBS
55487fi
55488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
55489$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
55490if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
55491  ac_cv_libcrypto_dummy=yes
55492else
55493  ac_cv_libcrypto_evp_md=no
55494fi
55495
55496
55497else
55498      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
55499$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
55500if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
55501  $as_echo_n "(cached) " >&6
55502else
55503  ac_check_lib_save_LIBS=$LIBS
55504LIBS="-lcrypto  $LIBS"
55505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55506/* end confdefs.h.  */
55507
55508/* Override any GCC internal prototype to avoid an error.
55509   Use char because int might match the return type of a GCC
55510   builtin and then its argument prototype would still apply.  */
55511#ifdef __cplusplus
55512extern "C"
55513#endif
55514char EVP_MD_CTX_init ();
55515int
55516main ()
55517{
55518return EVP_MD_CTX_init ();
55519  ;
55520  return 0;
55521}
55522_ACEOF
55523if ac_fn_c_try_link "$LINENO"; then :
55524  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
55525else
55526  ac_cv_lib_crypto_EVP_MD_CTX_init=no
55527fi
55528rm -f core conftest.err conftest.$ac_objext \
55529    conftest$ac_exeext conftest.$ac_ext
55530LIBS=$ac_check_lib_save_LIBS
55531fi
55532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
55533$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
55534if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
55535  ac_cv_libcrypto_dummy=yes
55536else
55537  ac_cv_libcrypto_evp_md=no
55538fi
55539
55540    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
55541$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
55542if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
55543  $as_echo_n "(cached) " >&6
55544else
55545  ac_check_lib_save_LIBS=$LIBS
55546LIBS="-lcrypto  $LIBS"
55547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55548/* end confdefs.h.  */
55549
55550/* Override any GCC internal prototype to avoid an error.
55551   Use char because int might match the return type of a GCC
55552   builtin and then its argument prototype would still apply.  */
55553#ifdef __cplusplus
55554extern "C"
55555#endif
55556char EVP_MD_CTX_cleanup ();
55557int
55558main ()
55559{
55560return EVP_MD_CTX_cleanup ();
55561  ;
55562  return 0;
55563}
55564_ACEOF
55565if ac_fn_c_try_link "$LINENO"; then :
55566  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
55567else
55568  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
55569fi
55570rm -f core conftest.err conftest.$ac_objext \
55571    conftest$ac_exeext conftest.$ac_ext
55572LIBS=$ac_check_lib_save_LIBS
55573fi
55574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
55575$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
55576if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
55577  ac_cv_libcrypto_dummy=yes
55578else
55579  ac_cv_libcrypto_evp_md=no
55580fi
55581
55582
55583    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
55584$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
55585if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
55586  $as_echo_n "(cached) " >&6
55587else
55588  ac_check_lib_save_LIBS=$LIBS
55589LIBS="-lcrypto  $LIBS"
55590cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55591/* end confdefs.h.  */
55592
55593/* Override any GCC internal prototype to avoid an error.
55594   Use char because int might match the return type of a GCC
55595   builtin and then its argument prototype would still apply.  */
55596#ifdef __cplusplus
55597extern "C"
55598#endif
55599char ERR_remove_thread_state ();
55600int
55601main ()
55602{
55603return ERR_remove_thread_state ();
55604  ;
55605  return 0;
55606}
55607_ACEOF
55608if ac_fn_c_try_link "$LINENO"; then :
55609  ac_cv_lib_crypto_ERR_remove_thread_state=yes
55610else
55611  ac_cv_lib_crypto_ERR_remove_thread_state=no
55612fi
55613rm -f core conftest.err conftest.$ac_objext \
55614    conftest$ac_exeext conftest.$ac_ext
55615LIBS=$ac_check_lib_save_LIBS
55616fi
55617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
55618$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
55619if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
55620  ac_cv_libcrypto_dummy=yes
55621else
55622  ac_cv_libcrypto_evp_md=no
55623fi
55624
55625
55626fi
55627
55628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
55629$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
55630if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
55631  $as_echo_n "(cached) " >&6
55632else
55633  ac_check_lib_save_LIBS=$LIBS
55634LIBS="-lcrypto  $LIBS"
55635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55636/* end confdefs.h.  */
55637
55638/* Override any GCC internal prototype to avoid an error.
55639   Use char because int might match the return type of a GCC
55640   builtin and then its argument prototype would still apply.  */
55641#ifdef __cplusplus
55642extern "C"
55643#endif
55644char EVP_DigestInit_ex ();
55645int
55646main ()
55647{
55648return EVP_DigestInit_ex ();
55649  ;
55650  return 0;
55651}
55652_ACEOF
55653if ac_fn_c_try_link "$LINENO"; then :
55654  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
55655else
55656  ac_cv_lib_crypto_EVP_DigestInit_ex=no
55657fi
55658rm -f core conftest.err conftest.$ac_objext \
55659    conftest$ac_exeext conftest.$ac_ext
55660LIBS=$ac_check_lib_save_LIBS
55661fi
55662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
55663$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
55664if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
55665  ac_cv_libcrypto_dummy=yes
55666else
55667  ac_cv_libcrypto_evp_md=no
55668fi
55669
55670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
55671$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
55672if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
55673  $as_echo_n "(cached) " >&6
55674else
55675  ac_check_lib_save_LIBS=$LIBS
55676LIBS="-lcrypto  $LIBS"
55677cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55678/* end confdefs.h.  */
55679
55680/* Override any GCC internal prototype to avoid an error.
55681   Use char because int might match the return type of a GCC
55682   builtin and then its argument prototype would still apply.  */
55683#ifdef __cplusplus
55684extern "C"
55685#endif
55686char EVP_DigestUpdate ();
55687int
55688main ()
55689{
55690return EVP_DigestUpdate ();
55691  ;
55692  return 0;
55693}
55694_ACEOF
55695if ac_fn_c_try_link "$LINENO"; then :
55696  ac_cv_lib_crypto_EVP_DigestUpdate=yes
55697else
55698  ac_cv_lib_crypto_EVP_DigestUpdate=no
55699fi
55700rm -f core conftest.err conftest.$ac_objext \
55701    conftest$ac_exeext conftest.$ac_ext
55702LIBS=$ac_check_lib_save_LIBS
55703fi
55704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
55705$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
55706if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
55707  ac_cv_libcrypto_dummy=yes
55708else
55709  ac_cv_libcrypto_evp_md=no
55710fi
55711
55712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
55713$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
55714if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
55715  $as_echo_n "(cached) " >&6
55716else
55717  ac_check_lib_save_LIBS=$LIBS
55718LIBS="-lcrypto  $LIBS"
55719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55720/* end confdefs.h.  */
55721
55722/* Override any GCC internal prototype to avoid an error.
55723   Use char because int might match the return type of a GCC
55724   builtin and then its argument prototype would still apply.  */
55725#ifdef __cplusplus
55726extern "C"
55727#endif
55728char EVP_DigestFinal_ex ();
55729int
55730main ()
55731{
55732return EVP_DigestFinal_ex ();
55733  ;
55734  return 0;
55735}
55736_ACEOF
55737if ac_fn_c_try_link "$LINENO"; then :
55738  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
55739else
55740  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
55741fi
55742rm -f core conftest.err conftest.$ac_objext \
55743    conftest$ac_exeext conftest.$ac_ext
55744LIBS=$ac_check_lib_save_LIBS
55745fi
55746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
55747$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
55748if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
55749  ac_cv_libcrypto_dummy=yes
55750else
55751  ac_cv_libcrypto_evp_md=no
55752fi
55753
55754
55755  if test "x$ac_cv_enable_openssl_evp_md" = xyes && test "x$ac_cv_libcrypto_evp_md" = xno; then :
55756  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55757$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55758as_fn_error 1 "Missing OpenSSL EVP MD support
55759See \`config.log' for more details" "$LINENO" 5; }
55760
55761fi
55762
55763  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
55764
55765$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
55766
55767
55768fi
55769
55770  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
55771
55772$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
55773
55774
55775fi
55776
55777fi
55778
55779    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
55780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha1 in -lcrypto" >&5
55781$as_echo_n "checking for EVP_sha1 in -lcrypto... " >&6; }
55782if ${ac_cv_lib_crypto_EVP_sha1+:} false; then :
55783  $as_echo_n "(cached) " >&6
55784else
55785  ac_check_lib_save_LIBS=$LIBS
55786LIBS="-lcrypto  $LIBS"
55787cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55788/* end confdefs.h.  */
55789
55790/* Override any GCC internal prototype to avoid an error.
55791   Use char because int might match the return type of a GCC
55792   builtin and then its argument prototype would still apply.  */
55793#ifdef __cplusplus
55794extern "C"
55795#endif
55796char EVP_sha1 ();
55797int
55798main ()
55799{
55800return EVP_sha1 ();
55801  ;
55802  return 0;
55803}
55804_ACEOF
55805if ac_fn_c_try_link "$LINENO"; then :
55806  ac_cv_lib_crypto_EVP_sha1=yes
55807else
55808  ac_cv_lib_crypto_EVP_sha1=no
55809fi
55810rm -f core conftest.err conftest.$ac_objext \
55811    conftest$ac_exeext conftest.$ac_ext
55812LIBS=$ac_check_lib_save_LIBS
55813fi
55814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha1" >&5
55815$as_echo "$ac_cv_lib_crypto_EVP_sha1" >&6; }
55816if test "x$ac_cv_lib_crypto_EVP_sha1" = xyes; then :
55817  ac_cv_libcrypto_sha1=libcrypto_evp
55818else
55819  ac_cv_libcrypto_sha1=no
55820fi
55821
55822
55823  if test "x$ac_cv_libcrypto_sha1" = xlibcrypto_evp; then :
55824
55825$as_echo "#define HAVE_EVP_SHA1 1" >>confdefs.h
55826
55827
55828fi
55829
55830fi
55831
55832    if test "x$ac_cv_libcrypto_sha1" = xno; then :
55833  for ac_header in openssl/sha.h
55834do :
55835  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
55836if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
55837  cat >>confdefs.h <<_ACEOF
55838#define HAVE_OPENSSL_SHA_H 1
55839_ACEOF
55840
55841fi
55842
55843done
55844
55845
55846  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
55847  ac_cv_libcrypto_sha1=no
55848else
55849  ac_cv_libcrypto_sha1=libcrypto
55850
55851    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
55852$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
55853if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
55854  $as_echo_n "(cached) " >&6
55855else
55856  ac_check_lib_save_LIBS=$LIBS
55857LIBS="-lcrypto  $LIBS"
55858cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55859/* end confdefs.h.  */
55860
55861/* Override any GCC internal prototype to avoid an error.
55862   Use char because int might match the return type of a GCC
55863   builtin and then its argument prototype would still apply.  */
55864#ifdef __cplusplus
55865extern "C"
55866#endif
55867char SHA1_Init ();
55868int
55869main ()
55870{
55871return SHA1_Init ();
55872  ;
55873  return 0;
55874}
55875_ACEOF
55876if ac_fn_c_try_link "$LINENO"; then :
55877  ac_cv_lib_crypto_SHA1_Init=yes
55878else
55879  ac_cv_lib_crypto_SHA1_Init=no
55880fi
55881rm -f core conftest.err conftest.$ac_objext \
55882    conftest$ac_exeext conftest.$ac_ext
55883LIBS=$ac_check_lib_save_LIBS
55884fi
55885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
55886$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
55887if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
55888  ac_cv_libcrypto_dummy=yes
55889else
55890  ac_cv_libcrypto_sha1=no
55891fi
55892
55893    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Update in -lcrypto" >&5
55894$as_echo_n "checking for SHA1_Update in -lcrypto... " >&6; }
55895if ${ac_cv_lib_crypto_SHA1_Update+:} false; then :
55896  $as_echo_n "(cached) " >&6
55897else
55898  ac_check_lib_save_LIBS=$LIBS
55899LIBS="-lcrypto  $LIBS"
55900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55901/* end confdefs.h.  */
55902
55903/* Override any GCC internal prototype to avoid an error.
55904   Use char because int might match the return type of a GCC
55905   builtin and then its argument prototype would still apply.  */
55906#ifdef __cplusplus
55907extern "C"
55908#endif
55909char SHA1_Update ();
55910int
55911main ()
55912{
55913return SHA1_Update ();
55914  ;
55915  return 0;
55916}
55917_ACEOF
55918if ac_fn_c_try_link "$LINENO"; then :
55919  ac_cv_lib_crypto_SHA1_Update=yes
55920else
55921  ac_cv_lib_crypto_SHA1_Update=no
55922fi
55923rm -f core conftest.err conftest.$ac_objext \
55924    conftest$ac_exeext conftest.$ac_ext
55925LIBS=$ac_check_lib_save_LIBS
55926fi
55927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Update" >&5
55928$as_echo "$ac_cv_lib_crypto_SHA1_Update" >&6; }
55929if test "x$ac_cv_lib_crypto_SHA1_Update" = xyes; then :
55930  ac_cv_libcrypto_dummy=yes
55931else
55932  ac_cv_libcrypto_sha1=no
55933fi
55934
55935    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Final in -lcrypto" >&5
55936$as_echo_n "checking for SHA1_Final in -lcrypto... " >&6; }
55937if ${ac_cv_lib_crypto_SHA1_Final+:} false; then :
55938  $as_echo_n "(cached) " >&6
55939else
55940  ac_check_lib_save_LIBS=$LIBS
55941LIBS="-lcrypto  $LIBS"
55942cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55943/* end confdefs.h.  */
55944
55945/* Override any GCC internal prototype to avoid an error.
55946   Use char because int might match the return type of a GCC
55947   builtin and then its argument prototype would still apply.  */
55948#ifdef __cplusplus
55949extern "C"
55950#endif
55951char SHA1_Final ();
55952int
55953main ()
55954{
55955return SHA1_Final ();
55956  ;
55957  return 0;
55958}
55959_ACEOF
55960if ac_fn_c_try_link "$LINENO"; then :
55961  ac_cv_lib_crypto_SHA1_Final=yes
55962else
55963  ac_cv_lib_crypto_SHA1_Final=no
55964fi
55965rm -f core conftest.err conftest.$ac_objext \
55966    conftest$ac_exeext conftest.$ac_ext
55967LIBS=$ac_check_lib_save_LIBS
55968fi
55969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Final" >&5
55970$as_echo "$ac_cv_lib_crypto_SHA1_Final" >&6; }
55971if test "x$ac_cv_lib_crypto_SHA1_Final" = xyes; then :
55972  ac_cv_libcrypto_dummy=yes
55973else
55974  ac_cv_libcrypto_sha1=no
55975fi
55976
55977
55978fi
55979
55980  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha1" = xlibcrypto; then :
55981  ac_cv_libcrypto=yes
55982fi
55983
55984fi
55985
55986    ac_cv_libcrypto_sha224=no
55987
55988    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_md" != xno && test "x$ac_cv_libcrypto_evp_md" != xyes; then :
55989  ac_cv_libcrypto_evp_md=yes
55990
55991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
55992$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
55993if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
55994  $as_echo_n "(cached) " >&6
55995else
55996  ac_check_lib_save_LIBS=$LIBS
55997LIBS="-lcrypto  $LIBS"
55998cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55999/* end confdefs.h.  */
56000
56001/* Override any GCC internal prototype to avoid an error.
56002   Use char because int might match the return type of a GCC
56003   builtin and then its argument prototype would still apply.  */
56004#ifdef __cplusplus
56005extern "C"
56006#endif
56007char EVP_MD_CTX_new ();
56008int
56009main ()
56010{
56011return EVP_MD_CTX_new ();
56012  ;
56013  return 0;
56014}
56015_ACEOF
56016if ac_fn_c_try_link "$LINENO"; then :
56017  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
56018else
56019  ac_cv_lib_crypto_EVP_MD_CTX_new=no
56020fi
56021rm -f core conftest.err conftest.$ac_objext \
56022    conftest$ac_exeext conftest.$ac_ext
56023LIBS=$ac_check_lib_save_LIBS
56024fi
56025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
56026$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
56027if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
56028  ac_cv_libcrypto_dummy=yes
56029else
56030  ac_cv_libcrypto_dummy=no
56031fi
56032
56033
56034  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
56035      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
56036$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
56037if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
56038  $as_echo_n "(cached) " >&6
56039else
56040  ac_check_lib_save_LIBS=$LIBS
56041LIBS="-lcrypto  $LIBS"
56042cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56043/* end confdefs.h.  */
56044
56045/* Override any GCC internal prototype to avoid an error.
56046   Use char because int might match the return type of a GCC
56047   builtin and then its argument prototype would still apply.  */
56048#ifdef __cplusplus
56049extern "C"
56050#endif
56051char EVP_MD_CTX_free ();
56052int
56053main ()
56054{
56055return EVP_MD_CTX_free ();
56056  ;
56057  return 0;
56058}
56059_ACEOF
56060if ac_fn_c_try_link "$LINENO"; then :
56061  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
56062else
56063  ac_cv_lib_crypto_EVP_MD_CTX_free=no
56064fi
56065rm -f core conftest.err conftest.$ac_objext \
56066    conftest$ac_exeext conftest.$ac_ext
56067LIBS=$ac_check_lib_save_LIBS
56068fi
56069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
56070$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
56071if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
56072  ac_cv_libcrypto_dummy=yes
56073else
56074  ac_cv_libcrypto_evp_md=no
56075fi
56076
56077
56078else
56079      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
56080$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
56081if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
56082  $as_echo_n "(cached) " >&6
56083else
56084  ac_check_lib_save_LIBS=$LIBS
56085LIBS="-lcrypto  $LIBS"
56086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56087/* end confdefs.h.  */
56088
56089/* Override any GCC internal prototype to avoid an error.
56090   Use char because int might match the return type of a GCC
56091   builtin and then its argument prototype would still apply.  */
56092#ifdef __cplusplus
56093extern "C"
56094#endif
56095char EVP_MD_CTX_init ();
56096int
56097main ()
56098{
56099return EVP_MD_CTX_init ();
56100  ;
56101  return 0;
56102}
56103_ACEOF
56104if ac_fn_c_try_link "$LINENO"; then :
56105  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
56106else
56107  ac_cv_lib_crypto_EVP_MD_CTX_init=no
56108fi
56109rm -f core conftest.err conftest.$ac_objext \
56110    conftest$ac_exeext conftest.$ac_ext
56111LIBS=$ac_check_lib_save_LIBS
56112fi
56113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
56114$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
56115if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
56116  ac_cv_libcrypto_dummy=yes
56117else
56118  ac_cv_libcrypto_evp_md=no
56119fi
56120
56121    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
56122$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
56123if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
56124  $as_echo_n "(cached) " >&6
56125else
56126  ac_check_lib_save_LIBS=$LIBS
56127LIBS="-lcrypto  $LIBS"
56128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56129/* end confdefs.h.  */
56130
56131/* Override any GCC internal prototype to avoid an error.
56132   Use char because int might match the return type of a GCC
56133   builtin and then its argument prototype would still apply.  */
56134#ifdef __cplusplus
56135extern "C"
56136#endif
56137char EVP_MD_CTX_cleanup ();
56138int
56139main ()
56140{
56141return EVP_MD_CTX_cleanup ();
56142  ;
56143  return 0;
56144}
56145_ACEOF
56146if ac_fn_c_try_link "$LINENO"; then :
56147  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
56148else
56149  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
56150fi
56151rm -f core conftest.err conftest.$ac_objext \
56152    conftest$ac_exeext conftest.$ac_ext
56153LIBS=$ac_check_lib_save_LIBS
56154fi
56155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
56156$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
56157if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
56158  ac_cv_libcrypto_dummy=yes
56159else
56160  ac_cv_libcrypto_evp_md=no
56161fi
56162
56163
56164    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
56165$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
56166if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
56167  $as_echo_n "(cached) " >&6
56168else
56169  ac_check_lib_save_LIBS=$LIBS
56170LIBS="-lcrypto  $LIBS"
56171cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56172/* end confdefs.h.  */
56173
56174/* Override any GCC internal prototype to avoid an error.
56175   Use char because int might match the return type of a GCC
56176   builtin and then its argument prototype would still apply.  */
56177#ifdef __cplusplus
56178extern "C"
56179#endif
56180char ERR_remove_thread_state ();
56181int
56182main ()
56183{
56184return ERR_remove_thread_state ();
56185  ;
56186  return 0;
56187}
56188_ACEOF
56189if ac_fn_c_try_link "$LINENO"; then :
56190  ac_cv_lib_crypto_ERR_remove_thread_state=yes
56191else
56192  ac_cv_lib_crypto_ERR_remove_thread_state=no
56193fi
56194rm -f core conftest.err conftest.$ac_objext \
56195    conftest$ac_exeext conftest.$ac_ext
56196LIBS=$ac_check_lib_save_LIBS
56197fi
56198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
56199$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
56200if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
56201  ac_cv_libcrypto_dummy=yes
56202else
56203  ac_cv_libcrypto_evp_md=no
56204fi
56205
56206
56207fi
56208
56209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
56210$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
56211if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
56212  $as_echo_n "(cached) " >&6
56213else
56214  ac_check_lib_save_LIBS=$LIBS
56215LIBS="-lcrypto  $LIBS"
56216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56217/* end confdefs.h.  */
56218
56219/* Override any GCC internal prototype to avoid an error.
56220   Use char because int might match the return type of a GCC
56221   builtin and then its argument prototype would still apply.  */
56222#ifdef __cplusplus
56223extern "C"
56224#endif
56225char EVP_DigestInit_ex ();
56226int
56227main ()
56228{
56229return EVP_DigestInit_ex ();
56230  ;
56231  return 0;
56232}
56233_ACEOF
56234if ac_fn_c_try_link "$LINENO"; then :
56235  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
56236else
56237  ac_cv_lib_crypto_EVP_DigestInit_ex=no
56238fi
56239rm -f core conftest.err conftest.$ac_objext \
56240    conftest$ac_exeext conftest.$ac_ext
56241LIBS=$ac_check_lib_save_LIBS
56242fi
56243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
56244$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
56245if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
56246  ac_cv_libcrypto_dummy=yes
56247else
56248  ac_cv_libcrypto_evp_md=no
56249fi
56250
56251  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
56252$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
56253if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
56254  $as_echo_n "(cached) " >&6
56255else
56256  ac_check_lib_save_LIBS=$LIBS
56257LIBS="-lcrypto  $LIBS"
56258cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56259/* end confdefs.h.  */
56260
56261/* Override any GCC internal prototype to avoid an error.
56262   Use char because int might match the return type of a GCC
56263   builtin and then its argument prototype would still apply.  */
56264#ifdef __cplusplus
56265extern "C"
56266#endif
56267char EVP_DigestUpdate ();
56268int
56269main ()
56270{
56271return EVP_DigestUpdate ();
56272  ;
56273  return 0;
56274}
56275_ACEOF
56276if ac_fn_c_try_link "$LINENO"; then :
56277  ac_cv_lib_crypto_EVP_DigestUpdate=yes
56278else
56279  ac_cv_lib_crypto_EVP_DigestUpdate=no
56280fi
56281rm -f core conftest.err conftest.$ac_objext \
56282    conftest$ac_exeext conftest.$ac_ext
56283LIBS=$ac_check_lib_save_LIBS
56284fi
56285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
56286$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
56287if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
56288  ac_cv_libcrypto_dummy=yes
56289else
56290  ac_cv_libcrypto_evp_md=no
56291fi
56292
56293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
56294$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
56295if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
56296  $as_echo_n "(cached) " >&6
56297else
56298  ac_check_lib_save_LIBS=$LIBS
56299LIBS="-lcrypto  $LIBS"
56300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56301/* end confdefs.h.  */
56302
56303/* Override any GCC internal prototype to avoid an error.
56304   Use char because int might match the return type of a GCC
56305   builtin and then its argument prototype would still apply.  */
56306#ifdef __cplusplus
56307extern "C"
56308#endif
56309char EVP_DigestFinal_ex ();
56310int
56311main ()
56312{
56313return EVP_DigestFinal_ex ();
56314  ;
56315  return 0;
56316}
56317_ACEOF
56318if ac_fn_c_try_link "$LINENO"; then :
56319  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
56320else
56321  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
56322fi
56323rm -f core conftest.err conftest.$ac_objext \
56324    conftest$ac_exeext conftest.$ac_ext
56325LIBS=$ac_check_lib_save_LIBS
56326fi
56327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
56328$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
56329if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
56330  ac_cv_libcrypto_dummy=yes
56331else
56332  ac_cv_libcrypto_evp_md=no
56333fi
56334
56335
56336  if test "x$ac_cv_enable_openssl_evp_md" = xyes && test "x$ac_cv_libcrypto_evp_md" = xno; then :
56337  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
56338$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
56339as_fn_error 1 "Missing OpenSSL EVP MD support
56340See \`config.log' for more details" "$LINENO" 5; }
56341
56342fi
56343
56344  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
56345
56346$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
56347
56348
56349fi
56350
56351  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
56352
56353$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
56354
56355
56356fi
56357
56358fi
56359
56360    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
56361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha224 in -lcrypto" >&5
56362$as_echo_n "checking for EVP_sha224 in -lcrypto... " >&6; }
56363if ${ac_cv_lib_crypto_EVP_sha224+:} false; then :
56364  $as_echo_n "(cached) " >&6
56365else
56366  ac_check_lib_save_LIBS=$LIBS
56367LIBS="-lcrypto  $LIBS"
56368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369/* end confdefs.h.  */
56370
56371/* Override any GCC internal prototype to avoid an error.
56372   Use char because int might match the return type of a GCC
56373   builtin and then its argument prototype would still apply.  */
56374#ifdef __cplusplus
56375extern "C"
56376#endif
56377char EVP_sha224 ();
56378int
56379main ()
56380{
56381return EVP_sha224 ();
56382  ;
56383  return 0;
56384}
56385_ACEOF
56386if ac_fn_c_try_link "$LINENO"; then :
56387  ac_cv_lib_crypto_EVP_sha224=yes
56388else
56389  ac_cv_lib_crypto_EVP_sha224=no
56390fi
56391rm -f core conftest.err conftest.$ac_objext \
56392    conftest$ac_exeext conftest.$ac_ext
56393LIBS=$ac_check_lib_save_LIBS
56394fi
56395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha224" >&5
56396$as_echo "$ac_cv_lib_crypto_EVP_sha224" >&6; }
56397if test "x$ac_cv_lib_crypto_EVP_sha224" = xyes; then :
56398  ac_cv_libcrypto_sha224=libcrypto_evp
56399else
56400  ac_cv_libcrypto_sha224=no
56401fi
56402
56403
56404  if test "x$ac_cv_libcrypto_sha224" = xlibcrypto_evp; then :
56405
56406$as_echo "#define HAVE_EVP_SHA224 1" >>confdefs.h
56407
56408
56409fi
56410
56411fi
56412
56413    if test "x$ac_cv_libcrypto_sha224" = xno; then :
56414  for ac_header in openssl/sha.h
56415do :
56416  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
56417if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
56418  cat >>confdefs.h <<_ACEOF
56419#define HAVE_OPENSSL_SHA_H 1
56420_ACEOF
56421
56422fi
56423
56424done
56425
56426
56427  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
56428  ac_cv_libcrypto_sha224=no
56429else
56430  ac_cv_libcrypto_sha224=libcrypto
56431
56432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Init in -lcrypto" >&5
56433$as_echo_n "checking for SHA224_Init in -lcrypto... " >&6; }
56434if ${ac_cv_lib_crypto_SHA224_Init+:} false; then :
56435  $as_echo_n "(cached) " >&6
56436else
56437  ac_check_lib_save_LIBS=$LIBS
56438LIBS="-lcrypto  $LIBS"
56439cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56440/* end confdefs.h.  */
56441
56442/* Override any GCC internal prototype to avoid an error.
56443   Use char because int might match the return type of a GCC
56444   builtin and then its argument prototype would still apply.  */
56445#ifdef __cplusplus
56446extern "C"
56447#endif
56448char SHA224_Init ();
56449int
56450main ()
56451{
56452return SHA224_Init ();
56453  ;
56454  return 0;
56455}
56456_ACEOF
56457if ac_fn_c_try_link "$LINENO"; then :
56458  ac_cv_lib_crypto_SHA224_Init=yes
56459else
56460  ac_cv_lib_crypto_SHA224_Init=no
56461fi
56462rm -f core conftest.err conftest.$ac_objext \
56463    conftest$ac_exeext conftest.$ac_ext
56464LIBS=$ac_check_lib_save_LIBS
56465fi
56466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Init" >&5
56467$as_echo "$ac_cv_lib_crypto_SHA224_Init" >&6; }
56468if test "x$ac_cv_lib_crypto_SHA224_Init" = xyes; then :
56469  ac_cv_libcrypto_dummy=yes
56470else
56471  ac_cv_libcrypto_sha224=no
56472fi
56473
56474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Update in -lcrypto" >&5
56475$as_echo_n "checking for SHA224_Update in -lcrypto... " >&6; }
56476if ${ac_cv_lib_crypto_SHA224_Update+:} false; then :
56477  $as_echo_n "(cached) " >&6
56478else
56479  ac_check_lib_save_LIBS=$LIBS
56480LIBS="-lcrypto  $LIBS"
56481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56482/* end confdefs.h.  */
56483
56484/* Override any GCC internal prototype to avoid an error.
56485   Use char because int might match the return type of a GCC
56486   builtin and then its argument prototype would still apply.  */
56487#ifdef __cplusplus
56488extern "C"
56489#endif
56490char SHA224_Update ();
56491int
56492main ()
56493{
56494return SHA224_Update ();
56495  ;
56496  return 0;
56497}
56498_ACEOF
56499if ac_fn_c_try_link "$LINENO"; then :
56500  ac_cv_lib_crypto_SHA224_Update=yes
56501else
56502  ac_cv_lib_crypto_SHA224_Update=no
56503fi
56504rm -f core conftest.err conftest.$ac_objext \
56505    conftest$ac_exeext conftest.$ac_ext
56506LIBS=$ac_check_lib_save_LIBS
56507fi
56508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Update" >&5
56509$as_echo "$ac_cv_lib_crypto_SHA224_Update" >&6; }
56510if test "x$ac_cv_lib_crypto_SHA224_Update" = xyes; then :
56511  ac_cv_libcrypto_dummy=yes
56512else
56513  ac_cv_libcrypto_sha224=no
56514fi
56515
56516    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Final in -lcrypto" >&5
56517$as_echo_n "checking for SHA224_Final in -lcrypto... " >&6; }
56518if ${ac_cv_lib_crypto_SHA224_Final+:} false; then :
56519  $as_echo_n "(cached) " >&6
56520else
56521  ac_check_lib_save_LIBS=$LIBS
56522LIBS="-lcrypto  $LIBS"
56523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56524/* end confdefs.h.  */
56525
56526/* Override any GCC internal prototype to avoid an error.
56527   Use char because int might match the return type of a GCC
56528   builtin and then its argument prototype would still apply.  */
56529#ifdef __cplusplus
56530extern "C"
56531#endif
56532char SHA224_Final ();
56533int
56534main ()
56535{
56536return SHA224_Final ();
56537  ;
56538  return 0;
56539}
56540_ACEOF
56541if ac_fn_c_try_link "$LINENO"; then :
56542  ac_cv_lib_crypto_SHA224_Final=yes
56543else
56544  ac_cv_lib_crypto_SHA224_Final=no
56545fi
56546rm -f core conftest.err conftest.$ac_objext \
56547    conftest$ac_exeext conftest.$ac_ext
56548LIBS=$ac_check_lib_save_LIBS
56549fi
56550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Final" >&5
56551$as_echo "$ac_cv_lib_crypto_SHA224_Final" >&6; }
56552if test "x$ac_cv_lib_crypto_SHA224_Final" = xyes; then :
56553  ac_cv_libcrypto_dummy=yes
56554else
56555  ac_cv_libcrypto_sha224=no
56556fi
56557
56558
56559fi
56560
56561  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha224" = xlibcrypto; then :
56562  ac_cv_libcrypto=yes
56563fi
56564
56565fi
56566
56567    ac_cv_libcrypto_sha256=no
56568
56569    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_md" != xno && test "x$ac_cv_libcrypto_evp_md" != xyes; then :
56570  ac_cv_libcrypto_evp_md=yes
56571
56572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
56573$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
56574if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
56575  $as_echo_n "(cached) " >&6
56576else
56577  ac_check_lib_save_LIBS=$LIBS
56578LIBS="-lcrypto  $LIBS"
56579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56580/* end confdefs.h.  */
56581
56582/* Override any GCC internal prototype to avoid an error.
56583   Use char because int might match the return type of a GCC
56584   builtin and then its argument prototype would still apply.  */
56585#ifdef __cplusplus
56586extern "C"
56587#endif
56588char EVP_MD_CTX_new ();
56589int
56590main ()
56591{
56592return EVP_MD_CTX_new ();
56593  ;
56594  return 0;
56595}
56596_ACEOF
56597if ac_fn_c_try_link "$LINENO"; then :
56598  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
56599else
56600  ac_cv_lib_crypto_EVP_MD_CTX_new=no
56601fi
56602rm -f core conftest.err conftest.$ac_objext \
56603    conftest$ac_exeext conftest.$ac_ext
56604LIBS=$ac_check_lib_save_LIBS
56605fi
56606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
56607$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
56608if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
56609  ac_cv_libcrypto_dummy=yes
56610else
56611  ac_cv_libcrypto_dummy=no
56612fi
56613
56614
56615  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
56616      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
56617$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
56618if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
56619  $as_echo_n "(cached) " >&6
56620else
56621  ac_check_lib_save_LIBS=$LIBS
56622LIBS="-lcrypto  $LIBS"
56623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56624/* end confdefs.h.  */
56625
56626/* Override any GCC internal prototype to avoid an error.
56627   Use char because int might match the return type of a GCC
56628   builtin and then its argument prototype would still apply.  */
56629#ifdef __cplusplus
56630extern "C"
56631#endif
56632char EVP_MD_CTX_free ();
56633int
56634main ()
56635{
56636return EVP_MD_CTX_free ();
56637  ;
56638  return 0;
56639}
56640_ACEOF
56641if ac_fn_c_try_link "$LINENO"; then :
56642  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
56643else
56644  ac_cv_lib_crypto_EVP_MD_CTX_free=no
56645fi
56646rm -f core conftest.err conftest.$ac_objext \
56647    conftest$ac_exeext conftest.$ac_ext
56648LIBS=$ac_check_lib_save_LIBS
56649fi
56650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
56651$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
56652if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
56653  ac_cv_libcrypto_dummy=yes
56654else
56655  ac_cv_libcrypto_evp_md=no
56656fi
56657
56658
56659else
56660      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
56661$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
56662if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
56663  $as_echo_n "(cached) " >&6
56664else
56665  ac_check_lib_save_LIBS=$LIBS
56666LIBS="-lcrypto  $LIBS"
56667cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56668/* end confdefs.h.  */
56669
56670/* Override any GCC internal prototype to avoid an error.
56671   Use char because int might match the return type of a GCC
56672   builtin and then its argument prototype would still apply.  */
56673#ifdef __cplusplus
56674extern "C"
56675#endif
56676char EVP_MD_CTX_init ();
56677int
56678main ()
56679{
56680return EVP_MD_CTX_init ();
56681  ;
56682  return 0;
56683}
56684_ACEOF
56685if ac_fn_c_try_link "$LINENO"; then :
56686  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
56687else
56688  ac_cv_lib_crypto_EVP_MD_CTX_init=no
56689fi
56690rm -f core conftest.err conftest.$ac_objext \
56691    conftest$ac_exeext conftest.$ac_ext
56692LIBS=$ac_check_lib_save_LIBS
56693fi
56694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
56695$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
56696if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
56697  ac_cv_libcrypto_dummy=yes
56698else
56699  ac_cv_libcrypto_evp_md=no
56700fi
56701
56702    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
56703$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
56704if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
56705  $as_echo_n "(cached) " >&6
56706else
56707  ac_check_lib_save_LIBS=$LIBS
56708LIBS="-lcrypto  $LIBS"
56709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56710/* end confdefs.h.  */
56711
56712/* Override any GCC internal prototype to avoid an error.
56713   Use char because int might match the return type of a GCC
56714   builtin and then its argument prototype would still apply.  */
56715#ifdef __cplusplus
56716extern "C"
56717#endif
56718char EVP_MD_CTX_cleanup ();
56719int
56720main ()
56721{
56722return EVP_MD_CTX_cleanup ();
56723  ;
56724  return 0;
56725}
56726_ACEOF
56727if ac_fn_c_try_link "$LINENO"; then :
56728  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
56729else
56730  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
56731fi
56732rm -f core conftest.err conftest.$ac_objext \
56733    conftest$ac_exeext conftest.$ac_ext
56734LIBS=$ac_check_lib_save_LIBS
56735fi
56736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
56737$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
56738if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
56739  ac_cv_libcrypto_dummy=yes
56740else
56741  ac_cv_libcrypto_evp_md=no
56742fi
56743
56744
56745    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
56746$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
56747if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
56748  $as_echo_n "(cached) " >&6
56749else
56750  ac_check_lib_save_LIBS=$LIBS
56751LIBS="-lcrypto  $LIBS"
56752cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56753/* end confdefs.h.  */
56754
56755/* Override any GCC internal prototype to avoid an error.
56756   Use char because int might match the return type of a GCC
56757   builtin and then its argument prototype would still apply.  */
56758#ifdef __cplusplus
56759extern "C"
56760#endif
56761char ERR_remove_thread_state ();
56762int
56763main ()
56764{
56765return ERR_remove_thread_state ();
56766  ;
56767  return 0;
56768}
56769_ACEOF
56770if ac_fn_c_try_link "$LINENO"; then :
56771  ac_cv_lib_crypto_ERR_remove_thread_state=yes
56772else
56773  ac_cv_lib_crypto_ERR_remove_thread_state=no
56774fi
56775rm -f core conftest.err conftest.$ac_objext \
56776    conftest$ac_exeext conftest.$ac_ext
56777LIBS=$ac_check_lib_save_LIBS
56778fi
56779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
56780$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
56781if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
56782  ac_cv_libcrypto_dummy=yes
56783else
56784  ac_cv_libcrypto_evp_md=no
56785fi
56786
56787
56788fi
56789
56790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
56791$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
56792if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
56793  $as_echo_n "(cached) " >&6
56794else
56795  ac_check_lib_save_LIBS=$LIBS
56796LIBS="-lcrypto  $LIBS"
56797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56798/* end confdefs.h.  */
56799
56800/* Override any GCC internal prototype to avoid an error.
56801   Use char because int might match the return type of a GCC
56802   builtin and then its argument prototype would still apply.  */
56803#ifdef __cplusplus
56804extern "C"
56805#endif
56806char EVP_DigestInit_ex ();
56807int
56808main ()
56809{
56810return EVP_DigestInit_ex ();
56811  ;
56812  return 0;
56813}
56814_ACEOF
56815if ac_fn_c_try_link "$LINENO"; then :
56816  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
56817else
56818  ac_cv_lib_crypto_EVP_DigestInit_ex=no
56819fi
56820rm -f core conftest.err conftest.$ac_objext \
56821    conftest$ac_exeext conftest.$ac_ext
56822LIBS=$ac_check_lib_save_LIBS
56823fi
56824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
56825$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
56826if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
56827  ac_cv_libcrypto_dummy=yes
56828else
56829  ac_cv_libcrypto_evp_md=no
56830fi
56831
56832  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
56833$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
56834if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
56835  $as_echo_n "(cached) " >&6
56836else
56837  ac_check_lib_save_LIBS=$LIBS
56838LIBS="-lcrypto  $LIBS"
56839cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56840/* end confdefs.h.  */
56841
56842/* Override any GCC internal prototype to avoid an error.
56843   Use char because int might match the return type of a GCC
56844   builtin and then its argument prototype would still apply.  */
56845#ifdef __cplusplus
56846extern "C"
56847#endif
56848char EVP_DigestUpdate ();
56849int
56850main ()
56851{
56852return EVP_DigestUpdate ();
56853  ;
56854  return 0;
56855}
56856_ACEOF
56857if ac_fn_c_try_link "$LINENO"; then :
56858  ac_cv_lib_crypto_EVP_DigestUpdate=yes
56859else
56860  ac_cv_lib_crypto_EVP_DigestUpdate=no
56861fi
56862rm -f core conftest.err conftest.$ac_objext \
56863    conftest$ac_exeext conftest.$ac_ext
56864LIBS=$ac_check_lib_save_LIBS
56865fi
56866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
56867$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
56868if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
56869  ac_cv_libcrypto_dummy=yes
56870else
56871  ac_cv_libcrypto_evp_md=no
56872fi
56873
56874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
56875$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
56876if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
56877  $as_echo_n "(cached) " >&6
56878else
56879  ac_check_lib_save_LIBS=$LIBS
56880LIBS="-lcrypto  $LIBS"
56881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56882/* end confdefs.h.  */
56883
56884/* Override any GCC internal prototype to avoid an error.
56885   Use char because int might match the return type of a GCC
56886   builtin and then its argument prototype would still apply.  */
56887#ifdef __cplusplus
56888extern "C"
56889#endif
56890char EVP_DigestFinal_ex ();
56891int
56892main ()
56893{
56894return EVP_DigestFinal_ex ();
56895  ;
56896  return 0;
56897}
56898_ACEOF
56899if ac_fn_c_try_link "$LINENO"; then :
56900  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
56901else
56902  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
56903fi
56904rm -f core conftest.err conftest.$ac_objext \
56905    conftest$ac_exeext conftest.$ac_ext
56906LIBS=$ac_check_lib_save_LIBS
56907fi
56908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
56909$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
56910if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
56911  ac_cv_libcrypto_dummy=yes
56912else
56913  ac_cv_libcrypto_evp_md=no
56914fi
56915
56916
56917  if test "x$ac_cv_enable_openssl_evp_md" = xyes && test "x$ac_cv_libcrypto_evp_md" = xno; then :
56918  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
56919$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
56920as_fn_error 1 "Missing OpenSSL EVP MD support
56921See \`config.log' for more details" "$LINENO" 5; }
56922
56923fi
56924
56925  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
56926
56927$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
56928
56929
56930fi
56931
56932  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
56933
56934$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
56935
56936
56937fi
56938
56939fi
56940
56941    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
56942  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha256 in -lcrypto" >&5
56943$as_echo_n "checking for EVP_sha256 in -lcrypto... " >&6; }
56944if ${ac_cv_lib_crypto_EVP_sha256+:} false; then :
56945  $as_echo_n "(cached) " >&6
56946else
56947  ac_check_lib_save_LIBS=$LIBS
56948LIBS="-lcrypto  $LIBS"
56949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56950/* end confdefs.h.  */
56951
56952/* Override any GCC internal prototype to avoid an error.
56953   Use char because int might match the return type of a GCC
56954   builtin and then its argument prototype would still apply.  */
56955#ifdef __cplusplus
56956extern "C"
56957#endif
56958char EVP_sha256 ();
56959int
56960main ()
56961{
56962return EVP_sha256 ();
56963  ;
56964  return 0;
56965}
56966_ACEOF
56967if ac_fn_c_try_link "$LINENO"; then :
56968  ac_cv_lib_crypto_EVP_sha256=yes
56969else
56970  ac_cv_lib_crypto_EVP_sha256=no
56971fi
56972rm -f core conftest.err conftest.$ac_objext \
56973    conftest$ac_exeext conftest.$ac_ext
56974LIBS=$ac_check_lib_save_LIBS
56975fi
56976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha256" >&5
56977$as_echo "$ac_cv_lib_crypto_EVP_sha256" >&6; }
56978if test "x$ac_cv_lib_crypto_EVP_sha256" = xyes; then :
56979  ac_cv_libcrypto_sha256=libcrypto_evp
56980else
56981  ac_cv_libcrypto_sha256=no
56982fi
56983
56984
56985  if test "x$ac_cv_libcrypto_sha256" = xlibcrypto_evp; then :
56986
56987$as_echo "#define HAVE_EVP_SHA256 1" >>confdefs.h
56988
56989
56990fi
56991
56992fi
56993
56994    if test "x$ac_cv_libcrypto_sha256" = xno; then :
56995  for ac_header in openssl/sha.h
56996do :
56997  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
56998if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
56999  cat >>confdefs.h <<_ACEOF
57000#define HAVE_OPENSSL_SHA_H 1
57001_ACEOF
57002
57003fi
57004
57005done
57006
57007
57008  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
57009  ac_cv_libcrypto_sha256=no
57010else
57011  ac_cv_libcrypto_sha256=libcrypto
57012
57013    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Init in -lcrypto" >&5
57014$as_echo_n "checking for SHA256_Init in -lcrypto... " >&6; }
57015if ${ac_cv_lib_crypto_SHA256_Init+:} false; then :
57016  $as_echo_n "(cached) " >&6
57017else
57018  ac_check_lib_save_LIBS=$LIBS
57019LIBS="-lcrypto  $LIBS"
57020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57021/* end confdefs.h.  */
57022
57023/* Override any GCC internal prototype to avoid an error.
57024   Use char because int might match the return type of a GCC
57025   builtin and then its argument prototype would still apply.  */
57026#ifdef __cplusplus
57027extern "C"
57028#endif
57029char SHA256_Init ();
57030int
57031main ()
57032{
57033return SHA256_Init ();
57034  ;
57035  return 0;
57036}
57037_ACEOF
57038if ac_fn_c_try_link "$LINENO"; then :
57039  ac_cv_lib_crypto_SHA256_Init=yes
57040else
57041  ac_cv_lib_crypto_SHA256_Init=no
57042fi
57043rm -f core conftest.err conftest.$ac_objext \
57044    conftest$ac_exeext conftest.$ac_ext
57045LIBS=$ac_check_lib_save_LIBS
57046fi
57047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Init" >&5
57048$as_echo "$ac_cv_lib_crypto_SHA256_Init" >&6; }
57049if test "x$ac_cv_lib_crypto_SHA256_Init" = xyes; then :
57050  ac_cv_libcrypto_dummy=yes
57051else
57052  ac_cv_libcrypto_sha256=no
57053fi
57054
57055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Update in -lcrypto" >&5
57056$as_echo_n "checking for SHA256_Update in -lcrypto... " >&6; }
57057if ${ac_cv_lib_crypto_SHA256_Update+:} false; then :
57058  $as_echo_n "(cached) " >&6
57059else
57060  ac_check_lib_save_LIBS=$LIBS
57061LIBS="-lcrypto  $LIBS"
57062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57063/* end confdefs.h.  */
57064
57065/* Override any GCC internal prototype to avoid an error.
57066   Use char because int might match the return type of a GCC
57067   builtin and then its argument prototype would still apply.  */
57068#ifdef __cplusplus
57069extern "C"
57070#endif
57071char SHA256_Update ();
57072int
57073main ()
57074{
57075return SHA256_Update ();
57076  ;
57077  return 0;
57078}
57079_ACEOF
57080if ac_fn_c_try_link "$LINENO"; then :
57081  ac_cv_lib_crypto_SHA256_Update=yes
57082else
57083  ac_cv_lib_crypto_SHA256_Update=no
57084fi
57085rm -f core conftest.err conftest.$ac_objext \
57086    conftest$ac_exeext conftest.$ac_ext
57087LIBS=$ac_check_lib_save_LIBS
57088fi
57089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Update" >&5
57090$as_echo "$ac_cv_lib_crypto_SHA256_Update" >&6; }
57091if test "x$ac_cv_lib_crypto_SHA256_Update" = xyes; then :
57092  ac_cv_libcrypto_dummy=yes
57093else
57094  ac_cv_libcrypto_sha256=no
57095fi
57096
57097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Final in -lcrypto" >&5
57098$as_echo_n "checking for SHA256_Final in -lcrypto... " >&6; }
57099if ${ac_cv_lib_crypto_SHA256_Final+:} false; then :
57100  $as_echo_n "(cached) " >&6
57101else
57102  ac_check_lib_save_LIBS=$LIBS
57103LIBS="-lcrypto  $LIBS"
57104cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57105/* end confdefs.h.  */
57106
57107/* Override any GCC internal prototype to avoid an error.
57108   Use char because int might match the return type of a GCC
57109   builtin and then its argument prototype would still apply.  */
57110#ifdef __cplusplus
57111extern "C"
57112#endif
57113char SHA256_Final ();
57114int
57115main ()
57116{
57117return SHA256_Final ();
57118  ;
57119  return 0;
57120}
57121_ACEOF
57122if ac_fn_c_try_link "$LINENO"; then :
57123  ac_cv_lib_crypto_SHA256_Final=yes
57124else
57125  ac_cv_lib_crypto_SHA256_Final=no
57126fi
57127rm -f core conftest.err conftest.$ac_objext \
57128    conftest$ac_exeext conftest.$ac_ext
57129LIBS=$ac_check_lib_save_LIBS
57130fi
57131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Final" >&5
57132$as_echo "$ac_cv_lib_crypto_SHA256_Final" >&6; }
57133if test "x$ac_cv_lib_crypto_SHA256_Final" = xyes; then :
57134  ac_cv_libcrypto_dummy=yes
57135else
57136  ac_cv_libcrypto_sha256=no
57137fi
57138
57139
57140fi
57141
57142  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha256" = xlibcrypto; then :
57143  ac_cv_libcrypto=yes
57144fi
57145
57146fi
57147
57148    ac_cv_libcrypto_sha512=no
57149
57150    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_md" != xno && test "x$ac_cv_libcrypto_evp_md" != xyes; then :
57151  ac_cv_libcrypto_evp_md=yes
57152
57153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
57154$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
57155if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
57156  $as_echo_n "(cached) " >&6
57157else
57158  ac_check_lib_save_LIBS=$LIBS
57159LIBS="-lcrypto  $LIBS"
57160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57161/* end confdefs.h.  */
57162
57163/* Override any GCC internal prototype to avoid an error.
57164   Use char because int might match the return type of a GCC
57165   builtin and then its argument prototype would still apply.  */
57166#ifdef __cplusplus
57167extern "C"
57168#endif
57169char EVP_MD_CTX_new ();
57170int
57171main ()
57172{
57173return EVP_MD_CTX_new ();
57174  ;
57175  return 0;
57176}
57177_ACEOF
57178if ac_fn_c_try_link "$LINENO"; then :
57179  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
57180else
57181  ac_cv_lib_crypto_EVP_MD_CTX_new=no
57182fi
57183rm -f core conftest.err conftest.$ac_objext \
57184    conftest$ac_exeext conftest.$ac_ext
57185LIBS=$ac_check_lib_save_LIBS
57186fi
57187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
57188$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
57189if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
57190  ac_cv_libcrypto_dummy=yes
57191else
57192  ac_cv_libcrypto_dummy=no
57193fi
57194
57195
57196  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
57197      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
57198$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
57199if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
57200  $as_echo_n "(cached) " >&6
57201else
57202  ac_check_lib_save_LIBS=$LIBS
57203LIBS="-lcrypto  $LIBS"
57204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57205/* end confdefs.h.  */
57206
57207/* Override any GCC internal prototype to avoid an error.
57208   Use char because int might match the return type of a GCC
57209   builtin and then its argument prototype would still apply.  */
57210#ifdef __cplusplus
57211extern "C"
57212#endif
57213char EVP_MD_CTX_free ();
57214int
57215main ()
57216{
57217return EVP_MD_CTX_free ();
57218  ;
57219  return 0;
57220}
57221_ACEOF
57222if ac_fn_c_try_link "$LINENO"; then :
57223  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
57224else
57225  ac_cv_lib_crypto_EVP_MD_CTX_free=no
57226fi
57227rm -f core conftest.err conftest.$ac_objext \
57228    conftest$ac_exeext conftest.$ac_ext
57229LIBS=$ac_check_lib_save_LIBS
57230fi
57231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
57232$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
57233if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
57234  ac_cv_libcrypto_dummy=yes
57235else
57236  ac_cv_libcrypto_evp_md=no
57237fi
57238
57239
57240else
57241      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
57242$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
57243if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
57244  $as_echo_n "(cached) " >&6
57245else
57246  ac_check_lib_save_LIBS=$LIBS
57247LIBS="-lcrypto  $LIBS"
57248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57249/* end confdefs.h.  */
57250
57251/* Override any GCC internal prototype to avoid an error.
57252   Use char because int might match the return type of a GCC
57253   builtin and then its argument prototype would still apply.  */
57254#ifdef __cplusplus
57255extern "C"
57256#endif
57257char EVP_MD_CTX_init ();
57258int
57259main ()
57260{
57261return EVP_MD_CTX_init ();
57262  ;
57263  return 0;
57264}
57265_ACEOF
57266if ac_fn_c_try_link "$LINENO"; then :
57267  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
57268else
57269  ac_cv_lib_crypto_EVP_MD_CTX_init=no
57270fi
57271rm -f core conftest.err conftest.$ac_objext \
57272    conftest$ac_exeext conftest.$ac_ext
57273LIBS=$ac_check_lib_save_LIBS
57274fi
57275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
57276$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
57277if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
57278  ac_cv_libcrypto_dummy=yes
57279else
57280  ac_cv_libcrypto_evp_md=no
57281fi
57282
57283    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
57284$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
57285if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
57286  $as_echo_n "(cached) " >&6
57287else
57288  ac_check_lib_save_LIBS=$LIBS
57289LIBS="-lcrypto  $LIBS"
57290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57291/* end confdefs.h.  */
57292
57293/* Override any GCC internal prototype to avoid an error.
57294   Use char because int might match the return type of a GCC
57295   builtin and then its argument prototype would still apply.  */
57296#ifdef __cplusplus
57297extern "C"
57298#endif
57299char EVP_MD_CTX_cleanup ();
57300int
57301main ()
57302{
57303return EVP_MD_CTX_cleanup ();
57304  ;
57305  return 0;
57306}
57307_ACEOF
57308if ac_fn_c_try_link "$LINENO"; then :
57309  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
57310else
57311  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
57312fi
57313rm -f core conftest.err conftest.$ac_objext \
57314    conftest$ac_exeext conftest.$ac_ext
57315LIBS=$ac_check_lib_save_LIBS
57316fi
57317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
57318$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
57319if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
57320  ac_cv_libcrypto_dummy=yes
57321else
57322  ac_cv_libcrypto_evp_md=no
57323fi
57324
57325
57326    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
57327$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
57328if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
57329  $as_echo_n "(cached) " >&6
57330else
57331  ac_check_lib_save_LIBS=$LIBS
57332LIBS="-lcrypto  $LIBS"
57333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57334/* end confdefs.h.  */
57335
57336/* Override any GCC internal prototype to avoid an error.
57337   Use char because int might match the return type of a GCC
57338   builtin and then its argument prototype would still apply.  */
57339#ifdef __cplusplus
57340extern "C"
57341#endif
57342char ERR_remove_thread_state ();
57343int
57344main ()
57345{
57346return ERR_remove_thread_state ();
57347  ;
57348  return 0;
57349}
57350_ACEOF
57351if ac_fn_c_try_link "$LINENO"; then :
57352  ac_cv_lib_crypto_ERR_remove_thread_state=yes
57353else
57354  ac_cv_lib_crypto_ERR_remove_thread_state=no
57355fi
57356rm -f core conftest.err conftest.$ac_objext \
57357    conftest$ac_exeext conftest.$ac_ext
57358LIBS=$ac_check_lib_save_LIBS
57359fi
57360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
57361$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
57362if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
57363  ac_cv_libcrypto_dummy=yes
57364else
57365  ac_cv_libcrypto_evp_md=no
57366fi
57367
57368
57369fi
57370
57371  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
57372$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
57373if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
57374  $as_echo_n "(cached) " >&6
57375else
57376  ac_check_lib_save_LIBS=$LIBS
57377LIBS="-lcrypto  $LIBS"
57378cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57379/* end confdefs.h.  */
57380
57381/* Override any GCC internal prototype to avoid an error.
57382   Use char because int might match the return type of a GCC
57383   builtin and then its argument prototype would still apply.  */
57384#ifdef __cplusplus
57385extern "C"
57386#endif
57387char EVP_DigestInit_ex ();
57388int
57389main ()
57390{
57391return EVP_DigestInit_ex ();
57392  ;
57393  return 0;
57394}
57395_ACEOF
57396if ac_fn_c_try_link "$LINENO"; then :
57397  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
57398else
57399  ac_cv_lib_crypto_EVP_DigestInit_ex=no
57400fi
57401rm -f core conftest.err conftest.$ac_objext \
57402    conftest$ac_exeext conftest.$ac_ext
57403LIBS=$ac_check_lib_save_LIBS
57404fi
57405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
57406$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
57407if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
57408  ac_cv_libcrypto_dummy=yes
57409else
57410  ac_cv_libcrypto_evp_md=no
57411fi
57412
57413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
57414$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
57415if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
57416  $as_echo_n "(cached) " >&6
57417else
57418  ac_check_lib_save_LIBS=$LIBS
57419LIBS="-lcrypto  $LIBS"
57420cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57421/* end confdefs.h.  */
57422
57423/* Override any GCC internal prototype to avoid an error.
57424   Use char because int might match the return type of a GCC
57425   builtin and then its argument prototype would still apply.  */
57426#ifdef __cplusplus
57427extern "C"
57428#endif
57429char EVP_DigestUpdate ();
57430int
57431main ()
57432{
57433return EVP_DigestUpdate ();
57434  ;
57435  return 0;
57436}
57437_ACEOF
57438if ac_fn_c_try_link "$LINENO"; then :
57439  ac_cv_lib_crypto_EVP_DigestUpdate=yes
57440else
57441  ac_cv_lib_crypto_EVP_DigestUpdate=no
57442fi
57443rm -f core conftest.err conftest.$ac_objext \
57444    conftest$ac_exeext conftest.$ac_ext
57445LIBS=$ac_check_lib_save_LIBS
57446fi
57447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
57448$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
57449if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
57450  ac_cv_libcrypto_dummy=yes
57451else
57452  ac_cv_libcrypto_evp_md=no
57453fi
57454
57455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
57456$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
57457if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
57458  $as_echo_n "(cached) " >&6
57459else
57460  ac_check_lib_save_LIBS=$LIBS
57461LIBS="-lcrypto  $LIBS"
57462cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57463/* end confdefs.h.  */
57464
57465/* Override any GCC internal prototype to avoid an error.
57466   Use char because int might match the return type of a GCC
57467   builtin and then its argument prototype would still apply.  */
57468#ifdef __cplusplus
57469extern "C"
57470#endif
57471char EVP_DigestFinal_ex ();
57472int
57473main ()
57474{
57475return EVP_DigestFinal_ex ();
57476  ;
57477  return 0;
57478}
57479_ACEOF
57480if ac_fn_c_try_link "$LINENO"; then :
57481  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
57482else
57483  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
57484fi
57485rm -f core conftest.err conftest.$ac_objext \
57486    conftest$ac_exeext conftest.$ac_ext
57487LIBS=$ac_check_lib_save_LIBS
57488fi
57489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
57490$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
57491if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
57492  ac_cv_libcrypto_dummy=yes
57493else
57494  ac_cv_libcrypto_evp_md=no
57495fi
57496
57497
57498  if test "x$ac_cv_enable_openssl_evp_md" = xyes && test "x$ac_cv_libcrypto_evp_md" = xno; then :
57499  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57501as_fn_error 1 "Missing OpenSSL EVP MD support
57502See \`config.log' for more details" "$LINENO" 5; }
57503
57504fi
57505
57506  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
57507
57508$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
57509
57510
57511fi
57512
57513  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
57514
57515$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
57516
57517
57518fi
57519
57520fi
57521
57522    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
57523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha512 in -lcrypto" >&5
57524$as_echo_n "checking for EVP_sha512 in -lcrypto... " >&6; }
57525if ${ac_cv_lib_crypto_EVP_sha512+:} false; then :
57526  $as_echo_n "(cached) " >&6
57527else
57528  ac_check_lib_save_LIBS=$LIBS
57529LIBS="-lcrypto  $LIBS"
57530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57531/* end confdefs.h.  */
57532
57533/* Override any GCC internal prototype to avoid an error.
57534   Use char because int might match the return type of a GCC
57535   builtin and then its argument prototype would still apply.  */
57536#ifdef __cplusplus
57537extern "C"
57538#endif
57539char EVP_sha512 ();
57540int
57541main ()
57542{
57543return EVP_sha512 ();
57544  ;
57545  return 0;
57546}
57547_ACEOF
57548if ac_fn_c_try_link "$LINENO"; then :
57549  ac_cv_lib_crypto_EVP_sha512=yes
57550else
57551  ac_cv_lib_crypto_EVP_sha512=no
57552fi
57553rm -f core conftest.err conftest.$ac_objext \
57554    conftest$ac_exeext conftest.$ac_ext
57555LIBS=$ac_check_lib_save_LIBS
57556fi
57557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha512" >&5
57558$as_echo "$ac_cv_lib_crypto_EVP_sha512" >&6; }
57559if test "x$ac_cv_lib_crypto_EVP_sha512" = xyes; then :
57560  ac_cv_libcrypto_sha512=libcrypto_evp
57561else
57562  ac_cv_libcrypto_sha512=no
57563fi
57564
57565
57566  if test "x$ac_cv_libcrypto_sha512" = xlibcrypto_evp; then :
57567
57568$as_echo "#define HAVE_EVP_SHA512 1" >>confdefs.h
57569
57570
57571fi
57572
57573fi
57574
57575    if test "x$ac_cv_libcrypto_sha512" = xno; then :
57576  for ac_header in openssl/sha.h
57577do :
57578  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
57579if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
57580  cat >>confdefs.h <<_ACEOF
57581#define HAVE_OPENSSL_SHA_H 1
57582_ACEOF
57583
57584fi
57585
57586done
57587
57588
57589  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
57590  ac_cv_libcrypto_sha512=no
57591else
57592  ac_cv_libcrypto_sha512=libcrypto
57593
57594    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Init in -lcrypto" >&5
57595$as_echo_n "checking for SHA512_Init in -lcrypto... " >&6; }
57596if ${ac_cv_lib_crypto_SHA512_Init+:} false; then :
57597  $as_echo_n "(cached) " >&6
57598else
57599  ac_check_lib_save_LIBS=$LIBS
57600LIBS="-lcrypto  $LIBS"
57601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57602/* end confdefs.h.  */
57603
57604/* Override any GCC internal prototype to avoid an error.
57605   Use char because int might match the return type of a GCC
57606   builtin and then its argument prototype would still apply.  */
57607#ifdef __cplusplus
57608extern "C"
57609#endif
57610char SHA512_Init ();
57611int
57612main ()
57613{
57614return SHA512_Init ();
57615  ;
57616  return 0;
57617}
57618_ACEOF
57619if ac_fn_c_try_link "$LINENO"; then :
57620  ac_cv_lib_crypto_SHA512_Init=yes
57621else
57622  ac_cv_lib_crypto_SHA512_Init=no
57623fi
57624rm -f core conftest.err conftest.$ac_objext \
57625    conftest$ac_exeext conftest.$ac_ext
57626LIBS=$ac_check_lib_save_LIBS
57627fi
57628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Init" >&5
57629$as_echo "$ac_cv_lib_crypto_SHA512_Init" >&6; }
57630if test "x$ac_cv_lib_crypto_SHA512_Init" = xyes; then :
57631  ac_cv_libcrypto_dummy=yes
57632else
57633  ac_cv_libcrypto_sha512=no
57634fi
57635
57636    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Update in -lcrypto" >&5
57637$as_echo_n "checking for SHA512_Update in -lcrypto... " >&6; }
57638if ${ac_cv_lib_crypto_SHA512_Update+:} false; then :
57639  $as_echo_n "(cached) " >&6
57640else
57641  ac_check_lib_save_LIBS=$LIBS
57642LIBS="-lcrypto  $LIBS"
57643cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644/* end confdefs.h.  */
57645
57646/* Override any GCC internal prototype to avoid an error.
57647   Use char because int might match the return type of a GCC
57648   builtin and then its argument prototype would still apply.  */
57649#ifdef __cplusplus
57650extern "C"
57651#endif
57652char SHA512_Update ();
57653int
57654main ()
57655{
57656return SHA512_Update ();
57657  ;
57658  return 0;
57659}
57660_ACEOF
57661if ac_fn_c_try_link "$LINENO"; then :
57662  ac_cv_lib_crypto_SHA512_Update=yes
57663else
57664  ac_cv_lib_crypto_SHA512_Update=no
57665fi
57666rm -f core conftest.err conftest.$ac_objext \
57667    conftest$ac_exeext conftest.$ac_ext
57668LIBS=$ac_check_lib_save_LIBS
57669fi
57670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Update" >&5
57671$as_echo "$ac_cv_lib_crypto_SHA512_Update" >&6; }
57672if test "x$ac_cv_lib_crypto_SHA512_Update" = xyes; then :
57673  ac_cv_libcrypto_dummy=yes
57674else
57675  ac_cv_libcrypto_sha512=no
57676fi
57677
57678    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Final in -lcrypto" >&5
57679$as_echo_n "checking for SHA512_Final in -lcrypto... " >&6; }
57680if ${ac_cv_lib_crypto_SHA512_Final+:} false; then :
57681  $as_echo_n "(cached) " >&6
57682else
57683  ac_check_lib_save_LIBS=$LIBS
57684LIBS="-lcrypto  $LIBS"
57685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57686/* end confdefs.h.  */
57687
57688/* Override any GCC internal prototype to avoid an error.
57689   Use char because int might match the return type of a GCC
57690   builtin and then its argument prototype would still apply.  */
57691#ifdef __cplusplus
57692extern "C"
57693#endif
57694char SHA512_Final ();
57695int
57696main ()
57697{
57698return SHA512_Final ();
57699  ;
57700  return 0;
57701}
57702_ACEOF
57703if ac_fn_c_try_link "$LINENO"; then :
57704  ac_cv_lib_crypto_SHA512_Final=yes
57705else
57706  ac_cv_lib_crypto_SHA512_Final=no
57707fi
57708rm -f core conftest.err conftest.$ac_objext \
57709    conftest$ac_exeext conftest.$ac_ext
57710LIBS=$ac_check_lib_save_LIBS
57711fi
57712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Final" >&5
57713$as_echo "$ac_cv_lib_crypto_SHA512_Final" >&6; }
57714if test "x$ac_cv_lib_crypto_SHA512_Final" = xyes; then :
57715  ac_cv_libcrypto_dummy=yes
57716else
57717  ac_cv_libcrypto_sha512=no
57718fi
57719
57720
57721fi
57722
57723  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha512" = xlibcrypto; then :
57724  ac_cv_libcrypto=yes
57725fi
57726
57727fi
57728
57729fi
57730
57731    if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_md5" = xno; then :
57732  ac_cv_libhmac_md5=local
57733else
57734  ac_cv_libhmac_md5=$ac_cv_libcrypto_md5
57735fi
57736
57737  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha1" = xno; then :
57738  ac_cv_libhmac_sha1=local
57739else
57740  ac_cv_libhmac_sha1=$ac_cv_libcrypto_sha1
57741fi
57742
57743  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha224" = xno; then :
57744  ac_cv_libhmac_sha224=local
57745else
57746  ac_cv_libhmac_sha224=$ac_cv_libcrypto_sha224
57747fi
57748
57749  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha256" = xno; then :
57750  ac_cv_libhmac_sha256=local
57751else
57752  ac_cv_libhmac_sha256=$ac_cv_libcrypto_sha256
57753fi
57754
57755  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha512" = xno; then :
57756  ac_cv_libhmac_sha512=local
57757else
57758  ac_cv_libhmac_sha512=$ac_cv_libcrypto_sha512
57759fi
57760
57761  ac_cv_libhmac_CPPFLAGS="-I../libhmac";
57762  ac_cv_libhmac_LIBADD="../libhmac/libhmac.la";
57763
57764  ac_cv_libhmac=local
57765
57766
57767
57768$as_echo "#define HAVE_LOCAL_LIBHMAC 1" >>confdefs.h
57769
57770    HAVE_LOCAL_LIBHMAC=1
57771
57772
57773fi
57774
57775   if test "x$ac_cv_libhmac" = xlocal; then
57776  HAVE_LOCAL_LIBHMAC_TRUE=
57777  HAVE_LOCAL_LIBHMAC_FALSE='#'
57778else
57779  HAVE_LOCAL_LIBHMAC_TRUE='#'
57780  HAVE_LOCAL_LIBHMAC_FALSE=
57781fi
57782
57783  if test "x$ac_cv_libhmac_CPPFLAGS" != "x"; then :
57784  LIBHMAC_CPPFLAGS=$ac_cv_libhmac_CPPFLAGS
57785
57786
57787fi
57788  if test "x$ac_cv_libhmac_LIBADD" != "x"; then :
57789  LIBHMAC_LIBADD=$ac_cv_libhmac_LIBADD
57790
57791
57792fi
57793
57794  if test "x$ac_cv_libhmac" = xyes; then :
57795  ax_libhmac_pc_libs_private=-lhmac
57796
57797
57798fi
57799
57800  if test "x$ac_cv_libhmac" = xyes; then :
57801  ax_libhmac_spec_requires=libhmac
57802
57803    ax_libhmac_spec_build_requires=libhmac-devel
57804
57805
57806fi
57807
57808
57809
57810
57811# Check whether --with-libcaes was given.
57812if test "${with_libcaes+set}" = set; then :
57813  withval=$with_libcaes; ac_cv_with_libcaes=$withval
57814else
57815  ac_cv_with_libcaes=auto-detect
57816fi
57817
57818    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcaes in includedir and libdir or in the specified DIR, or no if to use local version" >&5
57819$as_echo_n "checking whether to use search for libcaes in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; }
57820if ${ac_cv_with_libcaes+:} false; then :
57821  $as_echo_n "(cached) " >&6
57822else
57823  ac_cv_with_libcaes=auto-detect
57824fi
57825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcaes" >&5
57826$as_echo "$ac_cv_with_libcaes" >&6; }
57827
57828    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcaes" = xno; then :
57829  ac_cv_libcaes=no
57830else
57831  ac_cv_libcaes=check
57832        if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect; then :
57833  if test -d "$ac_cv_with_libcaes"; then :
57834  CFLAGS="$CFLAGS -I${ac_cv_with_libcaes}/include"
57835        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcaes}/lib"
57836else
57837  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57838$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57839as_fn_error 1 "no such directory: $ac_cv_with_libcaes
57840See \`config.log' for more details" "$LINENO" 5; }
57841
57842fi
57843
57844else
57845        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
57846
57847pkg_failed=no
57848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes" >&5
57849$as_echo_n "checking for libcaes... " >&6; }
57850
57851if test -n "$libcaes_CFLAGS"; then
57852    pkg_cv_libcaes_CFLAGS="$libcaes_CFLAGS"
57853 elif test -n "$PKG_CONFIG"; then
57854    if test -n "$PKG_CONFIG" && \
57855    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5
57856  ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5
57857  ac_status=$?
57858  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
57859  test $ac_status = 0; }; then
57860  pkg_cv_libcaes_CFLAGS=`$PKG_CONFIG --cflags "libcaes >= 20161025" 2>/dev/null`
57861		      test "x$?" != "x0" && pkg_failed=yes
57862else
57863  pkg_failed=yes
57864fi
57865 else
57866    pkg_failed=untried
57867fi
57868if test -n "$libcaes_LIBS"; then
57869    pkg_cv_libcaes_LIBS="$libcaes_LIBS"
57870 elif test -n "$PKG_CONFIG"; then
57871    if test -n "$PKG_CONFIG" && \
57872    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5
57873  ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5
57874  ac_status=$?
57875  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
57876  test $ac_status = 0; }; then
57877  pkg_cv_libcaes_LIBS=`$PKG_CONFIG --libs "libcaes >= 20161025" 2>/dev/null`
57878		      test "x$?" != "x0" && pkg_failed=yes
57879else
57880  pkg_failed=yes
57881fi
57882 else
57883    pkg_failed=untried
57884fi
57885
57886
57887
57888if test $pkg_failed = yes; then
57889   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57890$as_echo "no" >&6; }
57891
57892if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
57893        _pkg_short_errors_supported=yes
57894else
57895        _pkg_short_errors_supported=no
57896fi
57897        if test $_pkg_short_errors_supported = yes; then
57898	        libcaes_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcaes >= 20161025" 2>&1`
57899        else
57900	        libcaes_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcaes >= 20161025" 2>&1`
57901        fi
57902	# Put the nasty error message in config.log where it belongs
57903	echo "$libcaes_PKG_ERRORS" >&5
57904
57905	ac_cv_libcaes=check
57906elif test $pkg_failed = untried; then
57907     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57908$as_echo "no" >&6; }
57909	ac_cv_libcaes=check
57910else
57911	libcaes_CFLAGS=$pkg_cv_libcaes_CFLAGS
57912	libcaes_LIBS=$pkg_cv_libcaes_LIBS
57913        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
57914$as_echo "yes" >&6; }
57915	ac_cv_libcaes=yes
57916fi
57917
57918fi
57919      if test "x$ac_cv_libcaes" = xyes; then :
57920  ac_cv_libcaes_CPPFLAGS="$pkg_cv_libcaes_CFLAGS"
57921        ac_cv_libcaes_LIBADD="$pkg_cv_libcaes_LIBS"
57922fi
57923
57924fi
57925
57926    if test "x$ac_cv_libcaes" = xcheck; then :
57927        for ac_header in libcaes.h
57928do :
57929  ac_fn_c_check_header_mongrel "$LINENO" "libcaes.h" "ac_cv_header_libcaes_h" "$ac_includes_default"
57930if test "x$ac_cv_header_libcaes_h" = xyes; then :
57931  cat >>confdefs.h <<_ACEOF
57932#define HAVE_LIBCAES_H 1
57933_ACEOF
57934
57935fi
57936
57937done
57938
57939
57940      if test "x$ac_cv_header_libcaes_h" = xno; then :
57941  ac_cv_libcaes=no
57942else
57943          ac_cv_libcaes=yes
57944
57945        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_get_version in -lcaes" >&5
57946$as_echo_n "checking for libcaes_get_version in -lcaes... " >&6; }
57947if ${ac_cv_lib_caes_libcaes_get_version+:} false; then :
57948  $as_echo_n "(cached) " >&6
57949else
57950  ac_check_lib_save_LIBS=$LIBS
57951LIBS="-lcaes  $LIBS"
57952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57953/* end confdefs.h.  */
57954
57955/* Override any GCC internal prototype to avoid an error.
57956   Use char because int might match the return type of a GCC
57957   builtin and then its argument prototype would still apply.  */
57958#ifdef __cplusplus
57959extern "C"
57960#endif
57961char libcaes_get_version ();
57962int
57963main ()
57964{
57965return libcaes_get_version ();
57966  ;
57967  return 0;
57968}
57969_ACEOF
57970if ac_fn_c_try_link "$LINENO"; then :
57971  ac_cv_lib_caes_libcaes_get_version=yes
57972else
57973  ac_cv_lib_caes_libcaes_get_version=no
57974fi
57975rm -f core conftest.err conftest.$ac_objext \
57976    conftest$ac_exeext conftest.$ac_ext
57977LIBS=$ac_check_lib_save_LIBS
57978fi
57979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_get_version" >&5
57980$as_echo "$ac_cv_lib_caes_libcaes_get_version" >&6; }
57981if test "x$ac_cv_lib_caes_libcaes_get_version" = xyes; then :
57982  ac_cv_libcaes_dummy=yes
57983else
57984  ac_cv_libcaes=no
57985fi
57986
57987
57988                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_initialize in -lcaes" >&5
57989$as_echo_n "checking for libcaes_context_initialize in -lcaes... " >&6; }
57990if ${ac_cv_lib_caes_libcaes_context_initialize+:} false; then :
57991  $as_echo_n "(cached) " >&6
57992else
57993  ac_check_lib_save_LIBS=$LIBS
57994LIBS="-lcaes  $LIBS"
57995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57996/* end confdefs.h.  */
57997
57998/* Override any GCC internal prototype to avoid an error.
57999   Use char because int might match the return type of a GCC
58000   builtin and then its argument prototype would still apply.  */
58001#ifdef __cplusplus
58002extern "C"
58003#endif
58004char libcaes_context_initialize ();
58005int
58006main ()
58007{
58008return libcaes_context_initialize ();
58009  ;
58010  return 0;
58011}
58012_ACEOF
58013if ac_fn_c_try_link "$LINENO"; then :
58014  ac_cv_lib_caes_libcaes_context_initialize=yes
58015else
58016  ac_cv_lib_caes_libcaes_context_initialize=no
58017fi
58018rm -f core conftest.err conftest.$ac_objext \
58019    conftest$ac_exeext conftest.$ac_ext
58020LIBS=$ac_check_lib_save_LIBS
58021fi
58022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_initialize" >&5
58023$as_echo "$ac_cv_lib_caes_libcaes_context_initialize" >&6; }
58024if test "x$ac_cv_lib_caes_libcaes_context_initialize" = xyes; then :
58025  ac_cv_libcaes_dummy=yes
58026else
58027  ac_cv_libcaes=no
58028fi
58029
58030        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_free in -lcaes" >&5
58031$as_echo_n "checking for libcaes_context_free in -lcaes... " >&6; }
58032if ${ac_cv_lib_caes_libcaes_context_free+:} false; then :
58033  $as_echo_n "(cached) " >&6
58034else
58035  ac_check_lib_save_LIBS=$LIBS
58036LIBS="-lcaes  $LIBS"
58037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58038/* end confdefs.h.  */
58039
58040/* Override any GCC internal prototype to avoid an error.
58041   Use char because int might match the return type of a GCC
58042   builtin and then its argument prototype would still apply.  */
58043#ifdef __cplusplus
58044extern "C"
58045#endif
58046char libcaes_context_free ();
58047int
58048main ()
58049{
58050return libcaes_context_free ();
58051  ;
58052  return 0;
58053}
58054_ACEOF
58055if ac_fn_c_try_link "$LINENO"; then :
58056  ac_cv_lib_caes_libcaes_context_free=yes
58057else
58058  ac_cv_lib_caes_libcaes_context_free=no
58059fi
58060rm -f core conftest.err conftest.$ac_objext \
58061    conftest$ac_exeext conftest.$ac_ext
58062LIBS=$ac_check_lib_save_LIBS
58063fi
58064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_free" >&5
58065$as_echo "$ac_cv_lib_caes_libcaes_context_free" >&6; }
58066if test "x$ac_cv_lib_caes_libcaes_context_free" = xyes; then :
58067  ac_cv_libcaes_dummy=yes
58068else
58069  ac_cv_libcaes=no
58070fi
58071
58072        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_set_key in -lcaes" >&5
58073$as_echo_n "checking for libcaes_context_set_key in -lcaes... " >&6; }
58074if ${ac_cv_lib_caes_libcaes_context_set_key+:} false; then :
58075  $as_echo_n "(cached) " >&6
58076else
58077  ac_check_lib_save_LIBS=$LIBS
58078LIBS="-lcaes  $LIBS"
58079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58080/* end confdefs.h.  */
58081
58082/* Override any GCC internal prototype to avoid an error.
58083   Use char because int might match the return type of a GCC
58084   builtin and then its argument prototype would still apply.  */
58085#ifdef __cplusplus
58086extern "C"
58087#endif
58088char libcaes_context_set_key ();
58089int
58090main ()
58091{
58092return libcaes_context_set_key ();
58093  ;
58094  return 0;
58095}
58096_ACEOF
58097if ac_fn_c_try_link "$LINENO"; then :
58098  ac_cv_lib_caes_libcaes_context_set_key=yes
58099else
58100  ac_cv_lib_caes_libcaes_context_set_key=no
58101fi
58102rm -f core conftest.err conftest.$ac_objext \
58103    conftest$ac_exeext conftest.$ac_ext
58104LIBS=$ac_check_lib_save_LIBS
58105fi
58106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_set_key" >&5
58107$as_echo "$ac_cv_lib_caes_libcaes_context_set_key" >&6; }
58108if test "x$ac_cv_lib_caes_libcaes_context_set_key" = xyes; then :
58109  ac_cv_libcaes_dummy=yes
58110else
58111  ac_cv_libcaes=no
58112fi
58113
58114
58115                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_initialize in -lcaes" >&5
58116$as_echo_n "checking for libcaes_tweaked_context_initialize in -lcaes... " >&6; }
58117if ${ac_cv_lib_caes_libcaes_tweaked_context_initialize+:} false; then :
58118  $as_echo_n "(cached) " >&6
58119else
58120  ac_check_lib_save_LIBS=$LIBS
58121LIBS="-lcaes  $LIBS"
58122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58123/* end confdefs.h.  */
58124
58125/* Override any GCC internal prototype to avoid an error.
58126   Use char because int might match the return type of a GCC
58127   builtin and then its argument prototype would still apply.  */
58128#ifdef __cplusplus
58129extern "C"
58130#endif
58131char libcaes_tweaked_context_initialize ();
58132int
58133main ()
58134{
58135return libcaes_tweaked_context_initialize ();
58136  ;
58137  return 0;
58138}
58139_ACEOF
58140if ac_fn_c_try_link "$LINENO"; then :
58141  ac_cv_lib_caes_libcaes_tweaked_context_initialize=yes
58142else
58143  ac_cv_lib_caes_libcaes_tweaked_context_initialize=no
58144fi
58145rm -f core conftest.err conftest.$ac_objext \
58146    conftest$ac_exeext conftest.$ac_ext
58147LIBS=$ac_check_lib_save_LIBS
58148fi
58149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&5
58150$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&6; }
58151if test "x$ac_cv_lib_caes_libcaes_tweaked_context_initialize" = xyes; then :
58152  ac_cv_libcaes_dummy=yes
58153else
58154  ac_cv_libcaes=no
58155fi
58156
58157        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_free in -lcaes" >&5
58158$as_echo_n "checking for libcaes_tweaked_context_free in -lcaes... " >&6; }
58159if ${ac_cv_lib_caes_libcaes_tweaked_context_free+:} false; then :
58160  $as_echo_n "(cached) " >&6
58161else
58162  ac_check_lib_save_LIBS=$LIBS
58163LIBS="-lcaes  $LIBS"
58164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58165/* end confdefs.h.  */
58166
58167/* Override any GCC internal prototype to avoid an error.
58168   Use char because int might match the return type of a GCC
58169   builtin and then its argument prototype would still apply.  */
58170#ifdef __cplusplus
58171extern "C"
58172#endif
58173char libcaes_tweaked_context_free ();
58174int
58175main ()
58176{
58177return libcaes_tweaked_context_free ();
58178  ;
58179  return 0;
58180}
58181_ACEOF
58182if ac_fn_c_try_link "$LINENO"; then :
58183  ac_cv_lib_caes_libcaes_tweaked_context_free=yes
58184else
58185  ac_cv_lib_caes_libcaes_tweaked_context_free=no
58186fi
58187rm -f core conftest.err conftest.$ac_objext \
58188    conftest$ac_exeext conftest.$ac_ext
58189LIBS=$ac_check_lib_save_LIBS
58190fi
58191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_free" >&5
58192$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_free" >&6; }
58193if test "x$ac_cv_lib_caes_libcaes_tweaked_context_free" = xyes; then :
58194  ac_cv_libcaes_dummy=yes
58195else
58196  ac_cv_libcaes=no
58197fi
58198
58199        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_set_keys in -lcaes" >&5
58200$as_echo_n "checking for libcaes_tweaked_context_set_keys in -lcaes... " >&6; }
58201if ${ac_cv_lib_caes_libcaes_tweaked_context_set_keys+:} false; then :
58202  $as_echo_n "(cached) " >&6
58203else
58204  ac_check_lib_save_LIBS=$LIBS
58205LIBS="-lcaes  $LIBS"
58206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58207/* end confdefs.h.  */
58208
58209/* Override any GCC internal prototype to avoid an error.
58210   Use char because int might match the return type of a GCC
58211   builtin and then its argument prototype would still apply.  */
58212#ifdef __cplusplus
58213extern "C"
58214#endif
58215char libcaes_tweaked_context_set_keys ();
58216int
58217main ()
58218{
58219return libcaes_tweaked_context_set_keys ();
58220  ;
58221  return 0;
58222}
58223_ACEOF
58224if ac_fn_c_try_link "$LINENO"; then :
58225  ac_cv_lib_caes_libcaes_tweaked_context_set_keys=yes
58226else
58227  ac_cv_lib_caes_libcaes_tweaked_context_set_keys=no
58228fi
58229rm -f core conftest.err conftest.$ac_objext \
58230    conftest$ac_exeext conftest.$ac_ext
58231LIBS=$ac_check_lib_save_LIBS
58232fi
58233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&5
58234$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&6; }
58235if test "x$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" = xyes; then :
58236  ac_cv_libcaes_dummy=yes
58237else
58238  ac_cv_libcaes=no
58239fi
58240
58241
58242                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_cbc in -lcaes" >&5
58243$as_echo_n "checking for libcaes_crypt_cbc in -lcaes... " >&6; }
58244if ${ac_cv_lib_caes_libcaes_crypt_cbc+:} false; then :
58245  $as_echo_n "(cached) " >&6
58246else
58247  ac_check_lib_save_LIBS=$LIBS
58248LIBS="-lcaes  $LIBS"
58249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58250/* end confdefs.h.  */
58251
58252/* Override any GCC internal prototype to avoid an error.
58253   Use char because int might match the return type of a GCC
58254   builtin and then its argument prototype would still apply.  */
58255#ifdef __cplusplus
58256extern "C"
58257#endif
58258char libcaes_crypt_cbc ();
58259int
58260main ()
58261{
58262return libcaes_crypt_cbc ();
58263  ;
58264  return 0;
58265}
58266_ACEOF
58267if ac_fn_c_try_link "$LINENO"; then :
58268  ac_cv_lib_caes_libcaes_crypt_cbc=yes
58269else
58270  ac_cv_lib_caes_libcaes_crypt_cbc=no
58271fi
58272rm -f core conftest.err conftest.$ac_objext \
58273    conftest$ac_exeext conftest.$ac_ext
58274LIBS=$ac_check_lib_save_LIBS
58275fi
58276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_cbc" >&5
58277$as_echo "$ac_cv_lib_caes_libcaes_crypt_cbc" >&6; }
58278if test "x$ac_cv_lib_caes_libcaes_crypt_cbc" = xyes; then :
58279  ac_cv_libcaes_dummy=yes
58280else
58281  ac_cv_libcaes=no
58282fi
58283
58284        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ccm in -lcaes" >&5
58285$as_echo_n "checking for libcaes_crypt_ccm in -lcaes... " >&6; }
58286if ${ac_cv_lib_caes_libcaes_crypt_ccm+:} false; then :
58287  $as_echo_n "(cached) " >&6
58288else
58289  ac_check_lib_save_LIBS=$LIBS
58290LIBS="-lcaes  $LIBS"
58291cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58292/* end confdefs.h.  */
58293
58294/* Override any GCC internal prototype to avoid an error.
58295   Use char because int might match the return type of a GCC
58296   builtin and then its argument prototype would still apply.  */
58297#ifdef __cplusplus
58298extern "C"
58299#endif
58300char libcaes_crypt_ccm ();
58301int
58302main ()
58303{
58304return libcaes_crypt_ccm ();
58305  ;
58306  return 0;
58307}
58308_ACEOF
58309if ac_fn_c_try_link "$LINENO"; then :
58310  ac_cv_lib_caes_libcaes_crypt_ccm=yes
58311else
58312  ac_cv_lib_caes_libcaes_crypt_ccm=no
58313fi
58314rm -f core conftest.err conftest.$ac_objext \
58315    conftest$ac_exeext conftest.$ac_ext
58316LIBS=$ac_check_lib_save_LIBS
58317fi
58318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ccm" >&5
58319$as_echo "$ac_cv_lib_caes_libcaes_crypt_ccm" >&6; }
58320if test "x$ac_cv_lib_caes_libcaes_crypt_ccm" = xyes; then :
58321  ac_cv_libcaes_dummy=yes
58322else
58323  ac_cv_libcaes=no
58324fi
58325
58326        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ecb in -lcaes" >&5
58327$as_echo_n "checking for libcaes_crypt_ecb in -lcaes... " >&6; }
58328if ${ac_cv_lib_caes_libcaes_crypt_ecb+:} false; then :
58329  $as_echo_n "(cached) " >&6
58330else
58331  ac_check_lib_save_LIBS=$LIBS
58332LIBS="-lcaes  $LIBS"
58333cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58334/* end confdefs.h.  */
58335
58336/* Override any GCC internal prototype to avoid an error.
58337   Use char because int might match the return type of a GCC
58338   builtin and then its argument prototype would still apply.  */
58339#ifdef __cplusplus
58340extern "C"
58341#endif
58342char libcaes_crypt_ecb ();
58343int
58344main ()
58345{
58346return libcaes_crypt_ecb ();
58347  ;
58348  return 0;
58349}
58350_ACEOF
58351if ac_fn_c_try_link "$LINENO"; then :
58352  ac_cv_lib_caes_libcaes_crypt_ecb=yes
58353else
58354  ac_cv_lib_caes_libcaes_crypt_ecb=no
58355fi
58356rm -f core conftest.err conftest.$ac_objext \
58357    conftest$ac_exeext conftest.$ac_ext
58358LIBS=$ac_check_lib_save_LIBS
58359fi
58360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ecb" >&5
58361$as_echo "$ac_cv_lib_caes_libcaes_crypt_ecb" >&6; }
58362if test "x$ac_cv_lib_caes_libcaes_crypt_ecb" = xyes; then :
58363  ac_cv_libcaes_dummy=yes
58364else
58365  ac_cv_libcaes=no
58366fi
58367
58368        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_xts in -lcaes" >&5
58369$as_echo_n "checking for libcaes_crypt_xts in -lcaes... " >&6; }
58370if ${ac_cv_lib_caes_libcaes_crypt_xts+:} false; then :
58371  $as_echo_n "(cached) " >&6
58372else
58373  ac_check_lib_save_LIBS=$LIBS
58374LIBS="-lcaes  $LIBS"
58375cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58376/* end confdefs.h.  */
58377
58378/* Override any GCC internal prototype to avoid an error.
58379   Use char because int might match the return type of a GCC
58380   builtin and then its argument prototype would still apply.  */
58381#ifdef __cplusplus
58382extern "C"
58383#endif
58384char libcaes_crypt_xts ();
58385int
58386main ()
58387{
58388return libcaes_crypt_xts ();
58389  ;
58390  return 0;
58391}
58392_ACEOF
58393if ac_fn_c_try_link "$LINENO"; then :
58394  ac_cv_lib_caes_libcaes_crypt_xts=yes
58395else
58396  ac_cv_lib_caes_libcaes_crypt_xts=no
58397fi
58398rm -f core conftest.err conftest.$ac_objext \
58399    conftest$ac_exeext conftest.$ac_ext
58400LIBS=$ac_check_lib_save_LIBS
58401fi
58402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_xts" >&5
58403$as_echo "$ac_cv_lib_caes_libcaes_crypt_xts" >&6; }
58404if test "x$ac_cv_lib_caes_libcaes_crypt_xts" = xyes; then :
58405  ac_cv_libcaes_dummy=yes
58406else
58407  ac_cv_libcaes=no
58408fi
58409
58410
58411        ac_cv_libcaes_LIBADD="-lcaes"
58412fi
58413
58414fi
58415    if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect && test "x$ac_cv_libcaes" != xyes; then :
58416  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58417$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58418as_fn_error 1 "unable to find supported libcaes in directory: $ac_cv_with_libcaes
58419See \`config.log' for more details" "$LINENO" 5; }
58420
58421fi
58422
58423fi
58424
58425  if test "x$ac_cv_libcaes" = xyes; then :
58426
58427$as_echo "#define HAVE_LIBCAES 1" >>confdefs.h
58428
58429
58430fi
58431
58432  if test "x$ac_cv_libcaes" = xyes; then :
58433  ac_cv_libcaes_aes=libcaes
58434else
58435  ac_cv_libcaes_aes=no
58436fi
58437
58438  if test "x$ac_cv_libcaes" = xyes; then :
58439  HAVE_LIBCAES=1
58440
58441else
58442  HAVE_LIBCAES=0
58443
58444
58445fi
58446
58447
58448    if test "x$ac_cv_libcaes" != xyes; then :
58449
58450
58451# Check whether --with-openssl was given.
58452if test "${with_openssl+set}" = set; then :
58453  withval=$with_openssl; ac_cv_with_openssl=$withval
58454else
58455  ac_cv_with_openssl=auto-detect
58456fi
58457
58458    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for OpenSSL in includedir and libdir or in the specified DIR, or no if not to use OpenSSL" >&5
58459$as_echo_n "checking whether to use search for OpenSSL in includedir and libdir or in the specified DIR, or no if not to use OpenSSL... " >&6; }
58460if ${ac_cv_with_openssl+:} false; then :
58461  $as_echo_n "(cached) " >&6
58462else
58463  ac_cv_with_openssl=auto-detect
58464fi
58465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_openssl" >&5
58466$as_echo "$ac_cv_with_openssl" >&6; }
58467
58468
58469  # Check whether --enable-openssl-evp-cipher was given.
58470if test "${enable_openssl_evp_cipher+set}" = set; then :
58471  enableval=$enable_openssl_evp_cipher; ac_cv_enable_openssl_evp_cipher=$enableval
58472else
58473  ac_cv_enable_openssl_evp_cipher=auto-detect
58474fi
58475
58476    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable" >&5
58477$as_echo_n "checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable... " >&6; }
58478if ${ac_cv_enable_openssl_evp_cipher+:} false; then :
58479  $as_echo_n "(cached) " >&6
58480else
58481  ac_cv_enable_openssl_evp_cipher=auto-detect
58482fi
58483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_cipher" >&5
58484$as_echo "$ac_cv_enable_openssl_evp_cipher" >&6; }
58485
58486
58487  # Check whether --enable-openssl-evp-md was given.
58488if test "${enable_openssl_evp_md+set}" = set; then :
58489  enableval=$enable_openssl_evp_md; ac_cv_enable_openssl_evp_md=$enableval
58490else
58491  ac_cv_enable_openssl_evp_md=auto-detect
58492fi
58493
58494    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP MD support, or no to disable" >&5
58495$as_echo_n "checking whether to enable enable OpenSSL EVP MD support, or no to disable... " >&6; }
58496if ${ac_cv_enable_openssl_evp_md+:} false; then :
58497  $as_echo_n "(cached) " >&6
58498else
58499  ac_cv_enable_openssl_evp_md=auto-detect
58500fi
58501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_md" >&5
58502$as_echo "$ac_cv_enable_openssl_evp_md" >&6; }
58503
58504  if test "x$ac_cv_enable_static_executables" != xyes; then :
58505      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_openssl" = xno; then :
58506  ac_cv_libcrypto=no
58507else
58508      if test "x$ac_cv_with_openssl" != x && test "x$ac_cv_with_openssl" != xauto-detect; then :
58509  if test -d "$ac_cv_with_openssl"; then :
58510  CFLAGS="$CFLAGS -I${ac_cv_with_openssl}/include"
58511        LDFLAGS="$LDFLAGS -L${ac_cv_with_openssl}/lib"
58512else
58513  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58515as_fn_error 1 "no such directory: $ac_cv_with_openssl
58516See \`config.log' for more details" "$LINENO" 5; }
58517
58518fi
58519else
58520        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
58521
58522pkg_failed=no
58523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
58524$as_echo_n "checking for openssl... " >&6; }
58525
58526if test -n "$openssl_CFLAGS"; then
58527    pkg_cv_openssl_CFLAGS="$openssl_CFLAGS"
58528 elif test -n "$PKG_CONFIG"; then
58529    if test -n "$PKG_CONFIG" && \
58530    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
58531  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
58532  ac_status=$?
58533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
58534  test $ac_status = 0; }; then
58535  pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
58536		      test "x$?" != "x0" && pkg_failed=yes
58537else
58538  pkg_failed=yes
58539fi
58540 else
58541    pkg_failed=untried
58542fi
58543if test -n "$openssl_LIBS"; then
58544    pkg_cv_openssl_LIBS="$openssl_LIBS"
58545 elif test -n "$PKG_CONFIG"; then
58546    if test -n "$PKG_CONFIG" && \
58547    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
58548  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
58549  ac_status=$?
58550  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
58551  test $ac_status = 0; }; then
58552  pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
58553		      test "x$?" != "x0" && pkg_failed=yes
58554else
58555  pkg_failed=yes
58556fi
58557 else
58558    pkg_failed=untried
58559fi
58560
58561
58562
58563if test $pkg_failed = yes; then
58564   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
58565$as_echo "no" >&6; }
58566
58567if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
58568        _pkg_short_errors_supported=yes
58569else
58570        _pkg_short_errors_supported=no
58571fi
58572        if test $_pkg_short_errors_supported = yes; then
58573	        openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
58574        else
58575	        openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
58576        fi
58577	# Put the nasty error message in config.log where it belongs
58578	echo "$openssl_PKG_ERRORS" >&5
58579
58580	ac_cv_libcrypto=no
58581          ac_cv_libcrypto_evp=no
58582elif test $pkg_failed = untried; then
58583     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
58584$as_echo "no" >&6; }
58585	ac_cv_libcrypto=no
58586          ac_cv_libcrypto_evp=no
58587else
58588	openssl_CFLAGS=$pkg_cv_openssl_CFLAGS
58589	openssl_LIBS=$pkg_cv_openssl_LIBS
58590        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
58591$as_echo "yes" >&6; }
58592	ac_cv_libcrypto=yes
58593          ac_cv_libcrypto_evp=yes
58594fi
58595
58596fi
58597      if test "x$ac_cv_libcrypto" = xyes; then :
58598  ac_cv_libcrypto_CPPFLAGS="$pkg_cv_openssl_CFLAGS"
58599        ac_cv_libcrypto_LIBADD="$pkg_cv_openssl_LIBS"
58600fi
58601
58602fi
58603
58604    if test "x$ac_cv_libcrypto" != xyes; then :
58605        for ac_header in openssl/opensslv.h
58606do :
58607  ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
58608if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
58609  cat >>confdefs.h <<_ACEOF
58610#define HAVE_OPENSSL_OPENSSLV_H 1
58611_ACEOF
58612
58613fi
58614
58615done
58616
58617
58618      for ac_header in openssl/evp.h
58619do :
58620  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
58621if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
58622  cat >>confdefs.h <<_ACEOF
58623#define HAVE_OPENSSL_EVP_H 1
58624_ACEOF
58625
58626fi
58627
58628done
58629
58630
58631  if test "x$ac_cv_header_openssl_evp_h" = xno; then :
58632  ac_cv_libcrypto=no
58633    ac_cv_libcrypto_evp=no
58634else
58635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl/evp.h can be used in combination with zlib.h" >&5
58636$as_echo_n "checking if openssl/evp.h can be used in combination with zlib.h... " >&6; }
58637if ${ac_cv_openssl_evp_zlib_compatible+:} false; then :
58638  $as_echo_n "(cached) " >&6
58639else
58640  ac_ext=c
58641ac_cpp='$CPP $CPPFLAGS'
58642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58644ac_compiler_gnu=$ac_cv_c_compiler_gnu
58645
58646    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58647/* end confdefs.h.  */
58648#include <zlib.h>
58649#include <openssl/evp.h>
58650int
58651main ()
58652{
58653
58654  ;
58655  return 0;
58656}
58657_ACEOF
58658if ac_fn_c_try_link "$LINENO"; then :
58659  ac_cv_openssl_evp_zlib_compatible=yes
58660else
58661  ac_cv_openssl_evp_zlib_compatible=no
58662fi
58663rm -f core conftest.err conftest.$ac_objext \
58664    conftest$ac_exeext conftest.$ac_ext
58665    ac_ext=c
58666ac_cpp='$CPP $CPPFLAGS'
58667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669ac_compiler_gnu=$ac_cv_c_compiler_gnu
58670
58671fi
58672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_evp_zlib_compatible" >&5
58673$as_echo "$ac_cv_openssl_evp_zlib_compatible" >&6; }
58674
58675
58676    if test "x$ac_cv_openssl_evp_zlib_compatible" = xyes; then :
58677  ac_cv_libcrypto=yes
58678      ac_cv_libcrypto_evp=yes
58679else
58680  ac_cv_libcrypto=no
58681      ac_cv_libcrypto_evp=no
58682fi
58683
58684fi
58685
58686
58687      if test "x$ac_cv_libcrypto_evp" != xyes && test "$ac_cv_header_openssl_opensslv" = xyes; then :
58688  ac_cv_libcrypto=yes
58689fi
58690
58691fi
58692
58693        if test "x$ac_cv_libcrypto" = xyes && test "x$ac_cv_libcrypto_evp" = xyes; then :
58694
58695$as_echo "#define HAVE_OPENSSL_EVP_H 1" >>confdefs.h
58696
58697      HAVE_OPENSSL_EVP_H=1
58698
58699else
58700  HAVE_OPENSSL_EVP_H=0
58701
58702
58703fi
58704
58705    if test "x$ac_cv_libcrypto" != xno; then :
58706
58707$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
58708
58709
58710      ac_cv_libcrypto_LIBADD="-lcrypto"
58711
58712            case $host in #(
58713  *cygwin*) :
58714    ac_cv_libcrypto_LIBADD="-lcrypto -lz" ;; #(
58715  *) :
58716     ;;
58717esac
58718
58719            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
58720$as_echo_n "checking for dlopen in -ldl... " >&6; }
58721if ${ac_cv_lib_dl_dlopen+:} false; then :
58722  $as_echo_n "(cached) " >&6
58723else
58724  ac_check_lib_save_LIBS=$LIBS
58725LIBS="-ldl  $LIBS"
58726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58727/* end confdefs.h.  */
58728
58729/* Override any GCC internal prototype to avoid an error.
58730   Use char because int might match the return type of a GCC
58731   builtin and then its argument prototype would still apply.  */
58732#ifdef __cplusplus
58733extern "C"
58734#endif
58735char dlopen ();
58736int
58737main ()
58738{
58739return dlopen ();
58740  ;
58741  return 0;
58742}
58743_ACEOF
58744if ac_fn_c_try_link "$LINENO"; then :
58745  ac_cv_lib_dl_dlopen=yes
58746else
58747  ac_cv_lib_dl_dlopen=no
58748fi
58749rm -f core conftest.err conftest.$ac_objext \
58750    conftest$ac_exeext conftest.$ac_ext
58751LIBS=$ac_check_lib_save_LIBS
58752fi
58753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
58754$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
58755if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
58756  LIBDL_LIBADD="-ldl"
58757
58758fi
58759
58760
58761fi
58762
58763fi
58764
58765fi
58766
58767  if test "x$ac_cv_libcrypto_CPPFLAGS" != "x"; then :
58768  LIBCRYPTO_CPPFLAGS=$ac_cv_libcrypto_CPPFLAGS
58769
58770
58771fi
58772  if test "x$ac_cv_libcrypto_LIBADD" != "x"; then :
58773  LIBCRYPTO_LIBADD=$ac_cv_libcrypto_LIBADD
58774
58775
58776fi
58777
58778  if test "x$ac_cv_libcrypto" != xno; then :
58779  ax_libcrypto_pc_libs_private=-lcrypto
58780
58781
58782fi
58783
58784  if test "x$ac_cv_libcrypto" != xno; then :
58785  ax_libcrypto_spec_requires=openssl
58786
58787    ax_libcrypto_spec_build_requires=openssl-devel
58788
58789
58790fi
58791
58792
58793  if test "x$ac_cv_libcrypto" != xno; then :
58794    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_cipher" != xno && test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
58795  ac_cv_libcrypto_evp_cipher=yes
58796
58797    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
58798$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
58799if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
58800  $as_echo_n "(cached) " >&6
58801else
58802  ac_check_lib_save_LIBS=$LIBS
58803LIBS="-lcrypto  $LIBS"
58804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58805/* end confdefs.h.  */
58806
58807/* Override any GCC internal prototype to avoid an error.
58808   Use char because int might match the return type of a GCC
58809   builtin and then its argument prototype would still apply.  */
58810#ifdef __cplusplus
58811extern "C"
58812#endif
58813char EVP_CIPHER_CTX_new ();
58814int
58815main ()
58816{
58817return EVP_CIPHER_CTX_new ();
58818  ;
58819  return 0;
58820}
58821_ACEOF
58822if ac_fn_c_try_link "$LINENO"; then :
58823  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
58824else
58825  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
58826fi
58827rm -f core conftest.err conftest.$ac_objext \
58828    conftest$ac_exeext conftest.$ac_ext
58829LIBS=$ac_check_lib_save_LIBS
58830fi
58831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
58832$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
58833if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
58834  ac_cv_libcrypto_dummy=yes
58835else
58836  ac_cv_libcrypto_dummy=no
58837fi
58838
58839
58840  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
58841      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
58842$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
58843if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
58844  $as_echo_n "(cached) " >&6
58845else
58846  ac_check_lib_save_LIBS=$LIBS
58847LIBS="-lcrypto  $LIBS"
58848cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58849/* end confdefs.h.  */
58850
58851/* Override any GCC internal prototype to avoid an error.
58852   Use char because int might match the return type of a GCC
58853   builtin and then its argument prototype would still apply.  */
58854#ifdef __cplusplus
58855extern "C"
58856#endif
58857char EVP_CIPHER_CTX_free ();
58858int
58859main ()
58860{
58861return EVP_CIPHER_CTX_free ();
58862  ;
58863  return 0;
58864}
58865_ACEOF
58866if ac_fn_c_try_link "$LINENO"; then :
58867  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
58868else
58869  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
58870fi
58871rm -f core conftest.err conftest.$ac_objext \
58872    conftest$ac_exeext conftest.$ac_ext
58873LIBS=$ac_check_lib_save_LIBS
58874fi
58875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
58876$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
58877if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
58878  ac_cv_libcrypto_dummy=yes
58879else
58880  ac_cv_libcrypto_evp_cipher=no
58881fi
58882
58883
58884else
58885      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
58886$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
58887if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
58888  $as_echo_n "(cached) " >&6
58889else
58890  ac_check_lib_save_LIBS=$LIBS
58891LIBS="-lcrypto  $LIBS"
58892cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58893/* end confdefs.h.  */
58894
58895/* Override any GCC internal prototype to avoid an error.
58896   Use char because int might match the return type of a GCC
58897   builtin and then its argument prototype would still apply.  */
58898#ifdef __cplusplus
58899extern "C"
58900#endif
58901char EVP_CIPHER_CTX_init ();
58902int
58903main ()
58904{
58905return EVP_CIPHER_CTX_init ();
58906  ;
58907  return 0;
58908}
58909_ACEOF
58910if ac_fn_c_try_link "$LINENO"; then :
58911  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
58912else
58913  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
58914fi
58915rm -f core conftest.err conftest.$ac_objext \
58916    conftest$ac_exeext conftest.$ac_ext
58917LIBS=$ac_check_lib_save_LIBS
58918fi
58919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
58920$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
58921if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
58922  ac_cv_libcrypto_dummy=yes
58923else
58924  ac_cv_libcrypto_evp_cipher=no
58925fi
58926
58927    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
58928$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
58929if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
58930  $as_echo_n "(cached) " >&6
58931else
58932  ac_check_lib_save_LIBS=$LIBS
58933LIBS="-lcrypto  $LIBS"
58934cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58935/* end confdefs.h.  */
58936
58937/* Override any GCC internal prototype to avoid an error.
58938   Use char because int might match the return type of a GCC
58939   builtin and then its argument prototype would still apply.  */
58940#ifdef __cplusplus
58941extern "C"
58942#endif
58943char EVP_CIPHER_CTX_cleanup ();
58944int
58945main ()
58946{
58947return EVP_CIPHER_CTX_cleanup ();
58948  ;
58949  return 0;
58950}
58951_ACEOF
58952if ac_fn_c_try_link "$LINENO"; then :
58953  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
58954else
58955  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
58956fi
58957rm -f core conftest.err conftest.$ac_objext \
58958    conftest$ac_exeext conftest.$ac_ext
58959LIBS=$ac_check_lib_save_LIBS
58960fi
58961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
58962$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
58963if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
58964  ac_cv_libcrypto_dummy=yes
58965else
58966  ac_cv_libcrypto_evp_cipher=no
58967fi
58968
58969
58970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
58971$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
58972if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
58973  $as_echo_n "(cached) " >&6
58974else
58975  ac_check_lib_save_LIBS=$LIBS
58976LIBS="-lcrypto  $LIBS"
58977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58978/* end confdefs.h.  */
58979
58980/* Override any GCC internal prototype to avoid an error.
58981   Use char because int might match the return type of a GCC
58982   builtin and then its argument prototype would still apply.  */
58983#ifdef __cplusplus
58984extern "C"
58985#endif
58986char ERR_remove_thread_state ();
58987int
58988main ()
58989{
58990return ERR_remove_thread_state ();
58991  ;
58992  return 0;
58993}
58994_ACEOF
58995if ac_fn_c_try_link "$LINENO"; then :
58996  ac_cv_lib_crypto_ERR_remove_thread_state=yes
58997else
58998  ac_cv_lib_crypto_ERR_remove_thread_state=no
58999fi
59000rm -f core conftest.err conftest.$ac_objext \
59001    conftest$ac_exeext conftest.$ac_ext
59002LIBS=$ac_check_lib_save_LIBS
59003fi
59004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
59005$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
59006if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
59007  ac_cv_libcrypto_dummy=yes
59008else
59009  ac_cv_libcrypto_evp_cipher=no
59010fi
59011
59012
59013fi
59014
59015  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
59016$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
59017if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
59018  $as_echo_n "(cached) " >&6
59019else
59020  ac_check_lib_save_LIBS=$LIBS
59021LIBS="-lcrypto  $LIBS"
59022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59023/* end confdefs.h.  */
59024
59025/* Override any GCC internal prototype to avoid an error.
59026   Use char because int might match the return type of a GCC
59027   builtin and then its argument prototype would still apply.  */
59028#ifdef __cplusplus
59029extern "C"
59030#endif
59031char EVP_CIPHER_CTX_set_padding ();
59032int
59033main ()
59034{
59035return EVP_CIPHER_CTX_set_padding ();
59036  ;
59037  return 0;
59038}
59039_ACEOF
59040if ac_fn_c_try_link "$LINENO"; then :
59041  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
59042else
59043  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
59044fi
59045rm -f core conftest.err conftest.$ac_objext \
59046    conftest$ac_exeext conftest.$ac_ext
59047LIBS=$ac_check_lib_save_LIBS
59048fi
59049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
59050$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
59051if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
59052  ac_cv_libcrypto_dummy=yes
59053else
59054  ac_cv_libcrypto_evp_cipher=no
59055fi
59056
59057
59058  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
59059$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
59060if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
59061  $as_echo_n "(cached) " >&6
59062else
59063  ac_check_lib_save_LIBS=$LIBS
59064LIBS="-lcrypto  $LIBS"
59065cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59066/* end confdefs.h.  */
59067
59068/* Override any GCC internal prototype to avoid an error.
59069   Use char because int might match the return type of a GCC
59070   builtin and then its argument prototype would still apply.  */
59071#ifdef __cplusplus
59072extern "C"
59073#endif
59074char EVP_CipherInit_ex ();
59075int
59076main ()
59077{
59078return EVP_CipherInit_ex ();
59079  ;
59080  return 0;
59081}
59082_ACEOF
59083if ac_fn_c_try_link "$LINENO"; then :
59084  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
59085else
59086  ac_cv_lib_crypto_EVP_CipherInit_ex=no
59087fi
59088rm -f core conftest.err conftest.$ac_objext \
59089    conftest$ac_exeext conftest.$ac_ext
59090LIBS=$ac_check_lib_save_LIBS
59091fi
59092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
59093$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
59094if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
59095  ac_cv_libcrypto_dummy=yes
59096else
59097  ac_cv_libcrypto_evp_cipher=no
59098fi
59099
59100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
59101$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
59102if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
59103  $as_echo_n "(cached) " >&6
59104else
59105  ac_check_lib_save_LIBS=$LIBS
59106LIBS="-lcrypto  $LIBS"
59107cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59108/* end confdefs.h.  */
59109
59110/* Override any GCC internal prototype to avoid an error.
59111   Use char because int might match the return type of a GCC
59112   builtin and then its argument prototype would still apply.  */
59113#ifdef __cplusplus
59114extern "C"
59115#endif
59116char EVP_CipherUpdate ();
59117int
59118main ()
59119{
59120return EVP_CipherUpdate ();
59121  ;
59122  return 0;
59123}
59124_ACEOF
59125if ac_fn_c_try_link "$LINENO"; then :
59126  ac_cv_lib_crypto_EVP_CipherUpdate=yes
59127else
59128  ac_cv_lib_crypto_EVP_CipherUpdate=no
59129fi
59130rm -f core conftest.err conftest.$ac_objext \
59131    conftest$ac_exeext conftest.$ac_ext
59132LIBS=$ac_check_lib_save_LIBS
59133fi
59134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
59135$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
59136if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
59137  ac_cv_libcrypto_dummy=yes
59138else
59139  ac_cv_libcrypto_evp_cipher=no
59140fi
59141
59142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
59143$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
59144if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
59145  $as_echo_n "(cached) " >&6
59146else
59147  ac_check_lib_save_LIBS=$LIBS
59148LIBS="-lcrypto  $LIBS"
59149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59150/* end confdefs.h.  */
59151
59152/* Override any GCC internal prototype to avoid an error.
59153   Use char because int might match the return type of a GCC
59154   builtin and then its argument prototype would still apply.  */
59155#ifdef __cplusplus
59156extern "C"
59157#endif
59158char EVP_CipherFinal_ex ();
59159int
59160main ()
59161{
59162return EVP_CipherFinal_ex ();
59163  ;
59164  return 0;
59165}
59166_ACEOF
59167if ac_fn_c_try_link "$LINENO"; then :
59168  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
59169else
59170  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
59171fi
59172rm -f core conftest.err conftest.$ac_objext \
59173    conftest$ac_exeext conftest.$ac_ext
59174LIBS=$ac_check_lib_save_LIBS
59175fi
59176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
59177$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
59178if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
59179  ac_cv_libcrypto_dummy=yes
59180else
59181  ac_cv_libcrypto_evp_cipher=no
59182fi
59183
59184
59185  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && test "x$ac_cv_libcrypto_evp_cipher" = xno; then :
59186  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59187$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59188as_fn_error 1 "Missing OpenSSL EVP CIPHER support
59189See \`config.log' for more details" "$LINENO" 5; }
59190
59191fi
59192
59193  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
59194
59195$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
59196
59197
59198fi
59199
59200  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
59201
59202$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
59203
59204
59205fi
59206
59207fi
59208
59209  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
59210  ac_cv_libcrypto_aes_cbc=no
59211else
59212  ac_cv_libcrypto_aes_cbc=libcrypto_evp
59213
59214    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_cbc in -lcrypto" >&5
59215$as_echo_n "checking for EVP_aes_128_cbc in -lcrypto... " >&6; }
59216if ${ac_cv_lib_crypto_EVP_aes_128_cbc+:} false; then :
59217  $as_echo_n "(cached) " >&6
59218else
59219  ac_check_lib_save_LIBS=$LIBS
59220LIBS="-lcrypto  $LIBS"
59221cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59222/* end confdefs.h.  */
59223
59224/* Override any GCC internal prototype to avoid an error.
59225   Use char because int might match the return type of a GCC
59226   builtin and then its argument prototype would still apply.  */
59227#ifdef __cplusplus
59228extern "C"
59229#endif
59230char EVP_aes_128_cbc ();
59231int
59232main ()
59233{
59234return EVP_aes_128_cbc ();
59235  ;
59236  return 0;
59237}
59238_ACEOF
59239if ac_fn_c_try_link "$LINENO"; then :
59240  ac_cv_lib_crypto_EVP_aes_128_cbc=yes
59241else
59242  ac_cv_lib_crypto_EVP_aes_128_cbc=no
59243fi
59244rm -f core conftest.err conftest.$ac_objext \
59245    conftest$ac_exeext conftest.$ac_ext
59246LIBS=$ac_check_lib_save_LIBS
59247fi
59248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_cbc" >&5
59249$as_echo "$ac_cv_lib_crypto_EVP_aes_128_cbc" >&6; }
59250if test "x$ac_cv_lib_crypto_EVP_aes_128_cbc" = xyes; then :
59251  ac_cv_libcrypto_dummy=yes
59252else
59253  ac_cv_libcrypto_aes_cbc=no
59254fi
59255
59256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_cbc in -lcrypto" >&5
59257$as_echo_n "checking for EVP_aes_192_cbc in -lcrypto... " >&6; }
59258if ${ac_cv_lib_crypto_EVP_aes_192_cbc+:} false; then :
59259  $as_echo_n "(cached) " >&6
59260else
59261  ac_check_lib_save_LIBS=$LIBS
59262LIBS="-lcrypto  $LIBS"
59263cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59264/* end confdefs.h.  */
59265
59266/* Override any GCC internal prototype to avoid an error.
59267   Use char because int might match the return type of a GCC
59268   builtin and then its argument prototype would still apply.  */
59269#ifdef __cplusplus
59270extern "C"
59271#endif
59272char EVP_aes_192_cbc ();
59273int
59274main ()
59275{
59276return EVP_aes_192_cbc ();
59277  ;
59278  return 0;
59279}
59280_ACEOF
59281if ac_fn_c_try_link "$LINENO"; then :
59282  ac_cv_lib_crypto_EVP_aes_192_cbc=yes
59283else
59284  ac_cv_lib_crypto_EVP_aes_192_cbc=no
59285fi
59286rm -f core conftest.err conftest.$ac_objext \
59287    conftest$ac_exeext conftest.$ac_ext
59288LIBS=$ac_check_lib_save_LIBS
59289fi
59290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_cbc" >&5
59291$as_echo "$ac_cv_lib_crypto_EVP_aes_192_cbc" >&6; }
59292if test "x$ac_cv_lib_crypto_EVP_aes_192_cbc" = xyes; then :
59293  ac_cv_libcrypto_dummy=yes
59294else
59295  ac_cv_libcrypto_aes_cbc=no
59296fi
59297
59298    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_cbc in -lcrypto" >&5
59299$as_echo_n "checking for EVP_aes_256_cbc in -lcrypto... " >&6; }
59300if ${ac_cv_lib_crypto_EVP_aes_256_cbc+:} false; then :
59301  $as_echo_n "(cached) " >&6
59302else
59303  ac_check_lib_save_LIBS=$LIBS
59304LIBS="-lcrypto  $LIBS"
59305cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59306/* end confdefs.h.  */
59307
59308/* Override any GCC internal prototype to avoid an error.
59309   Use char because int might match the return type of a GCC
59310   builtin and then its argument prototype would still apply.  */
59311#ifdef __cplusplus
59312extern "C"
59313#endif
59314char EVP_aes_256_cbc ();
59315int
59316main ()
59317{
59318return EVP_aes_256_cbc ();
59319  ;
59320  return 0;
59321}
59322_ACEOF
59323if ac_fn_c_try_link "$LINENO"; then :
59324  ac_cv_lib_crypto_EVP_aes_256_cbc=yes
59325else
59326  ac_cv_lib_crypto_EVP_aes_256_cbc=no
59327fi
59328rm -f core conftest.err conftest.$ac_objext \
59329    conftest$ac_exeext conftest.$ac_ext
59330LIBS=$ac_check_lib_save_LIBS
59331fi
59332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_cbc" >&5
59333$as_echo "$ac_cv_lib_crypto_EVP_aes_256_cbc" >&6; }
59334if test "x$ac_cv_lib_crypto_EVP_aes_256_cbc" = xyes; then :
59335  ac_cv_libcrypto_dummy=yes
59336else
59337  ac_cv_libcrypto_aes_cbc=no
59338fi
59339
59340
59341    if test "x$ac_cv_lib_crypto_EVP_aes_128_cbc" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_192_cbc" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_cbc" = xyes; then :
59342
59343$as_echo "#define HAVE_EVP_CRYPTO_AES_CBC 1" >>confdefs.h
59344
59345
59346fi
59347
59348fi
59349
59350  if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_cipher" != xno && test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
59351  ac_cv_libcrypto_evp_cipher=yes
59352
59353    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
59354$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
59355if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
59356  $as_echo_n "(cached) " >&6
59357else
59358  ac_check_lib_save_LIBS=$LIBS
59359LIBS="-lcrypto  $LIBS"
59360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59361/* end confdefs.h.  */
59362
59363/* Override any GCC internal prototype to avoid an error.
59364   Use char because int might match the return type of a GCC
59365   builtin and then its argument prototype would still apply.  */
59366#ifdef __cplusplus
59367extern "C"
59368#endif
59369char EVP_CIPHER_CTX_new ();
59370int
59371main ()
59372{
59373return EVP_CIPHER_CTX_new ();
59374  ;
59375  return 0;
59376}
59377_ACEOF
59378if ac_fn_c_try_link "$LINENO"; then :
59379  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
59380else
59381  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
59382fi
59383rm -f core conftest.err conftest.$ac_objext \
59384    conftest$ac_exeext conftest.$ac_ext
59385LIBS=$ac_check_lib_save_LIBS
59386fi
59387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
59388$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
59389if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
59390  ac_cv_libcrypto_dummy=yes
59391else
59392  ac_cv_libcrypto_dummy=no
59393fi
59394
59395
59396  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
59397      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
59398$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
59399if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
59400  $as_echo_n "(cached) " >&6
59401else
59402  ac_check_lib_save_LIBS=$LIBS
59403LIBS="-lcrypto  $LIBS"
59404cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59405/* end confdefs.h.  */
59406
59407/* Override any GCC internal prototype to avoid an error.
59408   Use char because int might match the return type of a GCC
59409   builtin and then its argument prototype would still apply.  */
59410#ifdef __cplusplus
59411extern "C"
59412#endif
59413char EVP_CIPHER_CTX_free ();
59414int
59415main ()
59416{
59417return EVP_CIPHER_CTX_free ();
59418  ;
59419  return 0;
59420}
59421_ACEOF
59422if ac_fn_c_try_link "$LINENO"; then :
59423  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
59424else
59425  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
59426fi
59427rm -f core conftest.err conftest.$ac_objext \
59428    conftest$ac_exeext conftest.$ac_ext
59429LIBS=$ac_check_lib_save_LIBS
59430fi
59431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
59432$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
59433if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
59434  ac_cv_libcrypto_dummy=yes
59435else
59436  ac_cv_libcrypto_evp_cipher=no
59437fi
59438
59439
59440else
59441      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
59442$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
59443if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
59444  $as_echo_n "(cached) " >&6
59445else
59446  ac_check_lib_save_LIBS=$LIBS
59447LIBS="-lcrypto  $LIBS"
59448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59449/* end confdefs.h.  */
59450
59451/* Override any GCC internal prototype to avoid an error.
59452   Use char because int might match the return type of a GCC
59453   builtin and then its argument prototype would still apply.  */
59454#ifdef __cplusplus
59455extern "C"
59456#endif
59457char EVP_CIPHER_CTX_init ();
59458int
59459main ()
59460{
59461return EVP_CIPHER_CTX_init ();
59462  ;
59463  return 0;
59464}
59465_ACEOF
59466if ac_fn_c_try_link "$LINENO"; then :
59467  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
59468else
59469  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
59470fi
59471rm -f core conftest.err conftest.$ac_objext \
59472    conftest$ac_exeext conftest.$ac_ext
59473LIBS=$ac_check_lib_save_LIBS
59474fi
59475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
59476$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
59477if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
59478  ac_cv_libcrypto_dummy=yes
59479else
59480  ac_cv_libcrypto_evp_cipher=no
59481fi
59482
59483    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
59484$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
59485if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
59486  $as_echo_n "(cached) " >&6
59487else
59488  ac_check_lib_save_LIBS=$LIBS
59489LIBS="-lcrypto  $LIBS"
59490cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491/* end confdefs.h.  */
59492
59493/* Override any GCC internal prototype to avoid an error.
59494   Use char because int might match the return type of a GCC
59495   builtin and then its argument prototype would still apply.  */
59496#ifdef __cplusplus
59497extern "C"
59498#endif
59499char EVP_CIPHER_CTX_cleanup ();
59500int
59501main ()
59502{
59503return EVP_CIPHER_CTX_cleanup ();
59504  ;
59505  return 0;
59506}
59507_ACEOF
59508if ac_fn_c_try_link "$LINENO"; then :
59509  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
59510else
59511  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
59512fi
59513rm -f core conftest.err conftest.$ac_objext \
59514    conftest$ac_exeext conftest.$ac_ext
59515LIBS=$ac_check_lib_save_LIBS
59516fi
59517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
59518$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
59519if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
59520  ac_cv_libcrypto_dummy=yes
59521else
59522  ac_cv_libcrypto_evp_cipher=no
59523fi
59524
59525
59526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
59527$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
59528if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
59529  $as_echo_n "(cached) " >&6
59530else
59531  ac_check_lib_save_LIBS=$LIBS
59532LIBS="-lcrypto  $LIBS"
59533cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59534/* end confdefs.h.  */
59535
59536/* Override any GCC internal prototype to avoid an error.
59537   Use char because int might match the return type of a GCC
59538   builtin and then its argument prototype would still apply.  */
59539#ifdef __cplusplus
59540extern "C"
59541#endif
59542char ERR_remove_thread_state ();
59543int
59544main ()
59545{
59546return ERR_remove_thread_state ();
59547  ;
59548  return 0;
59549}
59550_ACEOF
59551if ac_fn_c_try_link "$LINENO"; then :
59552  ac_cv_lib_crypto_ERR_remove_thread_state=yes
59553else
59554  ac_cv_lib_crypto_ERR_remove_thread_state=no
59555fi
59556rm -f core conftest.err conftest.$ac_objext \
59557    conftest$ac_exeext conftest.$ac_ext
59558LIBS=$ac_check_lib_save_LIBS
59559fi
59560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
59561$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
59562if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
59563  ac_cv_libcrypto_dummy=yes
59564else
59565  ac_cv_libcrypto_evp_cipher=no
59566fi
59567
59568
59569fi
59570
59571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
59572$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
59573if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
59574  $as_echo_n "(cached) " >&6
59575else
59576  ac_check_lib_save_LIBS=$LIBS
59577LIBS="-lcrypto  $LIBS"
59578cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59579/* end confdefs.h.  */
59580
59581/* Override any GCC internal prototype to avoid an error.
59582   Use char because int might match the return type of a GCC
59583   builtin and then its argument prototype would still apply.  */
59584#ifdef __cplusplus
59585extern "C"
59586#endif
59587char EVP_CIPHER_CTX_set_padding ();
59588int
59589main ()
59590{
59591return EVP_CIPHER_CTX_set_padding ();
59592  ;
59593  return 0;
59594}
59595_ACEOF
59596if ac_fn_c_try_link "$LINENO"; then :
59597  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
59598else
59599  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
59600fi
59601rm -f core conftest.err conftest.$ac_objext \
59602    conftest$ac_exeext conftest.$ac_ext
59603LIBS=$ac_check_lib_save_LIBS
59604fi
59605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
59606$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
59607if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
59608  ac_cv_libcrypto_dummy=yes
59609else
59610  ac_cv_libcrypto_evp_cipher=no
59611fi
59612
59613
59614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
59615$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
59616if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
59617  $as_echo_n "(cached) " >&6
59618else
59619  ac_check_lib_save_LIBS=$LIBS
59620LIBS="-lcrypto  $LIBS"
59621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59622/* end confdefs.h.  */
59623
59624/* Override any GCC internal prototype to avoid an error.
59625   Use char because int might match the return type of a GCC
59626   builtin and then its argument prototype would still apply.  */
59627#ifdef __cplusplus
59628extern "C"
59629#endif
59630char EVP_CipherInit_ex ();
59631int
59632main ()
59633{
59634return EVP_CipherInit_ex ();
59635  ;
59636  return 0;
59637}
59638_ACEOF
59639if ac_fn_c_try_link "$LINENO"; then :
59640  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
59641else
59642  ac_cv_lib_crypto_EVP_CipherInit_ex=no
59643fi
59644rm -f core conftest.err conftest.$ac_objext \
59645    conftest$ac_exeext conftest.$ac_ext
59646LIBS=$ac_check_lib_save_LIBS
59647fi
59648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
59649$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
59650if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
59651  ac_cv_libcrypto_dummy=yes
59652else
59653  ac_cv_libcrypto_evp_cipher=no
59654fi
59655
59656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
59657$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
59658if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
59659  $as_echo_n "(cached) " >&6
59660else
59661  ac_check_lib_save_LIBS=$LIBS
59662LIBS="-lcrypto  $LIBS"
59663cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59664/* end confdefs.h.  */
59665
59666/* Override any GCC internal prototype to avoid an error.
59667   Use char because int might match the return type of a GCC
59668   builtin and then its argument prototype would still apply.  */
59669#ifdef __cplusplus
59670extern "C"
59671#endif
59672char EVP_CipherUpdate ();
59673int
59674main ()
59675{
59676return EVP_CipherUpdate ();
59677  ;
59678  return 0;
59679}
59680_ACEOF
59681if ac_fn_c_try_link "$LINENO"; then :
59682  ac_cv_lib_crypto_EVP_CipherUpdate=yes
59683else
59684  ac_cv_lib_crypto_EVP_CipherUpdate=no
59685fi
59686rm -f core conftest.err conftest.$ac_objext \
59687    conftest$ac_exeext conftest.$ac_ext
59688LIBS=$ac_check_lib_save_LIBS
59689fi
59690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
59691$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
59692if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
59693  ac_cv_libcrypto_dummy=yes
59694else
59695  ac_cv_libcrypto_evp_cipher=no
59696fi
59697
59698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
59699$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
59700if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
59701  $as_echo_n "(cached) " >&6
59702else
59703  ac_check_lib_save_LIBS=$LIBS
59704LIBS="-lcrypto  $LIBS"
59705cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59706/* end confdefs.h.  */
59707
59708/* Override any GCC internal prototype to avoid an error.
59709   Use char because int might match the return type of a GCC
59710   builtin and then its argument prototype would still apply.  */
59711#ifdef __cplusplus
59712extern "C"
59713#endif
59714char EVP_CipherFinal_ex ();
59715int
59716main ()
59717{
59718return EVP_CipherFinal_ex ();
59719  ;
59720  return 0;
59721}
59722_ACEOF
59723if ac_fn_c_try_link "$LINENO"; then :
59724  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
59725else
59726  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
59727fi
59728rm -f core conftest.err conftest.$ac_objext \
59729    conftest$ac_exeext conftest.$ac_ext
59730LIBS=$ac_check_lib_save_LIBS
59731fi
59732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
59733$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
59734if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
59735  ac_cv_libcrypto_dummy=yes
59736else
59737  ac_cv_libcrypto_evp_cipher=no
59738fi
59739
59740
59741  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && test "x$ac_cv_libcrypto_evp_cipher" = xno; then :
59742  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59743$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59744as_fn_error 1 "Missing OpenSSL EVP CIPHER support
59745See \`config.log' for more details" "$LINENO" 5; }
59746
59747fi
59748
59749  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
59750
59751$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
59752
59753
59754fi
59755
59756  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
59757
59758$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
59759
59760
59761fi
59762
59763fi
59764
59765  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
59766  ac_cv_libcrypto_aes_ecb=no
59767else
59768  ac_cv_libcrypto_aes_ecb=libcrypto_evp
59769
59770    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_ecb in -lcrypto" >&5
59771$as_echo_n "checking for EVP_aes_128_ecb in -lcrypto... " >&6; }
59772if ${ac_cv_lib_crypto_EVP_aes_128_ecb+:} false; then :
59773  $as_echo_n "(cached) " >&6
59774else
59775  ac_check_lib_save_LIBS=$LIBS
59776LIBS="-lcrypto  $LIBS"
59777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778/* end confdefs.h.  */
59779
59780/* Override any GCC internal prototype to avoid an error.
59781   Use char because int might match the return type of a GCC
59782   builtin and then its argument prototype would still apply.  */
59783#ifdef __cplusplus
59784extern "C"
59785#endif
59786char EVP_aes_128_ecb ();
59787int
59788main ()
59789{
59790return EVP_aes_128_ecb ();
59791  ;
59792  return 0;
59793}
59794_ACEOF
59795if ac_fn_c_try_link "$LINENO"; then :
59796  ac_cv_lib_crypto_EVP_aes_128_ecb=yes
59797else
59798  ac_cv_lib_crypto_EVP_aes_128_ecb=no
59799fi
59800rm -f core conftest.err conftest.$ac_objext \
59801    conftest$ac_exeext conftest.$ac_ext
59802LIBS=$ac_check_lib_save_LIBS
59803fi
59804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_ecb" >&5
59805$as_echo "$ac_cv_lib_crypto_EVP_aes_128_ecb" >&6; }
59806if test "x$ac_cv_lib_crypto_EVP_aes_128_ecb" = xyes; then :
59807  ac_cv_libcrypto_dummy=yes
59808else
59809  ac_cv_libcrypto_aes_ecb=no
59810fi
59811
59812    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_ecb in -lcrypto" >&5
59813$as_echo_n "checking for EVP_aes_192_ecb in -lcrypto... " >&6; }
59814if ${ac_cv_lib_crypto_EVP_aes_192_ecb+:} false; then :
59815  $as_echo_n "(cached) " >&6
59816else
59817  ac_check_lib_save_LIBS=$LIBS
59818LIBS="-lcrypto  $LIBS"
59819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59820/* end confdefs.h.  */
59821
59822/* Override any GCC internal prototype to avoid an error.
59823   Use char because int might match the return type of a GCC
59824   builtin and then its argument prototype would still apply.  */
59825#ifdef __cplusplus
59826extern "C"
59827#endif
59828char EVP_aes_192_ecb ();
59829int
59830main ()
59831{
59832return EVP_aes_192_ecb ();
59833  ;
59834  return 0;
59835}
59836_ACEOF
59837if ac_fn_c_try_link "$LINENO"; then :
59838  ac_cv_lib_crypto_EVP_aes_192_ecb=yes
59839else
59840  ac_cv_lib_crypto_EVP_aes_192_ecb=no
59841fi
59842rm -f core conftest.err conftest.$ac_objext \
59843    conftest$ac_exeext conftest.$ac_ext
59844LIBS=$ac_check_lib_save_LIBS
59845fi
59846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_ecb" >&5
59847$as_echo "$ac_cv_lib_crypto_EVP_aes_192_ecb" >&6; }
59848if test "x$ac_cv_lib_crypto_EVP_aes_192_ecb" = xyes; then :
59849  ac_cv_libcrypto_dummy=yes
59850else
59851  ac_cv_libcrypto_aes_ecb=no
59852fi
59853
59854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_ecb in -lcrypto" >&5
59855$as_echo_n "checking for EVP_aes_256_ecb in -lcrypto... " >&6; }
59856if ${ac_cv_lib_crypto_EVP_aes_256_ecb+:} false; then :
59857  $as_echo_n "(cached) " >&6
59858else
59859  ac_check_lib_save_LIBS=$LIBS
59860LIBS="-lcrypto  $LIBS"
59861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59862/* end confdefs.h.  */
59863
59864/* Override any GCC internal prototype to avoid an error.
59865   Use char because int might match the return type of a GCC
59866   builtin and then its argument prototype would still apply.  */
59867#ifdef __cplusplus
59868extern "C"
59869#endif
59870char EVP_aes_256_ecb ();
59871int
59872main ()
59873{
59874return EVP_aes_256_ecb ();
59875  ;
59876  return 0;
59877}
59878_ACEOF
59879if ac_fn_c_try_link "$LINENO"; then :
59880  ac_cv_lib_crypto_EVP_aes_256_ecb=yes
59881else
59882  ac_cv_lib_crypto_EVP_aes_256_ecb=no
59883fi
59884rm -f core conftest.err conftest.$ac_objext \
59885    conftest$ac_exeext conftest.$ac_ext
59886LIBS=$ac_check_lib_save_LIBS
59887fi
59888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_ecb" >&5
59889$as_echo "$ac_cv_lib_crypto_EVP_aes_256_ecb" >&6; }
59890if test "x$ac_cv_lib_crypto_EVP_aes_256_ecb" = xyes; then :
59891  ac_cv_libcrypto_dummy=yes
59892else
59893  ac_cv_libcrypto_aes_ecb=no
59894fi
59895
59896
59897    if test "x$ac_cv_lib_crypto_EVP_aes_128_ecb" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_192_ecb" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_ecb" = xyes; then :
59898
59899$as_echo "#define HAVE_EVP_CRYPTO_AES_ECB 1" >>confdefs.h
59900
59901
59902fi
59903
59904fi
59905
59906
59907    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
59908  ac_cv_libcrypto_aes=no
59909else
59910  ac_cv_libcrypto_aes=libcrypto_evp
59911fi
59912
59913    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
59914  for ac_header in openssl/aes.h
59915do :
59916  ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default"
59917if test "x$ac_cv_header_openssl_aes_h" = xyes; then :
59918  cat >>confdefs.h <<_ACEOF
59919#define HAVE_OPENSSL_AES_H 1
59920_ACEOF
59921
59922fi
59923
59924done
59925
59926
59927  if test "x$ac_cv_header_openssl_aes_h" = xno; then :
59928  ac_cv_libcrypto_aes_cbc=no
59929    ac_cv_libcrypto_aes_ecb=no
59930else
59931  ac_cv_libcrypto_aes_cbc=libcrypto
59932    ac_cv_libcrypto_aes_ecb=libcrypto
59933
59934    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_decrypt_key in -lcrypto" >&5
59935$as_echo_n "checking for AES_set_decrypt_key in -lcrypto... " >&6; }
59936if ${ac_cv_lib_crypto_AES_set_decrypt_key+:} false; then :
59937  $as_echo_n "(cached) " >&6
59938else
59939  ac_check_lib_save_LIBS=$LIBS
59940LIBS="-lcrypto  $LIBS"
59941cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59942/* end confdefs.h.  */
59943
59944/* Override any GCC internal prototype to avoid an error.
59945   Use char because int might match the return type of a GCC
59946   builtin and then its argument prototype would still apply.  */
59947#ifdef __cplusplus
59948extern "C"
59949#endif
59950char AES_set_decrypt_key ();
59951int
59952main ()
59953{
59954return AES_set_decrypt_key ();
59955  ;
59956  return 0;
59957}
59958_ACEOF
59959if ac_fn_c_try_link "$LINENO"; then :
59960  ac_cv_lib_crypto_AES_set_decrypt_key=yes
59961else
59962  ac_cv_lib_crypto_AES_set_decrypt_key=no
59963fi
59964rm -f core conftest.err conftest.$ac_objext \
59965    conftest$ac_exeext conftest.$ac_ext
59966LIBS=$ac_check_lib_save_LIBS
59967fi
59968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_set_decrypt_key" >&5
59969$as_echo "$ac_cv_lib_crypto_AES_set_decrypt_key" >&6; }
59970if test "x$ac_cv_lib_crypto_AES_set_decrypt_key" = xyes; then :
59971  ac_cv_libcrypto_dummy=yes
59972else
59973  ac_cv_libcrypto_aes_cbc=no,
59974      ac_cv_libcrypto_aes_ecb=no
59975fi
59976
59977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_encrypt_key in -lcrypto" >&5
59978$as_echo_n "checking for AES_set_encrypt_key in -lcrypto... " >&6; }
59979if ${ac_cv_lib_crypto_AES_set_encrypt_key+:} false; then :
59980  $as_echo_n "(cached) " >&6
59981else
59982  ac_check_lib_save_LIBS=$LIBS
59983LIBS="-lcrypto  $LIBS"
59984cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59985/* end confdefs.h.  */
59986
59987/* Override any GCC internal prototype to avoid an error.
59988   Use char because int might match the return type of a GCC
59989   builtin and then its argument prototype would still apply.  */
59990#ifdef __cplusplus
59991extern "C"
59992#endif
59993char AES_set_encrypt_key ();
59994int
59995main ()
59996{
59997return AES_set_encrypt_key ();
59998  ;
59999  return 0;
60000}
60001_ACEOF
60002if ac_fn_c_try_link "$LINENO"; then :
60003  ac_cv_lib_crypto_AES_set_encrypt_key=yes
60004else
60005  ac_cv_lib_crypto_AES_set_encrypt_key=no
60006fi
60007rm -f core conftest.err conftest.$ac_objext \
60008    conftest$ac_exeext conftest.$ac_ext
60009LIBS=$ac_check_lib_save_LIBS
60010fi
60011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_set_encrypt_key" >&5
60012$as_echo "$ac_cv_lib_crypto_AES_set_encrypt_key" >&6; }
60013if test "x$ac_cv_lib_crypto_AES_set_encrypt_key" = xyes; then :
60014  ac_cv_libcrypto_dummy=yes
60015else
60016  ac_cv_libcrypto_aes_cbc=no,
60017      ac_cv_libcrypto_aes_ecb=no
60018fi
60019
60020
60021    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_cbc_encrypt in -lcrypto" >&5
60022$as_echo_n "checking for AES_cbc_encrypt in -lcrypto... " >&6; }
60023if ${ac_cv_lib_crypto_AES_cbc_encrypt+:} false; then :
60024  $as_echo_n "(cached) " >&6
60025else
60026  ac_check_lib_save_LIBS=$LIBS
60027LIBS="-lcrypto  $LIBS"
60028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60029/* end confdefs.h.  */
60030
60031/* Override any GCC internal prototype to avoid an error.
60032   Use char because int might match the return type of a GCC
60033   builtin and then its argument prototype would still apply.  */
60034#ifdef __cplusplus
60035extern "C"
60036#endif
60037char AES_cbc_encrypt ();
60038int
60039main ()
60040{
60041return AES_cbc_encrypt ();
60042  ;
60043  return 0;
60044}
60045_ACEOF
60046if ac_fn_c_try_link "$LINENO"; then :
60047  ac_cv_lib_crypto_AES_cbc_encrypt=yes
60048else
60049  ac_cv_lib_crypto_AES_cbc_encrypt=no
60050fi
60051rm -f core conftest.err conftest.$ac_objext \
60052    conftest$ac_exeext conftest.$ac_ext
60053LIBS=$ac_check_lib_save_LIBS
60054fi
60055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_cbc_encrypt" >&5
60056$as_echo "$ac_cv_lib_crypto_AES_cbc_encrypt" >&6; }
60057if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then :
60058  ac_cv_libcrypto_dummy=yes
60059else
60060  ac_cv_libcrypto_aes_cbc=no
60061fi
60062
60063
60064    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_ecb_encrypt in -lcrypto" >&5
60065$as_echo_n "checking for AES_ecb_encrypt in -lcrypto... " >&6; }
60066if ${ac_cv_lib_crypto_AES_ecb_encrypt+:} false; then :
60067  $as_echo_n "(cached) " >&6
60068else
60069  ac_check_lib_save_LIBS=$LIBS
60070LIBS="-lcrypto  $LIBS"
60071cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60072/* end confdefs.h.  */
60073
60074/* Override any GCC internal prototype to avoid an error.
60075   Use char because int might match the return type of a GCC
60076   builtin and then its argument prototype would still apply.  */
60077#ifdef __cplusplus
60078extern "C"
60079#endif
60080char AES_ecb_encrypt ();
60081int
60082main ()
60083{
60084return AES_ecb_encrypt ();
60085  ;
60086  return 0;
60087}
60088_ACEOF
60089if ac_fn_c_try_link "$LINENO"; then :
60090  ac_cv_lib_crypto_AES_ecb_encrypt=yes
60091else
60092  ac_cv_lib_crypto_AES_ecb_encrypt=no
60093fi
60094rm -f core conftest.err conftest.$ac_objext \
60095    conftest$ac_exeext conftest.$ac_ext
60096LIBS=$ac_check_lib_save_LIBS
60097fi
60098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_ecb_encrypt" >&5
60099$as_echo "$ac_cv_lib_crypto_AES_ecb_encrypt" >&6; }
60100if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then :
60101  ac_cv_libcrypto_dummy=yes
60102else
60103  ac_cv_libcrypto_aes_ecb=no
60104fi
60105
60106
60107    if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then :
60108
60109$as_echo "#define HAVE_AES_CBC_ENCRYPT 1" >>confdefs.h
60110
60111
60112fi
60113
60114    if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then :
60115
60116$as_echo "#define HAVE_AES_ECB_ENCRYPT 1" >>confdefs.h
60117
60118
60119fi
60120
60121fi
60122
60123  if test "x$ac_cv_libcrypto" = xno; then :
60124  if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
60125  ac_cv_libcrypto=yes
60126fi
60127
60128fi
60129
60130    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
60131  ac_cv_libcrypto_aes=no
60132else
60133  ac_cv_libcrypto_aes=libcrypto
60134fi
60135
60136fi
60137
60138    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_cipher" != xno && test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
60139  ac_cv_libcrypto_evp_cipher=yes
60140
60141    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
60142$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
60143if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
60144  $as_echo_n "(cached) " >&6
60145else
60146  ac_check_lib_save_LIBS=$LIBS
60147LIBS="-lcrypto  $LIBS"
60148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60149/* end confdefs.h.  */
60150
60151/* Override any GCC internal prototype to avoid an error.
60152   Use char because int might match the return type of a GCC
60153   builtin and then its argument prototype would still apply.  */
60154#ifdef __cplusplus
60155extern "C"
60156#endif
60157char EVP_CIPHER_CTX_new ();
60158int
60159main ()
60160{
60161return EVP_CIPHER_CTX_new ();
60162  ;
60163  return 0;
60164}
60165_ACEOF
60166if ac_fn_c_try_link "$LINENO"; then :
60167  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
60168else
60169  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
60170fi
60171rm -f core conftest.err conftest.$ac_objext \
60172    conftest$ac_exeext conftest.$ac_ext
60173LIBS=$ac_check_lib_save_LIBS
60174fi
60175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
60176$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
60177if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
60178  ac_cv_libcrypto_dummy=yes
60179else
60180  ac_cv_libcrypto_dummy=no
60181fi
60182
60183
60184  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
60185      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
60186$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
60187if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
60188  $as_echo_n "(cached) " >&6
60189else
60190  ac_check_lib_save_LIBS=$LIBS
60191LIBS="-lcrypto  $LIBS"
60192cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60193/* end confdefs.h.  */
60194
60195/* Override any GCC internal prototype to avoid an error.
60196   Use char because int might match the return type of a GCC
60197   builtin and then its argument prototype would still apply.  */
60198#ifdef __cplusplus
60199extern "C"
60200#endif
60201char EVP_CIPHER_CTX_free ();
60202int
60203main ()
60204{
60205return EVP_CIPHER_CTX_free ();
60206  ;
60207  return 0;
60208}
60209_ACEOF
60210if ac_fn_c_try_link "$LINENO"; then :
60211  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
60212else
60213  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
60214fi
60215rm -f core conftest.err conftest.$ac_objext \
60216    conftest$ac_exeext conftest.$ac_ext
60217LIBS=$ac_check_lib_save_LIBS
60218fi
60219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
60220$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
60221if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
60222  ac_cv_libcrypto_dummy=yes
60223else
60224  ac_cv_libcrypto_evp_cipher=no
60225fi
60226
60227
60228else
60229      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
60230$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
60231if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
60232  $as_echo_n "(cached) " >&6
60233else
60234  ac_check_lib_save_LIBS=$LIBS
60235LIBS="-lcrypto  $LIBS"
60236cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60237/* end confdefs.h.  */
60238
60239/* Override any GCC internal prototype to avoid an error.
60240   Use char because int might match the return type of a GCC
60241   builtin and then its argument prototype would still apply.  */
60242#ifdef __cplusplus
60243extern "C"
60244#endif
60245char EVP_CIPHER_CTX_init ();
60246int
60247main ()
60248{
60249return EVP_CIPHER_CTX_init ();
60250  ;
60251  return 0;
60252}
60253_ACEOF
60254if ac_fn_c_try_link "$LINENO"; then :
60255  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
60256else
60257  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
60258fi
60259rm -f core conftest.err conftest.$ac_objext \
60260    conftest$ac_exeext conftest.$ac_ext
60261LIBS=$ac_check_lib_save_LIBS
60262fi
60263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
60264$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
60265if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
60266  ac_cv_libcrypto_dummy=yes
60267else
60268  ac_cv_libcrypto_evp_cipher=no
60269fi
60270
60271    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
60272$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
60273if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
60274  $as_echo_n "(cached) " >&6
60275else
60276  ac_check_lib_save_LIBS=$LIBS
60277LIBS="-lcrypto  $LIBS"
60278cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60279/* end confdefs.h.  */
60280
60281/* Override any GCC internal prototype to avoid an error.
60282   Use char because int might match the return type of a GCC
60283   builtin and then its argument prototype would still apply.  */
60284#ifdef __cplusplus
60285extern "C"
60286#endif
60287char EVP_CIPHER_CTX_cleanup ();
60288int
60289main ()
60290{
60291return EVP_CIPHER_CTX_cleanup ();
60292  ;
60293  return 0;
60294}
60295_ACEOF
60296if ac_fn_c_try_link "$LINENO"; then :
60297  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
60298else
60299  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
60300fi
60301rm -f core conftest.err conftest.$ac_objext \
60302    conftest$ac_exeext conftest.$ac_ext
60303LIBS=$ac_check_lib_save_LIBS
60304fi
60305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
60306$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
60307if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
60308  ac_cv_libcrypto_dummy=yes
60309else
60310  ac_cv_libcrypto_evp_cipher=no
60311fi
60312
60313
60314    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
60315$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
60316if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
60317  $as_echo_n "(cached) " >&6
60318else
60319  ac_check_lib_save_LIBS=$LIBS
60320LIBS="-lcrypto  $LIBS"
60321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60322/* end confdefs.h.  */
60323
60324/* Override any GCC internal prototype to avoid an error.
60325   Use char because int might match the return type of a GCC
60326   builtin and then its argument prototype would still apply.  */
60327#ifdef __cplusplus
60328extern "C"
60329#endif
60330char ERR_remove_thread_state ();
60331int
60332main ()
60333{
60334return ERR_remove_thread_state ();
60335  ;
60336  return 0;
60337}
60338_ACEOF
60339if ac_fn_c_try_link "$LINENO"; then :
60340  ac_cv_lib_crypto_ERR_remove_thread_state=yes
60341else
60342  ac_cv_lib_crypto_ERR_remove_thread_state=no
60343fi
60344rm -f core conftest.err conftest.$ac_objext \
60345    conftest$ac_exeext conftest.$ac_ext
60346LIBS=$ac_check_lib_save_LIBS
60347fi
60348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
60349$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
60350if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
60351  ac_cv_libcrypto_dummy=yes
60352else
60353  ac_cv_libcrypto_evp_cipher=no
60354fi
60355
60356
60357fi
60358
60359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
60360$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
60361if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
60362  $as_echo_n "(cached) " >&6
60363else
60364  ac_check_lib_save_LIBS=$LIBS
60365LIBS="-lcrypto  $LIBS"
60366cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60367/* end confdefs.h.  */
60368
60369/* Override any GCC internal prototype to avoid an error.
60370   Use char because int might match the return type of a GCC
60371   builtin and then its argument prototype would still apply.  */
60372#ifdef __cplusplus
60373extern "C"
60374#endif
60375char EVP_CIPHER_CTX_set_padding ();
60376int
60377main ()
60378{
60379return EVP_CIPHER_CTX_set_padding ();
60380  ;
60381  return 0;
60382}
60383_ACEOF
60384if ac_fn_c_try_link "$LINENO"; then :
60385  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
60386else
60387  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
60388fi
60389rm -f core conftest.err conftest.$ac_objext \
60390    conftest$ac_exeext conftest.$ac_ext
60391LIBS=$ac_check_lib_save_LIBS
60392fi
60393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
60394$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
60395if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
60396  ac_cv_libcrypto_dummy=yes
60397else
60398  ac_cv_libcrypto_evp_cipher=no
60399fi
60400
60401
60402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
60403$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
60404if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
60405  $as_echo_n "(cached) " >&6
60406else
60407  ac_check_lib_save_LIBS=$LIBS
60408LIBS="-lcrypto  $LIBS"
60409cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60410/* end confdefs.h.  */
60411
60412/* Override any GCC internal prototype to avoid an error.
60413   Use char because int might match the return type of a GCC
60414   builtin and then its argument prototype would still apply.  */
60415#ifdef __cplusplus
60416extern "C"
60417#endif
60418char EVP_CipherInit_ex ();
60419int
60420main ()
60421{
60422return EVP_CipherInit_ex ();
60423  ;
60424  return 0;
60425}
60426_ACEOF
60427if ac_fn_c_try_link "$LINENO"; then :
60428  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
60429else
60430  ac_cv_lib_crypto_EVP_CipherInit_ex=no
60431fi
60432rm -f core conftest.err conftest.$ac_objext \
60433    conftest$ac_exeext conftest.$ac_ext
60434LIBS=$ac_check_lib_save_LIBS
60435fi
60436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
60437$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
60438if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
60439  ac_cv_libcrypto_dummy=yes
60440else
60441  ac_cv_libcrypto_evp_cipher=no
60442fi
60443
60444  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
60445$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
60446if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
60447  $as_echo_n "(cached) " >&6
60448else
60449  ac_check_lib_save_LIBS=$LIBS
60450LIBS="-lcrypto  $LIBS"
60451cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60452/* end confdefs.h.  */
60453
60454/* Override any GCC internal prototype to avoid an error.
60455   Use char because int might match the return type of a GCC
60456   builtin and then its argument prototype would still apply.  */
60457#ifdef __cplusplus
60458extern "C"
60459#endif
60460char EVP_CipherUpdate ();
60461int
60462main ()
60463{
60464return EVP_CipherUpdate ();
60465  ;
60466  return 0;
60467}
60468_ACEOF
60469if ac_fn_c_try_link "$LINENO"; then :
60470  ac_cv_lib_crypto_EVP_CipherUpdate=yes
60471else
60472  ac_cv_lib_crypto_EVP_CipherUpdate=no
60473fi
60474rm -f core conftest.err conftest.$ac_objext \
60475    conftest$ac_exeext conftest.$ac_ext
60476LIBS=$ac_check_lib_save_LIBS
60477fi
60478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
60479$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
60480if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
60481  ac_cv_libcrypto_dummy=yes
60482else
60483  ac_cv_libcrypto_evp_cipher=no
60484fi
60485
60486  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
60487$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
60488if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
60489  $as_echo_n "(cached) " >&6
60490else
60491  ac_check_lib_save_LIBS=$LIBS
60492LIBS="-lcrypto  $LIBS"
60493cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60494/* end confdefs.h.  */
60495
60496/* Override any GCC internal prototype to avoid an error.
60497   Use char because int might match the return type of a GCC
60498   builtin and then its argument prototype would still apply.  */
60499#ifdef __cplusplus
60500extern "C"
60501#endif
60502char EVP_CipherFinal_ex ();
60503int
60504main ()
60505{
60506return EVP_CipherFinal_ex ();
60507  ;
60508  return 0;
60509}
60510_ACEOF
60511if ac_fn_c_try_link "$LINENO"; then :
60512  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
60513else
60514  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
60515fi
60516rm -f core conftest.err conftest.$ac_objext \
60517    conftest$ac_exeext conftest.$ac_ext
60518LIBS=$ac_check_lib_save_LIBS
60519fi
60520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
60521$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
60522if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
60523  ac_cv_libcrypto_dummy=yes
60524else
60525  ac_cv_libcrypto_evp_cipher=no
60526fi
60527
60528
60529  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && test "x$ac_cv_libcrypto_evp_cipher" = xno; then :
60530  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60531$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60532as_fn_error 1 "Missing OpenSSL EVP CIPHER support
60533See \`config.log' for more details" "$LINENO" 5; }
60534
60535fi
60536
60537  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
60538
60539$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
60540
60541
60542fi
60543
60544  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
60545
60546$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
60547
60548
60549fi
60550
60551fi
60552
60553  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
60554  ac_cv_libcrypto_aes_xts=no
60555else
60556  ac_cv_libcrypto_aes_xts=libcrypto_evp
60557
60558    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_xts in -lcrypto" >&5
60559$as_echo_n "checking for EVP_aes_128_xts in -lcrypto... " >&6; }
60560if ${ac_cv_lib_crypto_EVP_aes_128_xts+:} false; then :
60561  $as_echo_n "(cached) " >&6
60562else
60563  ac_check_lib_save_LIBS=$LIBS
60564LIBS="-lcrypto  $LIBS"
60565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60566/* end confdefs.h.  */
60567
60568/* Override any GCC internal prototype to avoid an error.
60569   Use char because int might match the return type of a GCC
60570   builtin and then its argument prototype would still apply.  */
60571#ifdef __cplusplus
60572extern "C"
60573#endif
60574char EVP_aes_128_xts ();
60575int
60576main ()
60577{
60578return EVP_aes_128_xts ();
60579  ;
60580  return 0;
60581}
60582_ACEOF
60583if ac_fn_c_try_link "$LINENO"; then :
60584  ac_cv_lib_crypto_EVP_aes_128_xts=yes
60585else
60586  ac_cv_lib_crypto_EVP_aes_128_xts=no
60587fi
60588rm -f core conftest.err conftest.$ac_objext \
60589    conftest$ac_exeext conftest.$ac_ext
60590LIBS=$ac_check_lib_save_LIBS
60591fi
60592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_xts" >&5
60593$as_echo "$ac_cv_lib_crypto_EVP_aes_128_xts" >&6; }
60594if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes; then :
60595  ac_cv_libcrypto_dummy=yes
60596else
60597  ac_cv_libcrypto_aes_xts=no
60598fi
60599
60600    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_xts in -lcrypto" >&5
60601$as_echo_n "checking for EVP_aes_256_xts in -lcrypto... " >&6; }
60602if ${ac_cv_lib_crypto_EVP_aes_256_xts+:} false; then :
60603  $as_echo_n "(cached) " >&6
60604else
60605  ac_check_lib_save_LIBS=$LIBS
60606LIBS="-lcrypto  $LIBS"
60607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60608/* end confdefs.h.  */
60609
60610/* Override any GCC internal prototype to avoid an error.
60611   Use char because int might match the return type of a GCC
60612   builtin and then its argument prototype would still apply.  */
60613#ifdef __cplusplus
60614extern "C"
60615#endif
60616char EVP_aes_256_xts ();
60617int
60618main ()
60619{
60620return EVP_aes_256_xts ();
60621  ;
60622  return 0;
60623}
60624_ACEOF
60625if ac_fn_c_try_link "$LINENO"; then :
60626  ac_cv_lib_crypto_EVP_aes_256_xts=yes
60627else
60628  ac_cv_lib_crypto_EVP_aes_256_xts=no
60629fi
60630rm -f core conftest.err conftest.$ac_objext \
60631    conftest$ac_exeext conftest.$ac_ext
60632LIBS=$ac_check_lib_save_LIBS
60633fi
60634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_xts" >&5
60635$as_echo "$ac_cv_lib_crypto_EVP_aes_256_xts" >&6; }
60636if test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then :
60637  ac_cv_libcrypto_dummy=yes
60638else
60639  ac_cv_libcrypto_aes_xts=no
60640fi
60641
60642
60643        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`EVP_CipherInit_ex' can be used with duplicate keys" >&5
60644$as_echo_n "checking if \`EVP_CipherInit_ex' can be used with duplicate keys... " >&6; }
60645if ${ac_cv_openssl_xts_duplicate_keys+:} false; then :
60646  $as_echo_n "(cached) " >&6
60647else
60648  ac_ext=c
60649ac_cpp='$CPP $CPPFLAGS'
60650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60652ac_compiler_gnu=$ac_cv_c_compiler_gnu
60653
60654    ac_cv_libcrypto_backup_LIBS="$LIBS"
60655    LIBS="$LIBS $ac_cv_libcrypto_LIBADD"
60656    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60657/* end confdefs.h.  */
60658#include <openssl/err.h>
60659#include <openssl/evp.h>
60660int
60661main ()
60662{
60663unsigned char key[ 16 ] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
60664int result;
60665
60666#if defined( HAVE_EVP_CIPHER_CTX_INIT )
60667EVP_CIPHER_CTX ctx;
60668
60669EVP_CIPHER_CTX_init( &ctx );
60670#else
60671EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
60672#endif
60673
60674result = EVP_CipherInit_ex(ctx, EVP_aes_128_xts(), NULL, key, key, 0);
60675
60676#if defined( HAVE_EVP_CIPHER_CTX_INIT )
60677EVP_CIPHER_CTX_cleanup( &ctx );
60678#else
60679EVP_CIPHER_CTX_free( ctx );
60680#endif
60681
60682return( result == 1 );
60683  ;
60684  return 0;
60685}
60686_ACEOF
60687if ac_fn_c_try_link "$LINENO"; then :
60688  ac_cv_openssl_xts_duplicate_keys=yes
60689else
60690  ac_cv_openssl_xts_duplicate_keys=no
60691fi
60692rm -f core conftest.err conftest.$ac_objext \
60693    conftest$ac_exeext conftest.$ac_ext
60694    LIBS="$ac_cv_libcrypto_backup_LIBS"
60695    ac_ext=c
60696ac_cpp='$CPP $CPPFLAGS'
60697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699ac_compiler_gnu=$ac_cv_c_compiler_gnu
60700
60701fi
60702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_xts_duplicate_keys" >&5
60703$as_echo "$ac_cv_openssl_xts_duplicate_keys" >&6; }
60704
60705    if test "x$ac_cv_openssl_xts_duplicate_keys" = xno; then :
60706  ac_cv_libcrypto_aes_xts=no
60707else
60708  if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then :
60709
60710$as_echo "#define HAVE_EVP_CRYPTO_AES_XTS 1" >>confdefs.h
60711
60712
60713fi
60714
60715fi
60716
60717fi
60718
60719fi
60720
60721    if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_cbc" = xno; then :
60722  ac_cv_libcaes_aes_cbc=local
60723else
60724  ac_cv_libcaes_aes_cbc=$ac_cv_libcrypto_aes_cbc
60725fi
60726
60727  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
60728  ac_cv_libcaes_aes_ecb=local
60729else
60730  ac_cv_libcaes_aes_ecb=$ac_cv_libcrypto_aes_ecb
60731fi
60732
60733  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_xts" = xno; then :
60734  ac_cv_libcaes_aes_xts=local
60735else
60736  ac_cv_libcaes_aes_xts=$ac_cv_libcrypto_aes_xts
60737fi
60738
60739  ac_cv_libcaes_CPPFLAGS="-I../libcaes";
60740  ac_cv_libcaes_LIBADD="../libcaes/libcaes.la";
60741
60742  ac_cv_libcaes=local
60743
60744
60745
60746$as_echo "#define HAVE_LOCAL_LIBCAES 1" >>confdefs.h
60747
60748    HAVE_LOCAL_LIBCAES=1
60749
60750
60751fi
60752
60753   if test "x$ac_cv_libcaes" = xlocal; then
60754  HAVE_LOCAL_LIBCAES_TRUE=
60755  HAVE_LOCAL_LIBCAES_FALSE='#'
60756else
60757  HAVE_LOCAL_LIBCAES_TRUE='#'
60758  HAVE_LOCAL_LIBCAES_FALSE=
60759fi
60760
60761  if test "x$ac_cv_libcaes_CPPFLAGS" != "x"; then :
60762  LIBCAES_CPPFLAGS=$ac_cv_libcaes_CPPFLAGS
60763
60764
60765fi
60766  if test "x$ac_cv_libcaes_LIBADD" != "x"; then :
60767  LIBCAES_LIBADD=$ac_cv_libcaes_LIBADD
60768
60769
60770fi
60771
60772  if test "x$ac_cv_libcaes" = xyes; then :
60773  ax_libcaes_pc_libs_private=-lcaes
60774
60775
60776fi
60777
60778  if test "x$ac_cv_libcaes" = xyes; then :
60779  ax_libcaes_spec_requires=libcaes
60780
60781    ax_libcaes_spec_build_requires=libcaes-devel
60782
60783
60784fi
60785
60786
60787  for ac_func in bindtextdomain
60788do :
60789  ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain"
60790if test "x$ac_cv_func_bindtextdomain" = xyes; then :
60791  cat >>confdefs.h <<_ACEOF
60792#define HAVE_BINDTEXTDOMAIN 1
60793_ACEOF
60794
60795fi
60796done
60797
60798
60799
60800
60801
60802# Check whether --with-pyprefix was given.
60803if test "${with_pyprefix+set}" = set; then :
60804  withval=$with_pyprefix; ac_cv_with_pyprefix=$withval
60805else
60806  ac_cv_with_pyprefix=no
60807fi
60808
60809    { $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
60810$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; }
60811if ${ac_cv_with_pyprefix+:} false; then :
60812  $as_echo_n "(cached) " >&6
60813else
60814  ac_cv_with_pyprefix=no
60815fi
60816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5
60817$as_echo "$ac_cv_with_pyprefix" >&6; }
60818
60819
60820
60821  # Check whether --enable-python was given.
60822if test "${enable_python+set}" = set; then :
60823  enableval=$enable_python; ac_cv_enable_python=$enableval
60824else
60825  ac_cv_enable_python=no
60826fi
60827
60828    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5
60829$as_echo_n "checking whether to enable build Python bindings... " >&6; }
60830if ${ac_cv_enable_python+:} false; then :
60831  $as_echo_n "(cached) " >&6
60832else
60833  ac_cv_enable_python=no
60834fi
60835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5
60836$as_echo "$ac_cv_enable_python" >&6; }
60837
60838
60839# Check whether --with-pythondir was given.
60840if test "${with_pythondir+set}" = set; then :
60841  withval=$with_pythondir; ac_cv_with_pythondir=$withval
60842else
60843  ac_cv_with_pythondir=no
60844fi
60845
60846    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5
60847$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; }
60848if ${ac_cv_with_pythondir+:} false; then :
60849  $as_echo_n "(cached) " >&6
60850else
60851  ac_cv_with_pythondir=no
60852fi
60853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5
60854$as_echo "$ac_cv_with_pythondir" >&6; }
60855
60856
60857  # Check whether --enable-python2 was given.
60858if test "${enable_python2+set}" = set; then :
60859  enableval=$enable_python2; ac_cv_enable_python2=$enableval
60860else
60861  ac_cv_enable_python2=no
60862fi
60863
60864    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5
60865$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; }
60866if ${ac_cv_enable_python2+:} false; then :
60867  $as_echo_n "(cached) " >&6
60868else
60869  ac_cv_enable_python2=no
60870fi
60871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5
60872$as_echo "$ac_cv_enable_python2" >&6; }
60873
60874
60875# Check whether --with-pythondir2 was given.
60876if test "${with_pythondir2+set}" = set; then :
60877  withval=$with_pythondir2; ac_cv_with_pythondir2=$withval
60878else
60879  ac_cv_with_pythondir2=no
60880fi
60881
60882    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5
60883$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; }
60884if ${ac_cv_with_pythondir2+:} false; then :
60885  $as_echo_n "(cached) " >&6
60886else
60887  ac_cv_with_pythondir2=no
60888fi
60889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5
60890$as_echo "$ac_cv_with_pythondir2" >&6; }
60891
60892
60893  # Check whether --enable-python3 was given.
60894if test "${enable_python3+set}" = set; then :
60895  enableval=$enable_python3; ac_cv_enable_python3=$enableval
60896else
60897  ac_cv_enable_python3=no
60898fi
60899
60900    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5
60901$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; }
60902if ${ac_cv_enable_python3+:} false; then :
60903  $as_echo_n "(cached) " >&6
60904else
60905  ac_cv_enable_python3=no
60906fi
60907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5
60908$as_echo "$ac_cv_enable_python3" >&6; }
60909
60910
60911# Check whether --with-pythondir3 was given.
60912if test "${with_pythondir3+set}" = set; then :
60913  withval=$with_pythondir3; ac_cv_with_pythondir3=$withval
60914else
60915  ac_cv_with_pythondir3=no
60916fi
60917
60918    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5
60919$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; }
60920if ${ac_cv_with_pythondir3+:} false; then :
60921  $as_echo_n "(cached) " >&6
60922else
60923  ac_cv_with_pythondir3=no
60924fi
60925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5
60926$as_echo "$ac_cv_with_pythondir3" >&6; }
60927
60928  if test "x${ac_cv_enable_python}" != xno; then :
60929  if test "x${PYTHON_VERSION}" != x; then :
60930  ax_python_progs="python${PYTHON_VERSION}"
60931else
60932  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"
60933fi
60934  for ac_prog in $ax_python_progs
60935do
60936  # Extract the first word of "$ac_prog", so it can be a program name with args.
60937set dummy $ac_prog; ac_word=$2
60938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
60939$as_echo_n "checking for $ac_word... " >&6; }
60940if ${ac_cv_prog_PYTHON+:} false; then :
60941  $as_echo_n "(cached) " >&6
60942else
60943  if test -n "$PYTHON"; then
60944  ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
60945else
60946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
60947for as_dir in $PATH
60948do
60949  IFS=$as_save_IFS
60950  test -z "$as_dir" && as_dir=.
60951    for ac_exec_ext in '' $ac_executable_extensions; do
60952  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60953    ac_cv_prog_PYTHON="$ac_prog"
60954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
60955    break 2
60956  fi
60957done
60958  done
60959IFS=$as_save_IFS
60960
60961fi
60962fi
60963PYTHON=$ac_cv_prog_PYTHON
60964if test -n "$PYTHON"; then
60965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
60966$as_echo "$PYTHON" >&6; }
60967else
60968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
60969$as_echo "no" >&6; }
60970fi
60971
60972
60973  test -n "$PYTHON" && break
60974done
60975
60976  if test "x${PYTHON}" != x; then :
60977  ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
60978    ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
60979    PYTHON_PLATFORM=$ax_prog_python_platform
60980
60981
60982else
60983  as_fn_error $? "Unable to find python" "$LINENO" 5
60984
60985fi
60986  PYTHON=$PYTHON
60987
60988
60989  if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then :
60990  for ac_prog in python${PYTHON_VERSION}-config
60991do
60992  # Extract the first word of "$ac_prog", so it can be a program name with args.
60993set dummy $ac_prog; ac_word=$2
60994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
60995$as_echo_n "checking for $ac_word... " >&6; }
60996if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
60997  $as_echo_n "(cached) " >&6
60998else
60999  if test -n "$PYTHON_CONFIG"; then
61000  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
61001else
61002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61003for as_dir in $PATH
61004do
61005  IFS=$as_save_IFS
61006  test -z "$as_dir" && as_dir=.
61007    for ac_exec_ext in '' $ac_executable_extensions; do
61008  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61009    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
61010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
61011    break 2
61012  fi
61013done
61014  done
61015IFS=$as_save_IFS
61016
61017fi
61018fi
61019PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
61020if test -n "$PYTHON_CONFIG"; then
61021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
61022$as_echo "$PYTHON_CONFIG" >&6; }
61023else
61024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61025$as_echo "no" >&6; }
61026fi
61027
61028
61029  test -n "$PYTHON_CONFIG" && break
61030done
61031
61032
61033fi
61034  if test "x${PYTHON_CONFIG}" = x; then :
61035  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
61036do
61037  # Extract the first word of "$ac_prog", so it can be a program name with args.
61038set dummy $ac_prog; ac_word=$2
61039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
61040$as_echo_n "checking for $ac_word... " >&6; }
61041if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
61042  $as_echo_n "(cached) " >&6
61043else
61044  if test -n "$PYTHON_CONFIG"; then
61045  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
61046else
61047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61048for as_dir in $PATH
61049do
61050  IFS=$as_save_IFS
61051  test -z "$as_dir" && as_dir=.
61052    for ac_exec_ext in '' $ac_executable_extensions; do
61053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61054    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
61055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
61056    break 2
61057  fi
61058done
61059  done
61060IFS=$as_save_IFS
61061
61062fi
61063fi
61064PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
61065if test -n "$PYTHON_CONFIG"; then
61066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
61067$as_echo "$PYTHON_CONFIG" >&6; }
61068else
61069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61070$as_echo "no" >&6; }
61071fi
61072
61073
61074  test -n "$PYTHON_CONFIG" && break
61075done
61076
61077
61078fi
61079  if test "x${PYTHON_CONFIG}" = x; then :
61080  as_fn_error $? "Unable to find python-config" "$LINENO" 5
61081
61082fi
61083  PYTHON_CONFIG=$PYTHON_CONFIG
61084
61085
61086
61087  if test "x${PYTHON_CONFIG}" != x; then :
61088      PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`;
61089
61090    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
61091$as_echo_n "checking for Python includes... " >&6; }
61092    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5
61093$as_echo "$PYTHON_INCLUDES" >&6; }
61094
61095        PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`;
61096
61097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5
61098$as_echo_n "checking for Python libraries... " >&6; }
61099    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
61100$as_echo "$PYTHON_LDFLAGS" >&6; }
61101
61102        case $host_os in #(
61103  cygwin*) :
61104    PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #(
61105  *) :
61106     ;; #(
61107  *) :
61108     ;;
61109esac
61110
61111        BACKUP_CPPFLAGS="${CPPFLAGS}"
61112    CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}"
61113
61114    for ac_header in Python.h
61115do :
61116  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
61117if test "x$ac_cv_header_Python_h" = xyes; then :
61118  cat >>confdefs.h <<_ACEOF
61119#define HAVE_PYTHON_H 1
61120_ACEOF
61121 ac_cv_header_python_h=yes
61122else
61123  ac_cv_header_python_h=no
61124fi
61125
61126done
61127
61128
61129    CPPFLAGS="${BACKUP_CPPFLAGS}"
61130
61131fi
61132
61133  if test "x${ac_cv_header_python_h}" != xyes; then :
61134  ac_cv_enable_python=no
61135else
61136  ac_cv_enable_python=${ax_prog_python_version}
61137    PYTHON_CPPFLAGS=$PYTHON_INCLUDES
61138
61139
61140    PYTHON_LDFLAGS=$PYTHON_LDFLAGS
61141
61142
61143        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61144  ax_python_prefix="\${prefix}"
61145else
61146  ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null`
61147fi
61148
61149    PYTHON_PREFIX=$ax_python_prefix
61150
61151
61152        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61153  ax_python_exec_prefix="\${exec_prefix}"
61154else
61155  ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null`
61156fi
61157
61158    PYTHON_EXEC_PREFIX=$ax_python_exec_prefix
61159
61160
61161        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`;
61162
61163    if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then :
61164  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61165  ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}"
61166else
61167  ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
61168fi
61169else
61170  ax_python_pythondir=$ac_cv_with_pythondir
61171fi
61172
61173    pythondir=$ax_python_pythondir
61174
61175
61176        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`;
61177    ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
61178
61179    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61180  ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}"
61181else
61182  ax_python_pyexecdir=$ax_python_library_dir
61183fi
61184
61185    pyexecdir=$ax_python_pyexecdir
61186
61187
61188    PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix
61189
61190
61191    PYTHON_PACKAGE_DIR=$ax_python_library_dir
61192
61193
61194fi
61195
61196fi
61197
61198  if test "x${ac_cv_enable_python2}" != xno; then :
61199  ax_python2_progs="python2 python2.7 python2.6 python2.5"
61200  for ac_prog in $ax_python2_progs
61201do
61202  # Extract the first word of "$ac_prog", so it can be a program name with args.
61203set dummy $ac_prog; ac_word=$2
61204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
61205$as_echo_n "checking for $ac_word... " >&6; }
61206if ${ac_cv_prog_PYTHON2+:} false; then :
61207  $as_echo_n "(cached) " >&6
61208else
61209  if test -n "$PYTHON2"; then
61210  ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test.
61211else
61212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61213for as_dir in $PATH
61214do
61215  IFS=$as_save_IFS
61216  test -z "$as_dir" && as_dir=.
61217    for ac_exec_ext in '' $ac_executable_extensions; do
61218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61219    ac_cv_prog_PYTHON2="$ac_prog"
61220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
61221    break 2
61222  fi
61223done
61224  done
61225IFS=$as_save_IFS
61226
61227fi
61228fi
61229PYTHON2=$ac_cv_prog_PYTHON2
61230if test -n "$PYTHON2"; then
61231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5
61232$as_echo "$PYTHON2" >&6; }
61233else
61234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61235$as_echo "no" >&6; }
61236fi
61237
61238
61239  test -n "$PYTHON2" && break
61240done
61241
61242  if test "x${PYTHON2}" != x; then :
61243  ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
61244    PYTHON2_VERSION=$ax_prog_python2_version
61245
61246
61247    ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
61248    PYTHON2_PLATFORM=$ax_prog_python2_platform
61249
61250
61251else
61252  as_fn_error $? "Unable to find python2" "$LINENO" 5
61253
61254fi
61255  PYTHON2=$PYTHON2
61256
61257
61258  if test "x${PYTHON2_CONFIG}" = x; then :
61259  for ac_prog in python2-config python2.7-config python2.6-config python2.5-config
61260do
61261  # Extract the first word of "$ac_prog", so it can be a program name with args.
61262set dummy $ac_prog; ac_word=$2
61263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
61264$as_echo_n "checking for $ac_word... " >&6; }
61265if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then :
61266  $as_echo_n "(cached) " >&6
61267else
61268  if test -n "$PYTHON2_CONFIG"; then
61269  ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test.
61270else
61271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61272for as_dir in $PATH
61273do
61274  IFS=$as_save_IFS
61275  test -z "$as_dir" && as_dir=.
61276    for ac_exec_ext in '' $ac_executable_extensions; do
61277  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61278    ac_cv_prog_PYTHON2_CONFIG="$ac_prog"
61279    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
61280    break 2
61281  fi
61282done
61283  done
61284IFS=$as_save_IFS
61285
61286fi
61287fi
61288PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG
61289if test -n "$PYTHON2_CONFIG"; then
61290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5
61291$as_echo "$PYTHON2_CONFIG" >&6; }
61292else
61293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61294$as_echo "no" >&6; }
61295fi
61296
61297
61298  test -n "$PYTHON2_CONFIG" && break
61299done
61300
61301
61302fi
61303  if test "x${PYTHON2_CONFIG}" = x; then :
61304  as_fn_error $? "Unable to find python2-config" "$LINENO" 5
61305
61306fi
61307  PYTHON2_CONFIG=$PYTHON2_CONFIG
61308
61309
61310
61311  if test "x${PYTHON2_CONFIG}" != x; then :
61312      PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`;
61313
61314    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5
61315$as_echo_n "checking for Python verison 2 includes... " >&6; }
61316    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5
61317$as_echo "$PYTHON2_INCLUDES" >&6; }
61318
61319        PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`;
61320
61321    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5
61322$as_echo_n "checking for Python 2 libraries... " >&6; }
61323    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5
61324$as_echo "$PYTHON2_LDFLAGS" >&6; }
61325
61326        case $host_os in #(
61327  cygwin*) :
61328    PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #(
61329  *) :
61330     ;; #(
61331  *) :
61332     ;;
61333esac
61334
61335        BACKUP_CPPFLAGS="${CPPFLAGS}"
61336    CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}"
61337
61338    for ac_header in Python.h
61339do :
61340  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
61341if test "x$ac_cv_header_Python_h" = xyes; then :
61342  cat >>confdefs.h <<_ACEOF
61343#define HAVE_PYTHON_H 1
61344_ACEOF
61345 ac_cv_header_python2_h=yes
61346else
61347  ac_cv_header_python2_h=no
61348fi
61349
61350done
61351
61352
61353    CPPFLAGS="${BACKUP_CPPFLAGS}"
61354
61355fi
61356
61357  if test "x${ac_cv_header_python2_h}" != xyes; then :
61358  ac_cv_enable_python2=no
61359else
61360  ac_cv_enable_python2=$PYTHON2_VERSION
61361    PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES
61362
61363
61364    PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS
61365
61366
61367        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61368  ax_python2_prefix="\${prefix}"
61369else
61370  ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null`
61371fi
61372
61373    PYTHON2_PREFIX=$ax_python2_prefix
61374
61375
61376        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61377  ax_python2_exec_prefix="\${exec_prefix}"
61378else
61379  ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null`
61380fi
61381
61382    PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix
61383
61384
61385        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`;
61386
61387    if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then :
61388  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61389  ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}"
61390else
61391  ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
61392fi
61393else
61394  ax_python2_pythondir=$ac_cv_with_pythondir2
61395fi
61396
61397    pythondir2=$ax_python2_pythondir
61398
61399
61400        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`;
61401    ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
61402
61403    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61404  ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}"
61405else
61406  ax_python2_pyexecdir=$ax_python2_library_dir
61407fi
61408
61409    pyexecdir2=$ax_python2_pyexecdir
61410
61411
61412    PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix
61413
61414
61415    PYTHON2_PACKAGE_DIR=$ax_python2_library_dir
61416
61417
61418fi
61419
61420fi
61421
61422  if test "x${ac_cv_enable_python3}" != xno; then :
61423  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"
61424  for ac_prog in $ax_python3_progs
61425do
61426  # Extract the first word of "$ac_prog", so it can be a program name with args.
61427set dummy $ac_prog; ac_word=$2
61428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
61429$as_echo_n "checking for $ac_word... " >&6; }
61430if ${ac_cv_prog_PYTHON3+:} false; then :
61431  $as_echo_n "(cached) " >&6
61432else
61433  if test -n "$PYTHON3"; then
61434  ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test.
61435else
61436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61437for as_dir in $PATH
61438do
61439  IFS=$as_save_IFS
61440  test -z "$as_dir" && as_dir=.
61441    for ac_exec_ext in '' $ac_executable_extensions; do
61442  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61443    ac_cv_prog_PYTHON3="$ac_prog"
61444    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
61445    break 2
61446  fi
61447done
61448  done
61449IFS=$as_save_IFS
61450
61451fi
61452fi
61453PYTHON3=$ac_cv_prog_PYTHON3
61454if test -n "$PYTHON3"; then
61455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
61456$as_echo "$PYTHON3" >&6; }
61457else
61458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61459$as_echo "no" >&6; }
61460fi
61461
61462
61463  test -n "$PYTHON3" && break
61464done
61465
61466  if test "x${PYTHON3}" != x; then :
61467  ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
61468    PYTHON3_VERSION=$ax_prog_python3_version
61469
61470
61471    ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
61472    PYTHON3_PLATFORM=$ax_prog_python3_platform
61473
61474
61475else
61476  as_fn_error $? "Unable to find python3" "$LINENO" 5
61477
61478fi
61479  PYTHON3=$PYTHON3
61480
61481
61482  if test "x${PYTHON3_CONFIG}" = x; then :
61483  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
61484do
61485  # Extract the first word of "$ac_prog", so it can be a program name with args.
61486set dummy $ac_prog; ac_word=$2
61487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
61488$as_echo_n "checking for $ac_word... " >&6; }
61489if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then :
61490  $as_echo_n "(cached) " >&6
61491else
61492  if test -n "$PYTHON3_CONFIG"; then
61493  ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test.
61494else
61495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61496for as_dir in $PATH
61497do
61498  IFS=$as_save_IFS
61499  test -z "$as_dir" && as_dir=.
61500    for ac_exec_ext in '' $ac_executable_extensions; do
61501  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61502    ac_cv_prog_PYTHON3_CONFIG="$ac_prog"
61503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
61504    break 2
61505  fi
61506done
61507  done
61508IFS=$as_save_IFS
61509
61510fi
61511fi
61512PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG
61513if test -n "$PYTHON3_CONFIG"; then
61514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
61515$as_echo "$PYTHON3_CONFIG" >&6; }
61516else
61517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61518$as_echo "no" >&6; }
61519fi
61520
61521
61522  test -n "$PYTHON3_CONFIG" && break
61523done
61524
61525
61526fi
61527  if test "x${PYTHON3_CONFIG}" = x; then :
61528  as_fn_error $? "Unable to find python3-config" "$LINENO" 5
61529
61530fi
61531  PYTHON3_CONFIG=$PYTHON3_CONFIG
61532
61533
61534
61535  if test "x${PYTHON3_CONFIG}" != x; then :
61536      PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`;
61537
61538    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5
61539$as_echo_n "checking for Python verison 3 includes... " >&6; }
61540    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5
61541$as_echo "$PYTHON3_INCLUDES" >&6; }
61542
61543        PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`;
61544
61545    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5
61546$as_echo_n "checking for Python 3 libraries... " >&6; }
61547    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5
61548$as_echo "$PYTHON3_LDFLAGS" >&6; }
61549
61550        case $host_os in #(
61551  cygwin*) :
61552    PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #(
61553  *) :
61554     ;; #(
61555  *) :
61556     ;;
61557esac
61558
61559        BACKUP_CPPFLAGS="${CPPFLAGS}"
61560    CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}"
61561
61562    for ac_header in Python.h
61563do :
61564  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
61565if test "x$ac_cv_header_Python_h" = xyes; then :
61566  cat >>confdefs.h <<_ACEOF
61567#define HAVE_PYTHON_H 1
61568_ACEOF
61569 ac_cv_header_python3_h=yes
61570else
61571  ac_cv_header_python3_h=no
61572fi
61573
61574done
61575
61576
61577    CPPFLAGS="${BACKUP_CPPFLAGS}"
61578
61579fi
61580
61581  if test "x${ac_cv_header_python3_h}" != xyes; then :
61582  ac_cv_enable_python3=no
61583else
61584  ac_cv_enable_python3=$PYTHON3_VERSION
61585    PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES
61586
61587
61588    PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS
61589
61590
61591        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61592  ax_python3_prefix="\${prefix}"
61593else
61594  ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null`
61595fi
61596
61597    PYTHON3_PREFIX=$ax_python3_prefix
61598
61599
61600        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61601  ax_python3_exec_prefix="\${exec_prefix}"
61602else
61603  ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null`
61604fi
61605
61606    PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix
61607
61608
61609        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`;
61610
61611    if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then :
61612  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61613  ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}"
61614else
61615  ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
61616fi
61617else
61618  ax_python3_pythondir=$ac_cv_with_pythondir3
61619fi
61620
61621    pythondir3=$ax_python3_pythondir
61622
61623
61624        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`;
61625    ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
61626
61627    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
61628  ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}"
61629else
61630  ax_python3_pyexecdir=$ax_python3_library_dir
61631fi
61632
61633    pyexecdir3=$ax_python3_pyexecdir
61634
61635
61636    PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix
61637
61638
61639    PYTHON3_PACKAGE_DIR=$ax_python3_library_dir
61640
61641
61642fi
61643
61644fi
61645
61646   if test "x${ac_cv_enable_python}" != xno; then
61647  HAVE_PYTHON_TRUE=
61648  HAVE_PYTHON_FALSE='#'
61649else
61650  HAVE_PYTHON_TRUE='#'
61651  HAVE_PYTHON_FALSE=
61652fi
61653
61654
61655   if test "x${ac_cv_enable_python2}" != xno; then
61656  HAVE_PYTHON2_TRUE=
61657  HAVE_PYTHON2_FALSE='#'
61658else
61659  HAVE_PYTHON2_TRUE='#'
61660  HAVE_PYTHON2_FALSE=
61661fi
61662
61663
61664   if test "x${ac_cv_enable_python3}" != xno; then
61665  HAVE_PYTHON3_TRUE=
61666  HAVE_PYTHON3_FALSE='#'
61667else
61668  HAVE_PYTHON3_TRUE='#'
61669  HAVE_PYTHON3_FALSE=
61670fi
61671
61672
61673   if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then
61674  HAVE_PYTHON_TESTS_TRUE=
61675  HAVE_PYTHON_TESTS_FALSE='#'
61676else
61677  HAVE_PYTHON_TESTS_TRUE='#'
61678  HAVE_PYTHON_TESTS_FALSE=
61679fi
61680
61681
61682  if test "x${ac_cv_enable_python}" = xno; then :
61683  if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
61684  if test "x${ac_cv_enable_python2}" != xno; then :
61685  ac_cv_enable_python=${ac_cv_enable_python2}
61686else
61687  ac_cv_enable_python=""
61688fi
61689      if test "x${ac_cv_enable_python3}" != xno; then :
61690  if test "x${ac_cv_enable_python}" != x; then :
61691  ac_cv_enable_python="${ac_cv_enable_python}, "
61692fi
61693        ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}"
61694fi
61695
61696fi
61697
61698fi
61699
61700
61701if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
61702    for ac_header in stdarg.h varargs.h
61703do :
61704  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
61705ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
61706if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
61707  cat >>confdefs.h <<_ACEOF
61708#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
61709_ACEOF
61710
61711fi
61712
61713done
61714
61715
61716  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
61717  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
61718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
61719as_fn_error 1 "Missing headers: stdarg.h and varargs.h
61720See \`config.log' for more details" "$LINENO" 5; }
61721
61722fi
61723
61724fi
61725
61726
61727
61728# Check whether --with-libfuse was given.
61729if test "${with_libfuse+set}" = set; then :
61730  withval=$with_libfuse; ac_cv_with_libfuse=$withval
61731else
61732  ac_cv_with_libfuse=auto-detect
61733fi
61734
61735    { $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
61736$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; }
61737if ${ac_cv_with_libfuse+:} false; then :
61738  $as_echo_n "(cached) " >&6
61739else
61740  ac_cv_with_libfuse=auto-detect
61741fi
61742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5
61743$as_echo "$ac_cv_with_libfuse" >&6; }
61744
61745      if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then :
61746  if test -d "$ac_cv_with_libfuse"; then :
61747  CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include"
61748      LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib"
61749else
61750  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5
61751$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;}
61752
61753fi
61754
61755fi
61756
61757  if test "x$ac_cv_with_libfuse" = xno; then :
61758  ac_cv_libfuse=no
61759else
61760      if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
61761
61762pkg_failed=no
61763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5
61764$as_echo_n "checking for fuse... " >&6; }
61765
61766if test -n "$fuse_CFLAGS"; then
61767    pkg_cv_fuse_CFLAGS="$fuse_CFLAGS"
61768 elif test -n "$PKG_CONFIG"; then
61769    if test -n "$PKG_CONFIG" && \
61770    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
61771  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
61772  ac_status=$?
61773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
61774  test $ac_status = 0; }; then
61775  pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
61776		      test "x$?" != "x0" && pkg_failed=yes
61777else
61778  pkg_failed=yes
61779fi
61780 else
61781    pkg_failed=untried
61782fi
61783if test -n "$fuse_LIBS"; then
61784    pkg_cv_fuse_LIBS="$fuse_LIBS"
61785 elif test -n "$PKG_CONFIG"; then
61786    if test -n "$PKG_CONFIG" && \
61787    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
61788  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
61789  ac_status=$?
61790  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
61791  test $ac_status = 0; }; then
61792  pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
61793		      test "x$?" != "x0" && pkg_failed=yes
61794else
61795  pkg_failed=yes
61796fi
61797 else
61798    pkg_failed=untried
61799fi
61800
61801
61802
61803if test $pkg_failed = yes; then
61804   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61805$as_echo "no" >&6; }
61806
61807if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
61808        _pkg_short_errors_supported=yes
61809else
61810        _pkg_short_errors_supported=no
61811fi
61812        if test $_pkg_short_errors_supported = yes; then
61813	        fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
61814        else
61815	        fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
61816        fi
61817	# Put the nasty error message in config.log where it belongs
61818	echo "$fuse_PKG_ERRORS" >&5
61819
61820	ac_cv_libfuse=no
61821elif test $pkg_failed = untried; then
61822     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
61823$as_echo "no" >&6; }
61824	ac_cv_libfuse=no
61825else
61826	fuse_CFLAGS=$pkg_cv_fuse_CFLAGS
61827	fuse_LIBS=$pkg_cv_fuse_LIBS
61828        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
61829$as_echo "yes" >&6; }
61830	ac_cv_libfuse=libfuse
61831fi
61832
61833fi
61834
61835    if test "x$ac_cv_libfuse" = xlibfuse; then :
61836  ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS"
61837      ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS"
61838else
61839        for ac_header in fuse.h
61840do :
61841  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
61842if test "x$ac_cv_header_fuse_h" = xyes; then :
61843  cat >>confdefs.h <<_ACEOF
61844#define HAVE_FUSE_H 1
61845_ACEOF
61846 ac_cv_header_fuse_h=yes
61847else
61848  ac_cv_header_fuse_h=no
61849fi
61850
61851done
61852
61853
61854            if test "x$ac_cv_header_fuse_h" = xno; then :
61855  { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;}
61856        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
61857        for ac_header in fuse.h
61858do :
61859  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
61860if test "x$ac_cv_header_fuse_h" = xyes; then :
61861  cat >>confdefs.h <<_ACEOF
61862#define HAVE_FUSE_H 1
61863_ACEOF
61864
61865fi
61866
61867done
61868
61869
61870fi
61871
61872      if test "x$ac_cv_header_fuse_h" = xno; then :
61873  ac_cv_libfuse=no
61874else
61875          ac_cv_libfuse=libfuse
61876
61877        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5
61878$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; }
61879if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then :
61880  $as_echo_n "(cached) " >&6
61881else
61882  ac_check_lib_save_LIBS=$LIBS
61883LIBS="-lfuse  $LIBS"
61884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61885/* end confdefs.h.  */
61886
61887/* Override any GCC internal prototype to avoid an error.
61888   Use char because int might match the return type of a GCC
61889   builtin and then its argument prototype would still apply.  */
61890#ifdef __cplusplus
61891extern "C"
61892#endif
61893char fuse_daemonize ();
61894int
61895main ()
61896{
61897return fuse_daemonize ();
61898  ;
61899  return 0;
61900}
61901_ACEOF
61902if ac_fn_c_try_link "$LINENO"; then :
61903  ac_cv_lib_fuse_fuse_daemonize=yes
61904else
61905  ac_cv_lib_fuse_fuse_daemonize=no
61906fi
61907rm -f core conftest.err conftest.$ac_objext \
61908    conftest$ac_exeext conftest.$ac_ext
61909LIBS=$ac_check_lib_save_LIBS
61910fi
61911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5
61912$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; }
61913if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then :
61914  ac_cv_libfuse_dummy=yes
61915else
61916  ac_cv_libfuse=no
61917fi
61918
61919        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5
61920$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; }
61921if ${ac_cv_lib_fuse_fuse_destroy+:} false; then :
61922  $as_echo_n "(cached) " >&6
61923else
61924  ac_check_lib_save_LIBS=$LIBS
61925LIBS="-lfuse  $LIBS"
61926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61927/* end confdefs.h.  */
61928
61929/* Override any GCC internal prototype to avoid an error.
61930   Use char because int might match the return type of a GCC
61931   builtin and then its argument prototype would still apply.  */
61932#ifdef __cplusplus
61933extern "C"
61934#endif
61935char fuse_destroy ();
61936int
61937main ()
61938{
61939return fuse_destroy ();
61940  ;
61941  return 0;
61942}
61943_ACEOF
61944if ac_fn_c_try_link "$LINENO"; then :
61945  ac_cv_lib_fuse_fuse_destroy=yes
61946else
61947  ac_cv_lib_fuse_fuse_destroy=no
61948fi
61949rm -f core conftest.err conftest.$ac_objext \
61950    conftest$ac_exeext conftest.$ac_ext
61951LIBS=$ac_check_lib_save_LIBS
61952fi
61953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5
61954$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; }
61955if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then :
61956  ac_cv_libfuse_dummy=yes
61957else
61958  ac_cv_libfuse=no
61959fi
61960
61961        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5
61962$as_echo_n "checking for fuse_mount in -lfuse... " >&6; }
61963if ${ac_cv_lib_fuse_fuse_mount+:} false; then :
61964  $as_echo_n "(cached) " >&6
61965else
61966  ac_check_lib_save_LIBS=$LIBS
61967LIBS="-lfuse  $LIBS"
61968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61969/* end confdefs.h.  */
61970
61971/* Override any GCC internal prototype to avoid an error.
61972   Use char because int might match the return type of a GCC
61973   builtin and then its argument prototype would still apply.  */
61974#ifdef __cplusplus
61975extern "C"
61976#endif
61977char fuse_mount ();
61978int
61979main ()
61980{
61981return fuse_mount ();
61982  ;
61983  return 0;
61984}
61985_ACEOF
61986if ac_fn_c_try_link "$LINENO"; then :
61987  ac_cv_lib_fuse_fuse_mount=yes
61988else
61989  ac_cv_lib_fuse_fuse_mount=no
61990fi
61991rm -f core conftest.err conftest.$ac_objext \
61992    conftest$ac_exeext conftest.$ac_ext
61993LIBS=$ac_check_lib_save_LIBS
61994fi
61995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5
61996$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; }
61997if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then :
61998  ac_cv_libfuse_dummy=yes
61999else
62000  ac_cv_libfuse=no
62001fi
62002
62003        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5
62004$as_echo_n "checking for fuse_new in -lfuse... " >&6; }
62005if ${ac_cv_lib_fuse_fuse_new+:} false; then :
62006  $as_echo_n "(cached) " >&6
62007else
62008  ac_check_lib_save_LIBS=$LIBS
62009LIBS="-lfuse  $LIBS"
62010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62011/* end confdefs.h.  */
62012
62013/* Override any GCC internal prototype to avoid an error.
62014   Use char because int might match the return type of a GCC
62015   builtin and then its argument prototype would still apply.  */
62016#ifdef __cplusplus
62017extern "C"
62018#endif
62019char fuse_new ();
62020int
62021main ()
62022{
62023return fuse_new ();
62024  ;
62025  return 0;
62026}
62027_ACEOF
62028if ac_fn_c_try_link "$LINENO"; then :
62029  ac_cv_lib_fuse_fuse_new=yes
62030else
62031  ac_cv_lib_fuse_fuse_new=no
62032fi
62033rm -f core conftest.err conftest.$ac_objext \
62034    conftest$ac_exeext conftest.$ac_ext
62035LIBS=$ac_check_lib_save_LIBS
62036fi
62037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5
62038$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; }
62039if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then :
62040  ac_cv_libfuse_dummy=yes
62041else
62042  ac_cv_libfuse=no
62043fi
62044
62045
62046        ac_cv_libfuse_LIBADD="-lfuse";
62047
62048fi
62049
62050fi
62051
62052        if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then :
62053  CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26"
62054      for ac_header in osxfuse/fuse.h
62055do :
62056  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
62057if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
62058  cat >>confdefs.h <<_ACEOF
62059#define HAVE_OSXFUSE_FUSE_H 1
62060_ACEOF
62061
62062fi
62063
62064done
62065
62066
62067            if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
62068  { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;}
62069        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
62070        for ac_header in osxfuse/fuse.h
62071do :
62072  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
62073if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
62074  cat >>confdefs.h <<_ACEOF
62075#define HAVE_OSXFUSE_FUSE_H 1
62076_ACEOF
62077
62078fi
62079
62080done
62081
62082
62083fi
62084
62085      if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
62086  ac_cv_libfuse=no
62087else
62088          ac_cv_libfuse=libosxfuse
62089
62090        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5
62091$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; }
62092if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then :
62093  $as_echo_n "(cached) " >&6
62094else
62095  ac_check_lib_save_LIBS=$LIBS
62096LIBS="-losxfuse  $LIBS"
62097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62098/* end confdefs.h.  */
62099
62100/* Override any GCC internal prototype to avoid an error.
62101   Use char because int might match the return type of a GCC
62102   builtin and then its argument prototype would still apply.  */
62103#ifdef __cplusplus
62104extern "C"
62105#endif
62106char fuse_daemonize ();
62107int
62108main ()
62109{
62110return fuse_daemonize ();
62111  ;
62112  return 0;
62113}
62114_ACEOF
62115if ac_fn_c_try_link "$LINENO"; then :
62116  ac_cv_lib_osxfuse_fuse_daemonize=yes
62117else
62118  ac_cv_lib_osxfuse_fuse_daemonize=no
62119fi
62120rm -f core conftest.err conftest.$ac_objext \
62121    conftest$ac_exeext conftest.$ac_ext
62122LIBS=$ac_check_lib_save_LIBS
62123fi
62124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5
62125$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; }
62126if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then :
62127  ac_cv_libfuse_dummy=yes
62128else
62129  ac_cv_libfuse=no
62130fi
62131
62132        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5
62133$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; }
62134if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then :
62135  $as_echo_n "(cached) " >&6
62136else
62137  ac_check_lib_save_LIBS=$LIBS
62138LIBS="-losxfuse  $LIBS"
62139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62140/* end confdefs.h.  */
62141
62142/* Override any GCC internal prototype to avoid an error.
62143   Use char because int might match the return type of a GCC
62144   builtin and then its argument prototype would still apply.  */
62145#ifdef __cplusplus
62146extern "C"
62147#endif
62148char fuse_destroy ();
62149int
62150main ()
62151{
62152return fuse_destroy ();
62153  ;
62154  return 0;
62155}
62156_ACEOF
62157if ac_fn_c_try_link "$LINENO"; then :
62158  ac_cv_lib_osxfuse_fuse_destroy=yes
62159else
62160  ac_cv_lib_osxfuse_fuse_destroy=no
62161fi
62162rm -f core conftest.err conftest.$ac_objext \
62163    conftest$ac_exeext conftest.$ac_ext
62164LIBS=$ac_check_lib_save_LIBS
62165fi
62166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5
62167$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; }
62168if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then :
62169  ac_cv_libfuse_dummy=yes
62170else
62171  ac_cv_libfuse=no
62172fi
62173
62174        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5
62175$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; }
62176if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then :
62177  $as_echo_n "(cached) " >&6
62178else
62179  ac_check_lib_save_LIBS=$LIBS
62180LIBS="-losxfuse  $LIBS"
62181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62182/* end confdefs.h.  */
62183
62184/* Override any GCC internal prototype to avoid an error.
62185   Use char because int might match the return type of a GCC
62186   builtin and then its argument prototype would still apply.  */
62187#ifdef __cplusplus
62188extern "C"
62189#endif
62190char fuse_mount ();
62191int
62192main ()
62193{
62194return fuse_mount ();
62195  ;
62196  return 0;
62197}
62198_ACEOF
62199if ac_fn_c_try_link "$LINENO"; then :
62200  ac_cv_lib_osxfuse_fuse_mount=yes
62201else
62202  ac_cv_lib_osxfuse_fuse_mount=no
62203fi
62204rm -f core conftest.err conftest.$ac_objext \
62205    conftest$ac_exeext conftest.$ac_ext
62206LIBS=$ac_check_lib_save_LIBS
62207fi
62208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5
62209$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; }
62210if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then :
62211  ac_cv_libfuse_dummy=yes
62212else
62213  ac_cv_libfuse=no
62214fi
62215
62216        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5
62217$as_echo_n "checking for fuse_new in -losxfuse... " >&6; }
62218if ${ac_cv_lib_osxfuse_fuse_new+:} false; then :
62219  $as_echo_n "(cached) " >&6
62220else
62221  ac_check_lib_save_LIBS=$LIBS
62222LIBS="-losxfuse  $LIBS"
62223cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62224/* end confdefs.h.  */
62225
62226/* Override any GCC internal prototype to avoid an error.
62227   Use char because int might match the return type of a GCC
62228   builtin and then its argument prototype would still apply.  */
62229#ifdef __cplusplus
62230extern "C"
62231#endif
62232char fuse_new ();
62233int
62234main ()
62235{
62236return fuse_new ();
62237  ;
62238  return 0;
62239}
62240_ACEOF
62241if ac_fn_c_try_link "$LINENO"; then :
62242  ac_cv_lib_osxfuse_fuse_new=yes
62243else
62244  ac_cv_lib_osxfuse_fuse_new=no
62245fi
62246rm -f core conftest.err conftest.$ac_objext \
62247    conftest$ac_exeext conftest.$ac_ext
62248LIBS=$ac_check_lib_save_LIBS
62249fi
62250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5
62251$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; }
62252if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then :
62253  ac_cv_libfuse_dummy=yes
62254else
62255  ac_cv_libfuse=no
62256fi
62257
62258
62259        ac_cv_libfuse_LIBADD="-losxfuse";
62260
62261fi
62262
62263fi
62264
62265fi
62266
62267  if test "x$ac_cv_libfuse" = xlibfuse; then :
62268
62269$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h
62270
62271
62272fi
62273  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
62274
62275$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h
62276
62277
62278fi
62279
62280  if test "x$ac_cv_libfuse" != xno; then :
62281  HAVE_LIBFUSE=1
62282
62283else
62284  HAVE_LIBFUSE=0
62285
62286
62287fi
62288
62289
62290  if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then :
62291  LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS
62292
62293
62294fi
62295  if test "x$ac_cv_libfuse_LIBADD" != "x"; then :
62296  LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD
62297
62298
62299fi
62300
62301  if test "x$ac_cv_libfuse" = xlibfuse; then :
62302  ax_libfuse_pc_libs_private=-lfuse
62303
62304
62305fi
62306  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
62307  ax_libfuse_pc_libs_private=-losxfuse
62308
62309
62310fi
62311
62312  if test "x$ac_cv_libfuse" = xlibfuse; then :
62313  ax_libfuse_spec_requires=fuse-libs
62314
62315    ax_libfuse_spec_build_requires=fuse-devel
62316
62317
62318fi
62319
62320
62321for ac_header in signal.h sys/signal.h unistd.h
62322do :
62323  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
62324ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
62325if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
62326  cat >>confdefs.h <<_ACEOF
62327#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
62328_ACEOF
62329
62330fi
62331
62332done
62333
62334
62335  for ac_func in close getopt setvbuf
62336do :
62337  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62338ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62339if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62340  cat >>confdefs.h <<_ACEOF
62341#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62342_ACEOF
62343
62344fi
62345done
62346
62347
62348  if test "x$ac_cv_func_close" != xyes; then :
62349  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62350$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62351as_fn_error 1 "Missing function: close
62352See \`config.log' for more details" "$LINENO" 5; }
62353
62354fi
62355
62356    for ac_header in termios.h
62357do :
62358  ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
62359if test "x$ac_cv_header_termios_h" = xyes; then :
62360  cat >>confdefs.h <<_ACEOF
62361#define HAVE_TERMIOS_H 1
62362_ACEOF
62363
62364fi
62365
62366done
62367
62368
62369  if test "x$ac_cv_enable_winapi" = xno; then :
62370  for ac_func in getchar tcgetattr tcsetattr
62371do :
62372  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62373ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62374if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62375  cat >>confdefs.h <<_ACEOF
62376#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62377_ACEOF
62378
62379fi
62380done
62381
62382
62383fi
62384
62385    for ac_header in errno.h
62386do :
62387  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
62388if test "x$ac_cv_header_errno_h" = xyes; then :
62389  cat >>confdefs.h <<_ACEOF
62390#define HAVE_ERRNO_H 1
62391_ACEOF
62392
62393fi
62394
62395done
62396
62397
62398  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
62399$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
62400if ${ac_cv_header_time+:} false; then :
62401  $as_echo_n "(cached) " >&6
62402else
62403  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62404/* end confdefs.h.  */
62405#include <sys/types.h>
62406#include <sys/time.h>
62407#include <time.h>
62408
62409int
62410main ()
62411{
62412if ((struct tm *) 0)
62413return 0;
62414  ;
62415  return 0;
62416}
62417_ACEOF
62418if ac_fn_c_try_compile "$LINENO"; then :
62419  ac_cv_header_time=yes
62420else
62421  ac_cv_header_time=no
62422fi
62423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62424fi
62425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
62426$as_echo "$ac_cv_header_time" >&6; }
62427if test $ac_cv_header_time = yes; then
62428
62429$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
62430
62431fi
62432
62433
62434    if test "x$ac_cv_enable_winapi" = xno; then :
62435  for ac_func in clock_gettime getegid geteuid time
62436do :
62437  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62438ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62439if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62440  cat >>confdefs.h <<_ACEOF
62441#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62442_ACEOF
62443
62444fi
62445done
62446
62447
62448fi
62449
62450
62451if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then :
62452  case $host in #(
62453  *cygwin* | *mingw* | *msys*) :
62454
62455$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h
62456
62457      HAVE_DLLMAIN=1
62458
62459
62460      LIBBDE_DLL_EXPORT="-DLIBBDE_DLL_EXPORT"
62461
62462
62463      LIBBDE_DLL_IMPORT="-DLIBBDE_DLL_IMPORT"
62464
62465       ;; #(
62466  *) :
62467     ;;
62468esac
62469
62470fi
62471
62472
62473for ac_header in dlfcn.h
62474do :
62475  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
62476if test "x$ac_cv_header_dlfcn_h" = xyes; then :
62477  cat >>confdefs.h <<_ACEOF
62478#define HAVE_DLFCN_H 1
62479_ACEOF
62480
62481fi
62482
62483done
62484
62485
62486  for ac_func in fmemopen getopt mkstemp setenv tzset unlink
62487do :
62488  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62489ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62490if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62491  cat >>confdefs.h <<_ACEOF
62492#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62493_ACEOF
62494
62495fi
62496done
62497
62498
62499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
62500$as_echo_n "checking for dlsym in -ldl... " >&6; }
62501if ${ac_cv_lib_dl_dlsym+:} false; then :
62502  $as_echo_n "(cached) " >&6
62503else
62504  ac_check_lib_save_LIBS=$LIBS
62505LIBS="-ldl  $LIBS"
62506cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62507/* end confdefs.h.  */
62508
62509/* Override any GCC internal prototype to avoid an error.
62510   Use char because int might match the return type of a GCC
62511   builtin and then its argument prototype would still apply.  */
62512#ifdef __cplusplus
62513extern "C"
62514#endif
62515char dlsym ();
62516int
62517main ()
62518{
62519return dlsym ();
62520  ;
62521  return 0;
62522}
62523_ACEOF
62524if ac_fn_c_try_link "$LINENO"; then :
62525  ac_cv_lib_dl_dlsym=yes
62526else
62527  ac_cv_lib_dl_dlsym=no
62528fi
62529rm -f core conftest.err conftest.$ac_objext \
62530    conftest$ac_exeext conftest.$ac_ext
62531LIBS=$ac_check_lib_save_LIBS
62532fi
62533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
62534$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
62535if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
62536  cat >>confdefs.h <<_ACEOF
62537#define HAVE_LIBDL 1
62538_ACEOF
62539
62540  LIBS="-ldl $LIBS"
62541
62542fi
62543
62544
62545  if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then :
62546
62547$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h
62548
62549
62550fi
62551
62552 if test "x${LIB_FUZZING_ENGINE}" != x; then
62553  HAVE_LIB_FUZZING_ENGINE_TRUE=
62554  HAVE_LIB_FUZZING_ENGINE_FALSE='#'
62555else
62556  HAVE_LIB_FUZZING_ENGINE_TRUE='#'
62557  HAVE_LIB_FUZZING_ENGINE_FALSE=
62558fi
62559
62560  LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}"
62561
62562
62563
62564CFLAGS="$CFLAGS -Wall";
62565
62566if test "x$ac_cv_libcerror" = xyes || test "x$ac_cv_libcthreads" = xyes || test "x$ac_cv_libcdata" = xyes || test "x$ac_cv_libclocale" = xyes || test "x$ac_cv_libcnotify" = xyes || test "x$ac_cv_libcsplit" = xyes || test "x$ac_cv_libuna" = xyes || test "x$ac_cv_libcfile" = xyes || test "x$ac_cv_libcpath" = xyes || test "x$ac_cv_libbfio" = xyes || test "x$ac_cv_libfcache" = xyes || test "x$ac_cv_libfdata" = xyes || test "x$ac_cv_libfdatetime" = xyes || test "x$ac_cv_libfguid" = xyes || test "x$ac_cv_libfvalue" = xyes || test "x$ac_cv_libhmac" = xyes || test "x$ac_cv_libcaes" = xyes || test "x$ac_cv_libcrypto" != xno; then :
62567  libbde_spec_requires=Requires:
62568
62569
62570fi
62571
62572if test "x$ac_cv_libfuse" != xno; then :
62573  libbde_spec_tools_build_requires=BuildRequires:
62574
62575
62576fi
62577
62578DPKG_DATE=`date -R 2> /dev/null`
62579
62580
62581SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null`
62582
62583
62584ac_config_files="$ac_config_files Makefile"
62585
62586ac_config_files="$ac_config_files include/Makefile"
62587
62588ac_config_files="$ac_config_files common/Makefile"
62589
62590ac_config_files="$ac_config_files libcerror/Makefile"
62591
62592ac_config_files="$ac_config_files libcthreads/Makefile"
62593
62594ac_config_files="$ac_config_files libcdata/Makefile"
62595
62596ac_config_files="$ac_config_files libclocale/Makefile"
62597
62598ac_config_files="$ac_config_files libcnotify/Makefile"
62599
62600ac_config_files="$ac_config_files libcsplit/Makefile"
62601
62602ac_config_files="$ac_config_files libuna/Makefile"
62603
62604ac_config_files="$ac_config_files libcfile/Makefile"
62605
62606ac_config_files="$ac_config_files libcpath/Makefile"
62607
62608ac_config_files="$ac_config_files libbfio/Makefile"
62609
62610ac_config_files="$ac_config_files libfcache/Makefile"
62611
62612ac_config_files="$ac_config_files libfdata/Makefile"
62613
62614ac_config_files="$ac_config_files libfdatetime/Makefile"
62615
62616ac_config_files="$ac_config_files libfguid/Makefile"
62617
62618ac_config_files="$ac_config_files libfvalue/Makefile"
62619
62620ac_config_files="$ac_config_files libhmac/Makefile"
62621
62622ac_config_files="$ac_config_files libcaes/Makefile"
62623
62624ac_config_files="$ac_config_files libbde/Makefile"
62625
62626ac_config_files="$ac_config_files pybde/Makefile"
62627
62628ac_config_files="$ac_config_files pybde-python2/Makefile"
62629
62630ac_config_files="$ac_config_files pybde-python3/Makefile"
62631
62632ac_config_files="$ac_config_files bdetools/Makefile"
62633
62634ac_config_files="$ac_config_files po/Makefile.in"
62635
62636ac_config_files="$ac_config_files po/Makevars"
62637
62638ac_config_files="$ac_config_files manuals/Makefile"
62639
62640ac_config_files="$ac_config_files tests/Makefile"
62641
62642ac_config_files="$ac_config_files ossfuzz/Makefile"
62643
62644ac_config_files="$ac_config_files msvscpp/Makefile"
62645
62646ac_config_files="$ac_config_files include/libbde.h"
62647
62648ac_config_files="$ac_config_files include/libbde/definitions.h"
62649
62650ac_config_files="$ac_config_files include/libbde/features.h"
62651
62652ac_config_files="$ac_config_files include/libbde/types.h"
62653
62654ac_config_files="$ac_config_files libbde/libbde_definitions.h"
62655
62656ac_config_files="$ac_config_files common/types.h"
62657
62658ac_config_files="$ac_config_files dpkg/changelog"
62659
62660ac_config_files="$ac_config_files libbde/libbde.rc"
62661
62662ac_config_files="$ac_config_files libbde.pc"
62663
62664ac_config_files="$ac_config_files libbde.spec"
62665
62666ac_config_headers="$ac_config_headers common/config.h"
62667
62668
62669cat >confcache <<\_ACEOF
62670# This file is a shell script that caches the results of configure
62671# tests run on this system so they can be shared between configure
62672# scripts and configure runs, see configure's option --config-cache.
62673# It is not useful on other systems.  If it contains results you don't
62674# want to keep, you may remove or edit it.
62675#
62676# config.status only pays attention to the cache file if you give it
62677# the --recheck option to rerun configure.
62678#
62679# `ac_cv_env_foo' variables (set or unset) will be overridden when
62680# loading this file, other *unset* `ac_cv_foo' will be assigned the
62681# following values.
62682
62683_ACEOF
62684
62685# The following way of writing the cache mishandles newlines in values,
62686# but we know of no workaround that is simple, portable, and efficient.
62687# So, we kill variables containing newlines.
62688# Ultrix sh set writes to stderr and can't be redirected directly,
62689# and sets the high bit in the cache file unless we assign to the vars.
62690(
62691  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
62692    eval ac_val=\$$ac_var
62693    case $ac_val in #(
62694    *${as_nl}*)
62695      case $ac_var in #(
62696      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
62697$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
62698      esac
62699      case $ac_var in #(
62700      _ | IFS | as_nl) ;; #(
62701      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
62702      *) { eval $ac_var=; unset $ac_var;} ;;
62703      esac ;;
62704    esac
62705  done
62706
62707  (set) 2>&1 |
62708    case $as_nl`(ac_space=' '; set) 2>&1` in #(
62709    *${as_nl}ac_space=\ *)
62710      # `set' does not quote correctly, so add quotes: double-quote
62711      # substitution turns \\\\ into \\, and sed turns \\ into \.
62712      sed -n \
62713	"s/'/'\\\\''/g;
62714	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62715      ;; #(
62716    *)
62717      # `set' quotes correctly as required by POSIX, so do not add quotes.
62718      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
62719      ;;
62720    esac |
62721    sort
62722) |
62723  sed '
62724     /^ac_cv_env_/b end
62725     t clear
62726     :clear
62727     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62728     t end
62729     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
62730     :end' >>confcache
62731if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
62732  if test -w "$cache_file"; then
62733    if test "x$cache_file" != "x/dev/null"; then
62734      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
62735$as_echo "$as_me: updating cache $cache_file" >&6;}
62736      if test ! -f "$cache_file" || test -h "$cache_file"; then
62737	cat confcache >"$cache_file"
62738      else
62739        case $cache_file in #(
62740        */* | ?:*)
62741	  mv -f confcache "$cache_file"$$ &&
62742	  mv -f "$cache_file"$$ "$cache_file" ;; #(
62743        *)
62744	  mv -f confcache "$cache_file" ;;
62745	esac
62746      fi
62747    fi
62748  else
62749    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
62750$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
62751  fi
62752fi
62753rm -f confcache
62754
62755test "x$prefix" = xNONE && prefix=$ac_default_prefix
62756# Let make expand exec_prefix.
62757test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
62758
62759DEFS=-DHAVE_CONFIG_H
62760
62761ac_libobjs=
62762ac_ltlibobjs=
62763U=
62764for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
62765  # 1. Remove the extension, and $U if already installed.
62766  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
62767  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
62768  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
62769  #    will be set to the directory where LIBOBJS objects are built.
62770  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
62771  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
62772done
62773LIBOBJS=$ac_libobjs
62774
62775LTLIBOBJS=$ac_ltlibobjs
62776
62777
62778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
62779$as_echo_n "checking that generated files are newer than configure... " >&6; }
62780   if test -n "$am_sleep_pid"; then
62781     # Hide warnings about reused PIDs.
62782     wait $am_sleep_pid 2>/dev/null
62783   fi
62784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
62785$as_echo "done" >&6; }
62786 if test -n "$EXEEXT"; then
62787  am__EXEEXT_TRUE=
62788  am__EXEEXT_FALSE='#'
62789else
62790  am__EXEEXT_TRUE='#'
62791  am__EXEEXT_FALSE=
62792fi
62793
62794if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
62795  as_fn_error $? "conditional \"AMDEP\" was never defined.
62796Usually this means the macro was only invoked conditionally." "$LINENO" 5
62797fi
62798if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
62799  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
62800Usually this means the macro was only invoked conditionally." "$LINENO" 5
62801fi
62802if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
62803  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
62804Usually this means the macro was only invoked conditionally." "$LINENO" 5
62805fi
62806if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then
62807  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined.
62808Usually this means the macro was only invoked conditionally." "$LINENO" 5
62809fi
62810if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then
62811  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined.
62812Usually this means the macro was only invoked conditionally." "$LINENO" 5
62813fi
62814if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then
62815  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined.
62816Usually this means the macro was only invoked conditionally." "$LINENO" 5
62817fi
62818if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then
62819  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined.
62820Usually this means the macro was only invoked conditionally." "$LINENO" 5
62821fi
62822if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then
62823  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined.
62824Usually this means the macro was only invoked conditionally." "$LINENO" 5
62825fi
62826if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then
62827  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined.
62828Usually this means the macro was only invoked conditionally." "$LINENO" 5
62829fi
62830if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then
62831  as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined.
62832Usually this means the macro was only invoked conditionally." "$LINENO" 5
62833fi
62834if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then
62835  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined.
62836Usually this means the macro was only invoked conditionally." "$LINENO" 5
62837fi
62838if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then
62839  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined.
62840Usually this means the macro was only invoked conditionally." "$LINENO" 5
62841fi
62842if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then
62843  as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined.
62844Usually this means the macro was only invoked conditionally." "$LINENO" 5
62845fi
62846if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then
62847  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined.
62848Usually this means the macro was only invoked conditionally." "$LINENO" 5
62849fi
62850if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then
62851  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined.
62852Usually this means the macro was only invoked conditionally." "$LINENO" 5
62853fi
62854if test -z "${HAVE_LOCAL_LIBFDATETIME_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATETIME_FALSE}"; then
62855  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATETIME\" was never defined.
62856Usually this means the macro was only invoked conditionally." "$LINENO" 5
62857fi
62858if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then
62859  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined.
62860Usually this means the macro was only invoked conditionally." "$LINENO" 5
62861fi
62862if test -z "${HAVE_LOCAL_LIBFVALUE_TRUE}" && test -z "${HAVE_LOCAL_LIBFVALUE_FALSE}"; then
62863  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFVALUE\" was never defined.
62864Usually this means the macro was only invoked conditionally." "$LINENO" 5
62865fi
62866if test -z "${HAVE_LOCAL_LIBHMAC_TRUE}" && test -z "${HAVE_LOCAL_LIBHMAC_FALSE}"; then
62867  as_fn_error $? "conditional \"HAVE_LOCAL_LIBHMAC\" was never defined.
62868Usually this means the macro was only invoked conditionally." "$LINENO" 5
62869fi
62870if test -z "${HAVE_LOCAL_LIBCAES_TRUE}" && test -z "${HAVE_LOCAL_LIBCAES_FALSE}"; then
62871  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCAES\" was never defined.
62872Usually this means the macro was only invoked conditionally." "$LINENO" 5
62873fi
62874if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
62875  as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
62876Usually this means the macro was only invoked conditionally." "$LINENO" 5
62877fi
62878if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then
62879  as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined.
62880Usually this means the macro was only invoked conditionally." "$LINENO" 5
62881fi
62882if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then
62883  as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined.
62884Usually this means the macro was only invoked conditionally." "$LINENO" 5
62885fi
62886if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then
62887  as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined.
62888Usually this means the macro was only invoked conditionally." "$LINENO" 5
62889fi
62890if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then
62891  as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined.
62892Usually this means the macro was only invoked conditionally." "$LINENO" 5
62893fi
62894
62895: "${CONFIG_STATUS=./config.status}"
62896ac_write_fail=0
62897ac_clean_files_save=$ac_clean_files
62898ac_clean_files="$ac_clean_files $CONFIG_STATUS"
62899{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
62900$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
62901as_write_fail=0
62902cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
62903#! $SHELL
62904# Generated by $as_me.
62905# Run this file to recreate the current configuration.
62906# Compiler output produced by configure, useful for debugging
62907# configure, is in config.log if it exists.
62908
62909debug=false
62910ac_cs_recheck=false
62911ac_cs_silent=false
62912
62913SHELL=\${CONFIG_SHELL-$SHELL}
62914export SHELL
62915_ASEOF
62916cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
62917## -------------------- ##
62918## M4sh Initialization. ##
62919## -------------------- ##
62920
62921# Be more Bourne compatible
62922DUALCASE=1; export DUALCASE # for MKS sh
62923if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
62924  emulate sh
62925  NULLCMD=:
62926  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
62927  # is contrary to our usage.  Disable this feature.
62928  alias -g '${1+"$@"}'='"$@"'
62929  setopt NO_GLOB_SUBST
62930else
62931  case `(set -o) 2>/dev/null` in #(
62932  *posix*) :
62933    set -o posix ;; #(
62934  *) :
62935     ;;
62936esac
62937fi
62938
62939
62940as_nl='
62941'
62942export as_nl
62943# Printing a long string crashes Solaris 7 /usr/bin/printf.
62944as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
62945as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
62946as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
62947# Prefer a ksh shell builtin over an external printf program on Solaris,
62948# but without wasting forks for bash or zsh.
62949if test -z "$BASH_VERSION$ZSH_VERSION" \
62950    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
62951  as_echo='print -r --'
62952  as_echo_n='print -rn --'
62953elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
62954  as_echo='printf %s\n'
62955  as_echo_n='printf %s'
62956else
62957  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
62958    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
62959    as_echo_n='/usr/ucb/echo -n'
62960  else
62961    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62962    as_echo_n_body='eval
62963      arg=$1;
62964      case $arg in #(
62965      *"$as_nl"*)
62966	expr "X$arg" : "X\\(.*\\)$as_nl";
62967	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62968      esac;
62969      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
62970    '
62971    export as_echo_n_body
62972    as_echo_n='sh -c $as_echo_n_body as_echo'
62973  fi
62974  export as_echo_body
62975  as_echo='sh -c $as_echo_body as_echo'
62976fi
62977
62978# The user is always right.
62979if test "${PATH_SEPARATOR+set}" != set; then
62980  PATH_SEPARATOR=:
62981  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
62982    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
62983      PATH_SEPARATOR=';'
62984  }
62985fi
62986
62987
62988# IFS
62989# We need space, tab and new line, in precisely that order.  Quoting is
62990# there to prevent editors from complaining about space-tab.
62991# (If _AS_PATH_WALK were called with IFS unset, it would disable word
62992# splitting by setting IFS to empty value.)
62993IFS=" ""	$as_nl"
62994
62995# Find who we are.  Look in the path if we contain no directory separator.
62996as_myself=
62997case $0 in #((
62998  *[\\/]* ) as_myself=$0 ;;
62999  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
63000for as_dir in $PATH
63001do
63002  IFS=$as_save_IFS
63003  test -z "$as_dir" && as_dir=.
63004    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
63005  done
63006IFS=$as_save_IFS
63007
63008     ;;
63009esac
63010# We did not find ourselves, most probably we were run as `sh COMMAND'
63011# in which case we are not to be found in the path.
63012if test "x$as_myself" = x; then
63013  as_myself=$0
63014fi
63015if test ! -f "$as_myself"; then
63016  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
63017  exit 1
63018fi
63019
63020# Unset variables that we do not need and which cause bugs (e.g. in
63021# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
63022# suppresses any "Segmentation fault" message there.  '((' could
63023# trigger a bug in pdksh 5.2.14.
63024for as_var in BASH_ENV ENV MAIL MAILPATH
63025do eval test x\${$as_var+set} = xset \
63026  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
63027done
63028PS1='$ '
63029PS2='> '
63030PS4='+ '
63031
63032# NLS nuisances.
63033LC_ALL=C
63034export LC_ALL
63035LANGUAGE=C
63036export LANGUAGE
63037
63038# CDPATH.
63039(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
63040
63041
63042# as_fn_error STATUS ERROR [LINENO LOG_FD]
63043# ----------------------------------------
63044# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
63045# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
63046# script with STATUS, using 1 if that was 0.
63047as_fn_error ()
63048{
63049  as_status=$1; test $as_status -eq 0 && as_status=1
63050  if test "$4"; then
63051    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
63052    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
63053  fi
63054  $as_echo "$as_me: error: $2" >&2
63055  as_fn_exit $as_status
63056} # as_fn_error
63057
63058
63059# as_fn_set_status STATUS
63060# -----------------------
63061# Set $? to STATUS, without forking.
63062as_fn_set_status ()
63063{
63064  return $1
63065} # as_fn_set_status
63066
63067# as_fn_exit STATUS
63068# -----------------
63069# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
63070as_fn_exit ()
63071{
63072  set +e
63073  as_fn_set_status $1
63074  exit $1
63075} # as_fn_exit
63076
63077# as_fn_unset VAR
63078# ---------------
63079# Portably unset VAR.
63080as_fn_unset ()
63081{
63082  { eval $1=; unset $1;}
63083}
63084as_unset=as_fn_unset
63085# as_fn_append VAR VALUE
63086# ----------------------
63087# Append the text in VALUE to the end of the definition contained in VAR. Take
63088# advantage of any shell optimizations that allow amortized linear growth over
63089# repeated appends, instead of the typical quadratic growth present in naive
63090# implementations.
63091if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
63092  eval 'as_fn_append ()
63093  {
63094    eval $1+=\$2
63095  }'
63096else
63097  as_fn_append ()
63098  {
63099    eval $1=\$$1\$2
63100  }
63101fi # as_fn_append
63102
63103# as_fn_arith ARG...
63104# ------------------
63105# Perform arithmetic evaluation on the ARGs, and store the result in the
63106# global $as_val. Take advantage of shells that can avoid forks. The arguments
63107# must be portable across $(()) and expr.
63108if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
63109  eval 'as_fn_arith ()
63110  {
63111    as_val=$(( $* ))
63112  }'
63113else
63114  as_fn_arith ()
63115  {
63116    as_val=`expr "$@" || test $? -eq 1`
63117  }
63118fi # as_fn_arith
63119
63120
63121if expr a : '\(a\)' >/dev/null 2>&1 &&
63122   test "X`expr 00001 : '.*\(...\)'`" = X001; then
63123  as_expr=expr
63124else
63125  as_expr=false
63126fi
63127
63128if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
63129  as_basename=basename
63130else
63131  as_basename=false
63132fi
63133
63134if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
63135  as_dirname=dirname
63136else
63137  as_dirname=false
63138fi
63139
63140as_me=`$as_basename -- "$0" ||
63141$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
63142	 X"$0" : 'X\(//\)$' \| \
63143	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
63144$as_echo X/"$0" |
63145    sed '/^.*\/\([^/][^/]*\)\/*$/{
63146	    s//\1/
63147	    q
63148	  }
63149	  /^X\/\(\/\/\)$/{
63150	    s//\1/
63151	    q
63152	  }
63153	  /^X\/\(\/\).*/{
63154	    s//\1/
63155	    q
63156	  }
63157	  s/.*/./; q'`
63158
63159# Avoid depending upon Character Ranges.
63160as_cr_letters='abcdefghijklmnopqrstuvwxyz'
63161as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
63162as_cr_Letters=$as_cr_letters$as_cr_LETTERS
63163as_cr_digits='0123456789'
63164as_cr_alnum=$as_cr_Letters$as_cr_digits
63165
63166ECHO_C= ECHO_N= ECHO_T=
63167case `echo -n x` in #(((((
63168-n*)
63169  case `echo 'xy\c'` in
63170  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
63171  xy)  ECHO_C='\c';;
63172  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
63173       ECHO_T='	';;
63174  esac;;
63175*)
63176  ECHO_N='-n';;
63177esac
63178
63179rm -f conf$$ conf$$.exe conf$$.file
63180if test -d conf$$.dir; then
63181  rm -f conf$$.dir/conf$$.file
63182else
63183  rm -f conf$$.dir
63184  mkdir conf$$.dir 2>/dev/null
63185fi
63186if (echo >conf$$.file) 2>/dev/null; then
63187  if ln -s conf$$.file conf$$ 2>/dev/null; then
63188    as_ln_s='ln -s'
63189    # ... but there are two gotchas:
63190    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
63191    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
63192    # In both cases, we have to default to `cp -pR'.
63193    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
63194      as_ln_s='cp -pR'
63195  elif ln conf$$.file conf$$ 2>/dev/null; then
63196    as_ln_s=ln
63197  else
63198    as_ln_s='cp -pR'
63199  fi
63200else
63201  as_ln_s='cp -pR'
63202fi
63203rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
63204rmdir conf$$.dir 2>/dev/null
63205
63206
63207# as_fn_mkdir_p
63208# -------------
63209# Create "$as_dir" as a directory, including parents if necessary.
63210as_fn_mkdir_p ()
63211{
63212
63213  case $as_dir in #(
63214  -*) as_dir=./$as_dir;;
63215  esac
63216  test -d "$as_dir" || eval $as_mkdir_p || {
63217    as_dirs=
63218    while :; do
63219      case $as_dir in #(
63220      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
63221      *) as_qdir=$as_dir;;
63222      esac
63223      as_dirs="'$as_qdir' $as_dirs"
63224      as_dir=`$as_dirname -- "$as_dir" ||
63225$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63226	 X"$as_dir" : 'X\(//\)[^/]' \| \
63227	 X"$as_dir" : 'X\(//\)$' \| \
63228	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
63229$as_echo X"$as_dir" |
63230    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
63231	    s//\1/
63232	    q
63233	  }
63234	  /^X\(\/\/\)[^/].*/{
63235	    s//\1/
63236	    q
63237	  }
63238	  /^X\(\/\/\)$/{
63239	    s//\1/
63240	    q
63241	  }
63242	  /^X\(\/\).*/{
63243	    s//\1/
63244	    q
63245	  }
63246	  s/.*/./; q'`
63247      test -d "$as_dir" && break
63248    done
63249    test -z "$as_dirs" || eval "mkdir $as_dirs"
63250  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
63251
63252
63253} # as_fn_mkdir_p
63254if mkdir -p . 2>/dev/null; then
63255  as_mkdir_p='mkdir -p "$as_dir"'
63256else
63257  test -d ./-p && rmdir ./-p
63258  as_mkdir_p=false
63259fi
63260
63261
63262# as_fn_executable_p FILE
63263# -----------------------
63264# Test if FILE is an executable regular file.
63265as_fn_executable_p ()
63266{
63267  test -f "$1" && test -x "$1"
63268} # as_fn_executable_p
63269as_test_x='test -x'
63270as_executable_p=as_fn_executable_p
63271
63272# Sed expression to map a string onto a valid CPP name.
63273as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
63274
63275# Sed expression to map a string onto a valid variable name.
63276as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
63277
63278
63279exec 6>&1
63280## ----------------------------------- ##
63281## Main body of $CONFIG_STATUS script. ##
63282## ----------------------------------- ##
63283_ASEOF
63284test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
63285
63286cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63287# Save the log message, to keep $0 and so on meaningful, and to
63288# report actual input values of CONFIG_FILES etc. instead of their
63289# values after options handling.
63290ac_log="
63291This file was extended by libbde $as_me 20210605, which was
63292generated by GNU Autoconf 2.69.  Invocation command line was
63293
63294  CONFIG_FILES    = $CONFIG_FILES
63295  CONFIG_HEADERS  = $CONFIG_HEADERS
63296  CONFIG_LINKS    = $CONFIG_LINKS
63297  CONFIG_COMMANDS = $CONFIG_COMMANDS
63298  $ $0 $@
63299
63300on `(hostname || uname -n) 2>/dev/null | sed 1q`
63301"
63302
63303_ACEOF
63304
63305case $ac_config_files in *"
63306"*) set x $ac_config_files; shift; ac_config_files=$*;;
63307esac
63308
63309case $ac_config_headers in *"
63310"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
63311esac
63312
63313
63314cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63315# Files that config.status was made for.
63316config_files="$ac_config_files"
63317config_headers="$ac_config_headers"
63318config_commands="$ac_config_commands"
63319
63320_ACEOF
63321
63322cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63323ac_cs_usage="\
63324\`$as_me' instantiates files and other configuration actions
63325from templates according to the current configuration.  Unless the files
63326and actions are specified as TAGs, all are instantiated by default.
63327
63328Usage: $0 [OPTION]... [TAG]...
63329
63330  -h, --help       print this help, then exit
63331  -V, --version    print version number and configuration settings, then exit
63332      --config     print configuration, then exit
63333  -q, --quiet, --silent
63334                   do not print progress messages
63335  -d, --debug      don't remove temporary files
63336      --recheck    update $as_me by reconfiguring in the same conditions
63337      --file=FILE[:TEMPLATE]
63338                   instantiate the configuration file FILE
63339      --header=FILE[:TEMPLATE]
63340                   instantiate the configuration header FILE
63341
63342Configuration files:
63343$config_files
63344
63345Configuration headers:
63346$config_headers
63347
63348Configuration commands:
63349$config_commands
63350
63351Report bugs to <joachim.metz@gmail.com>."
63352
63353_ACEOF
63354cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63355ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
63356ac_cs_version="\\
63357libbde config.status 20210605
63358configured by $0, generated by GNU Autoconf 2.69,
63359  with options \\"\$ac_cs_config\\"
63360
63361Copyright (C) 2012 Free Software Foundation, Inc.
63362This config.status script is free software; the Free Software Foundation
63363gives unlimited permission to copy, distribute and modify it."
63364
63365ac_pwd='$ac_pwd'
63366srcdir='$srcdir'
63367INSTALL='$INSTALL'
63368MKDIR_P='$MKDIR_P'
63369AWK='$AWK'
63370test -n "\$AWK" || AWK=awk
63371_ACEOF
63372
63373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63374# The default lists apply if the user does not specify any file.
63375ac_need_defaults=:
63376while test $# != 0
63377do
63378  case $1 in
63379  --*=?*)
63380    ac_option=`expr "X$1" : 'X\([^=]*\)='`
63381    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
63382    ac_shift=:
63383    ;;
63384  --*=)
63385    ac_option=`expr "X$1" : 'X\([^=]*\)='`
63386    ac_optarg=
63387    ac_shift=:
63388    ;;
63389  *)
63390    ac_option=$1
63391    ac_optarg=$2
63392    ac_shift=shift
63393    ;;
63394  esac
63395
63396  case $ac_option in
63397  # Handling of the options.
63398  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
63399    ac_cs_recheck=: ;;
63400  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
63401    $as_echo "$ac_cs_version"; exit ;;
63402  --config | --confi | --conf | --con | --co | --c )
63403    $as_echo "$ac_cs_config"; exit ;;
63404  --debug | --debu | --deb | --de | --d | -d )
63405    debug=: ;;
63406  --file | --fil | --fi | --f )
63407    $ac_shift
63408    case $ac_optarg in
63409    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
63410    '') as_fn_error $? "missing file argument" ;;
63411    esac
63412    as_fn_append CONFIG_FILES " '$ac_optarg'"
63413    ac_need_defaults=false;;
63414  --header | --heade | --head | --hea )
63415    $ac_shift
63416    case $ac_optarg in
63417    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
63418    esac
63419    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
63420    ac_need_defaults=false;;
63421  --he | --h)
63422    # Conflict between --help and --header
63423    as_fn_error $? "ambiguous option: \`$1'
63424Try \`$0 --help' for more information.";;
63425  --help | --hel | -h )
63426    $as_echo "$ac_cs_usage"; exit ;;
63427  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
63428  | -silent | --silent | --silen | --sile | --sil | --si | --s)
63429    ac_cs_silent=: ;;
63430
63431  # This is an error.
63432  -*) as_fn_error $? "unrecognized option: \`$1'
63433Try \`$0 --help' for more information." ;;
63434
63435  *) as_fn_append ac_config_targets " $1"
63436     ac_need_defaults=false ;;
63437
63438  esac
63439  shift
63440done
63441
63442ac_configure_extra_args=
63443
63444if $ac_cs_silent; then
63445  exec 6>/dev/null
63446  ac_configure_extra_args="$ac_configure_extra_args --silent"
63447fi
63448
63449_ACEOF
63450cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63451if \$ac_cs_recheck; then
63452  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
63453  shift
63454  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
63455  CONFIG_SHELL='$SHELL'
63456  export CONFIG_SHELL
63457  exec "\$@"
63458fi
63459
63460_ACEOF
63461cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63462exec 5>>config.log
63463{
63464  echo
63465  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
63466## Running $as_me. ##
63467_ASBOX
63468  $as_echo "$ac_log"
63469} >&5
63470
63471_ACEOF
63472cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63473#
63474# INIT-COMMANDS
63475#
63476AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
63477
63478
63479# The HP-UX ksh and POSIX shell print the target directory to stdout
63480# if CDPATH is set.
63481(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
63482
63483sed_quote_subst='$sed_quote_subst'
63484double_quote_subst='$double_quote_subst'
63485delay_variable_subst='$delay_variable_subst'
63486AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
63487DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
63488OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
63489macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
63490macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
63491enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
63492enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
63493pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
63494enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
63495shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
63496SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
63497ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
63498PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
63499host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
63500host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
63501host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
63502build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
63503build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
63504build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
63505SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
63506Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
63507GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
63508EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
63509FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
63510LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
63511NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
63512LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
63513max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
63514ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
63515exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
63516lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
63517lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
63518lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
63519lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
63520lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
63521reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
63522reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
63523deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
63524file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
63525file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
63526want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
63527sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
63528AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
63529AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
63530archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
63531STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
63532RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
63533old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
63534old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
63535old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
63536lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
63537CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
63538CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
63539compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
63540GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
63541lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
63542lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
63543lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
63544lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
63545lt_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"`'
63546lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
63547nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
63548lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
63549lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
63550objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
63551MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
63552lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
63553lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
63554lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
63555lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
63556lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
63557need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
63558MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
63559DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
63560NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
63561LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
63562OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
63563OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
63564libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
63565shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
63566extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
63567archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
63568enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
63569export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
63570whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
63571compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
63572old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
63573old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
63574archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
63575archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
63576module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
63577module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
63578with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
63579allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
63580no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
63581hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
63582hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
63583hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
63584hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
63585hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
63586hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
63587hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
63588inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
63589link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
63590always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
63591export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
63592exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
63593include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
63594prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
63595postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
63596file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
63597variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
63598need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
63599need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
63600version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
63601runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
63602shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
63603shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
63604libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
63605library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
63606soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
63607install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
63608postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
63609postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
63610finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
63611finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
63612hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
63613sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
63614configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
63615configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
63616hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
63617enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
63618enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
63619enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
63620old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
63621striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
63622compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
63623predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
63624postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
63625predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
63626postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
63627compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
63628LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
63629reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
63630reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63631old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63632compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
63633GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
63634lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
63635lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
63636lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
63637lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
63638lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
63639archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
63640enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
63641export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
63642whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
63643compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
63644old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63645old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63646archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63647archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63648module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63649module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63650with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
63651allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
63652no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
63653hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
63654hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
63655hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
63656hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
63657hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
63658hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
63659hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
63660inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
63661link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
63662always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
63663export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63664exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
63665include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
63666prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63667postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
63668file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
63669hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
63670compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
63671predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
63672postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
63673predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
63674postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
63675compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
63676
63677LTCC='$LTCC'
63678LTCFLAGS='$LTCFLAGS'
63679compiler='$compiler_DEFAULT'
63680
63681# A function that is used when there is no print builtin or printf.
63682func_fallback_echo ()
63683{
63684  eval 'cat <<_LTECHO_EOF
63685\$1
63686_LTECHO_EOF'
63687}
63688
63689# Quote evaled strings.
63690for var in AS \
63691DLLTOOL \
63692OBJDUMP \
63693SHELL \
63694ECHO \
63695PATH_SEPARATOR \
63696SED \
63697GREP \
63698EGREP \
63699FGREP \
63700LD \
63701NM \
63702LN_S \
63703lt_SP2NL \
63704lt_NL2SP \
63705reload_flag \
63706deplibs_check_method \
63707file_magic_cmd \
63708file_magic_glob \
63709want_nocaseglob \
63710sharedlib_from_linklib_cmd \
63711AR \
63712AR_FLAGS \
63713archiver_list_spec \
63714STRIP \
63715RANLIB \
63716CC \
63717CFLAGS \
63718compiler \
63719lt_cv_sys_global_symbol_pipe \
63720lt_cv_sys_global_symbol_to_cdecl \
63721lt_cv_sys_global_symbol_to_import \
63722lt_cv_sys_global_symbol_to_c_name_address \
63723lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
63724lt_cv_nm_interface \
63725nm_file_list_spec \
63726lt_cv_truncate_bin \
63727lt_prog_compiler_no_builtin_flag \
63728lt_prog_compiler_pic \
63729lt_prog_compiler_wl \
63730lt_prog_compiler_static \
63731lt_cv_prog_compiler_c_o \
63732need_locks \
63733MANIFEST_TOOL \
63734DSYMUTIL \
63735NMEDIT \
63736LIPO \
63737OTOOL \
63738OTOOL64 \
63739shrext_cmds \
63740export_dynamic_flag_spec \
63741whole_archive_flag_spec \
63742compiler_needs_object \
63743with_gnu_ld \
63744allow_undefined_flag \
63745no_undefined_flag \
63746hardcode_libdir_flag_spec \
63747hardcode_libdir_separator \
63748exclude_expsyms \
63749include_expsyms \
63750file_list_spec \
63751variables_saved_for_relink \
63752libname_spec \
63753library_names_spec \
63754soname_spec \
63755install_override_mode \
63756finish_eval \
63757old_striplib \
63758striplib \
63759compiler_lib_search_dirs \
63760predep_objects \
63761postdep_objects \
63762predeps \
63763postdeps \
63764compiler_lib_search_path \
63765LD_CXX \
63766reload_flag_CXX \
63767compiler_CXX \
63768lt_prog_compiler_no_builtin_flag_CXX \
63769lt_prog_compiler_pic_CXX \
63770lt_prog_compiler_wl_CXX \
63771lt_prog_compiler_static_CXX \
63772lt_cv_prog_compiler_c_o_CXX \
63773export_dynamic_flag_spec_CXX \
63774whole_archive_flag_spec_CXX \
63775compiler_needs_object_CXX \
63776with_gnu_ld_CXX \
63777allow_undefined_flag_CXX \
63778no_undefined_flag_CXX \
63779hardcode_libdir_flag_spec_CXX \
63780hardcode_libdir_separator_CXX \
63781exclude_expsyms_CXX \
63782include_expsyms_CXX \
63783file_list_spec_CXX \
63784compiler_lib_search_dirs_CXX \
63785predep_objects_CXX \
63786postdep_objects_CXX \
63787predeps_CXX \
63788postdeps_CXX \
63789compiler_lib_search_path_CXX; do
63790    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
63791    *[\\\\\\\`\\"\\\$]*)
63792      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
63793      ;;
63794    *)
63795      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
63796      ;;
63797    esac
63798done
63799
63800# Double-quote double-evaled strings.
63801for var in reload_cmds \
63802old_postinstall_cmds \
63803old_postuninstall_cmds \
63804old_archive_cmds \
63805extract_expsyms_cmds \
63806old_archive_from_new_cmds \
63807old_archive_from_expsyms_cmds \
63808archive_cmds \
63809archive_expsym_cmds \
63810module_cmds \
63811module_expsym_cmds \
63812export_symbols_cmds \
63813prelink_cmds \
63814postlink_cmds \
63815postinstall_cmds \
63816postuninstall_cmds \
63817finish_cmds \
63818sys_lib_search_path_spec \
63819configure_time_dlsearch_path \
63820configure_time_lt_sys_library_path \
63821reload_cmds_CXX \
63822old_archive_cmds_CXX \
63823old_archive_from_new_cmds_CXX \
63824old_archive_from_expsyms_cmds_CXX \
63825archive_cmds_CXX \
63826archive_expsym_cmds_CXX \
63827module_cmds_CXX \
63828module_expsym_cmds_CXX \
63829export_symbols_cmds_CXX \
63830prelink_cmds_CXX \
63831postlink_cmds_CXX; do
63832    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
63833    *[\\\\\\\`\\"\\\$]*)
63834      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
63835      ;;
63836    *)
63837      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
63838      ;;
63839    esac
63840done
63841
63842ac_aux_dir='$ac_aux_dir'
63843
63844# See if we are running on zsh, and set the options that allow our
63845# commands through without removal of \ escapes INIT.
63846if test -n "\${ZSH_VERSION+set}"; then
63847   setopt NO_GLOB_SUBST
63848fi
63849
63850
63851    PACKAGE='$PACKAGE'
63852    VERSION='$VERSION'
63853    RM='$RM'
63854    ofile='$ofile'
63855
63856
63857
63858
63859
63860# Capture the value of obsolete ALL_LINGUAS because we need it to compute
63861    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
63862    # from automake < 1.5.
63863    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
63864    # Capture the value of LINGUAS because we need it to compute CATALOGS.
63865    LINGUAS="${LINGUAS-%UNSET%}"
63866
63867
63868_ACEOF
63869
63870cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63871
63872# Handling of arguments.
63873for ac_config_target in $ac_config_targets
63874do
63875  case $ac_config_target in
63876    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
63877    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
63878    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
63879    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
63880    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
63881    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
63882    "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;;
63883    "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;;
63884    "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;;
63885    "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;;
63886    "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;;
63887    "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;;
63888    "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;;
63889    "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;;
63890    "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;;
63891    "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;;
63892    "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;;
63893    "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;;
63894    "libfdatetime/Makefile") CONFIG_FILES="$CONFIG_FILES libfdatetime/Makefile" ;;
63895    "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;;
63896    "libfvalue/Makefile") CONFIG_FILES="$CONFIG_FILES libfvalue/Makefile" ;;
63897    "libhmac/Makefile") CONFIG_FILES="$CONFIG_FILES libhmac/Makefile" ;;
63898    "libcaes/Makefile") CONFIG_FILES="$CONFIG_FILES libcaes/Makefile" ;;
63899    "libbde/Makefile") CONFIG_FILES="$CONFIG_FILES libbde/Makefile" ;;
63900    "pybde/Makefile") CONFIG_FILES="$CONFIG_FILES pybde/Makefile" ;;
63901    "pybde-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pybde-python2/Makefile" ;;
63902    "pybde-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pybde-python3/Makefile" ;;
63903    "bdetools/Makefile") CONFIG_FILES="$CONFIG_FILES bdetools/Makefile" ;;
63904    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
63905    "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;;
63906    "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;;
63907    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
63908    "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;;
63909    "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;;
63910    "include/libbde.h") CONFIG_FILES="$CONFIG_FILES include/libbde.h" ;;
63911    "include/libbde/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libbde/definitions.h" ;;
63912    "include/libbde/features.h") CONFIG_FILES="$CONFIG_FILES include/libbde/features.h" ;;
63913    "include/libbde/types.h") CONFIG_FILES="$CONFIG_FILES include/libbde/types.h" ;;
63914    "libbde/libbde_definitions.h") CONFIG_FILES="$CONFIG_FILES libbde/libbde_definitions.h" ;;
63915    "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;;
63916    "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;;
63917    "libbde/libbde.rc") CONFIG_FILES="$CONFIG_FILES libbde/libbde.rc" ;;
63918    "libbde.pc") CONFIG_FILES="$CONFIG_FILES libbde.pc" ;;
63919    "libbde.spec") CONFIG_FILES="$CONFIG_FILES libbde.spec" ;;
63920    "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;;
63921
63922  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
63923  esac
63924done
63925
63926
63927# If the user did not use the arguments to specify the items to instantiate,
63928# then the envvar interface is used.  Set only those that are not.
63929# We use the long form for the default assignment because of an extremely
63930# bizarre bug on SunOS 4.1.3.
63931if $ac_need_defaults; then
63932  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
63933  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
63934  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
63935fi
63936
63937# Have a temporary directory for convenience.  Make it in the build tree
63938# simply because there is no reason against having it here, and in addition,
63939# creating and moving files from /tmp can sometimes cause problems.
63940# Hook for its removal unless debugging.
63941# Note that there is a small window in which the directory will not be cleaned:
63942# after its creation but before its name has been assigned to `$tmp'.
63943$debug ||
63944{
63945  tmp= ac_tmp=
63946  trap 'exit_status=$?
63947  : "${ac_tmp:=$tmp}"
63948  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
63949' 0
63950  trap 'as_fn_exit 1' 1 2 13 15
63951}
63952# Create a (secure) tmp directory for tmp files.
63953
63954{
63955  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
63956  test -d "$tmp"
63957}  ||
63958{
63959  tmp=./conf$$-$RANDOM
63960  (umask 077 && mkdir "$tmp")
63961} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
63962ac_tmp=$tmp
63963
63964# Set up the scripts for CONFIG_FILES section.
63965# No need to generate them if there are no CONFIG_FILES.
63966# This happens for instance with `./config.status config.h'.
63967if test -n "$CONFIG_FILES"; then
63968
63969
63970ac_cr=`echo X | tr X '\015'`
63971# On cygwin, bash can eat \r inside `` if the user requested igncr.
63972# But we know of no other shell where ac_cr would be empty at this
63973# point, so we can use a bashism as a fallback.
63974if test "x$ac_cr" = x; then
63975  eval ac_cr=\$\'\\r\'
63976fi
63977ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
63978if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
63979  ac_cs_awk_cr='\\r'
63980else
63981  ac_cs_awk_cr=$ac_cr
63982fi
63983
63984echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
63985_ACEOF
63986
63987
63988{
63989  echo "cat >conf$$subs.awk <<_ACEOF" &&
63990  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
63991  echo "_ACEOF"
63992} >conf$$subs.sh ||
63993  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
63994ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
63995ac_delim='%!_!# '
63996for ac_last_try in false false false false false :; do
63997  . ./conf$$subs.sh ||
63998    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
63999
64000  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
64001  if test $ac_delim_n = $ac_delim_num; then
64002    break
64003  elif $ac_last_try; then
64004    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
64005  else
64006    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
64007  fi
64008done
64009rm -f conf$$subs.sh
64010
64011cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
64012cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
64013_ACEOF
64014sed -n '
64015h
64016s/^/S["/; s/!.*/"]=/
64017p
64018g
64019s/^[^!]*!//
64020:repl
64021t repl
64022s/'"$ac_delim"'$//
64023t delim
64024:nl
64025h
64026s/\(.\{148\}\)..*/\1/
64027t more1
64028s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
64029p
64030n
64031b repl
64032:more1
64033s/["\\]/\\&/g; s/^/"/; s/$/"\\/
64034p
64035g
64036s/.\{148\}//
64037t nl
64038:delim
64039h
64040s/\(.\{148\}\)..*/\1/
64041t more2
64042s/["\\]/\\&/g; s/^/"/; s/$/"/
64043p
64044b
64045:more2
64046s/["\\]/\\&/g; s/^/"/; s/$/"\\/
64047p
64048g
64049s/.\{148\}//
64050t delim
64051' <conf$$subs.awk | sed '
64052/^[^""]/{
64053  N
64054  s/\n//
64055}
64056' >>$CONFIG_STATUS || ac_write_fail=1
64057rm -f conf$$subs.awk
64058cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
64059_ACAWK
64060cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
64061  for (key in S) S_is_set[key] = 1
64062  FS = ""
64063
64064}
64065{
64066  line = $ 0
64067  nfields = split(line, field, "@")
64068  substed = 0
64069  len = length(field[1])
64070  for (i = 2; i < nfields; i++) {
64071    key = field[i]
64072    keylen = length(key)
64073    if (S_is_set[key]) {
64074      value = S[key]
64075      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
64076      len += length(value) + length(field[++i])
64077      substed = 1
64078    } else
64079      len += 1 + keylen
64080  }
64081
64082  print line
64083}
64084
64085_ACAWK
64086_ACEOF
64087cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
64088if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
64089  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
64090else
64091  cat
64092fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
64093  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
64094_ACEOF
64095
64096# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
64097# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
64098# trailing colons and then remove the whole line if VPATH becomes empty
64099# (actually we leave an empty line to preserve line numbers).
64100if test "x$srcdir" = x.; then
64101  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
64102h
64103s///
64104s/^/:/
64105s/[	 ]*$/:/
64106s/:\$(srcdir):/:/g
64107s/:\${srcdir}:/:/g
64108s/:@srcdir@:/:/g
64109s/^:*//
64110s/:*$//
64111x
64112s/\(=[	 ]*\).*/\1/
64113G
64114s/\n//
64115s/^[^=]*=[	 ]*$//
64116}'
64117fi
64118
64119cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
64120fi # test -n "$CONFIG_FILES"
64121
64122# Set up the scripts for CONFIG_HEADERS section.
64123# No need to generate them if there are no CONFIG_HEADERS.
64124# This happens for instance with `./config.status Makefile'.
64125if test -n "$CONFIG_HEADERS"; then
64126cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
64127BEGIN {
64128_ACEOF
64129
64130# Transform confdefs.h into an awk script `defines.awk', embedded as
64131# here-document in config.status, that substitutes the proper values into
64132# config.h.in to produce config.h.
64133
64134# Create a delimiter string that does not exist in confdefs.h, to ease
64135# handling of long lines.
64136ac_delim='%!_!# '
64137for ac_last_try in false false :; do
64138  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
64139  if test -z "$ac_tt"; then
64140    break
64141  elif $ac_last_try; then
64142    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
64143  else
64144    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
64145  fi
64146done
64147
64148# For the awk script, D is an array of macro values keyed by name,
64149# likewise P contains macro parameters if any.  Preserve backslash
64150# newline sequences.
64151
64152ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
64153sed -n '
64154s/.\{148\}/&'"$ac_delim"'/g
64155t rset
64156:rset
64157s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
64158t def
64159d
64160:def
64161s/\\$//
64162t bsnl
64163s/["\\]/\\&/g
64164s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
64165D["\1"]=" \3"/p
64166s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
64167d
64168:bsnl
64169s/["\\]/\\&/g
64170s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
64171D["\1"]=" \3\\\\\\n"\\/p
64172t cont
64173s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
64174t cont
64175d
64176:cont
64177n
64178s/.\{148\}/&'"$ac_delim"'/g
64179t clear
64180:clear
64181s/\\$//
64182t bsnlc
64183s/["\\]/\\&/g; s/^/"/; s/$/"/p
64184d
64185:bsnlc
64186s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
64187b cont
64188' <confdefs.h | sed '
64189s/'"$ac_delim"'/"\\\
64190"/g' >>$CONFIG_STATUS || ac_write_fail=1
64191
64192cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
64193  for (key in D) D_is_set[key] = 1
64194  FS = ""
64195}
64196/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
64197  line = \$ 0
64198  split(line, arg, " ")
64199  if (arg[1] == "#") {
64200    defundef = arg[2]
64201    mac1 = arg[3]
64202  } else {
64203    defundef = substr(arg[1], 2)
64204    mac1 = arg[2]
64205  }
64206  split(mac1, mac2, "(") #)
64207  macro = mac2[1]
64208  prefix = substr(line, 1, index(line, defundef) - 1)
64209  if (D_is_set[macro]) {
64210    # Preserve the white space surrounding the "#".
64211    print prefix "define", macro P[macro] D[macro]
64212    next
64213  } else {
64214    # Replace #undef with comments.  This is necessary, for example,
64215    # in the case of _POSIX_SOURCE, which is predefined and required
64216    # on some systems where configure will not decide to define it.
64217    if (defundef == "undef") {
64218      print "/*", prefix defundef, macro, "*/"
64219      next
64220    }
64221  }
64222}
64223{ print }
64224_ACAWK
64225_ACEOF
64226cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
64227  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
64228fi # test -n "$CONFIG_HEADERS"
64229
64230
64231eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
64232shift
64233for ac_tag
64234do
64235  case $ac_tag in
64236  :[FHLC]) ac_mode=$ac_tag; continue;;
64237  esac
64238  case $ac_mode$ac_tag in
64239  :[FHL]*:*);;
64240  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
64241  :[FH]-) ac_tag=-:-;;
64242  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
64243  esac
64244  ac_save_IFS=$IFS
64245  IFS=:
64246  set x $ac_tag
64247  IFS=$ac_save_IFS
64248  shift
64249  ac_file=$1
64250  shift
64251
64252  case $ac_mode in
64253  :L) ac_source=$1;;
64254  :[FH])
64255    ac_file_inputs=
64256    for ac_f
64257    do
64258      case $ac_f in
64259      -) ac_f="$ac_tmp/stdin";;
64260      *) # Look for the file first in the build tree, then in the source tree
64261	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
64262	 # because $ac_f cannot contain `:'.
64263	 test -f "$ac_f" ||
64264	   case $ac_f in
64265	   [\\/$]*) false;;
64266	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
64267	   esac ||
64268	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
64269      esac
64270      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
64271      as_fn_append ac_file_inputs " '$ac_f'"
64272    done
64273
64274    # Let's still pretend it is `configure' which instantiates (i.e., don't
64275    # use $as_me), people would be surprised to read:
64276    #    /* config.h.  Generated by config.status.  */
64277    configure_input='Generated from '`
64278	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
64279	`' by configure.'
64280    if test x"$ac_file" != x-; then
64281      configure_input="$ac_file.  $configure_input"
64282      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
64283$as_echo "$as_me: creating $ac_file" >&6;}
64284    fi
64285    # Neutralize special characters interpreted by sed in replacement strings.
64286    case $configure_input in #(
64287    *\&* | *\|* | *\\* )
64288       ac_sed_conf_input=`$as_echo "$configure_input" |
64289       sed 's/[\\\\&|]/\\\\&/g'`;; #(
64290    *) ac_sed_conf_input=$configure_input;;
64291    esac
64292
64293    case $ac_tag in
64294    *:-:* | *:-) cat >"$ac_tmp/stdin" \
64295      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
64296    esac
64297    ;;
64298  esac
64299
64300  ac_dir=`$as_dirname -- "$ac_file" ||
64301$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
64302	 X"$ac_file" : 'X\(//\)[^/]' \| \
64303	 X"$ac_file" : 'X\(//\)$' \| \
64304	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
64305$as_echo X"$ac_file" |
64306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
64307	    s//\1/
64308	    q
64309	  }
64310	  /^X\(\/\/\)[^/].*/{
64311	    s//\1/
64312	    q
64313	  }
64314	  /^X\(\/\/\)$/{
64315	    s//\1/
64316	    q
64317	  }
64318	  /^X\(\/\).*/{
64319	    s//\1/
64320	    q
64321	  }
64322	  s/.*/./; q'`
64323  as_dir="$ac_dir"; as_fn_mkdir_p
64324  ac_builddir=.
64325
64326case "$ac_dir" in
64327.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
64328*)
64329  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
64330  # A ".." for each directory in $ac_dir_suffix.
64331  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
64332  case $ac_top_builddir_sub in
64333  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
64334  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
64335  esac ;;
64336esac
64337ac_abs_top_builddir=$ac_pwd
64338ac_abs_builddir=$ac_pwd$ac_dir_suffix
64339# for backward compatibility:
64340ac_top_builddir=$ac_top_build_prefix
64341
64342case $srcdir in
64343  .)  # We are building in place.
64344    ac_srcdir=.
64345    ac_top_srcdir=$ac_top_builddir_sub
64346    ac_abs_top_srcdir=$ac_pwd ;;
64347  [\\/]* | ?:[\\/]* )  # Absolute name.
64348    ac_srcdir=$srcdir$ac_dir_suffix;
64349    ac_top_srcdir=$srcdir
64350    ac_abs_top_srcdir=$srcdir ;;
64351  *) # Relative name.
64352    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
64353    ac_top_srcdir=$ac_top_build_prefix$srcdir
64354    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
64355esac
64356ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
64357
64358
64359  case $ac_mode in
64360  :F)
64361  #
64362  # CONFIG_FILE
64363  #
64364
64365  case $INSTALL in
64366  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
64367  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
64368  esac
64369  ac_MKDIR_P=$MKDIR_P
64370  case $MKDIR_P in
64371  [\\/$]* | ?:[\\/]* ) ;;
64372  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
64373  esac
64374_ACEOF
64375
64376cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
64377# If the template does not know about datarootdir, expand it.
64378# FIXME: This hack should be removed a few years after 2.60.
64379ac_datarootdir_hack=; ac_datarootdir_seen=
64380ac_sed_dataroot='
64381/datarootdir/ {
64382  p
64383  q
64384}
64385/@datadir@/p
64386/@docdir@/p
64387/@infodir@/p
64388/@localedir@/p
64389/@mandir@/p'
64390case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
64391*datarootdir*) ac_datarootdir_seen=yes;;
64392*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
64393  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
64394$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
64395_ACEOF
64396cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
64397  ac_datarootdir_hack='
64398  s&@datadir@&$datadir&g
64399  s&@docdir@&$docdir&g
64400  s&@infodir@&$infodir&g
64401  s&@localedir@&$localedir&g
64402  s&@mandir@&$mandir&g
64403  s&\\\${datarootdir}&$datarootdir&g' ;;
64404esac
64405_ACEOF
64406
64407# Neutralize VPATH when `$srcdir' = `.'.
64408# Shell code in configure.ac might set extrasub.
64409# FIXME: do we really want to maintain this feature?
64410cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
64411ac_sed_extra="$ac_vpsub
64412$extrasub
64413_ACEOF
64414cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
64415:t
64416/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
64417s|@configure_input@|$ac_sed_conf_input|;t t
64418s&@top_builddir@&$ac_top_builddir_sub&;t t
64419s&@top_build_prefix@&$ac_top_build_prefix&;t t
64420s&@srcdir@&$ac_srcdir&;t t
64421s&@abs_srcdir@&$ac_abs_srcdir&;t t
64422s&@top_srcdir@&$ac_top_srcdir&;t t
64423s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
64424s&@builddir@&$ac_builddir&;t t
64425s&@abs_builddir@&$ac_abs_builddir&;t t
64426s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
64427s&@INSTALL@&$ac_INSTALL&;t t
64428s&@MKDIR_P@&$ac_MKDIR_P&;t t
64429$ac_datarootdir_hack
64430"
64431eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
64432  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
64433
64434test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
64435  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
64436  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
64437      "$ac_tmp/out"`; test -z "$ac_out"; } &&
64438  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64439which seems to be undefined.  Please make sure it is defined" >&5
64440$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64441which seems to be undefined.  Please make sure it is defined" >&2;}
64442
64443  rm -f "$ac_tmp/stdin"
64444  case $ac_file in
64445  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
64446  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
64447  esac \
64448  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
64449 ;;
64450  :H)
64451  #
64452  # CONFIG_HEADER
64453  #
64454  if test x"$ac_file" != x-; then
64455    {
64456      $as_echo "/* $configure_input  */" \
64457      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
64458    } >"$ac_tmp/config.h" \
64459      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
64460    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
64461      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
64462$as_echo "$as_me: $ac_file is unchanged" >&6;}
64463    else
64464      rm -f "$ac_file"
64465      mv "$ac_tmp/config.h" "$ac_file" \
64466	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
64467    fi
64468  else
64469    $as_echo "/* $configure_input  */" \
64470      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
64471      || as_fn_error $? "could not create -" "$LINENO" 5
64472  fi
64473# Compute "$ac_file"'s index in $config_headers.
64474_am_arg="$ac_file"
64475_am_stamp_count=1
64476for _am_header in $config_headers :; do
64477  case $_am_header in
64478    $_am_arg | $_am_arg:* )
64479      break ;;
64480    * )
64481      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
64482  esac
64483done
64484echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
64485$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
64486	 X"$_am_arg" : 'X\(//\)[^/]' \| \
64487	 X"$_am_arg" : 'X\(//\)$' \| \
64488	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
64489$as_echo X"$_am_arg" |
64490    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
64491	    s//\1/
64492	    q
64493	  }
64494	  /^X\(\/\/\)[^/].*/{
64495	    s//\1/
64496	    q
64497	  }
64498	  /^X\(\/\/\)$/{
64499	    s//\1/
64500	    q
64501	  }
64502	  /^X\(\/\).*/{
64503	    s//\1/
64504	    q
64505	  }
64506	  s/.*/./; q'`/stamp-h$_am_stamp_count
64507 ;;
64508
64509  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
64510$as_echo "$as_me: executing $ac_file commands" >&6;}
64511 ;;
64512  esac
64513
64514
64515  case $ac_file$ac_mode in
64516    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
64517  # Older Autoconf quotes --file arguments for eval, but not when files
64518  # are listed without --file.  Let's play safe and only enable the eval
64519  # if we detect the quoting.
64520  # TODO: see whether this extra hack can be removed once we start
64521  # requiring Autoconf 2.70 or later.
64522  case $CONFIG_FILES in #(
64523  *\'*) :
64524    eval set x "$CONFIG_FILES" ;; #(
64525  *) :
64526    set x $CONFIG_FILES ;; #(
64527  *) :
64528     ;;
64529esac
64530  shift
64531  # Used to flag and report bootstrapping failures.
64532  am_rc=0
64533  for am_mf
64534  do
64535    # Strip MF so we end up with the name of the file.
64536    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
64537    # Check whether this is an Automake generated Makefile which includes
64538    # dependency-tracking related rules and includes.
64539    # Grep'ing the whole file directly is not great: AIX grep has a line
64540    # limit of 2048, but all sed's we know have understand at least 4000.
64541    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
64542      || continue
64543    am_dirpart=`$as_dirname -- "$am_mf" ||
64544$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
64545	 X"$am_mf" : 'X\(//\)[^/]' \| \
64546	 X"$am_mf" : 'X\(//\)$' \| \
64547	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
64548$as_echo X"$am_mf" |
64549    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
64550	    s//\1/
64551	    q
64552	  }
64553	  /^X\(\/\/\)[^/].*/{
64554	    s//\1/
64555	    q
64556	  }
64557	  /^X\(\/\/\)$/{
64558	    s//\1/
64559	    q
64560	  }
64561	  /^X\(\/\).*/{
64562	    s//\1/
64563	    q
64564	  }
64565	  s/.*/./; q'`
64566    am_filepart=`$as_basename -- "$am_mf" ||
64567$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
64568	 X"$am_mf" : 'X\(//\)$' \| \
64569	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
64570$as_echo X/"$am_mf" |
64571    sed '/^.*\/\([^/][^/]*\)\/*$/{
64572	    s//\1/
64573	    q
64574	  }
64575	  /^X\/\(\/\/\)$/{
64576	    s//\1/
64577	    q
64578	  }
64579	  /^X\/\(\/\).*/{
64580	    s//\1/
64581	    q
64582	  }
64583	  s/.*/./; q'`
64584    { echo "$as_me:$LINENO: cd "$am_dirpart" \
64585      && sed -e '/# am--include-marker/d' "$am_filepart" \
64586        | $MAKE -f - am--depfiles" >&5
64587   (cd "$am_dirpart" \
64588      && sed -e '/# am--include-marker/d' "$am_filepart" \
64589        | $MAKE -f - am--depfiles) >&5 2>&5
64590   ac_status=$?
64591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64592   (exit $ac_status); } || am_rc=$?
64593  done
64594  if test $am_rc -ne 0; then
64595    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64596$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64597as_fn_error $? "Something went wrong bootstrapping makefile fragments
64598    for automatic dependency tracking.  If GNU make was not used, consider
64599    re-running the configure script with MAKE=\"gmake\" (or whatever is
64600    necessary).  You can also try re-running configure with the
64601    '--disable-dependency-tracking' option to at least be able to build
64602    the package (albeit without support for automatic dependency tracking).
64603See \`config.log' for more details" "$LINENO" 5; }
64604  fi
64605  { am_dirpart=; unset am_dirpart;}
64606  { am_filepart=; unset am_filepart;}
64607  { am_mf=; unset am_mf;}
64608  { am_rc=; unset am_rc;}
64609  rm -f conftest-deps.mk
64610}
64611 ;;
64612    "libtool":C)
64613
64614    # See if we are running on zsh, and set the options that allow our
64615    # commands through without removal of \ escapes.
64616    if test -n "${ZSH_VERSION+set}"; then
64617      setopt NO_GLOB_SUBST
64618    fi
64619
64620    cfgfile=${ofile}T
64621    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
64622    $RM "$cfgfile"
64623
64624    cat <<_LT_EOF >> "$cfgfile"
64625#! $SHELL
64626# Generated automatically by $as_me ($PACKAGE) $VERSION
64627# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
64628# NOTE: Changes made to this file will be lost: look at ltmain.sh.
64629
64630# Provide generalized library-building support services.
64631# Written by Gordon Matzigkeit, 1996
64632
64633# Copyright (C) 2014 Free Software Foundation, Inc.
64634# This is free software; see the source for copying conditions.  There is NO
64635# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
64636
64637# GNU Libtool is free software; you can redistribute it and/or modify
64638# it under the terms of the GNU General Public License as published by
64639# the Free Software Foundation; either version 2 of of the License, or
64640# (at your option) any later version.
64641#
64642# As a special exception to the GNU General Public License, if you
64643# distribute this file as part of a program or library that is built
64644# using GNU Libtool, you may include this file under the  same
64645# distribution terms that you use for the rest of that program.
64646#
64647# GNU Libtool is distributed in the hope that it will be useful, but
64648# WITHOUT ANY WARRANTY; without even the implied warranty of
64649# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
64650# GNU General Public License for more details.
64651#
64652# You should have received a copy of the GNU General Public License
64653# along with this program.  If not, see <http://www.gnu.org/licenses/>.
64654
64655
64656# The names of the tagged configurations supported by this script.
64657available_tags='CXX '
64658
64659# Configured defaults for sys_lib_dlsearch_path munging.
64660: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
64661
64662# ### BEGIN LIBTOOL CONFIG
64663
64664# Assembler program.
64665AS=$lt_AS
64666
64667# DLL creation program.
64668DLLTOOL=$lt_DLLTOOL
64669
64670# Object dumper program.
64671OBJDUMP=$lt_OBJDUMP
64672
64673# Which release of libtool.m4 was used?
64674macro_version=$macro_version
64675macro_revision=$macro_revision
64676
64677# Whether or not to build shared libraries.
64678build_libtool_libs=$enable_shared
64679
64680# Whether or not to build static libraries.
64681build_old_libs=$enable_static
64682
64683# What type of objects to build.
64684pic_mode=$pic_mode
64685
64686# Whether or not to optimize for fast installation.
64687fast_install=$enable_fast_install
64688
64689# Shared archive member basename,for filename based shared library versioning on AIX.
64690shared_archive_member_spec=$shared_archive_member_spec
64691
64692# Shell to use when invoking shell scripts.
64693SHELL=$lt_SHELL
64694
64695# An echo program that protects backslashes.
64696ECHO=$lt_ECHO
64697
64698# The PATH separator for the build system.
64699PATH_SEPARATOR=$lt_PATH_SEPARATOR
64700
64701# The host system.
64702host_alias=$host_alias
64703host=$host
64704host_os=$host_os
64705
64706# The build system.
64707build_alias=$build_alias
64708build=$build
64709build_os=$build_os
64710
64711# A sed program that does not truncate output.
64712SED=$lt_SED
64713
64714# Sed that helps us avoid accidentally triggering echo(1) options like -n.
64715Xsed="\$SED -e 1s/^X//"
64716
64717# A grep program that handles long lines.
64718GREP=$lt_GREP
64719
64720# An ERE matcher.
64721EGREP=$lt_EGREP
64722
64723# A literal string matcher.
64724FGREP=$lt_FGREP
64725
64726# A BSD- or MS-compatible name lister.
64727NM=$lt_NM
64728
64729# Whether we need soft or hard links.
64730LN_S=$lt_LN_S
64731
64732# What is the maximum length of a command?
64733max_cmd_len=$max_cmd_len
64734
64735# Object file suffix (normally "o").
64736objext=$ac_objext
64737
64738# Executable file suffix (normally "").
64739exeext=$exeext
64740
64741# whether the shell understands "unset".
64742lt_unset=$lt_unset
64743
64744# turn spaces into newlines.
64745SP2NL=$lt_lt_SP2NL
64746
64747# turn newlines into spaces.
64748NL2SP=$lt_lt_NL2SP
64749
64750# convert \$build file names to \$host format.
64751to_host_file_cmd=$lt_cv_to_host_file_cmd
64752
64753# convert \$build files to toolchain format.
64754to_tool_file_cmd=$lt_cv_to_tool_file_cmd
64755
64756# Method to check whether dependent libraries are shared objects.
64757deplibs_check_method=$lt_deplibs_check_method
64758
64759# Command to use when deplibs_check_method = "file_magic".
64760file_magic_cmd=$lt_file_magic_cmd
64761
64762# How to find potential files when deplibs_check_method = "file_magic".
64763file_magic_glob=$lt_file_magic_glob
64764
64765# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
64766want_nocaseglob=$lt_want_nocaseglob
64767
64768# Command to associate shared and link libraries.
64769sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
64770
64771# The archiver.
64772AR=$lt_AR
64773
64774# Flags to create an archive.
64775AR_FLAGS=$lt_AR_FLAGS
64776
64777# How to feed a file listing to the archiver.
64778archiver_list_spec=$lt_archiver_list_spec
64779
64780# A symbol stripping program.
64781STRIP=$lt_STRIP
64782
64783# Commands used to install an old-style archive.
64784RANLIB=$lt_RANLIB
64785old_postinstall_cmds=$lt_old_postinstall_cmds
64786old_postuninstall_cmds=$lt_old_postuninstall_cmds
64787
64788# Whether to use a lock for old archive extraction.
64789lock_old_archive_extraction=$lock_old_archive_extraction
64790
64791# A C compiler.
64792LTCC=$lt_CC
64793
64794# LTCC compiler flags.
64795LTCFLAGS=$lt_CFLAGS
64796
64797# Take the output of nm and produce a listing of raw symbols and C names.
64798global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
64799
64800# Transform the output of nm in a proper C declaration.
64801global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
64802
64803# Transform the output of nm into a list of symbols to manually relocate.
64804global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
64805
64806# Transform the output of nm in a C name address pair.
64807global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
64808
64809# Transform the output of nm in a C name address pair when lib prefix is needed.
64810global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
64811
64812# The name lister interface.
64813nm_interface=$lt_lt_cv_nm_interface
64814
64815# Specify filename containing input files for \$NM.
64816nm_file_list_spec=$lt_nm_file_list_spec
64817
64818# The root where to search for dependent libraries,and where our libraries should be installed.
64819lt_sysroot=$lt_sysroot
64820
64821# Command to truncate a binary pipe.
64822lt_truncate_bin=$lt_lt_cv_truncate_bin
64823
64824# The name of the directory that contains temporary libtool files.
64825objdir=$objdir
64826
64827# Used to examine libraries when file_magic_cmd begins with "file".
64828MAGIC_CMD=$MAGIC_CMD
64829
64830# Must we lock files when doing compilation?
64831need_locks=$lt_need_locks
64832
64833# Manifest tool.
64834MANIFEST_TOOL=$lt_MANIFEST_TOOL
64835
64836# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
64837DSYMUTIL=$lt_DSYMUTIL
64838
64839# Tool to change global to local symbols on Mac OS X.
64840NMEDIT=$lt_NMEDIT
64841
64842# Tool to manipulate fat objects and archives on Mac OS X.
64843LIPO=$lt_LIPO
64844
64845# ldd/readelf like tool for Mach-O binaries on Mac OS X.
64846OTOOL=$lt_OTOOL
64847
64848# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
64849OTOOL64=$lt_OTOOL64
64850
64851# Old archive suffix (normally "a").
64852libext=$libext
64853
64854# Shared library suffix (normally ".so").
64855shrext_cmds=$lt_shrext_cmds
64856
64857# The commands to extract the exported symbol list from a shared archive.
64858extract_expsyms_cmds=$lt_extract_expsyms_cmds
64859
64860# Variables whose values should be saved in libtool wrapper scripts and
64861# restored at link time.
64862variables_saved_for_relink=$lt_variables_saved_for_relink
64863
64864# Do we need the "lib" prefix for modules?
64865need_lib_prefix=$need_lib_prefix
64866
64867# Do we need a version for libraries?
64868need_version=$need_version
64869
64870# Library versioning type.
64871version_type=$version_type
64872
64873# Shared library runtime path variable.
64874runpath_var=$runpath_var
64875
64876# Shared library path variable.
64877shlibpath_var=$shlibpath_var
64878
64879# Is shlibpath searched before the hard-coded library search path?
64880shlibpath_overrides_runpath=$shlibpath_overrides_runpath
64881
64882# Format of library name prefix.
64883libname_spec=$lt_libname_spec
64884
64885# List of archive names.  First name is the real one, the rest are links.
64886# The last name is the one that the linker finds with -lNAME
64887library_names_spec=$lt_library_names_spec
64888
64889# The coded name of the library, if different from the real name.
64890soname_spec=$lt_soname_spec
64891
64892# Permission mode override for installation of shared libraries.
64893install_override_mode=$lt_install_override_mode
64894
64895# Command to use after installation of a shared archive.
64896postinstall_cmds=$lt_postinstall_cmds
64897
64898# Command to use after uninstallation of a shared archive.
64899postuninstall_cmds=$lt_postuninstall_cmds
64900
64901# Commands used to finish a libtool library installation in a directory.
64902finish_cmds=$lt_finish_cmds
64903
64904# As "finish_cmds", except a single script fragment to be evaled but
64905# not shown.
64906finish_eval=$lt_finish_eval
64907
64908# Whether we should hardcode library paths into libraries.
64909hardcode_into_libs=$hardcode_into_libs
64910
64911# Compile-time system search path for libraries.
64912sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
64913
64914# Detected run-time system search path for libraries.
64915sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
64916
64917# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
64918configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
64919
64920# Whether dlopen is supported.
64921dlopen_support=$enable_dlopen
64922
64923# Whether dlopen of programs is supported.
64924dlopen_self=$enable_dlopen_self
64925
64926# Whether dlopen of statically linked programs is supported.
64927dlopen_self_static=$enable_dlopen_self_static
64928
64929# Commands to strip libraries.
64930old_striplib=$lt_old_striplib
64931striplib=$lt_striplib
64932
64933
64934# The linker used to build libraries.
64935LD=$lt_LD
64936
64937# How to create reloadable object files.
64938reload_flag=$lt_reload_flag
64939reload_cmds=$lt_reload_cmds
64940
64941# Commands used to build an old-style archive.
64942old_archive_cmds=$lt_old_archive_cmds
64943
64944# A language specific compiler.
64945CC=$lt_compiler
64946
64947# Is the compiler the GNU compiler?
64948with_gcc=$GCC
64949
64950# Compiler flag to turn off builtin functions.
64951no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
64952
64953# Additional compiler flags for building library objects.
64954pic_flag=$lt_lt_prog_compiler_pic
64955
64956# How to pass a linker flag through the compiler.
64957wl=$lt_lt_prog_compiler_wl
64958
64959# Compiler flag to prevent dynamic linking.
64960link_static_flag=$lt_lt_prog_compiler_static
64961
64962# Does compiler simultaneously support -c and -o options?
64963compiler_c_o=$lt_lt_cv_prog_compiler_c_o
64964
64965# Whether or not to add -lc for building shared libraries.
64966build_libtool_need_lc=$archive_cmds_need_lc
64967
64968# Whether or not to disallow shared libs when runtime libs are static.
64969allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
64970
64971# Compiler flag to allow reflexive dlopens.
64972export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
64973
64974# Compiler flag to generate shared objects directly from archives.
64975whole_archive_flag_spec=$lt_whole_archive_flag_spec
64976
64977# Whether the compiler copes with passing no objects directly.
64978compiler_needs_object=$lt_compiler_needs_object
64979
64980# Create an old-style archive from a shared archive.
64981old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
64982
64983# Create a temporary old-style archive to link instead of a shared archive.
64984old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
64985
64986# Commands used to build a shared archive.
64987archive_cmds=$lt_archive_cmds
64988archive_expsym_cmds=$lt_archive_expsym_cmds
64989
64990# Commands used to build a loadable module if different from building
64991# a shared archive.
64992module_cmds=$lt_module_cmds
64993module_expsym_cmds=$lt_module_expsym_cmds
64994
64995# Whether we are building with GNU ld or not.
64996with_gnu_ld=$lt_with_gnu_ld
64997
64998# Flag that allows shared libraries with undefined symbols to be built.
64999allow_undefined_flag=$lt_allow_undefined_flag
65000
65001# Flag that enforces no undefined symbols.
65002no_undefined_flag=$lt_no_undefined_flag
65003
65004# Flag to hardcode \$libdir into a binary during linking.
65005# This must work even if \$libdir does not exist
65006hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
65007
65008# Whether we need a single "-rpath" flag with a separated argument.
65009hardcode_libdir_separator=$lt_hardcode_libdir_separator
65010
65011# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
65012# DIR into the resulting binary.
65013hardcode_direct=$hardcode_direct
65014
65015# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
65016# DIR into the resulting binary and the resulting library dependency is
65017# "absolute",i.e impossible to change by setting \$shlibpath_var if the
65018# library is relocated.
65019hardcode_direct_absolute=$hardcode_direct_absolute
65020
65021# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
65022# into the resulting binary.
65023hardcode_minus_L=$hardcode_minus_L
65024
65025# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
65026# into the resulting binary.
65027hardcode_shlibpath_var=$hardcode_shlibpath_var
65028
65029# Set to "yes" if building a shared library automatically hardcodes DIR
65030# into the library and all subsequent libraries and executables linked
65031# against it.
65032hardcode_automatic=$hardcode_automatic
65033
65034# Set to yes if linker adds runtime paths of dependent libraries
65035# to runtime path list.
65036inherit_rpath=$inherit_rpath
65037
65038# Whether libtool must link a program against all its dependency libraries.
65039link_all_deplibs=$link_all_deplibs
65040
65041# Set to "yes" if exported symbols are required.
65042always_export_symbols=$always_export_symbols
65043
65044# The commands to list exported symbols.
65045export_symbols_cmds=$lt_export_symbols_cmds
65046
65047# Symbols that should not be listed in the preloaded symbols.
65048exclude_expsyms=$lt_exclude_expsyms
65049
65050# Symbols that must always be exported.
65051include_expsyms=$lt_include_expsyms
65052
65053# Commands necessary for linking programs (against libraries) with templates.
65054prelink_cmds=$lt_prelink_cmds
65055
65056# Commands necessary for finishing linking programs.
65057postlink_cmds=$lt_postlink_cmds
65058
65059# Specify filename containing input files.
65060file_list_spec=$lt_file_list_spec
65061
65062# How to hardcode a shared library path into an executable.
65063hardcode_action=$hardcode_action
65064
65065# The directories searched by this compiler when creating a shared library.
65066compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
65067
65068# Dependencies to place before and after the objects being linked to
65069# create a shared library.
65070predep_objects=$lt_predep_objects
65071postdep_objects=$lt_postdep_objects
65072predeps=$lt_predeps
65073postdeps=$lt_postdeps
65074
65075# The library search path used internally by the compiler when linking
65076# a shared library.
65077compiler_lib_search_path=$lt_compiler_lib_search_path
65078
65079# ### END LIBTOOL CONFIG
65080
65081_LT_EOF
65082
65083    cat <<'_LT_EOF' >> "$cfgfile"
65084
65085# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
65086
65087# func_munge_path_list VARIABLE PATH
65088# -----------------------------------
65089# VARIABLE is name of variable containing _space_ separated list of
65090# directories to be munged by the contents of PATH, which is string
65091# having a format:
65092# "DIR[:DIR]:"
65093#       string "DIR[ DIR]" will be prepended to VARIABLE
65094# ":DIR[:DIR]"
65095#       string "DIR[ DIR]" will be appended to VARIABLE
65096# "DIRP[:DIRP]::[DIRA:]DIRA"
65097#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
65098#       "DIRA[ DIRA]" will be appended to VARIABLE
65099# "DIR[:DIR]"
65100#       VARIABLE will be replaced by "DIR[ DIR]"
65101func_munge_path_list ()
65102{
65103    case x$2 in
65104    x)
65105        ;;
65106    *:)
65107        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
65108        ;;
65109    x:*)
65110        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
65111        ;;
65112    *::*)
65113        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
65114        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
65115        ;;
65116    *)
65117        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
65118        ;;
65119    esac
65120}
65121
65122
65123# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
65124func_cc_basename ()
65125{
65126    for cc_temp in $*""; do
65127      case $cc_temp in
65128        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
65129        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
65130        \-*) ;;
65131        *) break;;
65132      esac
65133    done
65134    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
65135}
65136
65137
65138# ### END FUNCTIONS SHARED WITH CONFIGURE
65139
65140_LT_EOF
65141
65142  case $host_os in
65143  aix3*)
65144    cat <<\_LT_EOF >> "$cfgfile"
65145# AIX sometimes has problems with the GCC collect2 program.  For some
65146# reason, if we set the COLLECT_NAMES environment variable, the problems
65147# vanish in a puff of smoke.
65148if test set != "${COLLECT_NAMES+set}"; then
65149  COLLECT_NAMES=
65150  export COLLECT_NAMES
65151fi
65152_LT_EOF
65153    ;;
65154  esac
65155
65156
65157ltmain=$ac_aux_dir/ltmain.sh
65158
65159
65160  # We use sed instead of cat because bash on DJGPP gets confused if
65161  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
65162  # text mode, it properly converts lines to CR/LF.  This bash problem
65163  # is reportedly fixed, but why not run on old versions too?
65164  sed '$q' "$ltmain" >> "$cfgfile" \
65165     || (rm -f "$cfgfile"; exit 1)
65166
65167   mv -f "$cfgfile" "$ofile" ||
65168    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
65169  chmod +x "$ofile"
65170
65171
65172    cat <<_LT_EOF >> "$ofile"
65173
65174# ### BEGIN LIBTOOL TAG CONFIG: CXX
65175
65176# The linker used to build libraries.
65177LD=$lt_LD_CXX
65178
65179# How to create reloadable object files.
65180reload_flag=$lt_reload_flag_CXX
65181reload_cmds=$lt_reload_cmds_CXX
65182
65183# Commands used to build an old-style archive.
65184old_archive_cmds=$lt_old_archive_cmds_CXX
65185
65186# A language specific compiler.
65187CC=$lt_compiler_CXX
65188
65189# Is the compiler the GNU compiler?
65190with_gcc=$GCC_CXX
65191
65192# Compiler flag to turn off builtin functions.
65193no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
65194
65195# Additional compiler flags for building library objects.
65196pic_flag=$lt_lt_prog_compiler_pic_CXX
65197
65198# How to pass a linker flag through the compiler.
65199wl=$lt_lt_prog_compiler_wl_CXX
65200
65201# Compiler flag to prevent dynamic linking.
65202link_static_flag=$lt_lt_prog_compiler_static_CXX
65203
65204# Does compiler simultaneously support -c and -o options?
65205compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
65206
65207# Whether or not to add -lc for building shared libraries.
65208build_libtool_need_lc=$archive_cmds_need_lc_CXX
65209
65210# Whether or not to disallow shared libs when runtime libs are static.
65211allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
65212
65213# Compiler flag to allow reflexive dlopens.
65214export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
65215
65216# Compiler flag to generate shared objects directly from archives.
65217whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
65218
65219# Whether the compiler copes with passing no objects directly.
65220compiler_needs_object=$lt_compiler_needs_object_CXX
65221
65222# Create an old-style archive from a shared archive.
65223old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
65224
65225# Create a temporary old-style archive to link instead of a shared archive.
65226old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
65227
65228# Commands used to build a shared archive.
65229archive_cmds=$lt_archive_cmds_CXX
65230archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
65231
65232# Commands used to build a loadable module if different from building
65233# a shared archive.
65234module_cmds=$lt_module_cmds_CXX
65235module_expsym_cmds=$lt_module_expsym_cmds_CXX
65236
65237# Whether we are building with GNU ld or not.
65238with_gnu_ld=$lt_with_gnu_ld_CXX
65239
65240# Flag that allows shared libraries with undefined symbols to be built.
65241allow_undefined_flag=$lt_allow_undefined_flag_CXX
65242
65243# Flag that enforces no undefined symbols.
65244no_undefined_flag=$lt_no_undefined_flag_CXX
65245
65246# Flag to hardcode \$libdir into a binary during linking.
65247# This must work even if \$libdir does not exist
65248hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
65249
65250# Whether we need a single "-rpath" flag with a separated argument.
65251hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
65252
65253# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
65254# DIR into the resulting binary.
65255hardcode_direct=$hardcode_direct_CXX
65256
65257# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
65258# DIR into the resulting binary and the resulting library dependency is
65259# "absolute",i.e impossible to change by setting \$shlibpath_var if the
65260# library is relocated.
65261hardcode_direct_absolute=$hardcode_direct_absolute_CXX
65262
65263# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
65264# into the resulting binary.
65265hardcode_minus_L=$hardcode_minus_L_CXX
65266
65267# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
65268# into the resulting binary.
65269hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
65270
65271# Set to "yes" if building a shared library automatically hardcodes DIR
65272# into the library and all subsequent libraries and executables linked
65273# against it.
65274hardcode_automatic=$hardcode_automatic_CXX
65275
65276# Set to yes if linker adds runtime paths of dependent libraries
65277# to runtime path list.
65278inherit_rpath=$inherit_rpath_CXX
65279
65280# Whether libtool must link a program against all its dependency libraries.
65281link_all_deplibs=$link_all_deplibs_CXX
65282
65283# Set to "yes" if exported symbols are required.
65284always_export_symbols=$always_export_symbols_CXX
65285
65286# The commands to list exported symbols.
65287export_symbols_cmds=$lt_export_symbols_cmds_CXX
65288
65289# Symbols that should not be listed in the preloaded symbols.
65290exclude_expsyms=$lt_exclude_expsyms_CXX
65291
65292# Symbols that must always be exported.
65293include_expsyms=$lt_include_expsyms_CXX
65294
65295# Commands necessary for linking programs (against libraries) with templates.
65296prelink_cmds=$lt_prelink_cmds_CXX
65297
65298# Commands necessary for finishing linking programs.
65299postlink_cmds=$lt_postlink_cmds_CXX
65300
65301# Specify filename containing input files.
65302file_list_spec=$lt_file_list_spec_CXX
65303
65304# How to hardcode a shared library path into an executable.
65305hardcode_action=$hardcode_action_CXX
65306
65307# The directories searched by this compiler when creating a shared library.
65308compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
65309
65310# Dependencies to place before and after the objects being linked to
65311# create a shared library.
65312predep_objects=$lt_predep_objects_CXX
65313postdep_objects=$lt_postdep_objects_CXX
65314predeps=$lt_predeps_CXX
65315postdeps=$lt_postdeps_CXX
65316
65317# The library search path used internally by the compiler when linking
65318# a shared library.
65319compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
65320
65321# ### END LIBTOOL TAG CONFIG: CXX
65322_LT_EOF
65323
65324 ;;
65325    "po-directories":C)
65326    for ac_file in $CONFIG_FILES; do
65327      # Support "outfile[:infile[:infile...]]"
65328      case "$ac_file" in
65329        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
65330      esac
65331      # PO directories have a Makefile.in generated from Makefile.in.in.
65332      case "$ac_file" in */Makefile.in)
65333        # Adjust a relative srcdir.
65334        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
65335        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
65336        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
65337        # In autoconf-2.13 it is called $ac_given_srcdir.
65338        # In autoconf-2.50 it is called $srcdir.
65339        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
65340        case "$ac_given_srcdir" in
65341          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
65342          /*) top_srcdir="$ac_given_srcdir" ;;
65343          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
65344        esac
65345        # Treat a directory as a PO directory if and only if it has a
65346        # POTFILES.in file. This allows packages to have multiple PO
65347        # directories under different names or in different locations.
65348        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
65349          rm -f "$ac_dir/POTFILES"
65350          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
65351          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
65352          POMAKEFILEDEPS="POTFILES.in"
65353          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
65354          # on $ac_dir but don't depend on user-specified configuration
65355          # parameters.
65356          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
65357            # The LINGUAS file contains the set of available languages.
65358            if test -n "$OBSOLETE_ALL_LINGUAS"; then
65359              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
65360            fi
65361            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
65362            # Hide the ALL_LINGUAS assigment from automake < 1.5.
65363            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
65364            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
65365          else
65366            # The set of available languages was given in configure.in.
65367            # Hide the ALL_LINGUAS assigment from automake < 1.5.
65368            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
65369          fi
65370          # Compute POFILES
65371          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
65372          # Compute UPDATEPOFILES
65373          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
65374          # Compute DUMMYPOFILES
65375          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
65376          # Compute GMOFILES
65377          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
65378          case "$ac_given_srcdir" in
65379            .) srcdirpre= ;;
65380            *) srcdirpre='$(srcdir)/' ;;
65381          esac
65382          POFILES=
65383          UPDATEPOFILES=
65384          DUMMYPOFILES=
65385          GMOFILES=
65386          for lang in $ALL_LINGUAS; do
65387            POFILES="$POFILES $srcdirpre$lang.po"
65388            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
65389            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
65390            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
65391          done
65392          # CATALOGS depends on both $ac_dir and the user's LINGUAS
65393          # environment variable.
65394          INST_LINGUAS=
65395          if test -n "$ALL_LINGUAS"; then
65396            for presentlang in $ALL_LINGUAS; do
65397              useit=no
65398              if test "%UNSET%" != "$LINGUAS"; then
65399                desiredlanguages="$LINGUAS"
65400              else
65401                desiredlanguages="$ALL_LINGUAS"
65402              fi
65403              for desiredlang in $desiredlanguages; do
65404                # Use the presentlang catalog if desiredlang is
65405                #   a. equal to presentlang, or
65406                #   b. a variant of presentlang (because in this case,
65407                #      presentlang can be used as a fallback for messages
65408                #      which are not translated in the desiredlang catalog).
65409                case "$desiredlang" in
65410                  "$presentlang"*) useit=yes;;
65411                esac
65412              done
65413              if test $useit = yes; then
65414                INST_LINGUAS="$INST_LINGUAS $presentlang"
65415              fi
65416            done
65417          fi
65418          CATALOGS=
65419          if test -n "$INST_LINGUAS"; then
65420            for lang in $INST_LINGUAS; do
65421              CATALOGS="$CATALOGS $lang.gmo"
65422            done
65423          fi
65424          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
65425          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"
65426          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
65427            if test -f "$f"; then
65428              case "$f" in
65429                *.orig | *.bak | *~) ;;
65430                *) cat "$f" >> "$ac_dir/Makefile" ;;
65431              esac
65432            fi
65433          done
65434        fi
65435        ;;
65436      esac
65437    done ;;
65438
65439  esac
65440done # for ac_tag
65441
65442
65443as_fn_exit 0
65444_ACEOF
65445ac_clean_files=$ac_clean_files_save
65446
65447test $ac_write_fail = 0 ||
65448  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
65449
65450
65451# configure is writing to config.log, and then calls config.status.
65452# config.status does its own redirection, appending to config.log.
65453# Unfortunately, on DOS this fails, as config.log is still kept open
65454# by configure, so config.status won't be able to write to it; its
65455# output is simply discarded.  So we exec the FD to /dev/null,
65456# effectively closing config.log, so it can be properly (re)opened and
65457# appended to by config.status.  When coming back to configure, we
65458# need to make the FD available again.
65459if test "$no_create" != yes; then
65460  ac_cs_success=:
65461  ac_config_status_args=
65462  test "$silent" = yes &&
65463    ac_config_status_args="$ac_config_status_args --quiet"
65464  exec 5>/dev/null
65465  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
65466  exec 5>>config.log
65467  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
65468  # would make configure fail if this is the last instruction.
65469  $ac_cs_success || as_fn_exit 1
65470fi
65471if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
65472  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
65473$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
65474fi
65475
65476
65477{ $as_echo "$as_me:${as_lineno-$LINENO}:
65478Building:
65479   libcerror support:                        $ac_cv_libcerror
65480   libcthreads support:                      $ac_cv_libcthreads
65481   libcdata support:                         $ac_cv_libcdata
65482   libclocale support:                       $ac_cv_libclocale
65483   libcnotify support:                       $ac_cv_libcnotify
65484   libcsplit support:                        $ac_cv_libcsplit
65485   libuna support:                           $ac_cv_libuna
65486   libcfile support:                         $ac_cv_libcfile
65487   libcpath support:                         $ac_cv_libcpath
65488   libbfio support:                          $ac_cv_libbfio
65489   libfcache support:                        $ac_cv_libfcache
65490   libfdata support:                         $ac_cv_libfdata
65491   libfdatetime support:                     $ac_cv_libfdatetime
65492   libfguid support:                         $ac_cv_libfguid
65493   libfvalue support:                        $ac_cv_libfvalue
65494   libhmac support:                          $ac_cv_libhmac
65495   SHA256 support:                           $ac_cv_libhmac_sha256
65496   libcaes support:                          $ac_cv_libcaes
65497   AES-CBC support:                          $ac_cv_libcaes_aes_cbc
65498   AES-ECB support:                          $ac_cv_libcaes_aes_ecb
65499   AES-XTS support:                          $ac_cv_libcaes_aes_xts
65500   FUSE support:                             $ac_cv_libfuse
65501
65502Features:
65503   Multi-threading support:                  $ac_cv_libcthreads_multi_threading
65504   Wide character type support:              $ac_cv_enable_wide_character_type
65505   bdetools are build as static executables: $ac_cv_enable_static_executables
65506   Python (pybde) support:                   $ac_cv_enable_python
65507   Verbose output:                           $ac_cv_enable_verbose_output
65508   Debug output:                             $ac_cv_enable_debug_output
65509" >&5
65510$as_echo "$as_me:
65511Building:
65512   libcerror support:                        $ac_cv_libcerror
65513   libcthreads support:                      $ac_cv_libcthreads
65514   libcdata support:                         $ac_cv_libcdata
65515   libclocale support:                       $ac_cv_libclocale
65516   libcnotify support:                       $ac_cv_libcnotify
65517   libcsplit support:                        $ac_cv_libcsplit
65518   libuna support:                           $ac_cv_libuna
65519   libcfile support:                         $ac_cv_libcfile
65520   libcpath support:                         $ac_cv_libcpath
65521   libbfio support:                          $ac_cv_libbfio
65522   libfcache support:                        $ac_cv_libfcache
65523   libfdata support:                         $ac_cv_libfdata
65524   libfdatetime support:                     $ac_cv_libfdatetime
65525   libfguid support:                         $ac_cv_libfguid
65526   libfvalue support:                        $ac_cv_libfvalue
65527   libhmac support:                          $ac_cv_libhmac
65528   SHA256 support:                           $ac_cv_libhmac_sha256
65529   libcaes support:                          $ac_cv_libcaes
65530   AES-CBC support:                          $ac_cv_libcaes_aes_cbc
65531   AES-ECB support:                          $ac_cv_libcaes_aes_ecb
65532   AES-XTS support:                          $ac_cv_libcaes_aes_xts
65533   FUSE support:                             $ac_cv_libfuse
65534
65535Features:
65536   Multi-threading support:                  $ac_cv_libcthreads_multi_threading
65537   Wide character type support:              $ac_cv_enable_wide_character_type
65538   bdetools are build as static executables: $ac_cv_enable_static_executables
65539   Python (pybde) support:                   $ac_cv_enable_python
65540   Verbose output:                           $ac_cv_enable_verbose_output
65541   Debug output:                             $ac_cv_enable_debug_output
65542" >&6;};
65543
65544