1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libfsapfs 20210424.
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='libfsapfs'
592PACKAGE_TARNAME='libfsapfs'
593PACKAGE_VERSION='20210424'
594PACKAGE_STRING='libfsapfs 20210424'
595PACKAGE_BUGREPORT='joachim.metz@gmail.com'
596PACKAGE_URL=''
597
598ac_unique_file="include/libfsapfs.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
642libfsapfs_spec_tools_build_requires
643libfsapfs_spec_requires
644LIB_FUZZING_ENGINE
645HAVE_LIB_FUZZING_ENGINE_FALSE
646HAVE_LIB_FUZZING_ENGINE_TRUE
647LIBFSAPFS_DLL_IMPORT
648LIBFSAPFS_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_zlib_static_spec_build_requires
733ax_zlib_static_spec_requires
734ax_zlib_spec_build_requires
735ax_zlib_spec_requires
736ax_zlib_pc_libs_private
737ZLIB_LIBADD
738ZLIB_CPPFLAGS
739HAVE_ZLIB
740zlib_LIBS
741zlib_CFLAGS
742ax_libfguid_spec_build_requires
743ax_libfguid_spec_requires
744ax_libfguid_pc_libs_private
745LIBFGUID_LIBADD
746LIBFGUID_CPPFLAGS
747HAVE_LOCAL_LIBFGUID_FALSE
748HAVE_LOCAL_LIBFGUID_TRUE
749HAVE_LOCAL_LIBFGUID
750HAVE_LIBFGUID
751libfguid_LIBS
752libfguid_CFLAGS
753ax_libfdatetime_spec_build_requires
754ax_libfdatetime_spec_requires
755ax_libfdatetime_pc_libs_private
756LIBFDATETIME_LIBADD
757LIBFDATETIME_CPPFLAGS
758HAVE_LOCAL_LIBFDATETIME_FALSE
759HAVE_LOCAL_LIBFDATETIME_TRUE
760HAVE_LOCAL_LIBFDATETIME
761HAVE_LIBFDATETIME
762libfdatetime_LIBS
763libfdatetime_CFLAGS
764ax_libfdata_spec_build_requires
765ax_libfdata_spec_requires
766ax_libfdata_pc_libs_private
767LIBFDATA_LIBADD
768LIBFDATA_CPPFLAGS
769HAVE_LOCAL_LIBFDATA_FALSE
770HAVE_LOCAL_LIBFDATA_TRUE
771HAVE_LOCAL_LIBFDATA
772HAVE_LIBFDATA
773libfdata_LIBS
774libfdata_CFLAGS
775ax_libfcache_spec_build_requires
776ax_libfcache_spec_requires
777ax_libfcache_pc_libs_private
778LIBFCACHE_LIBADD
779LIBFCACHE_CPPFLAGS
780HAVE_LOCAL_LIBFCACHE_FALSE
781HAVE_LOCAL_LIBFCACHE_TRUE
782HAVE_LOCAL_LIBFCACHE
783HAVE_LIBFCACHE
784libfcache_LIBS
785libfcache_CFLAGS
786ax_libbfio_spec_build_requires
787ax_libbfio_spec_requires
788ax_libbfio_pc_libs_private
789LIBBFIO_LIBADD
790LIBBFIO_CPPFLAGS
791HAVE_LOCAL_LIBBFIO_FALSE
792HAVE_LOCAL_LIBBFIO_TRUE
793HAVE_LOCAL_LIBBFIO
794HAVE_LIBBFIO
795libbfio_LIBS
796libbfio_CFLAGS
797ax_libcpath_spec_build_requires
798ax_libcpath_spec_requires
799ax_libcpath_pc_libs_private
800LIBCPATH_LIBADD
801LIBCPATH_CPPFLAGS
802HAVE_LOCAL_LIBCPATH_FALSE
803HAVE_LOCAL_LIBCPATH_TRUE
804HAVE_LOCAL_LIBCPATH
805HAVE_LIBCPATH
806libcpath_LIBS
807libcpath_CFLAGS
808ax_libcfile_spec_build_requires
809ax_libcfile_spec_requires
810ax_libcfile_pc_libs_private
811LIBCFILE_LIBADD
812LIBCFILE_CPPFLAGS
813HAVE_LOCAL_LIBCFILE_FALSE
814HAVE_LOCAL_LIBCFILE_TRUE
815HAVE_LOCAL_LIBCFILE
816HAVE_LIBCFILE
817libcfile_LIBS
818libcfile_CFLAGS
819ax_libuna_spec_build_requires
820ax_libuna_spec_requires
821ax_libuna_pc_libs_private
822LIBUNA_LIBADD
823LIBUNA_CPPFLAGS
824HAVE_LOCAL_LIBUNA_FALSE
825HAVE_LOCAL_LIBUNA_TRUE
826HAVE_LOCAL_LIBUNA
827HAVE_LIBUNA
828libuna_LIBS
829libuna_CFLAGS
830ax_libcsplit_spec_build_requires
831ax_libcsplit_spec_requires
832ax_libcsplit_pc_libs_private
833LIBCSPLIT_LIBADD
834LIBCSPLIT_CPPFLAGS
835HAVE_LOCAL_LIBCSPLIT_FALSE
836HAVE_LOCAL_LIBCSPLIT_TRUE
837HAVE_LOCAL_LIBCSPLIT
838HAVE_LIBCSPLIT
839libcsplit_LIBS
840libcsplit_CFLAGS
841ax_libcnotify_spec_build_requires
842ax_libcnotify_spec_requires
843ax_libcnotify_pc_libs_private
844LIBCNOTIFY_LIBADD
845LIBCNOTIFY_CPPFLAGS
846HAVE_LOCAL_LIBCNOTIFY_FALSE
847HAVE_LOCAL_LIBCNOTIFY_TRUE
848HAVE_LOCAL_LIBCNOTIFY
849HAVE_LIBCNOTIFY
850libcnotify_LIBS
851libcnotify_CFLAGS
852ax_libclocale_spec_build_requires
853ax_libclocale_spec_requires
854ax_libclocale_pc_libs_private
855LIBCLOCALE_LIBADD
856LIBCLOCALE_CPPFLAGS
857HAVE_LOCAL_LIBCLOCALE_FALSE
858HAVE_LOCAL_LIBCLOCALE_TRUE
859HAVE_LOCAL_LIBCLOCALE
860HAVE_LIBCLOCALE
861libclocale_LIBS
862libclocale_CFLAGS
863ax_libcdata_spec_build_requires
864ax_libcdata_spec_requires
865ax_libcdata_pc_libs_private
866LIBCDATA_LIBADD
867LIBCDATA_CPPFLAGS
868HAVE_LOCAL_LIBCDATA_FALSE
869HAVE_LOCAL_LIBCDATA_TRUE
870HAVE_LOCAL_LIBCDATA
871HAVE_LIBCDATA
872libcdata_LIBS
873libcdata_CFLAGS
874ax_libcthreads_spec_build_requires
875ax_libcthreads_spec_requires
876ax_libcthreads_pc_libs_private
877HAVE_MULTI_THREAD_SUPPORT
878LIBCTHREADS_LIBADD
879LIBCTHREADS_CPPFLAGS
880HAVE_LOCAL_LIBCTHREADS_FALSE
881HAVE_LOCAL_LIBCTHREADS_TRUE
882HAVE_LOCAL_LIBCTHREADS
883ax_pthread_pc_libs_private
884PTHREAD_LIBADD
885PTHREAD_CPPFLAGS
886HAVE_PTHREAD
887HAVE_LIBCTHREADS
888libcthreads_LIBS
889libcthreads_CFLAGS
890ax_libcerror_spec_build_requires
891ax_libcerror_spec_requires
892ax_libcerror_pc_libs_private
893LIBCERROR_LIBADD
894LIBCERROR_CPPFLAGS
895HAVE_LOCAL_LIBCERROR_FALSE
896HAVE_LOCAL_LIBCERROR_TRUE
897HAVE_LOCAL_LIBCERROR
898HAVE_LIBCERROR
899libcerror_LIBS
900libcerror_CFLAGS
901PKG_CONFIG_LIBDIR
902PKG_CONFIG_PATH
903PKG_CONFIG
904HAVE_OFF64_T
905HAVE_SSIZE64_T
906HAVE_SIZE64_T
907HAVE_SSIZE32_T
908HAVE_SIZE32_T
909HAVE_WCHAR_H
910HAVE_STDINT_H
911HAVE_INTTYPES_H
912HAVE_SYS_TYPES_H
913HAVE_WIDE_CHARACTER_TYPE
914STATIC_LDFLAGS
915POSUB
916LTLIBINTL
917LIBINTL
918INTLLIBS
919LTLIBICONV
920LIBICONV
921INTL_MACOSX_LIBS
922XGETTEXT_EXTRA_OPTIONS
923MSGMERGE
924XGETTEXT_015
925XGETTEXT
926GMSGFMT_015
927MSGFMT_015
928GMSGFMT
929MSGFMT
930GETTEXT_MACRO_VERSION
931USE_NLS
932PKGCONFIG
933LIBTOOL_DEPS
934CXXCPP
935LT_SYS_LIBRARY_PATH
936OTOOL64
937OTOOL
938LIPO
939NMEDIT
940DSYMUTIL
941MANIFEST_TOOL
942RANLIB
943ac_ct_AR
944AR
945LN_S
946NM
947ac_ct_DUMPBIN
948DUMPBIN
949LD
950FGREP
951SED
952LIBTOOL
953am__fastdepCXX_FALSE
954am__fastdepCXX_TRUE
955CXXDEPMODE
956ac_ct_CXX
957CXXFLAGS
958CXX
959EGREP
960GREP
961CPP
962am__fastdepCC_FALSE
963am__fastdepCC_TRUE
964CCDEPMODE
965am__nodep
966AMDEPBACKSLASH
967AMDEP_FALSE
968AMDEP_TRUE
969am__include
970DEPDIR
971OBJEXT
972EXEEXT
973ac_ct_CC
974CPPFLAGS
975LDFLAGS
976CFLAGS
977CC
978OBJDUMP
979DLLTOOL
980AS
981host_os
982host_vendor
983host_cpu
984host
985build_os
986build_vendor
987build_cpu
988build
989AM_BACKSLASH
990AM_DEFAULT_VERBOSITY
991AM_DEFAULT_V
992AM_V
993am__untar
994am__tar
995AMTAR
996am__leading_dot
997SET_MAKE
998AWK
999mkdir_p
1000MKDIR_P
1001INSTALL_STRIP_PROGRAM
1002STRIP
1003install_sh
1004MAKEINFO
1005AUTOHEADER
1006AUTOMAKE
1007AUTOCONF
1008ACLOCAL
1009VERSION
1010PACKAGE
1011CYGPATH_W
1012am__isrc
1013INSTALL_DATA
1014INSTALL_SCRIPT
1015INSTALL_PROGRAM
1016target_alias
1017host_alias
1018build_alias
1019LIBS
1020ECHO_T
1021ECHO_N
1022ECHO_C
1023DEFS
1024mandir
1025localedir
1026libdir
1027psdir
1028pdfdir
1029dvidir
1030htmldir
1031infodir
1032docdir
1033oldincludedir
1034includedir
1035localstatedir
1036sharedstatedir
1037sysconfdir
1038datadir
1039datarootdir
1040libexecdir
1041sbindir
1042bindir
1043program_transform_name
1044prefix
1045exec_prefix
1046PACKAGE_URL
1047PACKAGE_BUGREPORT
1048PACKAGE_STRING
1049PACKAGE_VERSION
1050PACKAGE_TARNAME
1051PACKAGE_NAME
1052PATH_SEPARATOR
1053SHELL
1054am__quote'
1055ac_subst_files=''
1056ac_user_opts='
1057enable_option_checking
1058enable_silent_rules
1059enable_dependency_tracking
1060enable_shared
1061enable_static
1062with_pic
1063enable_fast_install
1064with_aix_soname
1065with_gnu_ld
1066with_sysroot
1067enable_libtool_lock
1068enable_nls
1069enable_rpath
1070with_libiconv_prefix
1071with_libintl_prefix
1072enable_largefile
1073enable_shared_libs
1074enable_static_executables
1075enable_winapi
1076enable_wide_character_type
1077enable_verbose_output
1078enable_debug_output
1079with_libcerror
1080enable_multi_threading_support
1081with_libcthreads
1082with_pthread
1083with_libcdata
1084with_libclocale
1085with_libcnotify
1086with_libcsplit
1087with_libuna
1088with_libcfile
1089with_libcpath
1090with_libbfio
1091with_libfcache
1092with_libfdata
1093with_libfdatetime
1094with_libfguid
1095with_zlib
1096with_libhmac
1097with_openssl
1098enable_openssl_evp_cipher
1099enable_openssl_evp_md
1100with_libcaes
1101with_pyprefix
1102enable_python
1103with_pythondir
1104enable_python2
1105with_pythondir2
1106enable_python3
1107with_pythondir3
1108with_libfuse
1109'
1110      ac_precious_vars='build_alias
1111host_alias
1112target_alias
1113CC
1114CFLAGS
1115LDFLAGS
1116LIBS
1117CPPFLAGS
1118CPP
1119CXX
1120CXXFLAGS
1121CCC
1122LT_SYS_LIBRARY_PATH
1123CXXCPP
1124PKG_CONFIG
1125PKG_CONFIG_PATH
1126PKG_CONFIG_LIBDIR
1127libcerror_CFLAGS
1128libcerror_LIBS
1129libcthreads_CFLAGS
1130libcthreads_LIBS
1131libcdata_CFLAGS
1132libcdata_LIBS
1133libclocale_CFLAGS
1134libclocale_LIBS
1135libcnotify_CFLAGS
1136libcnotify_LIBS
1137libcsplit_CFLAGS
1138libcsplit_LIBS
1139libuna_CFLAGS
1140libuna_LIBS
1141libcfile_CFLAGS
1142libcfile_LIBS
1143libcpath_CFLAGS
1144libcpath_LIBS
1145libbfio_CFLAGS
1146libbfio_LIBS
1147libfcache_CFLAGS
1148libfcache_LIBS
1149libfdata_CFLAGS
1150libfdata_LIBS
1151libfdatetime_CFLAGS
1152libfdatetime_LIBS
1153libfguid_CFLAGS
1154libfguid_LIBS
1155zlib_CFLAGS
1156zlib_LIBS
1157libhmac_CFLAGS
1158libhmac_LIBS
1159openssl_CFLAGS
1160openssl_LIBS
1161libcaes_CFLAGS
1162libcaes_LIBS
1163fuse_CFLAGS
1164fuse_LIBS'
1165
1166
1167# Initialize some variables set by options.
1168ac_init_help=
1169ac_init_version=false
1170ac_unrecognized_opts=
1171ac_unrecognized_sep=
1172# The variables have the same names as the options, with
1173# dashes changed to underlines.
1174cache_file=/dev/null
1175exec_prefix=NONE
1176no_create=
1177no_recursion=
1178prefix=NONE
1179program_prefix=NONE
1180program_suffix=NONE
1181program_transform_name=s,x,x,
1182silent=
1183site=
1184srcdir=
1185verbose=
1186x_includes=NONE
1187x_libraries=NONE
1188
1189# Installation directory options.
1190# These are left unexpanded so users can "make install exec_prefix=/foo"
1191# and all the variables that are supposed to be based on exec_prefix
1192# by default will actually change.
1193# Use braces instead of parens because sh, perl, etc. also accept them.
1194# (The list follows the same order as the GNU Coding Standards.)
1195bindir='${exec_prefix}/bin'
1196sbindir='${exec_prefix}/sbin'
1197libexecdir='${exec_prefix}/libexec'
1198datarootdir='${prefix}/share'
1199datadir='${datarootdir}'
1200sysconfdir='${prefix}/etc'
1201sharedstatedir='${prefix}/com'
1202localstatedir='${prefix}/var'
1203includedir='${prefix}/include'
1204oldincludedir='/usr/include'
1205docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1206infodir='${datarootdir}/info'
1207htmldir='${docdir}'
1208dvidir='${docdir}'
1209pdfdir='${docdir}'
1210psdir='${docdir}'
1211libdir='${exec_prefix}/lib'
1212localedir='${datarootdir}/locale'
1213mandir='${datarootdir}/man'
1214
1215ac_prev=
1216ac_dashdash=
1217for ac_option
1218do
1219  # If the previous option needs an argument, assign it.
1220  if test -n "$ac_prev"; then
1221    eval $ac_prev=\$ac_option
1222    ac_prev=
1223    continue
1224  fi
1225
1226  case $ac_option in
1227  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1228  *=)   ac_optarg= ;;
1229  *)    ac_optarg=yes ;;
1230  esac
1231
1232  # Accept the important Cygnus configure options, so we can diagnose typos.
1233
1234  case $ac_dashdash$ac_option in
1235  --)
1236    ac_dashdash=yes ;;
1237
1238  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1239    ac_prev=bindir ;;
1240  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1241    bindir=$ac_optarg ;;
1242
1243  -build | --build | --buil | --bui | --bu)
1244    ac_prev=build_alias ;;
1245  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1246    build_alias=$ac_optarg ;;
1247
1248  -cache-file | --cache-file | --cache-fil | --cache-fi \
1249  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1250    ac_prev=cache_file ;;
1251  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1252  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1253    cache_file=$ac_optarg ;;
1254
1255  --config-cache | -C)
1256    cache_file=config.cache ;;
1257
1258  -datadir | --datadir | --datadi | --datad)
1259    ac_prev=datadir ;;
1260  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1261    datadir=$ac_optarg ;;
1262
1263  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1264  | --dataroo | --dataro | --datar)
1265    ac_prev=datarootdir ;;
1266  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1267  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1268    datarootdir=$ac_optarg ;;
1269
1270  -disable-* | --disable-*)
1271    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1272    # Reject names that are not valid shell variable names.
1273    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274      as_fn_error $? "invalid feature name: $ac_useropt"
1275    ac_useropt_orig=$ac_useropt
1276    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277    case $ac_user_opts in
1278      *"
1279"enable_$ac_useropt"
1280"*) ;;
1281      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1282	 ac_unrecognized_sep=', ';;
1283    esac
1284    eval enable_$ac_useropt=no ;;
1285
1286  -docdir | --docdir | --docdi | --doc | --do)
1287    ac_prev=docdir ;;
1288  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1289    docdir=$ac_optarg ;;
1290
1291  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1292    ac_prev=dvidir ;;
1293  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1294    dvidir=$ac_optarg ;;
1295
1296  -enable-* | --enable-*)
1297    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1298    # Reject names that are not valid shell variable names.
1299    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1300      as_fn_error $? "invalid feature name: $ac_useropt"
1301    ac_useropt_orig=$ac_useropt
1302    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303    case $ac_user_opts in
1304      *"
1305"enable_$ac_useropt"
1306"*) ;;
1307      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1308	 ac_unrecognized_sep=', ';;
1309    esac
1310    eval enable_$ac_useropt=\$ac_optarg ;;
1311
1312  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1313  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1314  | --exec | --exe | --ex)
1315    ac_prev=exec_prefix ;;
1316  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1317  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1318  | --exec=* | --exe=* | --ex=*)
1319    exec_prefix=$ac_optarg ;;
1320
1321  -gas | --gas | --ga | --g)
1322    # Obsolete; use --with-gas.
1323    with_gas=yes ;;
1324
1325  -help | --help | --hel | --he | -h)
1326    ac_init_help=long ;;
1327  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1328    ac_init_help=recursive ;;
1329  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1330    ac_init_help=short ;;
1331
1332  -host | --host | --hos | --ho)
1333    ac_prev=host_alias ;;
1334  -host=* | --host=* | --hos=* | --ho=*)
1335    host_alias=$ac_optarg ;;
1336
1337  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1338    ac_prev=htmldir ;;
1339  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1340  | --ht=*)
1341    htmldir=$ac_optarg ;;
1342
1343  -includedir | --includedir | --includedi | --included | --include \
1344  | --includ | --inclu | --incl | --inc)
1345    ac_prev=includedir ;;
1346  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1347  | --includ=* | --inclu=* | --incl=* | --inc=*)
1348    includedir=$ac_optarg ;;
1349
1350  -infodir | --infodir | --infodi | --infod | --info | --inf)
1351    ac_prev=infodir ;;
1352  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1353    infodir=$ac_optarg ;;
1354
1355  -libdir | --libdir | --libdi | --libd)
1356    ac_prev=libdir ;;
1357  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1358    libdir=$ac_optarg ;;
1359
1360  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1361  | --libexe | --libex | --libe)
1362    ac_prev=libexecdir ;;
1363  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1364  | --libexe=* | --libex=* | --libe=*)
1365    libexecdir=$ac_optarg ;;
1366
1367  -localedir | --localedir | --localedi | --localed | --locale)
1368    ac_prev=localedir ;;
1369  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1370    localedir=$ac_optarg ;;
1371
1372  -localstatedir | --localstatedir | --localstatedi | --localstated \
1373  | --localstate | --localstat | --localsta | --localst | --locals)
1374    ac_prev=localstatedir ;;
1375  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1376  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1377    localstatedir=$ac_optarg ;;
1378
1379  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1380    ac_prev=mandir ;;
1381  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1382    mandir=$ac_optarg ;;
1383
1384  -nfp | --nfp | --nf)
1385    # Obsolete; use --without-fp.
1386    with_fp=no ;;
1387
1388  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1389  | --no-cr | --no-c | -n)
1390    no_create=yes ;;
1391
1392  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1393  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1394    no_recursion=yes ;;
1395
1396  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1397  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1398  | --oldin | --oldi | --old | --ol | --o)
1399    ac_prev=oldincludedir ;;
1400  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1401  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1402  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1403    oldincludedir=$ac_optarg ;;
1404
1405  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1406    ac_prev=prefix ;;
1407  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1408    prefix=$ac_optarg ;;
1409
1410  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1411  | --program-pre | --program-pr | --program-p)
1412    ac_prev=program_prefix ;;
1413  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1414  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1415    program_prefix=$ac_optarg ;;
1416
1417  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1418  | --program-suf | --program-su | --program-s)
1419    ac_prev=program_suffix ;;
1420  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1421  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1422    program_suffix=$ac_optarg ;;
1423
1424  -program-transform-name | --program-transform-name \
1425  | --program-transform-nam | --program-transform-na \
1426  | --program-transform-n | --program-transform- \
1427  | --program-transform | --program-transfor \
1428  | --program-transfo | --program-transf \
1429  | --program-trans | --program-tran \
1430  | --progr-tra | --program-tr | --program-t)
1431    ac_prev=program_transform_name ;;
1432  -program-transform-name=* | --program-transform-name=* \
1433  | --program-transform-nam=* | --program-transform-na=* \
1434  | --program-transform-n=* | --program-transform-=* \
1435  | --program-transform=* | --program-transfor=* \
1436  | --program-transfo=* | --program-transf=* \
1437  | --program-trans=* | --program-tran=* \
1438  | --progr-tra=* | --program-tr=* | --program-t=*)
1439    program_transform_name=$ac_optarg ;;
1440
1441  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1442    ac_prev=pdfdir ;;
1443  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1444    pdfdir=$ac_optarg ;;
1445
1446  -psdir | --psdir | --psdi | --psd | --ps)
1447    ac_prev=psdir ;;
1448  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1449    psdir=$ac_optarg ;;
1450
1451  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1452  | -silent | --silent | --silen | --sile | --sil)
1453    silent=yes ;;
1454
1455  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1456    ac_prev=sbindir ;;
1457  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1458  | --sbi=* | --sb=*)
1459    sbindir=$ac_optarg ;;
1460
1461  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1462  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1463  | --sharedst | --shareds | --shared | --share | --shar \
1464  | --sha | --sh)
1465    ac_prev=sharedstatedir ;;
1466  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1467  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1468  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1469  | --sha=* | --sh=*)
1470    sharedstatedir=$ac_optarg ;;
1471
1472  -site | --site | --sit)
1473    ac_prev=site ;;
1474  -site=* | --site=* | --sit=*)
1475    site=$ac_optarg ;;
1476
1477  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1478    ac_prev=srcdir ;;
1479  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1480    srcdir=$ac_optarg ;;
1481
1482  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1483  | --syscon | --sysco | --sysc | --sys | --sy)
1484    ac_prev=sysconfdir ;;
1485  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1486  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1487    sysconfdir=$ac_optarg ;;
1488
1489  -target | --target | --targe | --targ | --tar | --ta | --t)
1490    ac_prev=target_alias ;;
1491  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1492    target_alias=$ac_optarg ;;
1493
1494  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1495    verbose=yes ;;
1496
1497  -version | --version | --versio | --versi | --vers | -V)
1498    ac_init_version=: ;;
1499
1500  -with-* | --with-*)
1501    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1502    # Reject names that are not valid shell variable names.
1503    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1504      as_fn_error $? "invalid package name: $ac_useropt"
1505    ac_useropt_orig=$ac_useropt
1506    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1507    case $ac_user_opts in
1508      *"
1509"with_$ac_useropt"
1510"*) ;;
1511      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1512	 ac_unrecognized_sep=', ';;
1513    esac
1514    eval with_$ac_useropt=\$ac_optarg ;;
1515
1516  -without-* | --without-*)
1517    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1518    # Reject names that are not valid shell variable names.
1519    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1520      as_fn_error $? "invalid package name: $ac_useropt"
1521    ac_useropt_orig=$ac_useropt
1522    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1523    case $ac_user_opts in
1524      *"
1525"with_$ac_useropt"
1526"*) ;;
1527      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1528	 ac_unrecognized_sep=', ';;
1529    esac
1530    eval with_$ac_useropt=no ;;
1531
1532  --x)
1533    # Obsolete; use --with-x.
1534    with_x=yes ;;
1535
1536  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1537  | --x-incl | --x-inc | --x-in | --x-i)
1538    ac_prev=x_includes ;;
1539  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1540  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1541    x_includes=$ac_optarg ;;
1542
1543  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1544  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1545    ac_prev=x_libraries ;;
1546  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1547  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1548    x_libraries=$ac_optarg ;;
1549
1550  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1551Try \`$0 --help' for more information"
1552    ;;
1553
1554  *=*)
1555    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1556    # Reject names that are not valid shell variable names.
1557    case $ac_envvar in #(
1558      '' | [0-9]* | *[!_$as_cr_alnum]* )
1559      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1560    esac
1561    eval $ac_envvar=\$ac_optarg
1562    export $ac_envvar ;;
1563
1564  *)
1565    # FIXME: should be removed in autoconf 3.0.
1566    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1567    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1568      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1569    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1570    ;;
1571
1572  esac
1573done
1574
1575if test -n "$ac_prev"; then
1576  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1577  as_fn_error $? "missing argument to $ac_option"
1578fi
1579
1580if test -n "$ac_unrecognized_opts"; then
1581  case $enable_option_checking in
1582    no) ;;
1583    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1584    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1585  esac
1586fi
1587
1588# Check all directory arguments for consistency.
1589for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1590		datadir sysconfdir sharedstatedir localstatedir includedir \
1591		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1592		libdir localedir mandir
1593do
1594  eval ac_val=\$$ac_var
1595  # Remove trailing slashes.
1596  case $ac_val in
1597    */ )
1598      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1599      eval $ac_var=\$ac_val;;
1600  esac
1601  # Be sure to have absolute directory names.
1602  case $ac_val in
1603    [\\/$]* | ?:[\\/]* )  continue;;
1604    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1605  esac
1606  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1607done
1608
1609# There might be people who depend on the old broken behavior: `$host'
1610# used to hold the argument of --host etc.
1611# FIXME: To remove some day.
1612build=$build_alias
1613host=$host_alias
1614target=$target_alias
1615
1616# FIXME: To remove some day.
1617if test "x$host_alias" != x; then
1618  if test "x$build_alias" = x; then
1619    cross_compiling=maybe
1620  elif test "x$build_alias" != "x$host_alias"; then
1621    cross_compiling=yes
1622  fi
1623fi
1624
1625ac_tool_prefix=
1626test -n "$host_alias" && ac_tool_prefix=$host_alias-
1627
1628test "$silent" = yes && exec 6>/dev/null
1629
1630
1631ac_pwd=`pwd` && test -n "$ac_pwd" &&
1632ac_ls_di=`ls -di .` &&
1633ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1634  as_fn_error $? "working directory cannot be determined"
1635test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1636  as_fn_error $? "pwd does not report name of working directory"
1637
1638
1639# Find the source files, if location was not specified.
1640if test -z "$srcdir"; then
1641  ac_srcdir_defaulted=yes
1642  # Try the directory containing this script, then the parent directory.
1643  ac_confdir=`$as_dirname -- "$as_myself" ||
1644$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1645	 X"$as_myself" : 'X\(//\)[^/]' \| \
1646	 X"$as_myself" : 'X\(//\)$' \| \
1647	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1648$as_echo X"$as_myself" |
1649    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1650	    s//\1/
1651	    q
1652	  }
1653	  /^X\(\/\/\)[^/].*/{
1654	    s//\1/
1655	    q
1656	  }
1657	  /^X\(\/\/\)$/{
1658	    s//\1/
1659	    q
1660	  }
1661	  /^X\(\/\).*/{
1662	    s//\1/
1663	    q
1664	  }
1665	  s/.*/./; q'`
1666  srcdir=$ac_confdir
1667  if test ! -r "$srcdir/$ac_unique_file"; then
1668    srcdir=..
1669  fi
1670else
1671  ac_srcdir_defaulted=no
1672fi
1673if test ! -r "$srcdir/$ac_unique_file"; then
1674  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1675  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1676fi
1677ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1678ac_abs_confdir=`(
1679	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1680	pwd)`
1681# When building in place, set srcdir=.
1682if test "$ac_abs_confdir" = "$ac_pwd"; then
1683  srcdir=.
1684fi
1685# Remove unnecessary trailing slashes from srcdir.
1686# Double slashes in file names in object file debugging info
1687# mess up M-x gdb in Emacs.
1688case $srcdir in
1689*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1690esac
1691for ac_var in $ac_precious_vars; do
1692  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1693  eval ac_env_${ac_var}_value=\$${ac_var}
1694  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1695  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1696done
1697
1698#
1699# Report the --help message.
1700#
1701if test "$ac_init_help" = "long"; then
1702  # Omit some internal or obsolete options to make the list less imposing.
1703  # This message is too long to be a string in the A/UX 3.1 sh.
1704  cat <<_ACEOF
1705\`configure' configures libfsapfs 20210424 to adapt to many kinds of systems.
1706
1707Usage: $0 [OPTION]... [VAR=VALUE]...
1708
1709To assign environment variables (e.g., CC, CFLAGS...), specify them as
1710VAR=VALUE.  See below for descriptions of some of the useful variables.
1711
1712Defaults for the options are specified in brackets.
1713
1714Configuration:
1715  -h, --help              display this help and exit
1716      --help=short        display options specific to this package
1717      --help=recursive    display the short help of all the included packages
1718  -V, --version           display version information and exit
1719  -q, --quiet, --silent   do not print \`checking ...' messages
1720      --cache-file=FILE   cache test results in FILE [disabled]
1721  -C, --config-cache      alias for \`--cache-file=config.cache'
1722  -n, --no-create         do not create output files
1723      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1724
1725Installation directories:
1726  --prefix=PREFIX         install architecture-independent files in PREFIX
1727                          [$ac_default_prefix]
1728  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1729                          [PREFIX]
1730
1731By default, \`make install' will install all the files in
1732\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1733an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1734for instance \`--prefix=\$HOME'.
1735
1736For better control, use the options below.
1737
1738Fine tuning of the installation directories:
1739  --bindir=DIR            user executables [EPREFIX/bin]
1740  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1741  --libexecdir=DIR        program executables [EPREFIX/libexec]
1742  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1743  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1744  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1745  --libdir=DIR            object code libraries [EPREFIX/lib]
1746  --includedir=DIR        C header files [PREFIX/include]
1747  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1748  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1749  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1750  --infodir=DIR           info documentation [DATAROOTDIR/info]
1751  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1752  --mandir=DIR            man documentation [DATAROOTDIR/man]
1753  --docdir=DIR            documentation root [DATAROOTDIR/doc/libfsapfs]
1754  --htmldir=DIR           html documentation [DOCDIR]
1755  --dvidir=DIR            dvi documentation [DOCDIR]
1756  --pdfdir=DIR            pdf documentation [DOCDIR]
1757  --psdir=DIR             ps documentation [DOCDIR]
1758_ACEOF
1759
1760  cat <<\_ACEOF
1761
1762Program names:
1763  --program-prefix=PREFIX            prepend PREFIX to installed program names
1764  --program-suffix=SUFFIX            append SUFFIX to installed program names
1765  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1766
1767System types:
1768  --build=BUILD     configure for building on BUILD [guessed]
1769  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1770_ACEOF
1771fi
1772
1773if test -n "$ac_init_help"; then
1774  case $ac_init_help in
1775     short | recursive ) echo "Configuration of libfsapfs 20210424:";;
1776   esac
1777  cat <<\_ACEOF
1778
1779Optional Features:
1780  --disable-option-checking  ignore unrecognized --enable/--with options
1781  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1782  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1783  --enable-silent-rules   less verbose build output (undo: "make V=1")
1784  --disable-silent-rules  verbose build output (undo: "make V=0")
1785  --enable-dependency-tracking
1786                          do not reject slow dependency extractors
1787  --disable-dependency-tracking
1788                          speeds up one-time build
1789  --enable-shared[=PKGS]  build shared libraries [default=yes]
1790  --enable-static[=PKGS]  build static libraries [default=yes]
1791  --enable-fast-install[=PKGS]
1792                          optimize for fast installation [default=yes]
1793  --disable-libtool-lock  avoid locking (might break parallel builds)
1794  --disable-nls           do not use Native Language Support
1795  --disable-rpath         do not hardcode runtime library paths
1796  --disable-largefile     omit support for large files
1797  --disable-shared-libs   disable shared library support
1798  --enable-static-executables
1799                          build static executables (binaries) [default=no]
1800  --enable-winapi         enable WINAPI support for cross-compilation
1801                          [default=auto-detect]
1802  --enable-wide-character-type
1803                          enable wide character type support [default=no]
1804  --enable-verbose-output enable verbose output [default=no]
1805  --enable-debug-output   enable debug output [default=no]
1806  --enable-multi-threading-support
1807                          enable multi-threading support [default=yes]
1808  --enable-openssl-evp-cipher
1809                          enable OpenSSL EVP CIPHER support, or no to disable
1810                          [default=auto-detect]
1811  --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable
1812                          [default=auto-detect]
1813  --enable-python         build Python bindings [default=no]
1814  --enable-python2        build Python 2 bindings [default=no]
1815  --enable-python3        build Python 3 bindings [default=no]
1816
1817Optional Packages:
1818  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1819  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1820  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1821                          both]
1822  --with-aix-soname=aix|svr4|both
1823                          shared library versioning (aka "SONAME") variant to
1824                          provide on AIX, [default=aix].
1825  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1826  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1827                          compiler's sysroot if not specified).
1828  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1829  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1830  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1831  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1832  --without-libintl-prefix     don't search for libintl in includedir and libdir
1833  --with-libcerror[=DIR]  search for libcerror in includedir and libdir or in
1834                          the specified DIR, or no if to use local version
1835                          [default=auto-detect]
1836  --with-libcthreads[=DIR]
1837                          search for libcthreads in includedir and libdir or
1838                          in the specified DIR, or no if to use local version
1839                          [default=auto-detect]
1840  --with-pthread[=DIR]    search for pthread in includedir and libdir or in
1841                          the specified DIR, or no if not to use pthread
1842                          [default=auto-detect]
1843  --with-libcdata[=DIR]   search for libcdata in includedir and libdir or in
1844                          the specified DIR, or no if to use local version
1845                          [default=auto-detect]
1846  --with-libclocale[=DIR] search for libclocale in includedir and libdir or in
1847                          the specified DIR, or no if to use local version
1848                          [default=auto-detect]
1849  --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in
1850                          the specified DIR, or no if to use local version
1851                          [default=auto-detect]
1852  --with-libcsplit[=DIR]  search for libcsplit in includedir and libdir or in
1853                          the specified DIR, or no if to use local version
1854                          [default=auto-detect]
1855  --with-libuna[=DIR]     search for libuna in includedir and libdir or in the
1856                          specified DIR, or no if to use local version
1857                          [default=auto-detect]
1858  --with-libcfile[=DIR]   search for libcfile in includedir and libdir or in
1859                          the specified DIR, or no if to use local version
1860                          [default=auto-detect]
1861  --with-libcpath[=DIR]   search for libcpath in includedir and libdir or in
1862                          the specified DIR, or no if to use local version
1863                          [default=auto-detect]
1864  --with-libbfio[=DIR]    search for libbfio in includedir and libdir or in
1865                          the specified DIR, or no if to use local version
1866                          [default=auto-detect]
1867  --with-libfcache[=DIR]  search for libfcache in includedir and libdir or in
1868                          the specified DIR, or no if to use local version
1869                          [default=auto-detect]
1870  --with-libfdata[=DIR]   search for libfdata in includedir and libdir or in
1871                          the specified DIR, or no if to use local version
1872                          [default=auto-detect]
1873  --with-libfdatetime[=DIR]
1874                          search for libfdatetime in includedir and libdir or
1875                          in the specified DIR, or no if to use local version
1876                          [default=auto-detect]
1877  --with-libfguid[=DIR]   search for libfguid in includedir and libdir or in
1878                          the specified DIR, or no if to use local version
1879                          [default=auto-detect]
1880  --with-zlib[=DIR]       search for zlib in includedir and libdir or in the
1881                          specified DIR, or no if not to use zlib
1882                          [default=auto-detect]
1883  --with-libhmac[=DIR]    search for libhmac in includedir and libdir or in
1884                          the specified DIR, or no if to use local version
1885                          [default=auto-detect]
1886  --with-openssl[=DIR]    search for OpenSSL in includedir and libdir or in
1887                          the specified DIR, or no if not to use OpenSSL
1888                          [default=auto-detect]
1889  --with-libcaes[=DIR]    search for libcaes in includedir and libdir or in
1890                          the specified DIR, or no if to use local version
1891                          [default=auto-detect]
1892  --with-pyprefix[=no]    use `python-config --prefix' to determine the prefix
1893                          of pythondir instead of --prefix [default=no]
1894  --with-pythondir[=no]   use to specify the Python directory (pythondir)
1895                          [default=no]
1896  --with-pythondir2[=no]  use to specify the Python 2 directory (pythondir2)
1897                          [default=no]
1898  --with-pythondir3[=no]  use to specify the Python 3 directory (pythondir3)
1899                          [default=no]
1900  --with-libfuse[=DIR]    search for libfuse in includedir and libdir or in
1901                          the specified DIR, or no if not to use libfuse
1902                          [default=auto-detect]
1903
1904Some influential environment variables:
1905  CC          C compiler command
1906  CFLAGS      C compiler flags
1907  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1908              nonstandard directory <lib dir>
1909  LIBS        libraries to pass to the linker, e.g. -l<library>
1910  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1911              you have headers in a nonstandard directory <include dir>
1912  CPP         C preprocessor
1913  CXX         C++ compiler command
1914  CXXFLAGS    C++ compiler flags
1915  LT_SYS_LIBRARY_PATH
1916              User-defined run-time library search path.
1917  CXXCPP      C++ preprocessor
1918  PKG_CONFIG  path to pkg-config utility
1919  PKG_CONFIG_PATH
1920              directories to add to pkg-config's search path
1921  PKG_CONFIG_LIBDIR
1922              path overriding pkg-config's built-in search path
1923  libcerror_CFLAGS
1924              C compiler flags for libcerror, overriding pkg-config
1925  libcerror_LIBS
1926              linker flags for libcerror, overriding pkg-config
1927  libcthreads_CFLAGS
1928              C compiler flags for libcthreads, overriding pkg-config
1929  libcthreads_LIBS
1930              linker flags for libcthreads, overriding pkg-config
1931  libcdata_CFLAGS
1932              C compiler flags for libcdata, overriding pkg-config
1933  libcdata_LIBS
1934              linker flags for libcdata, overriding pkg-config
1935  libclocale_CFLAGS
1936              C compiler flags for libclocale, overriding pkg-config
1937  libclocale_LIBS
1938              linker flags for libclocale, overriding pkg-config
1939  libcnotify_CFLAGS
1940              C compiler flags for libcnotify, overriding pkg-config
1941  libcnotify_LIBS
1942              linker flags for libcnotify, overriding pkg-config
1943  libcsplit_CFLAGS
1944              C compiler flags for libcsplit, overriding pkg-config
1945  libcsplit_LIBS
1946              linker flags for libcsplit, overriding pkg-config
1947  libuna_CFLAGS
1948              C compiler flags for libuna, overriding pkg-config
1949  libuna_LIBS linker flags for libuna, overriding pkg-config
1950  libcfile_CFLAGS
1951              C compiler flags for libcfile, overriding pkg-config
1952  libcfile_LIBS
1953              linker flags for libcfile, overriding pkg-config
1954  libcpath_CFLAGS
1955              C compiler flags for libcpath, overriding pkg-config
1956  libcpath_LIBS
1957              linker flags for libcpath, overriding pkg-config
1958  libbfio_CFLAGS
1959              C compiler flags for libbfio, overriding pkg-config
1960  libbfio_LIBS
1961              linker flags for libbfio, overriding pkg-config
1962  libfcache_CFLAGS
1963              C compiler flags for libfcache, overriding pkg-config
1964  libfcache_LIBS
1965              linker flags for libfcache, overriding pkg-config
1966  libfdata_CFLAGS
1967              C compiler flags for libfdata, overriding pkg-config
1968  libfdata_LIBS
1969              linker flags for libfdata, overriding pkg-config
1970  libfdatetime_CFLAGS
1971              C compiler flags for libfdatetime, overriding pkg-config
1972  libfdatetime_LIBS
1973              linker flags for libfdatetime, overriding pkg-config
1974  libfguid_CFLAGS
1975              C compiler flags for libfguid, overriding pkg-config
1976  libfguid_LIBS
1977              linker flags for libfguid, overriding pkg-config
1978  zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
1979  zlib_LIBS   linker flags for zlib, overriding pkg-config
1980  libhmac_CFLAGS
1981              C compiler flags for libhmac, overriding pkg-config
1982  libhmac_LIBS
1983              linker flags for libhmac, overriding pkg-config
1984  openssl_CFLAGS
1985              C compiler flags for openssl, overriding pkg-config
1986  openssl_LIBS
1987              linker flags for openssl, overriding pkg-config
1988  libcaes_CFLAGS
1989              C compiler flags for libcaes, overriding pkg-config
1990  libcaes_LIBS
1991              linker flags for libcaes, overriding pkg-config
1992  fuse_CFLAGS C compiler flags for fuse, overriding pkg-config
1993  fuse_LIBS   linker flags for fuse, overriding pkg-config
1994
1995Use these variables to override the choices made by `configure' or to help
1996it to find libraries and programs with nonstandard names/locations.
1997
1998Report bugs to <joachim.metz@gmail.com>.
1999_ACEOF
2000ac_status=$?
2001fi
2002
2003if test "$ac_init_help" = "recursive"; then
2004  # If there are subdirs, report their specific --help.
2005  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2006    test -d "$ac_dir" ||
2007      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2008      continue
2009    ac_builddir=.
2010
2011case "$ac_dir" in
2012.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2013*)
2014  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2015  # A ".." for each directory in $ac_dir_suffix.
2016  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2017  case $ac_top_builddir_sub in
2018  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2019  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2020  esac ;;
2021esac
2022ac_abs_top_builddir=$ac_pwd
2023ac_abs_builddir=$ac_pwd$ac_dir_suffix
2024# for backward compatibility:
2025ac_top_builddir=$ac_top_build_prefix
2026
2027case $srcdir in
2028  .)  # We are building in place.
2029    ac_srcdir=.
2030    ac_top_srcdir=$ac_top_builddir_sub
2031    ac_abs_top_srcdir=$ac_pwd ;;
2032  [\\/]* | ?:[\\/]* )  # Absolute name.
2033    ac_srcdir=$srcdir$ac_dir_suffix;
2034    ac_top_srcdir=$srcdir
2035    ac_abs_top_srcdir=$srcdir ;;
2036  *) # Relative name.
2037    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2038    ac_top_srcdir=$ac_top_build_prefix$srcdir
2039    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2040esac
2041ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2042
2043    cd "$ac_dir" || { ac_status=$?; continue; }
2044    # Check for guested configure.
2045    if test -f "$ac_srcdir/configure.gnu"; then
2046      echo &&
2047      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2048    elif test -f "$ac_srcdir/configure"; then
2049      echo &&
2050      $SHELL "$ac_srcdir/configure" --help=recursive
2051    else
2052      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2053    fi || ac_status=$?
2054    cd "$ac_pwd" || { ac_status=$?; break; }
2055  done
2056fi
2057
2058test -n "$ac_init_help" && exit $ac_status
2059if $ac_init_version; then
2060  cat <<\_ACEOF
2061libfsapfs configure 20210424
2062generated by GNU Autoconf 2.69
2063
2064Copyright (C) 2012 Free Software Foundation, Inc.
2065This configure script is free software; the Free Software Foundation
2066gives unlimited permission to copy, distribute and modify it.
2067_ACEOF
2068  exit
2069fi
2070
2071## ------------------------ ##
2072## Autoconf initialization. ##
2073## ------------------------ ##
2074
2075# ac_fn_c_try_compile LINENO
2076# --------------------------
2077# Try to compile conftest.$ac_ext, and return whether this succeeded.
2078ac_fn_c_try_compile ()
2079{
2080  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081  rm -f conftest.$ac_objext
2082  if { { ac_try="$ac_compile"
2083case "(($ac_try" in
2084  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2085  *) ac_try_echo=$ac_try;;
2086esac
2087eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2088$as_echo "$ac_try_echo"; } >&5
2089  (eval "$ac_compile") 2>conftest.err
2090  ac_status=$?
2091  if test -s conftest.err; then
2092    grep -v '^ *+' conftest.err >conftest.er1
2093    cat conftest.er1 >&5
2094    mv -f conftest.er1 conftest.err
2095  fi
2096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2097  test $ac_status = 0; } && {
2098	 test -z "$ac_c_werror_flag" ||
2099	 test ! -s conftest.err
2100       } && test -s conftest.$ac_objext; then :
2101  ac_retval=0
2102else
2103  $as_echo "$as_me: failed program was:" >&5
2104sed 's/^/| /' conftest.$ac_ext >&5
2105
2106	ac_retval=1
2107fi
2108  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109  as_fn_set_status $ac_retval
2110
2111} # ac_fn_c_try_compile
2112
2113# ac_fn_c_try_cpp LINENO
2114# ----------------------
2115# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2116ac_fn_c_try_cpp ()
2117{
2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119  if { { ac_try="$ac_cpp conftest.$ac_ext"
2120case "(($ac_try" in
2121  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2122  *) ac_try_echo=$ac_try;;
2123esac
2124eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2125$as_echo "$ac_try_echo"; } >&5
2126  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2127  ac_status=$?
2128  if test -s conftest.err; then
2129    grep -v '^ *+' conftest.err >conftest.er1
2130    cat conftest.er1 >&5
2131    mv -f conftest.er1 conftest.err
2132  fi
2133  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2134  test $ac_status = 0; } > conftest.i && {
2135	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2136	 test ! -s conftest.err
2137       }; then :
2138  ac_retval=0
2139else
2140  $as_echo "$as_me: failed program was:" >&5
2141sed 's/^/| /' conftest.$ac_ext >&5
2142
2143    ac_retval=1
2144fi
2145  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2146  as_fn_set_status $ac_retval
2147
2148} # ac_fn_c_try_cpp
2149
2150# ac_fn_cxx_try_compile LINENO
2151# ----------------------------
2152# Try to compile conftest.$ac_ext, and return whether this succeeded.
2153ac_fn_cxx_try_compile ()
2154{
2155  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156  rm -f conftest.$ac_objext
2157  if { { ac_try="$ac_compile"
2158case "(($ac_try" in
2159  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2160  *) ac_try_echo=$ac_try;;
2161esac
2162eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2163$as_echo "$ac_try_echo"; } >&5
2164  (eval "$ac_compile") 2>conftest.err
2165  ac_status=$?
2166  if test -s conftest.err; then
2167    grep -v '^ *+' conftest.err >conftest.er1
2168    cat conftest.er1 >&5
2169    mv -f conftest.er1 conftest.err
2170  fi
2171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2172  test $ac_status = 0; } && {
2173	 test -z "$ac_cxx_werror_flag" ||
2174	 test ! -s conftest.err
2175       } && test -s conftest.$ac_objext; then :
2176  ac_retval=0
2177else
2178  $as_echo "$as_me: failed program was:" >&5
2179sed 's/^/| /' conftest.$ac_ext >&5
2180
2181	ac_retval=1
2182fi
2183  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2184  as_fn_set_status $ac_retval
2185
2186} # ac_fn_cxx_try_compile
2187
2188# ac_fn_c_try_link LINENO
2189# -----------------------
2190# Try to link conftest.$ac_ext, and return whether this succeeded.
2191ac_fn_c_try_link ()
2192{
2193  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194  rm -f conftest.$ac_objext conftest$ac_exeext
2195  if { { ac_try="$ac_link"
2196case "(($ac_try" in
2197  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2198  *) ac_try_echo=$ac_try;;
2199esac
2200eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2201$as_echo "$ac_try_echo"; } >&5
2202  (eval "$ac_link") 2>conftest.err
2203  ac_status=$?
2204  if test -s conftest.err; then
2205    grep -v '^ *+' conftest.err >conftest.er1
2206    cat conftest.er1 >&5
2207    mv -f conftest.er1 conftest.err
2208  fi
2209  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2210  test $ac_status = 0; } && {
2211	 test -z "$ac_c_werror_flag" ||
2212	 test ! -s conftest.err
2213       } && test -s conftest$ac_exeext && {
2214	 test "$cross_compiling" = yes ||
2215	 test -x conftest$ac_exeext
2216       }; then :
2217  ac_retval=0
2218else
2219  $as_echo "$as_me: failed program was:" >&5
2220sed 's/^/| /' conftest.$ac_ext >&5
2221
2222	ac_retval=1
2223fi
2224  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2225  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2226  # interfere with the next link command; also delete a directory that is
2227  # left behind by Apple's compiler.  We do this before executing the actions.
2228  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2229  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2230  as_fn_set_status $ac_retval
2231
2232} # ac_fn_c_try_link
2233
2234# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2235# -------------------------------------------------------
2236# Tests whether HEADER exists and can be compiled using the include files in
2237# INCLUDES, setting the cache variable VAR accordingly.
2238ac_fn_c_check_header_compile ()
2239{
2240  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2242$as_echo_n "checking for $2... " >&6; }
2243if eval \${$3+:} false; then :
2244  $as_echo_n "(cached) " >&6
2245else
2246  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2247/* end confdefs.h.  */
2248$4
2249#include <$2>
2250_ACEOF
2251if ac_fn_c_try_compile "$LINENO"; then :
2252  eval "$3=yes"
2253else
2254  eval "$3=no"
2255fi
2256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2257fi
2258eval ac_res=\$$3
2259	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2260$as_echo "$ac_res" >&6; }
2261  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2262
2263} # ac_fn_c_check_header_compile
2264
2265# ac_fn_c_try_run LINENO
2266# ----------------------
2267# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2268# that executables *can* be run.
2269ac_fn_c_try_run ()
2270{
2271  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2272  if { { ac_try="$ac_link"
2273case "(($ac_try" in
2274  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275  *) ac_try_echo=$ac_try;;
2276esac
2277eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2278$as_echo "$ac_try_echo"; } >&5
2279  (eval "$ac_link") 2>&5
2280  ac_status=$?
2281  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2282  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2283  { { case "(($ac_try" in
2284  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285  *) ac_try_echo=$ac_try;;
2286esac
2287eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2288$as_echo "$ac_try_echo"; } >&5
2289  (eval "$ac_try") 2>&5
2290  ac_status=$?
2291  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292  test $ac_status = 0; }; }; then :
2293  ac_retval=0
2294else
2295  $as_echo "$as_me: program exited with status $ac_status" >&5
2296       $as_echo "$as_me: failed program was:" >&5
2297sed 's/^/| /' conftest.$ac_ext >&5
2298
2299       ac_retval=$ac_status
2300fi
2301  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2302  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2303  as_fn_set_status $ac_retval
2304
2305} # ac_fn_c_try_run
2306
2307# ac_fn_c_check_func LINENO FUNC VAR
2308# ----------------------------------
2309# Tests whether FUNC exists, setting the cache variable VAR accordingly
2310ac_fn_c_check_func ()
2311{
2312  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2314$as_echo_n "checking for $2... " >&6; }
2315if eval \${$3+:} false; then :
2316  $as_echo_n "(cached) " >&6
2317else
2318  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319/* end confdefs.h.  */
2320/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2321   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2322#define $2 innocuous_$2
2323
2324/* System header to define __stub macros and hopefully few prototypes,
2325    which can conflict with char $2 (); below.
2326    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2327    <limits.h> exists even on freestanding compilers.  */
2328
2329#ifdef __STDC__
2330# include <limits.h>
2331#else
2332# include <assert.h>
2333#endif
2334
2335#undef $2
2336
2337/* Override any GCC internal prototype to avoid an error.
2338   Use char because int might match the return type of a GCC
2339   builtin and then its argument prototype would still apply.  */
2340#ifdef __cplusplus
2341extern "C"
2342#endif
2343char $2 ();
2344/* The GNU C library defines this for functions which it implements
2345    to always fail with ENOSYS.  Some functions are actually named
2346    something starting with __ and the normal name is an alias.  */
2347#if defined __stub_$2 || defined __stub___$2
2348choke me
2349#endif
2350
2351int
2352main ()
2353{
2354return $2 ();
2355  ;
2356  return 0;
2357}
2358_ACEOF
2359if ac_fn_c_try_link "$LINENO"; then :
2360  eval "$3=yes"
2361else
2362  eval "$3=no"
2363fi
2364rm -f core conftest.err conftest.$ac_objext \
2365    conftest$ac_exeext conftest.$ac_ext
2366fi
2367eval ac_res=\$$3
2368	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2369$as_echo "$ac_res" >&6; }
2370  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371
2372} # ac_fn_c_check_func
2373
2374# ac_fn_cxx_try_cpp LINENO
2375# ------------------------
2376# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2377ac_fn_cxx_try_cpp ()
2378{
2379  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2380  if { { ac_try="$ac_cpp conftest.$ac_ext"
2381case "(($ac_try" in
2382  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383  *) ac_try_echo=$ac_try;;
2384esac
2385eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2386$as_echo "$ac_try_echo"; } >&5
2387  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2388  ac_status=$?
2389  if test -s conftest.err; then
2390    grep -v '^ *+' conftest.err >conftest.er1
2391    cat conftest.er1 >&5
2392    mv -f conftest.er1 conftest.err
2393  fi
2394  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395  test $ac_status = 0; } > conftest.i && {
2396	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2397	 test ! -s conftest.err
2398       }; then :
2399  ac_retval=0
2400else
2401  $as_echo "$as_me: failed program was:" >&5
2402sed 's/^/| /' conftest.$ac_ext >&5
2403
2404    ac_retval=1
2405fi
2406  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2407  as_fn_set_status $ac_retval
2408
2409} # ac_fn_cxx_try_cpp
2410
2411# ac_fn_cxx_try_link LINENO
2412# -------------------------
2413# Try to link conftest.$ac_ext, and return whether this succeeded.
2414ac_fn_cxx_try_link ()
2415{
2416  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417  rm -f conftest.$ac_objext conftest$ac_exeext
2418  if { { ac_try="$ac_link"
2419case "(($ac_try" in
2420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2421  *) ac_try_echo=$ac_try;;
2422esac
2423eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2424$as_echo "$ac_try_echo"; } >&5
2425  (eval "$ac_link") 2>conftest.err
2426  ac_status=$?
2427  if test -s conftest.err; then
2428    grep -v '^ *+' conftest.err >conftest.er1
2429    cat conftest.er1 >&5
2430    mv -f conftest.er1 conftest.err
2431  fi
2432  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433  test $ac_status = 0; } && {
2434	 test -z "$ac_cxx_werror_flag" ||
2435	 test ! -s conftest.err
2436       } && test -s conftest$ac_exeext && {
2437	 test "$cross_compiling" = yes ||
2438	 test -x conftest$ac_exeext
2439       }; then :
2440  ac_retval=0
2441else
2442  $as_echo "$as_me: failed program was:" >&5
2443sed 's/^/| /' conftest.$ac_ext >&5
2444
2445	ac_retval=1
2446fi
2447  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2448  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2449  # interfere with the next link command; also delete a directory that is
2450  # left behind by Apple's compiler.  We do this before executing the actions.
2451  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2452  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453  as_fn_set_status $ac_retval
2454
2455} # ac_fn_cxx_try_link
2456
2457# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2458# -------------------------------------------------------
2459# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2460# the include files in INCLUDES and setting the cache variable VAR
2461# accordingly.
2462ac_fn_c_check_header_mongrel ()
2463{
2464  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2465  if eval \${$3+:} false; then :
2466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2467$as_echo_n "checking for $2... " >&6; }
2468if eval \${$3+:} false; then :
2469  $as_echo_n "(cached) " >&6
2470fi
2471eval ac_res=\$$3
2472	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2473$as_echo "$ac_res" >&6; }
2474else
2475  # Is the header compilable?
2476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2477$as_echo_n "checking $2 usability... " >&6; }
2478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479/* end confdefs.h.  */
2480$4
2481#include <$2>
2482_ACEOF
2483if ac_fn_c_try_compile "$LINENO"; then :
2484  ac_header_compiler=yes
2485else
2486  ac_header_compiler=no
2487fi
2488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2490$as_echo "$ac_header_compiler" >&6; }
2491
2492# Is the header present?
2493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2494$as_echo_n "checking $2 presence... " >&6; }
2495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2496/* end confdefs.h.  */
2497#include <$2>
2498_ACEOF
2499if ac_fn_c_try_cpp "$LINENO"; then :
2500  ac_header_preproc=yes
2501else
2502  ac_header_preproc=no
2503fi
2504rm -f conftest.err conftest.i conftest.$ac_ext
2505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2506$as_echo "$ac_header_preproc" >&6; }
2507
2508# So?  What about this header?
2509case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2510  yes:no: )
2511    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2512$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2513    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2514$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2515    ;;
2516  no:yes:* )
2517    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2518$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2519    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2520$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2521    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2522$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2523    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2524$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2525    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2526$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2527( $as_echo "## ------------------------------------- ##
2528## Report this to joachim.metz@gmail.com ##
2529## ------------------------------------- ##"
2530     ) | sed "s/^/$as_me: WARNING:     /" >&2
2531    ;;
2532esac
2533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2534$as_echo_n "checking for $2... " >&6; }
2535if eval \${$3+:} false; then :
2536  $as_echo_n "(cached) " >&6
2537else
2538  eval "$3=\$ac_header_compiler"
2539fi
2540eval ac_res=\$$3
2541	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2542$as_echo "$ac_res" >&6; }
2543fi
2544  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545
2546} # ac_fn_c_check_header_mongrel
2547
2548# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2549# -------------------------------------------
2550# Tests whether TYPE exists after having included INCLUDES, setting cache
2551# variable VAR accordingly.
2552ac_fn_c_check_type ()
2553{
2554  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2556$as_echo_n "checking for $2... " >&6; }
2557if eval \${$3+:} false; then :
2558  $as_echo_n "(cached) " >&6
2559else
2560  eval "$3=no"
2561  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2562/* end confdefs.h.  */
2563$4
2564int
2565main ()
2566{
2567if (sizeof ($2))
2568	 return 0;
2569  ;
2570  return 0;
2571}
2572_ACEOF
2573if ac_fn_c_try_compile "$LINENO"; then :
2574  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575/* end confdefs.h.  */
2576$4
2577int
2578main ()
2579{
2580if (sizeof (($2)))
2581	    return 0;
2582  ;
2583  return 0;
2584}
2585_ACEOF
2586if ac_fn_c_try_compile "$LINENO"; then :
2587
2588else
2589  eval "$3=yes"
2590fi
2591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2592fi
2593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2594fi
2595eval ac_res=\$$3
2596	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597$as_echo "$ac_res" >&6; }
2598  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2599
2600} # ac_fn_c_check_type
2601
2602# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2603# --------------------------------------------
2604# Tries to find the compile-time value of EXPR in a program that includes
2605# INCLUDES, setting VAR accordingly. Returns whether the value could be
2606# computed
2607ac_fn_c_compute_int ()
2608{
2609  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2610  if test "$cross_compiling" = yes; then
2611    # Depending upon the size, compute the lo and hi bounds.
2612cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2613/* end confdefs.h.  */
2614$4
2615int
2616main ()
2617{
2618static int test_array [1 - 2 * !(($2) >= 0)];
2619test_array [0] = 0;
2620return test_array [0];
2621
2622  ;
2623  return 0;
2624}
2625_ACEOF
2626if ac_fn_c_try_compile "$LINENO"; then :
2627  ac_lo=0 ac_mid=0
2628  while :; do
2629    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2630/* end confdefs.h.  */
2631$4
2632int
2633main ()
2634{
2635static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2636test_array [0] = 0;
2637return test_array [0];
2638
2639  ;
2640  return 0;
2641}
2642_ACEOF
2643if ac_fn_c_try_compile "$LINENO"; then :
2644  ac_hi=$ac_mid; break
2645else
2646  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2647			if test $ac_lo -le $ac_mid; then
2648			  ac_lo= ac_hi=
2649			  break
2650			fi
2651			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2652fi
2653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654  done
2655else
2656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657/* end confdefs.h.  */
2658$4
2659int
2660main ()
2661{
2662static int test_array [1 - 2 * !(($2) < 0)];
2663test_array [0] = 0;
2664return test_array [0];
2665
2666  ;
2667  return 0;
2668}
2669_ACEOF
2670if ac_fn_c_try_compile "$LINENO"; then :
2671  ac_hi=-1 ac_mid=-1
2672  while :; do
2673    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2674/* end confdefs.h.  */
2675$4
2676int
2677main ()
2678{
2679static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2680test_array [0] = 0;
2681return test_array [0];
2682
2683  ;
2684  return 0;
2685}
2686_ACEOF
2687if ac_fn_c_try_compile "$LINENO"; then :
2688  ac_lo=$ac_mid; break
2689else
2690  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2691			if test $ac_mid -le $ac_hi; then
2692			  ac_lo= ac_hi=
2693			  break
2694			fi
2695			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2696fi
2697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698  done
2699else
2700  ac_lo= ac_hi=
2701fi
2702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703fi
2704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705# Binary search between lo and hi bounds.
2706while test "x$ac_lo" != "x$ac_hi"; do
2707  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2709/* end confdefs.h.  */
2710$4
2711int
2712main ()
2713{
2714static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2715test_array [0] = 0;
2716return test_array [0];
2717
2718  ;
2719  return 0;
2720}
2721_ACEOF
2722if ac_fn_c_try_compile "$LINENO"; then :
2723  ac_hi=$ac_mid
2724else
2725  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2726fi
2727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2728done
2729case $ac_lo in #((
2730?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2731'') ac_retval=1 ;;
2732esac
2733  else
2734    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735/* end confdefs.h.  */
2736$4
2737static long int longval () { return $2; }
2738static unsigned long int ulongval () { return $2; }
2739#include <stdio.h>
2740#include <stdlib.h>
2741int
2742main ()
2743{
2744
2745  FILE *f = fopen ("conftest.val", "w");
2746  if (! f)
2747    return 1;
2748  if (($2) < 0)
2749    {
2750      long int i = longval ();
2751      if (i != ($2))
2752	return 1;
2753      fprintf (f, "%ld", i);
2754    }
2755  else
2756    {
2757      unsigned long int i = ulongval ();
2758      if (i != ($2))
2759	return 1;
2760      fprintf (f, "%lu", i);
2761    }
2762  /* Do not output a trailing newline, as this causes \r\n confusion
2763     on some platforms.  */
2764  return ferror (f) || fclose (f) != 0;
2765
2766  ;
2767  return 0;
2768}
2769_ACEOF
2770if ac_fn_c_try_run "$LINENO"; then :
2771  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2772else
2773  ac_retval=1
2774fi
2775rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2776  conftest.$ac_objext conftest.beam conftest.$ac_ext
2777rm -f conftest.val
2778
2779  fi
2780  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781  as_fn_set_status $ac_retval
2782
2783} # ac_fn_c_compute_int
2784
2785# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2786# ---------------------------------------------
2787# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2788# accordingly.
2789ac_fn_c_check_decl ()
2790{
2791  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792  as_decl_name=`echo $2|sed 's/ *(.*//'`
2793  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2795$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2796if eval \${$3+:} false; then :
2797  $as_echo_n "(cached) " >&6
2798else
2799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800/* end confdefs.h.  */
2801$4
2802int
2803main ()
2804{
2805#ifndef $as_decl_name
2806#ifdef __cplusplus
2807  (void) $as_decl_use;
2808#else
2809  (void) $as_decl_name;
2810#endif
2811#endif
2812
2813  ;
2814  return 0;
2815}
2816_ACEOF
2817if ac_fn_c_try_compile "$LINENO"; then :
2818  eval "$3=yes"
2819else
2820  eval "$3=no"
2821fi
2822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823fi
2824eval ac_res=\$$3
2825	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826$as_echo "$ac_res" >&6; }
2827  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828
2829} # ac_fn_c_check_decl
2830cat >config.log <<_ACEOF
2831This file contains any messages produced by compilers while
2832running configure, to aid debugging if configure makes a mistake.
2833
2834It was created by libfsapfs $as_me 20210424, which was
2835generated by GNU Autoconf 2.69.  Invocation command line was
2836
2837  $ $0 $@
2838
2839_ACEOF
2840exec 5>>config.log
2841{
2842cat <<_ASUNAME
2843## --------- ##
2844## Platform. ##
2845## --------- ##
2846
2847hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2848uname -m = `(uname -m) 2>/dev/null || echo unknown`
2849uname -r = `(uname -r) 2>/dev/null || echo unknown`
2850uname -s = `(uname -s) 2>/dev/null || echo unknown`
2851uname -v = `(uname -v) 2>/dev/null || echo unknown`
2852
2853/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2854/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2855
2856/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2857/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2858/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2859/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2860/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2861/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2862/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2863
2864_ASUNAME
2865
2866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867for as_dir in $PATH
2868do
2869  IFS=$as_save_IFS
2870  test -z "$as_dir" && as_dir=.
2871    $as_echo "PATH: $as_dir"
2872  done
2873IFS=$as_save_IFS
2874
2875} >&5
2876
2877cat >&5 <<_ACEOF
2878
2879
2880## ----------- ##
2881## Core tests. ##
2882## ----------- ##
2883
2884_ACEOF
2885
2886
2887# Keep a trace of the command line.
2888# Strip out --no-create and --no-recursion so they do not pile up.
2889# Strip out --silent because we don't want to record it for future runs.
2890# Also quote any args containing shell meta-characters.
2891# Make two passes to allow for proper duplicate-argument suppression.
2892ac_configure_args=
2893ac_configure_args0=
2894ac_configure_args1=
2895ac_must_keep_next=false
2896for ac_pass in 1 2
2897do
2898  for ac_arg
2899  do
2900    case $ac_arg in
2901    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2902    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2903    | -silent | --silent | --silen | --sile | --sil)
2904      continue ;;
2905    *\'*)
2906      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2907    esac
2908    case $ac_pass in
2909    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2910    2)
2911      as_fn_append ac_configure_args1 " '$ac_arg'"
2912      if test $ac_must_keep_next = true; then
2913	ac_must_keep_next=false # Got value, back to normal.
2914      else
2915	case $ac_arg in
2916	  *=* | --config-cache | -C | -disable-* | --disable-* \
2917	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2918	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2919	  | -with-* | --with-* | -without-* | --without-* | --x)
2920	    case "$ac_configure_args0 " in
2921	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2922	    esac
2923	    ;;
2924	  -* ) ac_must_keep_next=true ;;
2925	esac
2926      fi
2927      as_fn_append ac_configure_args " '$ac_arg'"
2928      ;;
2929    esac
2930  done
2931done
2932{ ac_configure_args0=; unset ac_configure_args0;}
2933{ ac_configure_args1=; unset ac_configure_args1;}
2934
2935# When interrupted or exit'd, cleanup temporary files, and complete
2936# config.log.  We remove comments because anyway the quotes in there
2937# would cause problems or look ugly.
2938# WARNING: Use '\'' to represent an apostrophe within the trap.
2939# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2940trap 'exit_status=$?
2941  # Save into config.log some information that might help in debugging.
2942  {
2943    echo
2944
2945    $as_echo "## ---------------- ##
2946## Cache variables. ##
2947## ---------------- ##"
2948    echo
2949    # The following way of writing the cache mishandles newlines in values,
2950(
2951  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2952    eval ac_val=\$$ac_var
2953    case $ac_val in #(
2954    *${as_nl}*)
2955      case $ac_var in #(
2956      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2957$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2958      esac
2959      case $ac_var in #(
2960      _ | IFS | as_nl) ;; #(
2961      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2962      *) { eval $ac_var=; unset $ac_var;} ;;
2963      esac ;;
2964    esac
2965  done
2966  (set) 2>&1 |
2967    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2968    *${as_nl}ac_space=\ *)
2969      sed -n \
2970	"s/'\''/'\''\\\\'\'''\''/g;
2971	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2972      ;; #(
2973    *)
2974      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2975      ;;
2976    esac |
2977    sort
2978)
2979    echo
2980
2981    $as_echo "## ----------------- ##
2982## Output variables. ##
2983## ----------------- ##"
2984    echo
2985    for ac_var in $ac_subst_vars
2986    do
2987      eval ac_val=\$$ac_var
2988      case $ac_val in
2989      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2990      esac
2991      $as_echo "$ac_var='\''$ac_val'\''"
2992    done | sort
2993    echo
2994
2995    if test -n "$ac_subst_files"; then
2996      $as_echo "## ------------------- ##
2997## File substitutions. ##
2998## ------------------- ##"
2999      echo
3000      for ac_var in $ac_subst_files
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    fi
3010
3011    if test -s confdefs.h; then
3012      $as_echo "## ----------- ##
3013## confdefs.h. ##
3014## ----------- ##"
3015      echo
3016      cat confdefs.h
3017      echo
3018    fi
3019    test "$ac_signal" != 0 &&
3020      $as_echo "$as_me: caught signal $ac_signal"
3021    $as_echo "$as_me: exit $exit_status"
3022  } >&5
3023  rm -f core *.core core.conftest.* &&
3024    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3025    exit $exit_status
3026' 0
3027for ac_signal in 1 2 13 15; do
3028  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3029done
3030ac_signal=0
3031
3032# confdefs.h avoids OS command line length limits that DEFS can exceed.
3033rm -f -r conftest* confdefs.h
3034
3035$as_echo "/* confdefs.h */" > confdefs.h
3036
3037# Predefined preprocessor variables.
3038
3039cat >>confdefs.h <<_ACEOF
3040#define PACKAGE_NAME "$PACKAGE_NAME"
3041_ACEOF
3042
3043cat >>confdefs.h <<_ACEOF
3044#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3045_ACEOF
3046
3047cat >>confdefs.h <<_ACEOF
3048#define PACKAGE_VERSION "$PACKAGE_VERSION"
3049_ACEOF
3050
3051cat >>confdefs.h <<_ACEOF
3052#define PACKAGE_STRING "$PACKAGE_STRING"
3053_ACEOF
3054
3055cat >>confdefs.h <<_ACEOF
3056#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3057_ACEOF
3058
3059cat >>confdefs.h <<_ACEOF
3060#define PACKAGE_URL "$PACKAGE_URL"
3061_ACEOF
3062
3063
3064# Let the site file select an alternate cache file if it wants to.
3065# Prefer an explicitly selected file to automatically selected ones.
3066ac_site_file1=NONE
3067ac_site_file2=NONE
3068if test -n "$CONFIG_SITE"; then
3069  # We do not want a PATH search for config.site.
3070  case $CONFIG_SITE in #((
3071    -*)  ac_site_file1=./$CONFIG_SITE;;
3072    */*) ac_site_file1=$CONFIG_SITE;;
3073    *)   ac_site_file1=./$CONFIG_SITE;;
3074  esac
3075elif test "x$prefix" != xNONE; then
3076  ac_site_file1=$prefix/share/config.site
3077  ac_site_file2=$prefix/etc/config.site
3078else
3079  ac_site_file1=$ac_default_prefix/share/config.site
3080  ac_site_file2=$ac_default_prefix/etc/config.site
3081fi
3082for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3083do
3084  test "x$ac_site_file" = xNONE && continue
3085  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3086    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3087$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3088    sed 's/^/| /' "$ac_site_file" >&5
3089    . "$ac_site_file" \
3090      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092as_fn_error $? "failed to load site script $ac_site_file
3093See \`config.log' for more details" "$LINENO" 5; }
3094  fi
3095done
3096
3097if test -r "$cache_file"; then
3098  # Some versions of bash will fail to source /dev/null (special files
3099  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3100  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3101    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3102$as_echo "$as_me: loading cache $cache_file" >&6;}
3103    case $cache_file in
3104      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3105      *)                      . "./$cache_file";;
3106    esac
3107  fi
3108else
3109  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3110$as_echo "$as_me: creating cache $cache_file" >&6;}
3111  >$cache_file
3112fi
3113
3114gt_needs="$gt_needs "
3115# Check that the precious variables saved in the cache have kept the same
3116# value.
3117ac_cache_corrupted=false
3118for ac_var in $ac_precious_vars; do
3119  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3120  eval ac_new_set=\$ac_env_${ac_var}_set
3121  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3122  eval ac_new_val=\$ac_env_${ac_var}_value
3123  case $ac_old_set,$ac_new_set in
3124    set,)
3125      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3126$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3127      ac_cache_corrupted=: ;;
3128    ,set)
3129      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3130$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3131      ac_cache_corrupted=: ;;
3132    ,);;
3133    *)
3134      if test "x$ac_old_val" != "x$ac_new_val"; then
3135	# differences in whitespace do not lead to failure.
3136	ac_old_val_w=`echo x $ac_old_val`
3137	ac_new_val_w=`echo x $ac_new_val`
3138	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3139	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3140$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3141	  ac_cache_corrupted=:
3142	else
3143	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3144$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3145	  eval $ac_var=\$ac_old_val
3146	fi
3147	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3148$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3149	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3150$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3151      fi;;
3152  esac
3153  # Pass precious variables to config.status.
3154  if test "$ac_new_set" = set; then
3155    case $ac_new_val in
3156    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3157    *) ac_arg=$ac_var=$ac_new_val ;;
3158    esac
3159    case " $ac_configure_args " in
3160      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3161      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3162    esac
3163  fi
3164done
3165if $ac_cache_corrupted; then
3166  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3169$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3170  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3171fi
3172## -------------------- ##
3173## Main body of script. ##
3174## -------------------- ##
3175
3176ac_ext=c
3177ac_cpp='$CPP $CPPFLAGS'
3178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180ac_compiler_gnu=$ac_cv_c_compiler_gnu
3181
3182
3183
3184
3185
3186am__api_version='1.16'
3187
3188ac_aux_dir=
3189for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3190  if test -f "$ac_dir/install-sh"; then
3191    ac_aux_dir=$ac_dir
3192    ac_install_sh="$ac_aux_dir/install-sh -c"
3193    break
3194  elif test -f "$ac_dir/install.sh"; then
3195    ac_aux_dir=$ac_dir
3196    ac_install_sh="$ac_aux_dir/install.sh -c"
3197    break
3198  elif test -f "$ac_dir/shtool"; then
3199    ac_aux_dir=$ac_dir
3200    ac_install_sh="$ac_aux_dir/shtool install -c"
3201    break
3202  fi
3203done
3204if test -z "$ac_aux_dir"; then
3205  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3206fi
3207
3208# These three variables are undocumented and unsupported,
3209# and are intended to be withdrawn in a future Autoconf release.
3210# They can cause serious problems if a builder's source tree is in a directory
3211# whose full name contains unusual characters.
3212ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3213ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3214ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3215
3216
3217# Find a good install program.  We prefer a C program (faster),
3218# so one script is as good as another.  But avoid the broken or
3219# incompatible versions:
3220# SysV /etc/install, /usr/sbin/install
3221# SunOS /usr/etc/install
3222# IRIX /sbin/install
3223# AIX /bin/install
3224# AmigaOS /C/install, which installs bootblocks on floppy discs
3225# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3226# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3227# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3228# OS/2's system install, which has a completely different semantic
3229# ./install, which can be erroneously created by make from ./install.sh.
3230# Reject install programs that cannot install multiple files.
3231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3232$as_echo_n "checking for a BSD-compatible install... " >&6; }
3233if test -z "$INSTALL"; then
3234if ${ac_cv_path_install+:} false; then :
3235  $as_echo_n "(cached) " >&6
3236else
3237  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238for as_dir in $PATH
3239do
3240  IFS=$as_save_IFS
3241  test -z "$as_dir" && as_dir=.
3242    # Account for people who put trailing slashes in PATH elements.
3243case $as_dir/ in #((
3244  ./ | .// | /[cC]/* | \
3245  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3246  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3247  /usr/ucb/* ) ;;
3248  *)
3249    # OSF1 and SCO ODT 3.0 have their own names for install.
3250    # Don't use installbsd from OSF since it installs stuff as root
3251    # by default.
3252    for ac_prog in ginstall scoinst install; do
3253      for ac_exec_ext in '' $ac_executable_extensions; do
3254	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3255	  if test $ac_prog = install &&
3256	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3257	    # AIX install.  It has an incompatible calling convention.
3258	    :
3259	  elif test $ac_prog = install &&
3260	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3261	    # program-specific install script used by HP pwplus--don't use.
3262	    :
3263	  else
3264	    rm -rf conftest.one conftest.two conftest.dir
3265	    echo one > conftest.one
3266	    echo two > conftest.two
3267	    mkdir conftest.dir
3268	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3269	      test -s conftest.one && test -s conftest.two &&
3270	      test -s conftest.dir/conftest.one &&
3271	      test -s conftest.dir/conftest.two
3272	    then
3273	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3274	      break 3
3275	    fi
3276	  fi
3277	fi
3278      done
3279    done
3280    ;;
3281esac
3282
3283  done
3284IFS=$as_save_IFS
3285
3286rm -rf conftest.one conftest.two conftest.dir
3287
3288fi
3289  if test "${ac_cv_path_install+set}" = set; then
3290    INSTALL=$ac_cv_path_install
3291  else
3292    # As a last resort, use the slow shell script.  Don't cache a
3293    # value for INSTALL within a source directory, because that will
3294    # break other packages using the cache if that directory is
3295    # removed, or if the value is a relative name.
3296    INSTALL=$ac_install_sh
3297  fi
3298fi
3299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3300$as_echo "$INSTALL" >&6; }
3301
3302# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3303# It thinks the first close brace ends the variable substitution.
3304test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3305
3306test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3307
3308test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3309
3310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3311$as_echo_n "checking whether build environment is sane... " >&6; }
3312# Reject unsafe characters in $srcdir or the absolute working directory
3313# name.  Accept space and tab only in the latter.
3314am_lf='
3315'
3316case `pwd` in
3317  *[\\\"\#\$\&\'\`$am_lf]*)
3318    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3319esac
3320case $srcdir in
3321  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3322    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3323esac
3324
3325# Do 'set' in a subshell so we don't clobber the current shell's
3326# arguments.  Must try -L first in case configure is actually a
3327# symlink; some systems play weird games with the mod time of symlinks
3328# (eg FreeBSD returns the mod time of the symlink's containing
3329# directory).
3330if (
3331   am_has_slept=no
3332   for am_try in 1 2; do
3333     echo "timestamp, slept: $am_has_slept" > conftest.file
3334     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3335     if test "$*" = "X"; then
3336	# -L didn't work.
3337	set X `ls -t "$srcdir/configure" conftest.file`
3338     fi
3339     if test "$*" != "X $srcdir/configure conftest.file" \
3340	&& test "$*" != "X conftest.file $srcdir/configure"; then
3341
3342	# If neither matched, then we have a broken ls.  This can happen
3343	# if, for instance, CONFIG_SHELL is bash and it inherits a
3344	# broken ls alias from the environment.  This has actually
3345	# happened.  Such a system could not be considered "sane".
3346	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3347  alias in your environment" "$LINENO" 5
3348     fi
3349     if test "$2" = conftest.file || test $am_try -eq 2; then
3350       break
3351     fi
3352     # Just in case.
3353     sleep 1
3354     am_has_slept=yes
3355   done
3356   test "$2" = conftest.file
3357   )
3358then
3359   # Ok.
3360   :
3361else
3362   as_fn_error $? "newly created file is older than distributed files!
3363Check your system clock" "$LINENO" 5
3364fi
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3366$as_echo "yes" >&6; }
3367# If we didn't sleep, we still need to ensure time stamps of config.status and
3368# generated files are strictly newer.
3369am_sleep_pid=
3370if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3371  ( sleep 1 ) &
3372  am_sleep_pid=$!
3373fi
3374
3375rm -f conftest.file
3376
3377test "$program_prefix" != NONE &&
3378  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3379# Use a double $ so make ignores it.
3380test "$program_suffix" != NONE &&
3381  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3382# Double any \ or $.
3383# By default was `s,x,x', remove it if useless.
3384ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3385program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3386
3387# Expand $ac_aux_dir to an absolute path.
3388am_aux_dir=`cd "$ac_aux_dir" && pwd`
3389
3390if test x"${MISSING+set}" != xset; then
3391  case $am_aux_dir in
3392  *\ * | *\	*)
3393    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3394  *)
3395    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3396  esac
3397fi
3398# Use eval to expand $SHELL
3399if eval "$MISSING --is-lightweight"; then
3400  am_missing_run="$MISSING "
3401else
3402  am_missing_run=
3403  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3404$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3405fi
3406
3407if test x"${install_sh+set}" != xset; then
3408  case $am_aux_dir in
3409  *\ * | *\	*)
3410    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3411  *)
3412    install_sh="\${SHELL} $am_aux_dir/install-sh"
3413  esac
3414fi
3415
3416# Installed binaries are usually stripped using 'strip' when the user
3417# run "make install-strip".  However 'strip' might not be the right
3418# tool to use in cross-compilation environments, therefore Automake
3419# will honor the 'STRIP' environment variable to overrule this program.
3420if test "$cross_compiling" != no; then
3421  if test -n "$ac_tool_prefix"; then
3422  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3423set dummy ${ac_tool_prefix}strip; ac_word=$2
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425$as_echo_n "checking for $ac_word... " >&6; }
3426if ${ac_cv_prog_STRIP+:} false; then :
3427  $as_echo_n "(cached) " >&6
3428else
3429  if test -n "$STRIP"; then
3430  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3431else
3432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433for as_dir in $PATH
3434do
3435  IFS=$as_save_IFS
3436  test -z "$as_dir" && as_dir=.
3437    for ac_exec_ext in '' $ac_executable_extensions; do
3438  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3439    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441    break 2
3442  fi
3443done
3444  done
3445IFS=$as_save_IFS
3446
3447fi
3448fi
3449STRIP=$ac_cv_prog_STRIP
3450if test -n "$STRIP"; then
3451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3452$as_echo "$STRIP" >&6; }
3453else
3454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455$as_echo "no" >&6; }
3456fi
3457
3458
3459fi
3460if test -z "$ac_cv_prog_STRIP"; then
3461  ac_ct_STRIP=$STRIP
3462  # Extract the first word of "strip", so it can be a program name with args.
3463set dummy strip; ac_word=$2
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465$as_echo_n "checking for $ac_word... " >&6; }
3466if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3467  $as_echo_n "(cached) " >&6
3468else
3469  if test -n "$ac_ct_STRIP"; then
3470  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3471else
3472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473for as_dir in $PATH
3474do
3475  IFS=$as_save_IFS
3476  test -z "$as_dir" && as_dir=.
3477    for ac_exec_ext in '' $ac_executable_extensions; do
3478  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3479    ac_cv_prog_ac_ct_STRIP="strip"
3480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481    break 2
3482  fi
3483done
3484  done
3485IFS=$as_save_IFS
3486
3487fi
3488fi
3489ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3490if test -n "$ac_ct_STRIP"; then
3491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3492$as_echo "$ac_ct_STRIP" >&6; }
3493else
3494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495$as_echo "no" >&6; }
3496fi
3497
3498  if test "x$ac_ct_STRIP" = x; then
3499    STRIP=":"
3500  else
3501    case $cross_compiling:$ac_tool_warned in
3502yes:)
3503{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505ac_tool_warned=yes ;;
3506esac
3507    STRIP=$ac_ct_STRIP
3508  fi
3509else
3510  STRIP="$ac_cv_prog_STRIP"
3511fi
3512
3513fi
3514INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3515
3516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3517$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3518if test -z "$MKDIR_P"; then
3519  if ${ac_cv_path_mkdir+:} false; then :
3520  $as_echo_n "(cached) " >&6
3521else
3522  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3524do
3525  IFS=$as_save_IFS
3526  test -z "$as_dir" && as_dir=.
3527    for ac_prog in mkdir gmkdir; do
3528	 for ac_exec_ext in '' $ac_executable_extensions; do
3529	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3530	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3531	     'mkdir (GNU coreutils) '* | \
3532	     'mkdir (coreutils) '* | \
3533	     'mkdir (fileutils) '4.1*)
3534	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3535	       break 3;;
3536	   esac
3537	 done
3538       done
3539  done
3540IFS=$as_save_IFS
3541
3542fi
3543
3544  test -d ./--version && rmdir ./--version
3545  if test "${ac_cv_path_mkdir+set}" = set; then
3546    MKDIR_P="$ac_cv_path_mkdir -p"
3547  else
3548    # As a last resort, use the slow shell script.  Don't cache a
3549    # value for MKDIR_P within a source directory, because that will
3550    # break other packages using the cache if that directory is
3551    # removed, or if the value is a relative name.
3552    MKDIR_P="$ac_install_sh -d"
3553  fi
3554fi
3555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3556$as_echo "$MKDIR_P" >&6; }
3557
3558for ac_prog in gawk mawk nawk awk
3559do
3560  # Extract the first word of "$ac_prog", so it can be a program name with args.
3561set dummy $ac_prog; ac_word=$2
3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563$as_echo_n "checking for $ac_word... " >&6; }
3564if ${ac_cv_prog_AWK+:} false; then :
3565  $as_echo_n "(cached) " >&6
3566else
3567  if test -n "$AWK"; then
3568  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3569else
3570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571for as_dir in $PATH
3572do
3573  IFS=$as_save_IFS
3574  test -z "$as_dir" && as_dir=.
3575    for ac_exec_ext in '' $ac_executable_extensions; do
3576  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3577    ac_cv_prog_AWK="$ac_prog"
3578    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579    break 2
3580  fi
3581done
3582  done
3583IFS=$as_save_IFS
3584
3585fi
3586fi
3587AWK=$ac_cv_prog_AWK
3588if test -n "$AWK"; then
3589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3590$as_echo "$AWK" >&6; }
3591else
3592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593$as_echo "no" >&6; }
3594fi
3595
3596
3597  test -n "$AWK" && break
3598done
3599
3600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3601$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3602set x ${MAKE-make}
3603ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3604if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3605  $as_echo_n "(cached) " >&6
3606else
3607  cat >conftest.make <<\_ACEOF
3608SHELL = /bin/sh
3609all:
3610	@echo '@@@%%%=$(MAKE)=@@@%%%'
3611_ACEOF
3612# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3613case `${MAKE-make} -f conftest.make 2>/dev/null` in
3614  *@@@%%%=?*=@@@%%%*)
3615    eval ac_cv_prog_make_${ac_make}_set=yes;;
3616  *)
3617    eval ac_cv_prog_make_${ac_make}_set=no;;
3618esac
3619rm -f conftest.make
3620fi
3621if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3623$as_echo "yes" >&6; }
3624  SET_MAKE=
3625else
3626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627$as_echo "no" >&6; }
3628  SET_MAKE="MAKE=${MAKE-make}"
3629fi
3630
3631rm -rf .tst 2>/dev/null
3632mkdir .tst 2>/dev/null
3633if test -d .tst; then
3634  am__leading_dot=.
3635else
3636  am__leading_dot=_
3637fi
3638rmdir .tst 2>/dev/null
3639
3640# Check whether --enable-silent-rules was given.
3641if test "${enable_silent_rules+set}" = set; then :
3642  enableval=$enable_silent_rules;
3643fi
3644
3645case $enable_silent_rules in # (((
3646  yes) AM_DEFAULT_VERBOSITY=0;;
3647   no) AM_DEFAULT_VERBOSITY=1;;
3648    *) AM_DEFAULT_VERBOSITY=1;;
3649esac
3650am_make=${MAKE-make}
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3652$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3653if ${am_cv_make_support_nested_variables+:} false; then :
3654  $as_echo_n "(cached) " >&6
3655else
3656  if $as_echo 'TRUE=$(BAR$(V))
3657BAR0=false
3658BAR1=true
3659V=1
3660am__doit:
3661	@$(TRUE)
3662.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3663  am_cv_make_support_nested_variables=yes
3664else
3665  am_cv_make_support_nested_variables=no
3666fi
3667fi
3668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3669$as_echo "$am_cv_make_support_nested_variables" >&6; }
3670if test $am_cv_make_support_nested_variables = yes; then
3671    AM_V='$(V)'
3672  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3673else
3674  AM_V=$AM_DEFAULT_VERBOSITY
3675  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3676fi
3677AM_BACKSLASH='\'
3678
3679if test "`cd $srcdir && pwd`" != "`pwd`"; then
3680  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3681  # is not polluted with repeated "-I."
3682  am__isrc=' -I$(srcdir)'
3683  # test to see if srcdir already configured
3684  if test -f $srcdir/config.status; then
3685    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3686  fi
3687fi
3688
3689# test whether we have cygpath
3690if test -z "$CYGPATH_W"; then
3691  if (cygpath --version) >/dev/null 2>/dev/null; then
3692    CYGPATH_W='cygpath -w'
3693  else
3694    CYGPATH_W=echo
3695  fi
3696fi
3697
3698
3699# Define the identity of the package.
3700 PACKAGE='libfsapfs'
3701 VERSION='20210424'
3702
3703
3704cat >>confdefs.h <<_ACEOF
3705#define PACKAGE "$PACKAGE"
3706_ACEOF
3707
3708
3709cat >>confdefs.h <<_ACEOF
3710#define VERSION "$VERSION"
3711_ACEOF
3712
3713# Some tools Automake needs.
3714
3715ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3716
3717
3718AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3719
3720
3721AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3722
3723
3724AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3725
3726
3727MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3728
3729# For better backward compatibility.  To be removed once Automake 1.9.x
3730# dies out for good.  For more background, see:
3731# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3732# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3733mkdir_p='$(MKDIR_P)'
3734
3735# We need awk for the "check" target (and possibly the TAP driver).  The
3736# system "awk" is bad on some platforms.
3737# Always define AMTAR for backward compatibility.  Yes, it's still used
3738# in the wild :-(  We should find a proper way to deprecate it ...
3739AMTAR='$${TAR-tar}'
3740
3741
3742# We'll loop over all known methods to create a tar archive until one works.
3743_am_tools='gnutar plaintar pax cpio none'
3744
3745# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3746      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3747      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3748      # and bug#13588).
3749      am_max_uid=2097151 # 2^21 - 1
3750      am_max_gid=$am_max_uid
3751      # The $UID and $GID variables are not portable, so we need to resort
3752      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3753      # below are definitely unexpected, so allow the users to see them
3754      # (that is, avoid stderr redirection).
3755      am_uid=`id -u || echo unknown`
3756      am_gid=`id -g || echo unknown`
3757      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3758$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3759      if test $am_uid -le $am_max_uid; then
3760         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3761$as_echo "yes" >&6; }
3762      else
3763         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764$as_echo "no" >&6; }
3765         _am_tools=none
3766      fi
3767      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3768$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3769      if test $am_gid -le $am_max_gid; then
3770         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3771$as_echo "yes" >&6; }
3772      else
3773        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774$as_echo "no" >&6; }
3775        _am_tools=none
3776      fi
3777
3778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3779$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3780
3781  # Go ahead even if we have the value already cached.  We do so because we
3782  # need to set the values for the 'am__tar' and 'am__untar' variables.
3783  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3784
3785  for _am_tool in $_am_tools; do
3786    case $_am_tool in
3787    gnutar)
3788      for _am_tar in tar gnutar gtar; do
3789        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3790   ($_am_tar --version) >&5 2>&5
3791   ac_status=$?
3792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793   (exit $ac_status); } && break
3794      done
3795      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3796      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3797      am__untar="$_am_tar -xf -"
3798      ;;
3799    plaintar)
3800      # Must skip GNU tar: if it does not support --format= it doesn't create
3801      # ustar tarball either.
3802      (tar --version) >/dev/null 2>&1 && continue
3803      am__tar='tar chf - "$$tardir"'
3804      am__tar_='tar chf - "$tardir"'
3805      am__untar='tar xf -'
3806      ;;
3807    pax)
3808      am__tar='pax -L -x ustar -w "$$tardir"'
3809      am__tar_='pax -L -x ustar -w "$tardir"'
3810      am__untar='pax -r'
3811      ;;
3812    cpio)
3813      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3814      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3815      am__untar='cpio -i -H ustar -d'
3816      ;;
3817    none)
3818      am__tar=false
3819      am__tar_=false
3820      am__untar=false
3821      ;;
3822    esac
3823
3824    # If the value was cached, stop now.  We just wanted to have am__tar
3825    # and am__untar set.
3826    test -n "${am_cv_prog_tar_ustar}" && break
3827
3828    # tar/untar a dummy directory, and stop if the command works.
3829    rm -rf conftest.dir
3830    mkdir conftest.dir
3831    echo GrepMe > conftest.dir/file
3832    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3833   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3834   ac_status=$?
3835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836   (exit $ac_status); }
3837    rm -rf conftest.dir
3838    if test -s conftest.tar; then
3839      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3840   ($am__untar <conftest.tar) >&5 2>&5
3841   ac_status=$?
3842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843   (exit $ac_status); }
3844      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3845   (cat conftest.dir/file) >&5 2>&5
3846   ac_status=$?
3847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848   (exit $ac_status); }
3849      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3850    fi
3851  done
3852  rm -rf conftest.dir
3853
3854  if ${am_cv_prog_tar_ustar+:} false; then :
3855  $as_echo_n "(cached) " >&6
3856else
3857  am_cv_prog_tar_ustar=$_am_tool
3858fi
3859
3860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3861$as_echo "$am_cv_prog_tar_ustar" >&6; }
3862
3863
3864
3865
3866
3867
3868# POSIX will say in a future version that running "rm -f" with no argument
3869# is OK; and we want to be able to make that assumption in our Makefile
3870# recipes.  So use an aggressive probe to check that the usage we want is
3871# actually supported "in the wild" to an acceptable degree.
3872# See automake bug#10828.
3873# To make any issue more visible, cause the running configure to be aborted
3874# by default if the 'rm' program in use doesn't match our expectations; the
3875# user can still override this though.
3876if rm -f && rm -fr && rm -rf; then : OK; else
3877  cat >&2 <<'END'
3878Oops!
3879
3880Your 'rm' program seems unable to run without file operands specified
3881on the command line, even when the '-f' option is present.  This is contrary
3882to the behaviour of most rm programs out there, and not conforming with
3883the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3884
3885Please tell bug-automake@gnu.org about your system, including the value
3886of your $PATH and any error possibly output before this message.  This
3887can help us improve future automake versions.
3888
3889END
3890  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3891    echo 'Configuration will proceed anyway, since you have set the' >&2
3892    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3893    echo >&2
3894  else
3895    cat >&2 <<'END'
3896Aborting the configuration process, to ensure you take notice of the issue.
3897
3898You can download and install GNU coreutils to get an 'rm' implementation
3899that behaves properly: <https://www.gnu.org/software/coreutils/>.
3900
3901If you want to complete the configuration process using your problematic
3902'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3903to "yes", and re-run configure.
3904
3905END
3906    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3907  fi
3908fi
3909
3910
3911
3912
3913# Make sure we can run config.sub.
3914$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3915  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3916
3917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3918$as_echo_n "checking build system type... " >&6; }
3919if ${ac_cv_build+:} false; then :
3920  $as_echo_n "(cached) " >&6
3921else
3922  ac_build_alias=$build_alias
3923test "x$ac_build_alias" = x &&
3924  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3925test "x$ac_build_alias" = x &&
3926  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3927ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3928  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3929
3930fi
3931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3932$as_echo "$ac_cv_build" >&6; }
3933case $ac_cv_build in
3934*-*-*) ;;
3935*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3936esac
3937build=$ac_cv_build
3938ac_save_IFS=$IFS; IFS='-'
3939set x $ac_cv_build
3940shift
3941build_cpu=$1
3942build_vendor=$2
3943shift; shift
3944# Remember, the first character of IFS is used to create $*,
3945# except with old shells:
3946build_os=$*
3947IFS=$ac_save_IFS
3948case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3949
3950
3951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3952$as_echo_n "checking host system type... " >&6; }
3953if ${ac_cv_host+:} false; then :
3954  $as_echo_n "(cached) " >&6
3955else
3956  if test "x$host_alias" = x; then
3957  ac_cv_host=$ac_cv_build
3958else
3959  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3960    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3961fi
3962
3963fi
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3965$as_echo "$ac_cv_host" >&6; }
3966case $ac_cv_host in
3967*-*-*) ;;
3968*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3969esac
3970host=$ac_cv_host
3971ac_save_IFS=$IFS; IFS='-'
3972set x $ac_cv_host
3973shift
3974host_cpu=$1
3975host_vendor=$2
3976shift; shift
3977# Remember, the first character of IFS is used to create $*,
3978# except with old shells:
3979host_os=$*
3980IFS=$ac_save_IFS
3981case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3982
3983
3984
3985enable_win32_dll=yes
3986
3987case $host in
3988*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3989  if test -n "$ac_tool_prefix"; then
3990  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3991set dummy ${ac_tool_prefix}as; ac_word=$2
3992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993$as_echo_n "checking for $ac_word... " >&6; }
3994if ${ac_cv_prog_AS+:} false; then :
3995  $as_echo_n "(cached) " >&6
3996else
3997  if test -n "$AS"; then
3998  ac_cv_prog_AS="$AS" # Let the user override the test.
3999else
4000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001for as_dir in $PATH
4002do
4003  IFS=$as_save_IFS
4004  test -z "$as_dir" && as_dir=.
4005    for ac_exec_ext in '' $ac_executable_extensions; do
4006  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4007    ac_cv_prog_AS="${ac_tool_prefix}as"
4008    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009    break 2
4010  fi
4011done
4012  done
4013IFS=$as_save_IFS
4014
4015fi
4016fi
4017AS=$ac_cv_prog_AS
4018if test -n "$AS"; then
4019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4020$as_echo "$AS" >&6; }
4021else
4022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023$as_echo "no" >&6; }
4024fi
4025
4026
4027fi
4028if test -z "$ac_cv_prog_AS"; then
4029  ac_ct_AS=$AS
4030  # Extract the first word of "as", so it can be a program name with args.
4031set dummy as; ac_word=$2
4032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033$as_echo_n "checking for $ac_word... " >&6; }
4034if ${ac_cv_prog_ac_ct_AS+:} false; then :
4035  $as_echo_n "(cached) " >&6
4036else
4037  if test -n "$ac_ct_AS"; then
4038  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4039else
4040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041for as_dir in $PATH
4042do
4043  IFS=$as_save_IFS
4044  test -z "$as_dir" && as_dir=.
4045    for ac_exec_ext in '' $ac_executable_extensions; do
4046  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047    ac_cv_prog_ac_ct_AS="as"
4048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049    break 2
4050  fi
4051done
4052  done
4053IFS=$as_save_IFS
4054
4055fi
4056fi
4057ac_ct_AS=$ac_cv_prog_ac_ct_AS
4058if test -n "$ac_ct_AS"; then
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4060$as_echo "$ac_ct_AS" >&6; }
4061else
4062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063$as_echo "no" >&6; }
4064fi
4065
4066  if test "x$ac_ct_AS" = x; then
4067    AS="false"
4068  else
4069    case $cross_compiling:$ac_tool_warned in
4070yes:)
4071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073ac_tool_warned=yes ;;
4074esac
4075    AS=$ac_ct_AS
4076  fi
4077else
4078  AS="$ac_cv_prog_AS"
4079fi
4080
4081  if test -n "$ac_tool_prefix"; then
4082  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4083set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085$as_echo_n "checking for $ac_word... " >&6; }
4086if ${ac_cv_prog_DLLTOOL+:} false; then :
4087  $as_echo_n "(cached) " >&6
4088else
4089  if test -n "$DLLTOOL"; then
4090  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4091else
4092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093for as_dir in $PATH
4094do
4095  IFS=$as_save_IFS
4096  test -z "$as_dir" && as_dir=.
4097    for ac_exec_ext in '' $ac_executable_extensions; do
4098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4101    break 2
4102  fi
4103done
4104  done
4105IFS=$as_save_IFS
4106
4107fi
4108fi
4109DLLTOOL=$ac_cv_prog_DLLTOOL
4110if test -n "$DLLTOOL"; then
4111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4112$as_echo "$DLLTOOL" >&6; }
4113else
4114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115$as_echo "no" >&6; }
4116fi
4117
4118
4119fi
4120if test -z "$ac_cv_prog_DLLTOOL"; then
4121  ac_ct_DLLTOOL=$DLLTOOL
4122  # Extract the first word of "dlltool", so it can be a program name with args.
4123set dummy dlltool; ac_word=$2
4124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125$as_echo_n "checking for $ac_word... " >&6; }
4126if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4127  $as_echo_n "(cached) " >&6
4128else
4129  if test -n "$ac_ct_DLLTOOL"; then
4130  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4131else
4132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133for as_dir in $PATH
4134do
4135  IFS=$as_save_IFS
4136  test -z "$as_dir" && as_dir=.
4137    for ac_exec_ext in '' $ac_executable_extensions; do
4138  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141    break 2
4142  fi
4143done
4144  done
4145IFS=$as_save_IFS
4146
4147fi
4148fi
4149ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4150if test -n "$ac_ct_DLLTOOL"; then
4151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4152$as_echo "$ac_ct_DLLTOOL" >&6; }
4153else
4154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155$as_echo "no" >&6; }
4156fi
4157
4158  if test "x$ac_ct_DLLTOOL" = x; then
4159    DLLTOOL="false"
4160  else
4161    case $cross_compiling:$ac_tool_warned in
4162yes:)
4163{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4164$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4165ac_tool_warned=yes ;;
4166esac
4167    DLLTOOL=$ac_ct_DLLTOOL
4168  fi
4169else
4170  DLLTOOL="$ac_cv_prog_DLLTOOL"
4171fi
4172
4173  if test -n "$ac_tool_prefix"; then
4174  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4175set dummy ${ac_tool_prefix}objdump; ac_word=$2
4176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177$as_echo_n "checking for $ac_word... " >&6; }
4178if ${ac_cv_prog_OBJDUMP+:} false; then :
4179  $as_echo_n "(cached) " >&6
4180else
4181  if test -n "$OBJDUMP"; then
4182  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4183else
4184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4185for as_dir in $PATH
4186do
4187  IFS=$as_save_IFS
4188  test -z "$as_dir" && as_dir=.
4189    for ac_exec_ext in '' $ac_executable_extensions; do
4190  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4191    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193    break 2
4194  fi
4195done
4196  done
4197IFS=$as_save_IFS
4198
4199fi
4200fi
4201OBJDUMP=$ac_cv_prog_OBJDUMP
4202if test -n "$OBJDUMP"; then
4203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4204$as_echo "$OBJDUMP" >&6; }
4205else
4206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207$as_echo "no" >&6; }
4208fi
4209
4210
4211fi
4212if test -z "$ac_cv_prog_OBJDUMP"; then
4213  ac_ct_OBJDUMP=$OBJDUMP
4214  # Extract the first word of "objdump", so it can be a program name with args.
4215set dummy objdump; ac_word=$2
4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217$as_echo_n "checking for $ac_word... " >&6; }
4218if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4219  $as_echo_n "(cached) " >&6
4220else
4221  if test -n "$ac_ct_OBJDUMP"; then
4222  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4223else
4224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225for as_dir in $PATH
4226do
4227  IFS=$as_save_IFS
4228  test -z "$as_dir" && as_dir=.
4229    for ac_exec_ext in '' $ac_executable_extensions; do
4230  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4232    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233    break 2
4234  fi
4235done
4236  done
4237IFS=$as_save_IFS
4238
4239fi
4240fi
4241ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4242if test -n "$ac_ct_OBJDUMP"; then
4243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4244$as_echo "$ac_ct_OBJDUMP" >&6; }
4245else
4246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247$as_echo "no" >&6; }
4248fi
4249
4250  if test "x$ac_ct_OBJDUMP" = x; then
4251    OBJDUMP="false"
4252  else
4253    case $cross_compiling:$ac_tool_warned in
4254yes:)
4255{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4256$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4257ac_tool_warned=yes ;;
4258esac
4259    OBJDUMP=$ac_ct_OBJDUMP
4260  fi
4261else
4262  OBJDUMP="$ac_cv_prog_OBJDUMP"
4263fi
4264
4265  ;;
4266esac
4267
4268test -z "$AS" && AS=as
4269
4270
4271
4272
4273
4274test -z "$DLLTOOL" && DLLTOOL=dlltool
4275
4276
4277
4278
4279
4280test -z "$OBJDUMP" && OBJDUMP=objdump
4281
4282
4283
4284
4285
4286
4287
4288
4289ac_ext=c
4290ac_cpp='$CPP $CPPFLAGS'
4291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294if test -n "$ac_tool_prefix"; then
4295  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4296set dummy ${ac_tool_prefix}gcc; ac_word=$2
4297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298$as_echo_n "checking for $ac_word... " >&6; }
4299if ${ac_cv_prog_CC+:} false; then :
4300  $as_echo_n "(cached) " >&6
4301else
4302  if test -n "$CC"; then
4303  ac_cv_prog_CC="$CC" # Let the user override the test.
4304else
4305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306for as_dir in $PATH
4307do
4308  IFS=$as_save_IFS
4309  test -z "$as_dir" && as_dir=.
4310    for ac_exec_ext in '' $ac_executable_extensions; do
4311  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4313    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314    break 2
4315  fi
4316done
4317  done
4318IFS=$as_save_IFS
4319
4320fi
4321fi
4322CC=$ac_cv_prog_CC
4323if test -n "$CC"; then
4324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4325$as_echo "$CC" >&6; }
4326else
4327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328$as_echo "no" >&6; }
4329fi
4330
4331
4332fi
4333if test -z "$ac_cv_prog_CC"; then
4334  ac_ct_CC=$CC
4335  # Extract the first word of "gcc", so it can be a program name with args.
4336set dummy gcc; ac_word=$2
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338$as_echo_n "checking for $ac_word... " >&6; }
4339if ${ac_cv_prog_ac_ct_CC+:} false; then :
4340  $as_echo_n "(cached) " >&6
4341else
4342  if test -n "$ac_ct_CC"; then
4343  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4344else
4345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346for as_dir in $PATH
4347do
4348  IFS=$as_save_IFS
4349  test -z "$as_dir" && as_dir=.
4350    for ac_exec_ext in '' $ac_executable_extensions; do
4351  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4352    ac_cv_prog_ac_ct_CC="gcc"
4353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354    break 2
4355  fi
4356done
4357  done
4358IFS=$as_save_IFS
4359
4360fi
4361fi
4362ac_ct_CC=$ac_cv_prog_ac_ct_CC
4363if test -n "$ac_ct_CC"; then
4364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4365$as_echo "$ac_ct_CC" >&6; }
4366else
4367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368$as_echo "no" >&6; }
4369fi
4370
4371  if test "x$ac_ct_CC" = x; then
4372    CC=""
4373  else
4374    case $cross_compiling:$ac_tool_warned in
4375yes:)
4376{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4377$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4378ac_tool_warned=yes ;;
4379esac
4380    CC=$ac_ct_CC
4381  fi
4382else
4383  CC="$ac_cv_prog_CC"
4384fi
4385
4386if test -z "$CC"; then
4387          if test -n "$ac_tool_prefix"; then
4388    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4389set dummy ${ac_tool_prefix}cc; ac_word=$2
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391$as_echo_n "checking for $ac_word... " >&6; }
4392if ${ac_cv_prog_CC+:} false; then :
4393  $as_echo_n "(cached) " >&6
4394else
4395  if test -n "$CC"; then
4396  ac_cv_prog_CC="$CC" # Let the user override the test.
4397else
4398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399for as_dir in $PATH
4400do
4401  IFS=$as_save_IFS
4402  test -z "$as_dir" && as_dir=.
4403    for ac_exec_ext in '' $ac_executable_extensions; do
4404  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405    ac_cv_prog_CC="${ac_tool_prefix}cc"
4406    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407    break 2
4408  fi
4409done
4410  done
4411IFS=$as_save_IFS
4412
4413fi
4414fi
4415CC=$ac_cv_prog_CC
4416if test -n "$CC"; then
4417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4418$as_echo "$CC" >&6; }
4419else
4420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421$as_echo "no" >&6; }
4422fi
4423
4424
4425  fi
4426fi
4427if test -z "$CC"; then
4428  # Extract the first word of "cc", so it can be a program name with args.
4429set dummy cc; ac_word=$2
4430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431$as_echo_n "checking for $ac_word... " >&6; }
4432if ${ac_cv_prog_CC+:} false; then :
4433  $as_echo_n "(cached) " >&6
4434else
4435  if test -n "$CC"; then
4436  ac_cv_prog_CC="$CC" # Let the user override the test.
4437else
4438  ac_prog_rejected=no
4439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440for as_dir in $PATH
4441do
4442  IFS=$as_save_IFS
4443  test -z "$as_dir" && as_dir=.
4444    for ac_exec_ext in '' $ac_executable_extensions; do
4445  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4447       ac_prog_rejected=yes
4448       continue
4449     fi
4450    ac_cv_prog_CC="cc"
4451    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452    break 2
4453  fi
4454done
4455  done
4456IFS=$as_save_IFS
4457
4458if test $ac_prog_rejected = yes; then
4459  # We found a bogon in the path, so make sure we never use it.
4460  set dummy $ac_cv_prog_CC
4461  shift
4462  if test $# != 0; then
4463    # We chose a different compiler from the bogus one.
4464    # However, it has the same basename, so the bogon will be chosen
4465    # first if we set CC to just the basename; use the full file name.
4466    shift
4467    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4468  fi
4469fi
4470fi
4471fi
4472CC=$ac_cv_prog_CC
4473if test -n "$CC"; then
4474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4475$as_echo "$CC" >&6; }
4476else
4477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478$as_echo "no" >&6; }
4479fi
4480
4481
4482fi
4483if test -z "$CC"; then
4484  if test -n "$ac_tool_prefix"; then
4485  for ac_prog in cl.exe
4486  do
4487    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4488set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4490$as_echo_n "checking for $ac_word... " >&6; }
4491if ${ac_cv_prog_CC+:} false; then :
4492  $as_echo_n "(cached) " >&6
4493else
4494  if test -n "$CC"; then
4495  ac_cv_prog_CC="$CC" # Let the user override the test.
4496else
4497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498for as_dir in $PATH
4499do
4500  IFS=$as_save_IFS
4501  test -z "$as_dir" && as_dir=.
4502    for ac_exec_ext in '' $ac_executable_extensions; do
4503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4504    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4506    break 2
4507  fi
4508done
4509  done
4510IFS=$as_save_IFS
4511
4512fi
4513fi
4514CC=$ac_cv_prog_CC
4515if test -n "$CC"; then
4516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4517$as_echo "$CC" >&6; }
4518else
4519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520$as_echo "no" >&6; }
4521fi
4522
4523
4524    test -n "$CC" && break
4525  done
4526fi
4527if test -z "$CC"; then
4528  ac_ct_CC=$CC
4529  for ac_prog in cl.exe
4530do
4531  # Extract the first word of "$ac_prog", so it can be a program name with args.
4532set dummy $ac_prog; ac_word=$2
4533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534$as_echo_n "checking for $ac_word... " >&6; }
4535if ${ac_cv_prog_ac_ct_CC+:} false; then :
4536  $as_echo_n "(cached) " >&6
4537else
4538  if test -n "$ac_ct_CC"; then
4539  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4540else
4541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542for as_dir in $PATH
4543do
4544  IFS=$as_save_IFS
4545  test -z "$as_dir" && as_dir=.
4546    for ac_exec_ext in '' $ac_executable_extensions; do
4547  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4548    ac_cv_prog_ac_ct_CC="$ac_prog"
4549    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550    break 2
4551  fi
4552done
4553  done
4554IFS=$as_save_IFS
4555
4556fi
4557fi
4558ac_ct_CC=$ac_cv_prog_ac_ct_CC
4559if test -n "$ac_ct_CC"; then
4560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4561$as_echo "$ac_ct_CC" >&6; }
4562else
4563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564$as_echo "no" >&6; }
4565fi
4566
4567
4568  test -n "$ac_ct_CC" && break
4569done
4570
4571  if test "x$ac_ct_CC" = x; then
4572    CC=""
4573  else
4574    case $cross_compiling:$ac_tool_warned in
4575yes:)
4576{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4577$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4578ac_tool_warned=yes ;;
4579esac
4580    CC=$ac_ct_CC
4581  fi
4582fi
4583
4584fi
4585
4586
4587test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4588$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4589as_fn_error $? "no acceptable C compiler found in \$PATH
4590See \`config.log' for more details" "$LINENO" 5; }
4591
4592# Provide some information about the compiler.
4593$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4594set X $ac_compile
4595ac_compiler=$2
4596for ac_option in --version -v -V -qversion; do
4597  { { ac_try="$ac_compiler $ac_option >&5"
4598case "(($ac_try" in
4599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600  *) ac_try_echo=$ac_try;;
4601esac
4602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4603$as_echo "$ac_try_echo"; } >&5
4604  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4605  ac_status=$?
4606  if test -s conftest.err; then
4607    sed '10a\
4608... rest of stderr output deleted ...
4609         10q' conftest.err >conftest.er1
4610    cat conftest.er1 >&5
4611  fi
4612  rm -f conftest.er1 conftest.err
4613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4614  test $ac_status = 0; }
4615done
4616
4617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618/* end confdefs.h.  */
4619
4620int
4621main ()
4622{
4623
4624  ;
4625  return 0;
4626}
4627_ACEOF
4628ac_clean_files_save=$ac_clean_files
4629ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4630# Try to create an executable without -o first, disregard a.out.
4631# It will help us diagnose broken compilers, and finding out an intuition
4632# of exeext.
4633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4634$as_echo_n "checking whether the C compiler works... " >&6; }
4635ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4636
4637# The possible output files:
4638ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4639
4640ac_rmfiles=
4641for ac_file in $ac_files
4642do
4643  case $ac_file in
4644    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4645    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4646  esac
4647done
4648rm -f $ac_rmfiles
4649
4650if { { ac_try="$ac_link_default"
4651case "(($ac_try" in
4652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653  *) ac_try_echo=$ac_try;;
4654esac
4655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4656$as_echo "$ac_try_echo"; } >&5
4657  (eval "$ac_link_default") 2>&5
4658  ac_status=$?
4659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4660  test $ac_status = 0; }; then :
4661  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4662# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4663# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4664# so that the user can short-circuit this test for compilers unknown to
4665# Autoconf.
4666for ac_file in $ac_files ''
4667do
4668  test -f "$ac_file" || continue
4669  case $ac_file in
4670    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4671	;;
4672    [ab].out )
4673	# We found the default executable, but exeext='' is most
4674	# certainly right.
4675	break;;
4676    *.* )
4677	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4678	then :; else
4679	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4680	fi
4681	# We set ac_cv_exeext here because the later test for it is not
4682	# safe: cross compilers may not add the suffix if given an `-o'
4683	# argument, so we may need to know it at that point already.
4684	# Even if this section looks crufty: it has the advantage of
4685	# actually working.
4686	break;;
4687    * )
4688	break;;
4689  esac
4690done
4691test "$ac_cv_exeext" = no && ac_cv_exeext=
4692
4693else
4694  ac_file=''
4695fi
4696if test -z "$ac_file"; then :
4697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698$as_echo "no" >&6; }
4699$as_echo "$as_me: failed program was:" >&5
4700sed 's/^/| /' conftest.$ac_ext >&5
4701
4702{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4703$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4704as_fn_error 77 "C compiler cannot create executables
4705See \`config.log' for more details" "$LINENO" 5; }
4706else
4707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4708$as_echo "yes" >&6; }
4709fi
4710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4711$as_echo_n "checking for C compiler default output file name... " >&6; }
4712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4713$as_echo "$ac_file" >&6; }
4714ac_exeext=$ac_cv_exeext
4715
4716rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4717ac_clean_files=$ac_clean_files_save
4718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4719$as_echo_n "checking for suffix of executables... " >&6; }
4720if { { ac_try="$ac_link"
4721case "(($ac_try" in
4722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723  *) ac_try_echo=$ac_try;;
4724esac
4725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726$as_echo "$ac_try_echo"; } >&5
4727  (eval "$ac_link") 2>&5
4728  ac_status=$?
4729  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730  test $ac_status = 0; }; then :
4731  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4732# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4733# work properly (i.e., refer to `conftest.exe'), while it won't with
4734# `rm'.
4735for ac_file in conftest.exe conftest conftest.*; do
4736  test -f "$ac_file" || continue
4737  case $ac_file in
4738    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4739    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4740	  break;;
4741    * ) break;;
4742  esac
4743done
4744else
4745  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4746$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4747as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4748See \`config.log' for more details" "$LINENO" 5; }
4749fi
4750rm -f conftest conftest$ac_cv_exeext
4751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4752$as_echo "$ac_cv_exeext" >&6; }
4753
4754rm -f conftest.$ac_ext
4755EXEEXT=$ac_cv_exeext
4756ac_exeext=$EXEEXT
4757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758/* end confdefs.h.  */
4759#include <stdio.h>
4760int
4761main ()
4762{
4763FILE *f = fopen ("conftest.out", "w");
4764 return ferror (f) || fclose (f) != 0;
4765
4766  ;
4767  return 0;
4768}
4769_ACEOF
4770ac_clean_files="$ac_clean_files conftest.out"
4771# Check that the compiler produces executables we can run.  If not, either
4772# the compiler is broken, or we cross compile.
4773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4774$as_echo_n "checking whether we are cross compiling... " >&6; }
4775if test "$cross_compiling" != yes; then
4776  { { ac_try="$ac_link"
4777case "(($ac_try" in
4778  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779  *) ac_try_echo=$ac_try;;
4780esac
4781eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4782$as_echo "$ac_try_echo"; } >&5
4783  (eval "$ac_link") 2>&5
4784  ac_status=$?
4785  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786  test $ac_status = 0; }
4787  if { ac_try='./conftest$ac_cv_exeext'
4788  { { case "(($ac_try" in
4789  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4790  *) ac_try_echo=$ac_try;;
4791esac
4792eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4793$as_echo "$ac_try_echo"; } >&5
4794  (eval "$ac_try") 2>&5
4795  ac_status=$?
4796  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4797  test $ac_status = 0; }; }; then
4798    cross_compiling=no
4799  else
4800    if test "$cross_compiling" = maybe; then
4801	cross_compiling=yes
4802    else
4803	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4804$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4805as_fn_error $? "cannot run C compiled programs.
4806If you meant to cross compile, use \`--host'.
4807See \`config.log' for more details" "$LINENO" 5; }
4808    fi
4809  fi
4810fi
4811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4812$as_echo "$cross_compiling" >&6; }
4813
4814rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4815ac_clean_files=$ac_clean_files_save
4816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4817$as_echo_n "checking for suffix of object files... " >&6; }
4818if ${ac_cv_objext+:} false; then :
4819  $as_echo_n "(cached) " >&6
4820else
4821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822/* end confdefs.h.  */
4823
4824int
4825main ()
4826{
4827
4828  ;
4829  return 0;
4830}
4831_ACEOF
4832rm -f conftest.o conftest.obj
4833if { { ac_try="$ac_compile"
4834case "(($ac_try" in
4835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836  *) ac_try_echo=$ac_try;;
4837esac
4838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4839$as_echo "$ac_try_echo"; } >&5
4840  (eval "$ac_compile") 2>&5
4841  ac_status=$?
4842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4843  test $ac_status = 0; }; then :
4844  for ac_file in conftest.o conftest.obj conftest.*; do
4845  test -f "$ac_file" || continue;
4846  case $ac_file in
4847    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4848    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4849       break;;
4850  esac
4851done
4852else
4853  $as_echo "$as_me: failed program was:" >&5
4854sed 's/^/| /' conftest.$ac_ext >&5
4855
4856{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4857$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4858as_fn_error $? "cannot compute suffix of object files: cannot compile
4859See \`config.log' for more details" "$LINENO" 5; }
4860fi
4861rm -f conftest.$ac_cv_objext conftest.$ac_ext
4862fi
4863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4864$as_echo "$ac_cv_objext" >&6; }
4865OBJEXT=$ac_cv_objext
4866ac_objext=$OBJEXT
4867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4868$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4869if ${ac_cv_c_compiler_gnu+:} false; then :
4870  $as_echo_n "(cached) " >&6
4871else
4872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873/* end confdefs.h.  */
4874
4875int
4876main ()
4877{
4878#ifndef __GNUC__
4879       choke me
4880#endif
4881
4882  ;
4883  return 0;
4884}
4885_ACEOF
4886if ac_fn_c_try_compile "$LINENO"; then :
4887  ac_compiler_gnu=yes
4888else
4889  ac_compiler_gnu=no
4890fi
4891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892ac_cv_c_compiler_gnu=$ac_compiler_gnu
4893
4894fi
4895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4896$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4897if test $ac_compiler_gnu = yes; then
4898  GCC=yes
4899else
4900  GCC=
4901fi
4902ac_test_CFLAGS=${CFLAGS+set}
4903ac_save_CFLAGS=$CFLAGS
4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4905$as_echo_n "checking whether $CC accepts -g... " >&6; }
4906if ${ac_cv_prog_cc_g+:} false; then :
4907  $as_echo_n "(cached) " >&6
4908else
4909  ac_save_c_werror_flag=$ac_c_werror_flag
4910   ac_c_werror_flag=yes
4911   ac_cv_prog_cc_g=no
4912   CFLAGS="-g"
4913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914/* end confdefs.h.  */
4915
4916int
4917main ()
4918{
4919
4920  ;
4921  return 0;
4922}
4923_ACEOF
4924if ac_fn_c_try_compile "$LINENO"; then :
4925  ac_cv_prog_cc_g=yes
4926else
4927  CFLAGS=""
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
4941else
4942  ac_c_werror_flag=$ac_save_c_werror_flag
4943	 CFLAGS="-g"
4944	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945/* end confdefs.h.  */
4946
4947int
4948main ()
4949{
4950
4951  ;
4952  return 0;
4953}
4954_ACEOF
4955if ac_fn_c_try_compile "$LINENO"; then :
4956  ac_cv_prog_cc_g=yes
4957fi
4958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4959fi
4960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4961fi
4962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963   ac_c_werror_flag=$ac_save_c_werror_flag
4964fi
4965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4966$as_echo "$ac_cv_prog_cc_g" >&6; }
4967if test "$ac_test_CFLAGS" = set; then
4968  CFLAGS=$ac_save_CFLAGS
4969elif test $ac_cv_prog_cc_g = yes; then
4970  if test "$GCC" = yes; then
4971    CFLAGS="-g -O2"
4972  else
4973    CFLAGS="-g"
4974  fi
4975else
4976  if test "$GCC" = yes; then
4977    CFLAGS="-O2"
4978  else
4979    CFLAGS=
4980  fi
4981fi
4982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4983$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4984if ${ac_cv_prog_cc_c89+:} false; then :
4985  $as_echo_n "(cached) " >&6
4986else
4987  ac_cv_prog_cc_c89=no
4988ac_save_CC=$CC
4989cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990/* end confdefs.h.  */
4991#include <stdarg.h>
4992#include <stdio.h>
4993struct stat;
4994/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4995struct buf { int x; };
4996FILE * (*rcsopen) (struct buf *, struct stat *, int);
4997static char *e (p, i)
4998     char **p;
4999     int i;
5000{
5001  return p[i];
5002}
5003static char *f (char * (*g) (char **, int), char **p, ...)
5004{
5005  char *s;
5006  va_list v;
5007  va_start (v,p);
5008  s = g (p, va_arg (v,int));
5009  va_end (v);
5010  return s;
5011}
5012
5013/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5014   function prototypes and stuff, but not '\xHH' hex character constants.
5015   These don't provoke an error unfortunately, instead are silently treated
5016   as 'x'.  The following induces an error, until -std is added to get
5017   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5018   array size at least.  It's necessary to write '\x00'==0 to get something
5019   that's true only with -std.  */
5020int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5021
5022/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5023   inside strings and character constants.  */
5024#define FOO(x) 'x'
5025int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5026
5027int test (int i, double x);
5028struct s1 {int (*f) (int a);};
5029struct s2 {int (*f) (double a);};
5030int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5031int argc;
5032char **argv;
5033int
5034main ()
5035{
5036return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5037  ;
5038  return 0;
5039}
5040_ACEOF
5041for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5042	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5043do
5044  CC="$ac_save_CC $ac_arg"
5045  if ac_fn_c_try_compile "$LINENO"; then :
5046  ac_cv_prog_cc_c89=$ac_arg
5047fi
5048rm -f core conftest.err conftest.$ac_objext
5049  test "x$ac_cv_prog_cc_c89" != "xno" && break
5050done
5051rm -f conftest.$ac_ext
5052CC=$ac_save_CC
5053
5054fi
5055# AC_CACHE_VAL
5056case "x$ac_cv_prog_cc_c89" in
5057  x)
5058    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5059$as_echo "none needed" >&6; } ;;
5060  xno)
5061    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5062$as_echo "unsupported" >&6; } ;;
5063  *)
5064    CC="$CC $ac_cv_prog_cc_c89"
5065    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5066$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5067esac
5068if test "x$ac_cv_prog_cc_c89" != xno; then :
5069
5070fi
5071
5072ac_ext=c
5073ac_cpp='$CPP $CPPFLAGS'
5074ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5075ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5076ac_compiler_gnu=$ac_cv_c_compiler_gnu
5077
5078ac_ext=c
5079ac_cpp='$CPP $CPPFLAGS'
5080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5082ac_compiler_gnu=$ac_cv_c_compiler_gnu
5083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5084$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5085if ${am_cv_prog_cc_c_o+:} false; then :
5086  $as_echo_n "(cached) " >&6
5087else
5088  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089/* end confdefs.h.  */
5090
5091int
5092main ()
5093{
5094
5095  ;
5096  return 0;
5097}
5098_ACEOF
5099  # Make sure it works both with $CC and with simple cc.
5100  # Following AC_PROG_CC_C_O, we do the test twice because some
5101  # compilers refuse to overwrite an existing .o file with -o,
5102  # though they will create one.
5103  am_cv_prog_cc_c_o=yes
5104  for am_i in 1 2; do
5105    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5106   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5107   ac_status=$?
5108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109   (exit $ac_status); } \
5110         && test -f conftest2.$ac_objext; then
5111      : OK
5112    else
5113      am_cv_prog_cc_c_o=no
5114      break
5115    fi
5116  done
5117  rm -f core conftest*
5118  unset am_i
5119fi
5120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5121$as_echo "$am_cv_prog_cc_c_o" >&6; }
5122if test "$am_cv_prog_cc_c_o" != yes; then
5123   # Losing compiler, so override with the script.
5124   # FIXME: It is wrong to rewrite CC.
5125   # But if we don't then we get into trouble of one sort or another.
5126   # A longer-term fix would be to have automake use am__CC in this case,
5127   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5128   CC="$am_aux_dir/compile $CC"
5129fi
5130ac_ext=c
5131ac_cpp='$CPP $CPPFLAGS'
5132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135
5136DEPDIR="${am__leading_dot}deps"
5137
5138ac_config_commands="$ac_config_commands depfiles"
5139
5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5141$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5142cat > confinc.mk << 'END'
5143am__doit:
5144	@echo this is the am__doit target >confinc.out
5145.PHONY: am__doit
5146END
5147am__include="#"
5148am__quote=
5149# BSD make does it like this.
5150echo '.include "confinc.mk" # ignored' > confmf.BSD
5151# Other make implementations (GNU, Solaris 10, AIX) do it like this.
5152echo 'include confinc.mk # ignored' > confmf.GNU
5153_am_result=no
5154for s in GNU BSD; do
5155  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5156   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5157   ac_status=$?
5158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159   (exit $ac_status); }
5160  case $?:`cat confinc.out 2>/dev/null` in #(
5161  '0:this is the am__doit target') :
5162    case $s in #(
5163  BSD) :
5164    am__include='.include' am__quote='"' ;; #(
5165  *) :
5166    am__include='include' am__quote='' ;;
5167esac ;; #(
5168  *) :
5169     ;;
5170esac
5171  if test "$am__include" != "#"; then
5172    _am_result="yes ($s style)"
5173    break
5174  fi
5175done
5176rm -f confinc.* confmf.*
5177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5178$as_echo "${_am_result}" >&6; }
5179
5180# Check whether --enable-dependency-tracking was given.
5181if test "${enable_dependency_tracking+set}" = set; then :
5182  enableval=$enable_dependency_tracking;
5183fi
5184
5185if test "x$enable_dependency_tracking" != xno; then
5186  am_depcomp="$ac_aux_dir/depcomp"
5187  AMDEPBACKSLASH='\'
5188  am__nodep='_no'
5189fi
5190 if test "x$enable_dependency_tracking" != xno; then
5191  AMDEP_TRUE=
5192  AMDEP_FALSE='#'
5193else
5194  AMDEP_TRUE='#'
5195  AMDEP_FALSE=
5196fi
5197
5198
5199
5200depcc="$CC"   am_compiler_list=
5201
5202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5203$as_echo_n "checking dependency style of $depcc... " >&6; }
5204if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5205  $as_echo_n "(cached) " >&6
5206else
5207  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5208  # We make a subdir and do the tests there.  Otherwise we can end up
5209  # making bogus files that we don't know about and never remove.  For
5210  # instance it was reported that on HP-UX the gcc test will end up
5211  # making a dummy file named 'D' -- because '-MD' means "put the output
5212  # in D".
5213  rm -rf conftest.dir
5214  mkdir conftest.dir
5215  # Copy depcomp to subdir because otherwise we won't find it if we're
5216  # using a relative directory.
5217  cp "$am_depcomp" conftest.dir
5218  cd conftest.dir
5219  # We will build objects and dependencies in a subdirectory because
5220  # it helps to detect inapplicable dependency modes.  For instance
5221  # both Tru64's cc and ICC support -MD to output dependencies as a
5222  # side effect of compilation, but ICC will put the dependencies in
5223  # the current directory while Tru64 will put them in the object
5224  # directory.
5225  mkdir sub
5226
5227  am_cv_CC_dependencies_compiler_type=none
5228  if test "$am_compiler_list" = ""; then
5229     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5230  fi
5231  am__universal=false
5232  case " $depcc " in #(
5233     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5234     esac
5235
5236  for depmode in $am_compiler_list; do
5237    # Setup a source with many dependencies, because some compilers
5238    # like to wrap large dependency lists on column 80 (with \), and
5239    # we should not choose a depcomp mode which is confused by this.
5240    #
5241    # We need to recreate these files for each test, as the compiler may
5242    # overwrite some of them when testing with obscure command lines.
5243    # This happens at least with the AIX C compiler.
5244    : > sub/conftest.c
5245    for i in 1 2 3 4 5 6; do
5246      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5247      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5248      # Solaris 10 /bin/sh.
5249      echo '/* dummy */' > sub/conftst$i.h
5250    done
5251    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5252
5253    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5254    # mode.  It turns out that the SunPro C++ compiler does not properly
5255    # handle '-M -o', and we need to detect this.  Also, some Intel
5256    # versions had trouble with output in subdirs.
5257    am__obj=sub/conftest.${OBJEXT-o}
5258    am__minus_obj="-o $am__obj"
5259    case $depmode in
5260    gcc)
5261      # This depmode causes a compiler race in universal mode.
5262      test "$am__universal" = false || continue
5263      ;;
5264    nosideeffect)
5265      # After this tag, mechanisms are not by side-effect, so they'll
5266      # only be used when explicitly requested.
5267      if test "x$enable_dependency_tracking" = xyes; then
5268	continue
5269      else
5270	break
5271      fi
5272      ;;
5273    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5274      # This compiler won't grok '-c -o', but also, the minuso test has
5275      # not run yet.  These depmodes are late enough in the game, and
5276      # so weak that their functioning should not be impacted.
5277      am__obj=conftest.${OBJEXT-o}
5278      am__minus_obj=
5279      ;;
5280    none) break ;;
5281    esac
5282    if depmode=$depmode \
5283       source=sub/conftest.c object=$am__obj \
5284       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5285       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5286         >/dev/null 2>conftest.err &&
5287       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5288       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5289       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5290       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5291      # icc doesn't choke on unknown options, it will just issue warnings
5292      # or remarks (even with -Werror).  So we grep stderr for any message
5293      # that says an option was ignored or not supported.
5294      # When given -MP, icc 7.0 and 7.1 complain thusly:
5295      #   icc: Command line warning: ignoring option '-M'; no argument required
5296      # The diagnosis changed in icc 8.0:
5297      #   icc: Command line remark: option '-MP' not supported
5298      if (grep 'ignoring option' conftest.err ||
5299          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5300        am_cv_CC_dependencies_compiler_type=$depmode
5301        break
5302      fi
5303    fi
5304  done
5305
5306  cd ..
5307  rm -rf conftest.dir
5308else
5309  am_cv_CC_dependencies_compiler_type=none
5310fi
5311
5312fi
5313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5314$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5315CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5316
5317 if
5318  test "x$enable_dependency_tracking" != xno \
5319  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5320  am__fastdepCC_TRUE=
5321  am__fastdepCC_FALSE='#'
5322else
5323  am__fastdepCC_TRUE='#'
5324  am__fastdepCC_FALSE=
5325fi
5326
5327
5328
5329ac_ext=c
5330ac_cpp='$CPP $CPPFLAGS'
5331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5333ac_compiler_gnu=$ac_cv_c_compiler_gnu
5334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5335$as_echo_n "checking how to run the C preprocessor... " >&6; }
5336# On Suns, sometimes $CPP names a directory.
5337if test -n "$CPP" && test -d "$CPP"; then
5338  CPP=
5339fi
5340if test -z "$CPP"; then
5341  if ${ac_cv_prog_CPP+:} false; then :
5342  $as_echo_n "(cached) " >&6
5343else
5344      # Double quotes because CPP needs to be expanded
5345    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5346    do
5347      ac_preproc_ok=false
5348for ac_c_preproc_warn_flag in '' yes
5349do
5350  # Use a header file that comes with gcc, so configuring glibc
5351  # with a fresh cross-compiler works.
5352  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5353  # <limits.h> exists even on freestanding compilers.
5354  # On the NeXT, cc -E runs the code through the compiler's parser,
5355  # not just through cpp. "Syntax error" is here to catch this case.
5356  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357/* end confdefs.h.  */
5358#ifdef __STDC__
5359# include <limits.h>
5360#else
5361# include <assert.h>
5362#endif
5363		     Syntax error
5364_ACEOF
5365if ac_fn_c_try_cpp "$LINENO"; then :
5366
5367else
5368  # Broken: fails on valid input.
5369continue
5370fi
5371rm -f conftest.err conftest.i conftest.$ac_ext
5372
5373  # OK, works on sane cases.  Now check whether nonexistent headers
5374  # can be detected and how.
5375  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376/* end confdefs.h.  */
5377#include <ac_nonexistent.h>
5378_ACEOF
5379if ac_fn_c_try_cpp "$LINENO"; then :
5380  # Broken: success on invalid input.
5381continue
5382else
5383  # Passes both tests.
5384ac_preproc_ok=:
5385break
5386fi
5387rm -f conftest.err conftest.i conftest.$ac_ext
5388
5389done
5390# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5391rm -f conftest.i conftest.err conftest.$ac_ext
5392if $ac_preproc_ok; then :
5393  break
5394fi
5395
5396    done
5397    ac_cv_prog_CPP=$CPP
5398
5399fi
5400  CPP=$ac_cv_prog_CPP
5401else
5402  ac_cv_prog_CPP=$CPP
5403fi
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5405$as_echo "$CPP" >&6; }
5406ac_preproc_ok=false
5407for ac_c_preproc_warn_flag in '' yes
5408do
5409  # Use a header file that comes with gcc, so configuring glibc
5410  # with a fresh cross-compiler works.
5411  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5412  # <limits.h> exists even on freestanding compilers.
5413  # On the NeXT, cc -E runs the code through the compiler's parser,
5414  # not just through cpp. "Syntax error" is here to catch this case.
5415  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416/* end confdefs.h.  */
5417#ifdef __STDC__
5418# include <limits.h>
5419#else
5420# include <assert.h>
5421#endif
5422		     Syntax error
5423_ACEOF
5424if ac_fn_c_try_cpp "$LINENO"; then :
5425
5426else
5427  # Broken: fails on valid input.
5428continue
5429fi
5430rm -f conftest.err conftest.i conftest.$ac_ext
5431
5432  # OK, works on sane cases.  Now check whether nonexistent headers
5433  # can be detected and how.
5434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435/* end confdefs.h.  */
5436#include <ac_nonexistent.h>
5437_ACEOF
5438if ac_fn_c_try_cpp "$LINENO"; then :
5439  # Broken: success on invalid input.
5440continue
5441else
5442  # Passes both tests.
5443ac_preproc_ok=:
5444break
5445fi
5446rm -f conftest.err conftest.i conftest.$ac_ext
5447
5448done
5449# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5450rm -f conftest.i conftest.err conftest.$ac_ext
5451if $ac_preproc_ok; then :
5452
5453else
5454  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5455$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5456as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5457See \`config.log' for more details" "$LINENO" 5; }
5458fi
5459
5460ac_ext=c
5461ac_cpp='$CPP $CPPFLAGS'
5462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5464ac_compiler_gnu=$ac_cv_c_compiler_gnu
5465
5466
5467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5468$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5469if ${ac_cv_path_GREP+:} false; then :
5470  $as_echo_n "(cached) " >&6
5471else
5472  if test -z "$GREP"; then
5473  ac_path_GREP_found=false
5474  # Loop through the user's path and test for each of PROGNAME-LIST
5475  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5477do
5478  IFS=$as_save_IFS
5479  test -z "$as_dir" && as_dir=.
5480    for ac_prog in grep ggrep; do
5481    for ac_exec_ext in '' $ac_executable_extensions; do
5482      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5483      as_fn_executable_p "$ac_path_GREP" || continue
5484# Check for GNU ac_path_GREP and select it if it is found.
5485  # Check for GNU $ac_path_GREP
5486case `"$ac_path_GREP" --version 2>&1` in
5487*GNU*)
5488  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5489*)
5490  ac_count=0
5491  $as_echo_n 0123456789 >"conftest.in"
5492  while :
5493  do
5494    cat "conftest.in" "conftest.in" >"conftest.tmp"
5495    mv "conftest.tmp" "conftest.in"
5496    cp "conftest.in" "conftest.nl"
5497    $as_echo 'GREP' >> "conftest.nl"
5498    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5499    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5500    as_fn_arith $ac_count + 1 && ac_count=$as_val
5501    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5502      # Best one so far, save it but keep looking for a better one
5503      ac_cv_path_GREP="$ac_path_GREP"
5504      ac_path_GREP_max=$ac_count
5505    fi
5506    # 10*(2^10) chars as input seems more than enough
5507    test $ac_count -gt 10 && break
5508  done
5509  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5510esac
5511
5512      $ac_path_GREP_found && break 3
5513    done
5514  done
5515  done
5516IFS=$as_save_IFS
5517  if test -z "$ac_cv_path_GREP"; then
5518    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5519  fi
5520else
5521  ac_cv_path_GREP=$GREP
5522fi
5523
5524fi
5525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5526$as_echo "$ac_cv_path_GREP" >&6; }
5527 GREP="$ac_cv_path_GREP"
5528
5529
5530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5531$as_echo_n "checking for egrep... " >&6; }
5532if ${ac_cv_path_EGREP+:} false; then :
5533  $as_echo_n "(cached) " >&6
5534else
5535  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5536   then ac_cv_path_EGREP="$GREP -E"
5537   else
5538     if test -z "$EGREP"; then
5539  ac_path_EGREP_found=false
5540  # Loop through the user's path and test for each of PROGNAME-LIST
5541  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5543do
5544  IFS=$as_save_IFS
5545  test -z "$as_dir" && as_dir=.
5546    for ac_prog in egrep; do
5547    for ac_exec_ext in '' $ac_executable_extensions; do
5548      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5549      as_fn_executable_p "$ac_path_EGREP" || continue
5550# Check for GNU ac_path_EGREP and select it if it is found.
5551  # Check for GNU $ac_path_EGREP
5552case `"$ac_path_EGREP" --version 2>&1` in
5553*GNU*)
5554  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5555*)
5556  ac_count=0
5557  $as_echo_n 0123456789 >"conftest.in"
5558  while :
5559  do
5560    cat "conftest.in" "conftest.in" >"conftest.tmp"
5561    mv "conftest.tmp" "conftest.in"
5562    cp "conftest.in" "conftest.nl"
5563    $as_echo 'EGREP' >> "conftest.nl"
5564    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5565    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5566    as_fn_arith $ac_count + 1 && ac_count=$as_val
5567    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5568      # Best one so far, save it but keep looking for a better one
5569      ac_cv_path_EGREP="$ac_path_EGREP"
5570      ac_path_EGREP_max=$ac_count
5571    fi
5572    # 10*(2^10) chars as input seems more than enough
5573    test $ac_count -gt 10 && break
5574  done
5575  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5576esac
5577
5578      $ac_path_EGREP_found && break 3
5579    done
5580  done
5581  done
5582IFS=$as_save_IFS
5583  if test -z "$ac_cv_path_EGREP"; then
5584    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5585  fi
5586else
5587  ac_cv_path_EGREP=$EGREP
5588fi
5589
5590   fi
5591fi
5592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5593$as_echo "$ac_cv_path_EGREP" >&6; }
5594 EGREP="$ac_cv_path_EGREP"
5595
5596
5597if test $ac_cv_c_compiler_gnu = yes; then
5598    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5599$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5600if ${ac_cv_prog_gcc_traditional+:} false; then :
5601  $as_echo_n "(cached) " >&6
5602else
5603    ac_pattern="Autoconf.*'x'"
5604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5605/* end confdefs.h.  */
5606#include <sgtty.h>
5607Autoconf TIOCGETP
5608_ACEOF
5609if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5610  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5611  ac_cv_prog_gcc_traditional=yes
5612else
5613  ac_cv_prog_gcc_traditional=no
5614fi
5615rm -f conftest*
5616
5617
5618  if test $ac_cv_prog_gcc_traditional = no; then
5619    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620/* end confdefs.h.  */
5621#include <termio.h>
5622Autoconf TCGETA
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
5627fi
5628rm -f conftest*
5629
5630  fi
5631fi
5632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5633$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5634  if test $ac_cv_prog_gcc_traditional = yes; then
5635    CC="$CC -traditional"
5636  fi
5637fi
5638
5639ac_ext=cpp
5640ac_cpp='$CXXCPP $CPPFLAGS'
5641ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5642ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5643ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5644if test -z "$CXX"; then
5645  if test -n "$CCC"; then
5646    CXX=$CCC
5647  else
5648    if test -n "$ac_tool_prefix"; then
5649  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5650  do
5651    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5652set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654$as_echo_n "checking for $ac_word... " >&6; }
5655if ${ac_cv_prog_CXX+:} false; then :
5656  $as_echo_n "(cached) " >&6
5657else
5658  if test -n "$CXX"; then
5659  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5660else
5661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662for as_dir in $PATH
5663do
5664  IFS=$as_save_IFS
5665  test -z "$as_dir" && as_dir=.
5666    for ac_exec_ext in '' $ac_executable_extensions; do
5667  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5668    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5669    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5670    break 2
5671  fi
5672done
5673  done
5674IFS=$as_save_IFS
5675
5676fi
5677fi
5678CXX=$ac_cv_prog_CXX
5679if test -n "$CXX"; then
5680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5681$as_echo "$CXX" >&6; }
5682else
5683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684$as_echo "no" >&6; }
5685fi
5686
5687
5688    test -n "$CXX" && break
5689  done
5690fi
5691if test -z "$CXX"; then
5692  ac_ct_CXX=$CXX
5693  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5694do
5695  # Extract the first word of "$ac_prog", so it can be a program name with args.
5696set dummy $ac_prog; ac_word=$2
5697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698$as_echo_n "checking for $ac_word... " >&6; }
5699if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5700  $as_echo_n "(cached) " >&6
5701else
5702  if test -n "$ac_ct_CXX"; then
5703  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5704else
5705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706for as_dir in $PATH
5707do
5708  IFS=$as_save_IFS
5709  test -z "$as_dir" && as_dir=.
5710    for ac_exec_ext in '' $ac_executable_extensions; do
5711  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712    ac_cv_prog_ac_ct_CXX="$ac_prog"
5713    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714    break 2
5715  fi
5716done
5717  done
5718IFS=$as_save_IFS
5719
5720fi
5721fi
5722ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5723if test -n "$ac_ct_CXX"; then
5724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5725$as_echo "$ac_ct_CXX" >&6; }
5726else
5727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728$as_echo "no" >&6; }
5729fi
5730
5731
5732  test -n "$ac_ct_CXX" && break
5733done
5734
5735  if test "x$ac_ct_CXX" = x; then
5736    CXX="g++"
5737  else
5738    case $cross_compiling:$ac_tool_warned in
5739yes:)
5740{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5742ac_tool_warned=yes ;;
5743esac
5744    CXX=$ac_ct_CXX
5745  fi
5746fi
5747
5748  fi
5749fi
5750# Provide some information about the compiler.
5751$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5752set X $ac_compile
5753ac_compiler=$2
5754for ac_option in --version -v -V -qversion; do
5755  { { ac_try="$ac_compiler $ac_option >&5"
5756case "(($ac_try" in
5757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5758  *) ac_try_echo=$ac_try;;
5759esac
5760eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5761$as_echo "$ac_try_echo"; } >&5
5762  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5763  ac_status=$?
5764  if test -s conftest.err; then
5765    sed '10a\
5766... rest of stderr output deleted ...
5767         10q' conftest.err >conftest.er1
5768    cat conftest.er1 >&5
5769  fi
5770  rm -f conftest.er1 conftest.err
5771  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5772  test $ac_status = 0; }
5773done
5774
5775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5776$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5777if ${ac_cv_cxx_compiler_gnu+:} false; then :
5778  $as_echo_n "(cached) " >&6
5779else
5780  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5781/* end confdefs.h.  */
5782
5783int
5784main ()
5785{
5786#ifndef __GNUC__
5787       choke me
5788#endif
5789
5790  ;
5791  return 0;
5792}
5793_ACEOF
5794if ac_fn_cxx_try_compile "$LINENO"; then :
5795  ac_compiler_gnu=yes
5796else
5797  ac_compiler_gnu=no
5798fi
5799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5801
5802fi
5803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5804$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5805if test $ac_compiler_gnu = yes; then
5806  GXX=yes
5807else
5808  GXX=
5809fi
5810ac_test_CXXFLAGS=${CXXFLAGS+set}
5811ac_save_CXXFLAGS=$CXXFLAGS
5812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5813$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5814if ${ac_cv_prog_cxx_g+:} false; then :
5815  $as_echo_n "(cached) " >&6
5816else
5817  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5818   ac_cxx_werror_flag=yes
5819   ac_cv_prog_cxx_g=no
5820   CXXFLAGS="-g"
5821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822/* end confdefs.h.  */
5823
5824int
5825main ()
5826{
5827
5828  ;
5829  return 0;
5830}
5831_ACEOF
5832if ac_fn_cxx_try_compile "$LINENO"; then :
5833  ac_cv_prog_cxx_g=yes
5834else
5835  CXXFLAGS=""
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
5849else
5850  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5851	 CXXFLAGS="-g"
5852	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5853/* end confdefs.h.  */
5854
5855int
5856main ()
5857{
5858
5859  ;
5860  return 0;
5861}
5862_ACEOF
5863if ac_fn_cxx_try_compile "$LINENO"; then :
5864  ac_cv_prog_cxx_g=yes
5865fi
5866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5867fi
5868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5869fi
5870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5871   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5872fi
5873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5874$as_echo "$ac_cv_prog_cxx_g" >&6; }
5875if test "$ac_test_CXXFLAGS" = set; then
5876  CXXFLAGS=$ac_save_CXXFLAGS
5877elif test $ac_cv_prog_cxx_g = yes; then
5878  if test "$GXX" = yes; then
5879    CXXFLAGS="-g -O2"
5880  else
5881    CXXFLAGS="-g"
5882  fi
5883else
5884  if test "$GXX" = yes; then
5885    CXXFLAGS="-O2"
5886  else
5887    CXXFLAGS=
5888  fi
5889fi
5890ac_ext=c
5891ac_cpp='$CPP $CPPFLAGS'
5892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5894ac_compiler_gnu=$ac_cv_c_compiler_gnu
5895
5896depcc="$CXX"  am_compiler_list=
5897
5898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5899$as_echo_n "checking dependency style of $depcc... " >&6; }
5900if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5901  $as_echo_n "(cached) " >&6
5902else
5903  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5904  # We make a subdir and do the tests there.  Otherwise we can end up
5905  # making bogus files that we don't know about and never remove.  For
5906  # instance it was reported that on HP-UX the gcc test will end up
5907  # making a dummy file named 'D' -- because '-MD' means "put the output
5908  # in D".
5909  rm -rf conftest.dir
5910  mkdir conftest.dir
5911  # Copy depcomp to subdir because otherwise we won't find it if we're
5912  # using a relative directory.
5913  cp "$am_depcomp" conftest.dir
5914  cd conftest.dir
5915  # We will build objects and dependencies in a subdirectory because
5916  # it helps to detect inapplicable dependency modes.  For instance
5917  # both Tru64's cc and ICC support -MD to output dependencies as a
5918  # side effect of compilation, but ICC will put the dependencies in
5919  # the current directory while Tru64 will put them in the object
5920  # directory.
5921  mkdir sub
5922
5923  am_cv_CXX_dependencies_compiler_type=none
5924  if test "$am_compiler_list" = ""; then
5925     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5926  fi
5927  am__universal=false
5928  case " $depcc " in #(
5929     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5930     esac
5931
5932  for depmode in $am_compiler_list; do
5933    # Setup a source with many dependencies, because some compilers
5934    # like to wrap large dependency lists on column 80 (with \), and
5935    # we should not choose a depcomp mode which is confused by this.
5936    #
5937    # We need to recreate these files for each test, as the compiler may
5938    # overwrite some of them when testing with obscure command lines.
5939    # This happens at least with the AIX C compiler.
5940    : > sub/conftest.c
5941    for i in 1 2 3 4 5 6; do
5942      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5943      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5944      # Solaris 10 /bin/sh.
5945      echo '/* dummy */' > sub/conftst$i.h
5946    done
5947    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5948
5949    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5950    # mode.  It turns out that the SunPro C++ compiler does not properly
5951    # handle '-M -o', and we need to detect this.  Also, some Intel
5952    # versions had trouble with output in subdirs.
5953    am__obj=sub/conftest.${OBJEXT-o}
5954    am__minus_obj="-o $am__obj"
5955    case $depmode in
5956    gcc)
5957      # This depmode causes a compiler race in universal mode.
5958      test "$am__universal" = false || continue
5959      ;;
5960    nosideeffect)
5961      # After this tag, mechanisms are not by side-effect, so they'll
5962      # only be used when explicitly requested.
5963      if test "x$enable_dependency_tracking" = xyes; then
5964	continue
5965      else
5966	break
5967      fi
5968      ;;
5969    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5970      # This compiler won't grok '-c -o', but also, the minuso test has
5971      # not run yet.  These depmodes are late enough in the game, and
5972      # so weak that their functioning should not be impacted.
5973      am__obj=conftest.${OBJEXT-o}
5974      am__minus_obj=
5975      ;;
5976    none) break ;;
5977    esac
5978    if depmode=$depmode \
5979       source=sub/conftest.c object=$am__obj \
5980       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5981       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5982         >/dev/null 2>conftest.err &&
5983       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5984       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5985       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5986       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5987      # icc doesn't choke on unknown options, it will just issue warnings
5988      # or remarks (even with -Werror).  So we grep stderr for any message
5989      # that says an option was ignored or not supported.
5990      # When given -MP, icc 7.0 and 7.1 complain thusly:
5991      #   icc: Command line warning: ignoring option '-M'; no argument required
5992      # The diagnosis changed in icc 8.0:
5993      #   icc: Command line remark: option '-MP' not supported
5994      if (grep 'ignoring option' conftest.err ||
5995          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5996        am_cv_CXX_dependencies_compiler_type=$depmode
5997        break
5998      fi
5999    fi
6000  done
6001
6002  cd ..
6003  rm -rf conftest.dir
6004else
6005  am_cv_CXX_dependencies_compiler_type=none
6006fi
6007
6008fi
6009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6010$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6011CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6012
6013 if
6014  test "x$enable_dependency_tracking" != xno \
6015  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6016  am__fastdepCXX_TRUE=
6017  am__fastdepCXX_FALSE='#'
6018else
6019  am__fastdepCXX_TRUE='#'
6020  am__fastdepCXX_FALSE=
6021fi
6022
6023
6024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6025$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6026set x ${MAKE-make}
6027ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6028if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6029  $as_echo_n "(cached) " >&6
6030else
6031  cat >conftest.make <<\_ACEOF
6032SHELL = /bin/sh
6033all:
6034	@echo '@@@%%%=$(MAKE)=@@@%%%'
6035_ACEOF
6036# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6037case `${MAKE-make} -f conftest.make 2>/dev/null` in
6038  *@@@%%%=?*=@@@%%%*)
6039    eval ac_cv_prog_make_${ac_make}_set=yes;;
6040  *)
6041    eval ac_cv_prog_make_${ac_make}_set=no;;
6042esac
6043rm -f conftest.make
6044fi
6045if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6047$as_echo "yes" >&6; }
6048  SET_MAKE=
6049else
6050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051$as_echo "no" >&6; }
6052  SET_MAKE="MAKE=${MAKE-make}"
6053fi
6054
6055
6056
6057case `pwd` in
6058  *\ * | *\	*)
6059    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6060$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6061esac
6062
6063
6064
6065macro_version='2.4.6'
6066macro_revision='2.4.6'
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080ltmain=$ac_aux_dir/ltmain.sh
6081
6082# Backslashify metacharacters that are still active within
6083# double-quoted strings.
6084sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6085
6086# Same as above, but do not quote variable references.
6087double_quote_subst='s/\(["`\\]\)/\\\1/g'
6088
6089# Sed substitution to delay expansion of an escaped shell variable in a
6090# double_quote_subst'ed string.
6091delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6092
6093# Sed substitution to delay expansion of an escaped single quote.
6094delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6095
6096# Sed substitution to avoid accidental globbing in evaled expressions
6097no_glob_subst='s/\*/\\\*/g'
6098
6099ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6100ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6101ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6102
6103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6104$as_echo_n "checking how to print strings... " >&6; }
6105# Test print first, because it will be a builtin if present.
6106if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6107   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6108  ECHO='print -r --'
6109elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6110  ECHO='printf %s\n'
6111else
6112  # Use this function as a fallback that always works.
6113  func_fallback_echo ()
6114  {
6115    eval 'cat <<_LTECHO_EOF
6116$1
6117_LTECHO_EOF'
6118  }
6119  ECHO='func_fallback_echo'
6120fi
6121
6122# func_echo_all arg...
6123# Invoke $ECHO with all args, space-separated.
6124func_echo_all ()
6125{
6126    $ECHO ""
6127}
6128
6129case $ECHO in
6130  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6131$as_echo "printf" >&6; } ;;
6132  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6133$as_echo "print -r" >&6; } ;;
6134  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6135$as_echo "cat" >&6; } ;;
6136esac
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6152$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6153if ${ac_cv_path_SED+:} false; then :
6154  $as_echo_n "(cached) " >&6
6155else
6156            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6157     for ac_i in 1 2 3 4 5 6 7; do
6158       ac_script="$ac_script$as_nl$ac_script"
6159     done
6160     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6161     { ac_script=; unset ac_script;}
6162     if test -z "$SED"; then
6163  ac_path_SED_found=false
6164  # Loop through the user's path and test for each of PROGNAME-LIST
6165  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166for as_dir in $PATH
6167do
6168  IFS=$as_save_IFS
6169  test -z "$as_dir" && as_dir=.
6170    for ac_prog in sed gsed; do
6171    for ac_exec_ext in '' $ac_executable_extensions; do
6172      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6173      as_fn_executable_p "$ac_path_SED" || continue
6174# Check for GNU ac_path_SED and select it if it is found.
6175  # Check for GNU $ac_path_SED
6176case `"$ac_path_SED" --version 2>&1` in
6177*GNU*)
6178  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6179*)
6180  ac_count=0
6181  $as_echo_n 0123456789 >"conftest.in"
6182  while :
6183  do
6184    cat "conftest.in" "conftest.in" >"conftest.tmp"
6185    mv "conftest.tmp" "conftest.in"
6186    cp "conftest.in" "conftest.nl"
6187    $as_echo '' >> "conftest.nl"
6188    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6189    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6190    as_fn_arith $ac_count + 1 && ac_count=$as_val
6191    if test $ac_count -gt ${ac_path_SED_max-0}; then
6192      # Best one so far, save it but keep looking for a better one
6193      ac_cv_path_SED="$ac_path_SED"
6194      ac_path_SED_max=$ac_count
6195    fi
6196    # 10*(2^10) chars as input seems more than enough
6197    test $ac_count -gt 10 && break
6198  done
6199  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6200esac
6201
6202      $ac_path_SED_found && break 3
6203    done
6204  done
6205  done
6206IFS=$as_save_IFS
6207  if test -z "$ac_cv_path_SED"; then
6208    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6209  fi
6210else
6211  ac_cv_path_SED=$SED
6212fi
6213
6214fi
6215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6216$as_echo "$ac_cv_path_SED" >&6; }
6217 SED="$ac_cv_path_SED"
6218  rm -f conftest.sed
6219
6220test -z "$SED" && SED=sed
6221Xsed="$SED -e 1s/^X//"
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6234$as_echo_n "checking for fgrep... " >&6; }
6235if ${ac_cv_path_FGREP+:} false; then :
6236  $as_echo_n "(cached) " >&6
6237else
6238  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6239   then ac_cv_path_FGREP="$GREP -F"
6240   else
6241     if test -z "$FGREP"; then
6242  ac_path_FGREP_found=false
6243  # Loop through the user's path and test for each of PROGNAME-LIST
6244  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6246do
6247  IFS=$as_save_IFS
6248  test -z "$as_dir" && as_dir=.
6249    for ac_prog in fgrep; do
6250    for ac_exec_ext in '' $ac_executable_extensions; do
6251      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6252      as_fn_executable_p "$ac_path_FGREP" || continue
6253# Check for GNU ac_path_FGREP and select it if it is found.
6254  # Check for GNU $ac_path_FGREP
6255case `"$ac_path_FGREP" --version 2>&1` in
6256*GNU*)
6257  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6258*)
6259  ac_count=0
6260  $as_echo_n 0123456789 >"conftest.in"
6261  while :
6262  do
6263    cat "conftest.in" "conftest.in" >"conftest.tmp"
6264    mv "conftest.tmp" "conftest.in"
6265    cp "conftest.in" "conftest.nl"
6266    $as_echo 'FGREP' >> "conftest.nl"
6267    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6268    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6269    as_fn_arith $ac_count + 1 && ac_count=$as_val
6270    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6271      # Best one so far, save it but keep looking for a better one
6272      ac_cv_path_FGREP="$ac_path_FGREP"
6273      ac_path_FGREP_max=$ac_count
6274    fi
6275    # 10*(2^10) chars as input seems more than enough
6276    test $ac_count -gt 10 && break
6277  done
6278  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6279esac
6280
6281      $ac_path_FGREP_found && break 3
6282    done
6283  done
6284  done
6285IFS=$as_save_IFS
6286  if test -z "$ac_cv_path_FGREP"; then
6287    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6288  fi
6289else
6290  ac_cv_path_FGREP=$FGREP
6291fi
6292
6293   fi
6294fi
6295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6296$as_echo "$ac_cv_path_FGREP" >&6; }
6297 FGREP="$ac_cv_path_FGREP"
6298
6299
6300test -z "$GREP" && GREP=grep
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320# Check whether --with-gnu-ld was given.
6321if test "${with_gnu_ld+set}" = set; then :
6322  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6323else
6324  with_gnu_ld=no
6325fi
6326
6327ac_prog=ld
6328if test yes = "$GCC"; then
6329  # Check if gcc -print-prog-name=ld gives a path.
6330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6331$as_echo_n "checking for ld used by $CC... " >&6; }
6332  case $host in
6333  *-*-mingw*)
6334    # gcc leaves a trailing carriage return, which upsets mingw
6335    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6336  *)
6337    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6338  esac
6339  case $ac_prog in
6340    # Accept absolute paths.
6341    [\\/]* | ?:[\\/]*)
6342      re_direlt='/[^/][^/]*/\.\./'
6343      # Canonicalize the pathname of ld
6344      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6345      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6346	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6347      done
6348      test -z "$LD" && LD=$ac_prog
6349      ;;
6350  "")
6351    # If it fails, then pretend we aren't using GCC.
6352    ac_prog=ld
6353    ;;
6354  *)
6355    # If it is relative, then search for the first ld in PATH.
6356    with_gnu_ld=unknown
6357    ;;
6358  esac
6359elif test yes = "$with_gnu_ld"; then
6360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6361$as_echo_n "checking for GNU ld... " >&6; }
6362else
6363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6364$as_echo_n "checking for non-GNU ld... " >&6; }
6365fi
6366if ${lt_cv_path_LD+:} false; then :
6367  $as_echo_n "(cached) " >&6
6368else
6369  if test -z "$LD"; then
6370  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6371  for ac_dir in $PATH; do
6372    IFS=$lt_save_ifs
6373    test -z "$ac_dir" && ac_dir=.
6374    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6375      lt_cv_path_LD=$ac_dir/$ac_prog
6376      # Check to see if the program is GNU ld.  I'd rather use --version,
6377      # but apparently some variants of GNU ld only accept -v.
6378      # Break only if it was the GNU/non-GNU ld that we prefer.
6379      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6380      *GNU* | *'with BFD'*)
6381	test no != "$with_gnu_ld" && break
6382	;;
6383      *)
6384	test yes != "$with_gnu_ld" && break
6385	;;
6386      esac
6387    fi
6388  done
6389  IFS=$lt_save_ifs
6390else
6391  lt_cv_path_LD=$LD # Let the user override the test with a path.
6392fi
6393fi
6394
6395LD=$lt_cv_path_LD
6396if test -n "$LD"; then
6397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6398$as_echo "$LD" >&6; }
6399else
6400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401$as_echo "no" >&6; }
6402fi
6403test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6405$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6406if ${lt_cv_prog_gnu_ld+:} false; then :
6407  $as_echo_n "(cached) " >&6
6408else
6409  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6410case `$LD -v 2>&1 </dev/null` in
6411*GNU* | *'with BFD'*)
6412  lt_cv_prog_gnu_ld=yes
6413  ;;
6414*)
6415  lt_cv_prog_gnu_ld=no
6416  ;;
6417esac
6418fi
6419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6420$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6421with_gnu_ld=$lt_cv_prog_gnu_ld
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6432$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6433if ${lt_cv_path_NM+:} false; then :
6434  $as_echo_n "(cached) " >&6
6435else
6436  if test -n "$NM"; then
6437  # Let the user override the test.
6438  lt_cv_path_NM=$NM
6439else
6440  lt_nm_to_check=${ac_tool_prefix}nm
6441  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6442    lt_nm_to_check="$lt_nm_to_check nm"
6443  fi
6444  for lt_tmp_nm in $lt_nm_to_check; do
6445    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6446    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6447      IFS=$lt_save_ifs
6448      test -z "$ac_dir" && ac_dir=.
6449      tmp_nm=$ac_dir/$lt_tmp_nm
6450      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6451	# Check to see if the nm accepts a BSD-compat flag.
6452	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6453	#   nm: unknown option "B" ignored
6454	# Tru64's nm complains that /dev/null is an invalid object file
6455	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6456	case $build_os in
6457	mingw*) lt_bad_file=conftest.nm/nofile ;;
6458	*) lt_bad_file=/dev/null ;;
6459	esac
6460	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6461	*$lt_bad_file* | *'Invalid file or object type'*)
6462	  lt_cv_path_NM="$tmp_nm -B"
6463	  break 2
6464	  ;;
6465	*)
6466	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6467	  */dev/null*)
6468	    lt_cv_path_NM="$tmp_nm -p"
6469	    break 2
6470	    ;;
6471	  *)
6472	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6473	    continue # so that we can try to find one that supports BSD flags
6474	    ;;
6475	  esac
6476	  ;;
6477	esac
6478      fi
6479    done
6480    IFS=$lt_save_ifs
6481  done
6482  : ${lt_cv_path_NM=no}
6483fi
6484fi
6485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6486$as_echo "$lt_cv_path_NM" >&6; }
6487if test no != "$lt_cv_path_NM"; then
6488  NM=$lt_cv_path_NM
6489else
6490  # Didn't find any BSD compatible name lister, look for dumpbin.
6491  if test -n "$DUMPBIN"; then :
6492    # Let the user override the test.
6493  else
6494    if test -n "$ac_tool_prefix"; then
6495  for ac_prog in dumpbin "link -dump"
6496  do
6497    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6498set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500$as_echo_n "checking for $ac_word... " >&6; }
6501if ${ac_cv_prog_DUMPBIN+:} false; then :
6502  $as_echo_n "(cached) " >&6
6503else
6504  if test -n "$DUMPBIN"; then
6505  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6506else
6507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508for as_dir in $PATH
6509do
6510  IFS=$as_save_IFS
6511  test -z "$as_dir" && as_dir=.
6512    for ac_exec_ext in '' $ac_executable_extensions; do
6513  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6514    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6515    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516    break 2
6517  fi
6518done
6519  done
6520IFS=$as_save_IFS
6521
6522fi
6523fi
6524DUMPBIN=$ac_cv_prog_DUMPBIN
6525if test -n "$DUMPBIN"; then
6526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6527$as_echo "$DUMPBIN" >&6; }
6528else
6529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530$as_echo "no" >&6; }
6531fi
6532
6533
6534    test -n "$DUMPBIN" && break
6535  done
6536fi
6537if test -z "$DUMPBIN"; then
6538  ac_ct_DUMPBIN=$DUMPBIN
6539  for ac_prog in dumpbin "link -dump"
6540do
6541  # Extract the first word of "$ac_prog", so it can be a program name with args.
6542set dummy $ac_prog; ac_word=$2
6543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544$as_echo_n "checking for $ac_word... " >&6; }
6545if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6546  $as_echo_n "(cached) " >&6
6547else
6548  if test -n "$ac_ct_DUMPBIN"; then
6549  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6550else
6551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552for as_dir in $PATH
6553do
6554  IFS=$as_save_IFS
6555  test -z "$as_dir" && as_dir=.
6556    for ac_exec_ext in '' $ac_executable_extensions; do
6557  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6558    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6559    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6560    break 2
6561  fi
6562done
6563  done
6564IFS=$as_save_IFS
6565
6566fi
6567fi
6568ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6569if test -n "$ac_ct_DUMPBIN"; then
6570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6571$as_echo "$ac_ct_DUMPBIN" >&6; }
6572else
6573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574$as_echo "no" >&6; }
6575fi
6576
6577
6578  test -n "$ac_ct_DUMPBIN" && break
6579done
6580
6581  if test "x$ac_ct_DUMPBIN" = x; then
6582    DUMPBIN=":"
6583  else
6584    case $cross_compiling:$ac_tool_warned in
6585yes:)
6586{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6587$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6588ac_tool_warned=yes ;;
6589esac
6590    DUMPBIN=$ac_ct_DUMPBIN
6591  fi
6592fi
6593
6594    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6595    *COFF*)
6596      DUMPBIN="$DUMPBIN -symbols -headers"
6597      ;;
6598    *)
6599      DUMPBIN=:
6600      ;;
6601    esac
6602  fi
6603
6604  if test : != "$DUMPBIN"; then
6605    NM=$DUMPBIN
6606  fi
6607fi
6608test -z "$NM" && NM=nm
6609
6610
6611
6612
6613
6614
6615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6616$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6617if ${lt_cv_nm_interface+:} false; then :
6618  $as_echo_n "(cached) " >&6
6619else
6620  lt_cv_nm_interface="BSD nm"
6621  echo "int some_variable = 0;" > conftest.$ac_ext
6622  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6623  (eval "$ac_compile" 2>conftest.err)
6624  cat conftest.err >&5
6625  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6626  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6627  cat conftest.err >&5
6628  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6629  cat conftest.out >&5
6630  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6631    lt_cv_nm_interface="MS dumpbin"
6632  fi
6633  rm -f conftest*
6634fi
6635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6636$as_echo "$lt_cv_nm_interface" >&6; }
6637
6638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6639$as_echo_n "checking whether ln -s works... " >&6; }
6640LN_S=$as_ln_s
6641if test "$LN_S" = "ln -s"; then
6642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6643$as_echo "yes" >&6; }
6644else
6645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6646$as_echo "no, using $LN_S" >&6; }
6647fi
6648
6649# find the maximum length of command line arguments
6650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6651$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6652if ${lt_cv_sys_max_cmd_len+:} false; then :
6653  $as_echo_n "(cached) " >&6
6654else
6655    i=0
6656  teststring=ABCD
6657
6658  case $build_os in
6659  msdosdjgpp*)
6660    # On DJGPP, this test can blow up pretty badly due to problems in libc
6661    # (any single argument exceeding 2000 bytes causes a buffer overrun
6662    # during glob expansion).  Even if it were fixed, the result of this
6663    # check would be larger than it should be.
6664    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6665    ;;
6666
6667  gnu*)
6668    # Under GNU Hurd, this test is not required because there is
6669    # no limit to the length of command line arguments.
6670    # Libtool will interpret -1 as no limit whatsoever
6671    lt_cv_sys_max_cmd_len=-1;
6672    ;;
6673
6674  cygwin* | mingw* | cegcc*)
6675    # On Win9x/ME, this test blows up -- it succeeds, but takes
6676    # about 5 minutes as the teststring grows exponentially.
6677    # Worse, since 9x/ME are not pre-emptively multitasking,
6678    # you end up with a "frozen" computer, even though with patience
6679    # the test eventually succeeds (with a max line length of 256k).
6680    # Instead, let's just punt: use the minimum linelength reported by
6681    # all of the supported platforms: 8192 (on NT/2K/XP).
6682    lt_cv_sys_max_cmd_len=8192;
6683    ;;
6684
6685  mint*)
6686    # On MiNT this can take a long time and run out of memory.
6687    lt_cv_sys_max_cmd_len=8192;
6688    ;;
6689
6690  amigaos*)
6691    # On AmigaOS with pdksh, this test takes hours, literally.
6692    # So we just punt and use a minimum line length of 8192.
6693    lt_cv_sys_max_cmd_len=8192;
6694    ;;
6695
6696  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6697    # This has been around since 386BSD, at least.  Likely further.
6698    if test -x /sbin/sysctl; then
6699      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6700    elif test -x /usr/sbin/sysctl; then
6701      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6702    else
6703      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6704    fi
6705    # And add a safety zone
6706    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6707    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6708    ;;
6709
6710  interix*)
6711    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6712    lt_cv_sys_max_cmd_len=196608
6713    ;;
6714
6715  os2*)
6716    # The test takes a long time on OS/2.
6717    lt_cv_sys_max_cmd_len=8192
6718    ;;
6719
6720  osf*)
6721    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6722    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6723    # nice to cause kernel panics so lets avoid the loop below.
6724    # First set a reasonable default.
6725    lt_cv_sys_max_cmd_len=16384
6726    #
6727    if test -x /sbin/sysconfig; then
6728      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6729        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6730      esac
6731    fi
6732    ;;
6733  sco3.2v5*)
6734    lt_cv_sys_max_cmd_len=102400
6735    ;;
6736  sysv5* | sco5v6* | sysv4.2uw2*)
6737    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6738    if test -n "$kargmax"; then
6739      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6740    else
6741      lt_cv_sys_max_cmd_len=32768
6742    fi
6743    ;;
6744  *)
6745    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6746    if test -n "$lt_cv_sys_max_cmd_len" && \
6747       test undefined != "$lt_cv_sys_max_cmd_len"; then
6748      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6749      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6750    else
6751      # Make teststring a little bigger before we do anything with it.
6752      # a 1K string should be a reasonable start.
6753      for i in 1 2 3 4 5 6 7 8; do
6754        teststring=$teststring$teststring
6755      done
6756      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6757      # If test is not a shell built-in, we'll probably end up computing a
6758      # maximum length that is only half of the actual maximum length, but
6759      # we can't tell.
6760      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6761	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6762	      test 17 != "$i" # 1/2 MB should be enough
6763      do
6764        i=`expr $i + 1`
6765        teststring=$teststring$teststring
6766      done
6767      # Only check the string length outside the loop.
6768      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6769      teststring=
6770      # Add a significant safety factor because C++ compilers can tack on
6771      # massive amounts of additional arguments before passing them to the
6772      # linker.  It appears as though 1/2 is a usable value.
6773      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6774    fi
6775    ;;
6776  esac
6777
6778fi
6779
6780if test -n "$lt_cv_sys_max_cmd_len"; then
6781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6782$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6783else
6784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6785$as_echo "none" >&6; }
6786fi
6787max_cmd_len=$lt_cv_sys_max_cmd_len
6788
6789
6790
6791
6792
6793
6794: ${CP="cp -f"}
6795: ${MV="mv -f"}
6796: ${RM="rm -f"}
6797
6798if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6799  lt_unset=unset
6800else
6801  lt_unset=false
6802fi
6803
6804
6805
6806
6807
6808# test EBCDIC or ASCII
6809case `echo X|tr X '\101'` in
6810 A) # ASCII based system
6811    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6812  lt_SP2NL='tr \040 \012'
6813  lt_NL2SP='tr \015\012 \040\040'
6814  ;;
6815 *) # EBCDIC based system
6816  lt_SP2NL='tr \100 \n'
6817  lt_NL2SP='tr \r\n \100\100'
6818  ;;
6819esac
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6830$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6831if ${lt_cv_to_host_file_cmd+:} false; then :
6832  $as_echo_n "(cached) " >&6
6833else
6834  case $host in
6835  *-*-mingw* )
6836    case $build in
6837      *-*-mingw* ) # actually msys
6838        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6839        ;;
6840      *-*-cygwin* )
6841        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6842        ;;
6843      * ) # otherwise, assume *nix
6844        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6845        ;;
6846    esac
6847    ;;
6848  *-*-cygwin* )
6849    case $build in
6850      *-*-mingw* ) # actually msys
6851        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6852        ;;
6853      *-*-cygwin* )
6854        lt_cv_to_host_file_cmd=func_convert_file_noop
6855        ;;
6856      * ) # otherwise, assume *nix
6857        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6858        ;;
6859    esac
6860    ;;
6861  * ) # unhandled hosts (and "normal" native builds)
6862    lt_cv_to_host_file_cmd=func_convert_file_noop
6863    ;;
6864esac
6865
6866fi
6867
6868to_host_file_cmd=$lt_cv_to_host_file_cmd
6869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6870$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6871
6872
6873
6874
6875
6876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6877$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6878if ${lt_cv_to_tool_file_cmd+:} false; then :
6879  $as_echo_n "(cached) " >&6
6880else
6881  #assume ordinary cross tools, or native build.
6882lt_cv_to_tool_file_cmd=func_convert_file_noop
6883case $host in
6884  *-*-mingw* )
6885    case $build in
6886      *-*-mingw* ) # actually msys
6887        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6888        ;;
6889    esac
6890    ;;
6891esac
6892
6893fi
6894
6895to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6897$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6898
6899
6900
6901
6902
6903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6904$as_echo_n "checking for $LD option to reload object files... " >&6; }
6905if ${lt_cv_ld_reload_flag+:} false; then :
6906  $as_echo_n "(cached) " >&6
6907else
6908  lt_cv_ld_reload_flag='-r'
6909fi
6910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6911$as_echo "$lt_cv_ld_reload_flag" >&6; }
6912reload_flag=$lt_cv_ld_reload_flag
6913case $reload_flag in
6914"" | " "*) ;;
6915*) reload_flag=" $reload_flag" ;;
6916esac
6917reload_cmds='$LD$reload_flag -o $output$reload_objs'
6918case $host_os in
6919  cygwin* | mingw* | pw32* | cegcc*)
6920    if test yes != "$GCC"; then
6921      reload_cmds=false
6922    fi
6923    ;;
6924  darwin*)
6925    if test yes = "$GCC"; then
6926      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6927    else
6928      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6929    fi
6930    ;;
6931esac
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941if test -n "$ac_tool_prefix"; then
6942  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6943set dummy ${ac_tool_prefix}objdump; ac_word=$2
6944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945$as_echo_n "checking for $ac_word... " >&6; }
6946if ${ac_cv_prog_OBJDUMP+:} false; then :
6947  $as_echo_n "(cached) " >&6
6948else
6949  if test -n "$OBJDUMP"; then
6950  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6951else
6952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953for as_dir in $PATH
6954do
6955  IFS=$as_save_IFS
6956  test -z "$as_dir" && as_dir=.
6957    for ac_exec_ext in '' $ac_executable_extensions; do
6958  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6959    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961    break 2
6962  fi
6963done
6964  done
6965IFS=$as_save_IFS
6966
6967fi
6968fi
6969OBJDUMP=$ac_cv_prog_OBJDUMP
6970if test -n "$OBJDUMP"; then
6971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6972$as_echo "$OBJDUMP" >&6; }
6973else
6974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975$as_echo "no" >&6; }
6976fi
6977
6978
6979fi
6980if test -z "$ac_cv_prog_OBJDUMP"; then
6981  ac_ct_OBJDUMP=$OBJDUMP
6982  # Extract the first word of "objdump", so it can be a program name with args.
6983set dummy objdump; ac_word=$2
6984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985$as_echo_n "checking for $ac_word... " >&6; }
6986if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6987  $as_echo_n "(cached) " >&6
6988else
6989  if test -n "$ac_ct_OBJDUMP"; then
6990  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6991else
6992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993for as_dir in $PATH
6994do
6995  IFS=$as_save_IFS
6996  test -z "$as_dir" && as_dir=.
6997    for ac_exec_ext in '' $ac_executable_extensions; do
6998  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6999    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001    break 2
7002  fi
7003done
7004  done
7005IFS=$as_save_IFS
7006
7007fi
7008fi
7009ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7010if test -n "$ac_ct_OBJDUMP"; then
7011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7012$as_echo "$ac_ct_OBJDUMP" >&6; }
7013else
7014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015$as_echo "no" >&6; }
7016fi
7017
7018  if test "x$ac_ct_OBJDUMP" = x; then
7019    OBJDUMP="false"
7020  else
7021    case $cross_compiling:$ac_tool_warned in
7022yes:)
7023{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7024$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7025ac_tool_warned=yes ;;
7026esac
7027    OBJDUMP=$ac_ct_OBJDUMP
7028  fi
7029else
7030  OBJDUMP="$ac_cv_prog_OBJDUMP"
7031fi
7032
7033test -z "$OBJDUMP" && OBJDUMP=objdump
7034
7035
7036
7037
7038
7039
7040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7041$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7042if ${lt_cv_deplibs_check_method+:} false; then :
7043  $as_echo_n "(cached) " >&6
7044else
7045  lt_cv_file_magic_cmd='$MAGIC_CMD'
7046lt_cv_file_magic_test_file=
7047lt_cv_deplibs_check_method='unknown'
7048# Need to set the preceding variable on all platforms that support
7049# interlibrary dependencies.
7050# 'none' -- dependencies not supported.
7051# 'unknown' -- same as none, but documents that we really don't know.
7052# 'pass_all' -- all dependencies passed with no checks.
7053# 'test_compile' -- check by making test program.
7054# 'file_magic [[regex]]' -- check by looking for files in library path
7055# that responds to the $file_magic_cmd with a given extended regex.
7056# If you have 'file' or equivalent on your system and you're not sure
7057# whether 'pass_all' will *always* work, you probably want this one.
7058
7059case $host_os in
7060aix[4-9]*)
7061  lt_cv_deplibs_check_method=pass_all
7062  ;;
7063
7064beos*)
7065  lt_cv_deplibs_check_method=pass_all
7066  ;;
7067
7068bsdi[45]*)
7069  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7070  lt_cv_file_magic_cmd='/usr/bin/file -L'
7071  lt_cv_file_magic_test_file=/shlib/libc.so
7072  ;;
7073
7074cygwin*)
7075  # func_win32_libid is a shell function defined in ltmain.sh
7076  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7077  lt_cv_file_magic_cmd='func_win32_libid'
7078  ;;
7079
7080mingw* | pw32*)
7081  # Base MSYS/MinGW do not provide the 'file' command needed by
7082  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7083  # unless we find 'file', for example because we are cross-compiling.
7084  if ( file / ) >/dev/null 2>&1; then
7085    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7086    lt_cv_file_magic_cmd='func_win32_libid'
7087  else
7088    # Keep this pattern in sync with the one in func_win32_libid.
7089    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7090    lt_cv_file_magic_cmd='$OBJDUMP -f'
7091  fi
7092  ;;
7093
7094cegcc*)
7095  # use the weaker test based on 'objdump'. See mingw*.
7096  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7097  lt_cv_file_magic_cmd='$OBJDUMP -f'
7098  ;;
7099
7100darwin* | rhapsody*)
7101  lt_cv_deplibs_check_method=pass_all
7102  ;;
7103
7104freebsd* | dragonfly*)
7105  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7106    case $host_cpu in
7107    i*86 )
7108      # Not sure whether the presence of OpenBSD here was a mistake.
7109      # Let's accept both of them until this is cleared up.
7110      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7111      lt_cv_file_magic_cmd=/usr/bin/file
7112      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7113      ;;
7114    esac
7115  else
7116    lt_cv_deplibs_check_method=pass_all
7117  fi
7118  ;;
7119
7120haiku*)
7121  lt_cv_deplibs_check_method=pass_all
7122  ;;
7123
7124hpux10.20* | hpux11*)
7125  lt_cv_file_magic_cmd=/usr/bin/file
7126  case $host_cpu in
7127  ia64*)
7128    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7129    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7130    ;;
7131  hppa*64*)
7132    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]'
7133    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7134    ;;
7135  *)
7136    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7137    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7138    ;;
7139  esac
7140  ;;
7141
7142interix[3-9]*)
7143  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7144  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7145  ;;
7146
7147irix5* | irix6* | nonstopux*)
7148  case $LD in
7149  *-32|*"-32 ") libmagic=32-bit;;
7150  *-n32|*"-n32 ") libmagic=N32;;
7151  *-64|*"-64 ") libmagic=64-bit;;
7152  *) libmagic=never-match;;
7153  esac
7154  lt_cv_deplibs_check_method=pass_all
7155  ;;
7156
7157# This must be glibc/ELF.
7158linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7159  lt_cv_deplibs_check_method=pass_all
7160  ;;
7161
7162netbsd*)
7163  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7164    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7165  else
7166    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7167  fi
7168  ;;
7169
7170newos6*)
7171  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7172  lt_cv_file_magic_cmd=/usr/bin/file
7173  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7174  ;;
7175
7176*nto* | *qnx*)
7177  lt_cv_deplibs_check_method=pass_all
7178  ;;
7179
7180openbsd* | bitrig*)
7181  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7182    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7183  else
7184    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7185  fi
7186  ;;
7187
7188osf3* | osf4* | osf5*)
7189  lt_cv_deplibs_check_method=pass_all
7190  ;;
7191
7192rdos*)
7193  lt_cv_deplibs_check_method=pass_all
7194  ;;
7195
7196solaris*)
7197  lt_cv_deplibs_check_method=pass_all
7198  ;;
7199
7200sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7201  lt_cv_deplibs_check_method=pass_all
7202  ;;
7203
7204sysv4 | sysv4.3*)
7205  case $host_vendor in
7206  motorola)
7207    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]'
7208    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7209    ;;
7210  ncr)
7211    lt_cv_deplibs_check_method=pass_all
7212    ;;
7213  sequent)
7214    lt_cv_file_magic_cmd='/bin/file'
7215    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7216    ;;
7217  sni)
7218    lt_cv_file_magic_cmd='/bin/file'
7219    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7220    lt_cv_file_magic_test_file=/lib/libc.so
7221    ;;
7222  siemens)
7223    lt_cv_deplibs_check_method=pass_all
7224    ;;
7225  pc)
7226    lt_cv_deplibs_check_method=pass_all
7227    ;;
7228  esac
7229  ;;
7230
7231tpf*)
7232  lt_cv_deplibs_check_method=pass_all
7233  ;;
7234os2*)
7235  lt_cv_deplibs_check_method=pass_all
7236  ;;
7237esac
7238
7239fi
7240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7241$as_echo "$lt_cv_deplibs_check_method" >&6; }
7242
7243file_magic_glob=
7244want_nocaseglob=no
7245if test "$build" = "$host"; then
7246  case $host_os in
7247  mingw* | pw32*)
7248    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7249      want_nocaseglob=yes
7250    else
7251      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7252    fi
7253    ;;
7254  esac
7255fi
7256
7257file_magic_cmd=$lt_cv_file_magic_cmd
7258deplibs_check_method=$lt_cv_deplibs_check_method
7259test -z "$deplibs_check_method" && deplibs_check_method=unknown
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282if test -n "$ac_tool_prefix"; then
7283  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7284set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286$as_echo_n "checking for $ac_word... " >&6; }
7287if ${ac_cv_prog_DLLTOOL+:} false; then :
7288  $as_echo_n "(cached) " >&6
7289else
7290  if test -n "$DLLTOOL"; then
7291  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7292else
7293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294for as_dir in $PATH
7295do
7296  IFS=$as_save_IFS
7297  test -z "$as_dir" && as_dir=.
7298    for ac_exec_ext in '' $ac_executable_extensions; do
7299  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7301    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302    break 2
7303  fi
7304done
7305  done
7306IFS=$as_save_IFS
7307
7308fi
7309fi
7310DLLTOOL=$ac_cv_prog_DLLTOOL
7311if test -n "$DLLTOOL"; then
7312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7313$as_echo "$DLLTOOL" >&6; }
7314else
7315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316$as_echo "no" >&6; }
7317fi
7318
7319
7320fi
7321if test -z "$ac_cv_prog_DLLTOOL"; then
7322  ac_ct_DLLTOOL=$DLLTOOL
7323  # Extract the first word of "dlltool", so it can be a program name with args.
7324set dummy dlltool; ac_word=$2
7325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326$as_echo_n "checking for $ac_word... " >&6; }
7327if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7328  $as_echo_n "(cached) " >&6
7329else
7330  if test -n "$ac_ct_DLLTOOL"; then
7331  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7332else
7333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334for as_dir in $PATH
7335do
7336  IFS=$as_save_IFS
7337  test -z "$as_dir" && as_dir=.
7338    for ac_exec_ext in '' $ac_executable_extensions; do
7339  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342    break 2
7343  fi
7344done
7345  done
7346IFS=$as_save_IFS
7347
7348fi
7349fi
7350ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7351if test -n "$ac_ct_DLLTOOL"; then
7352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7353$as_echo "$ac_ct_DLLTOOL" >&6; }
7354else
7355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356$as_echo "no" >&6; }
7357fi
7358
7359  if test "x$ac_ct_DLLTOOL" = x; then
7360    DLLTOOL="false"
7361  else
7362    case $cross_compiling:$ac_tool_warned in
7363yes:)
7364{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7365$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7366ac_tool_warned=yes ;;
7367esac
7368    DLLTOOL=$ac_ct_DLLTOOL
7369  fi
7370else
7371  DLLTOOL="$ac_cv_prog_DLLTOOL"
7372fi
7373
7374test -z "$DLLTOOL" && DLLTOOL=dlltool
7375
7376
7377
7378
7379
7380
7381
7382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7383$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7384if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7385  $as_echo_n "(cached) " >&6
7386else
7387  lt_cv_sharedlib_from_linklib_cmd='unknown'
7388
7389case $host_os in
7390cygwin* | mingw* | pw32* | cegcc*)
7391  # two different shell functions defined in ltmain.sh;
7392  # decide which one to use based on capabilities of $DLLTOOL
7393  case `$DLLTOOL --help 2>&1` in
7394  *--identify-strict*)
7395    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7396    ;;
7397  *)
7398    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7399    ;;
7400  esac
7401  ;;
7402*)
7403  # fallback: assume linklib IS sharedlib
7404  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7405  ;;
7406esac
7407
7408fi
7409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7410$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7411sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7412test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7413
7414
7415
7416
7417
7418
7419
7420if test -n "$ac_tool_prefix"; then
7421  for ac_prog in ar
7422  do
7423    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7424set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426$as_echo_n "checking for $ac_word... " >&6; }
7427if ${ac_cv_prog_AR+:} false; then :
7428  $as_echo_n "(cached) " >&6
7429else
7430  if test -n "$AR"; then
7431  ac_cv_prog_AR="$AR" # Let the user override the test.
7432else
7433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434for as_dir in $PATH
7435do
7436  IFS=$as_save_IFS
7437  test -z "$as_dir" && as_dir=.
7438    for ac_exec_ext in '' $ac_executable_extensions; do
7439  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7440    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7441    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442    break 2
7443  fi
7444done
7445  done
7446IFS=$as_save_IFS
7447
7448fi
7449fi
7450AR=$ac_cv_prog_AR
7451if test -n "$AR"; then
7452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7453$as_echo "$AR" >&6; }
7454else
7455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456$as_echo "no" >&6; }
7457fi
7458
7459
7460    test -n "$AR" && break
7461  done
7462fi
7463if test -z "$AR"; then
7464  ac_ct_AR=$AR
7465  for ac_prog in ar
7466do
7467  # Extract the first word of "$ac_prog", so it can be a program name with args.
7468set dummy $ac_prog; ac_word=$2
7469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470$as_echo_n "checking for $ac_word... " >&6; }
7471if ${ac_cv_prog_ac_ct_AR+:} false; then :
7472  $as_echo_n "(cached) " >&6
7473else
7474  if test -n "$ac_ct_AR"; then
7475  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7476else
7477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478for as_dir in $PATH
7479do
7480  IFS=$as_save_IFS
7481  test -z "$as_dir" && as_dir=.
7482    for ac_exec_ext in '' $ac_executable_extensions; do
7483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484    ac_cv_prog_ac_ct_AR="$ac_prog"
7485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486    break 2
7487  fi
7488done
7489  done
7490IFS=$as_save_IFS
7491
7492fi
7493fi
7494ac_ct_AR=$ac_cv_prog_ac_ct_AR
7495if test -n "$ac_ct_AR"; then
7496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7497$as_echo "$ac_ct_AR" >&6; }
7498else
7499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500$as_echo "no" >&6; }
7501fi
7502
7503
7504  test -n "$ac_ct_AR" && break
7505done
7506
7507  if test "x$ac_ct_AR" = x; then
7508    AR="false"
7509  else
7510    case $cross_compiling:$ac_tool_warned in
7511yes:)
7512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514ac_tool_warned=yes ;;
7515esac
7516    AR=$ac_ct_AR
7517  fi
7518fi
7519
7520: ${AR=ar}
7521: ${AR_FLAGS=cru}
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7534$as_echo_n "checking for archiver @FILE support... " >&6; }
7535if ${lt_cv_ar_at_file+:} false; then :
7536  $as_echo_n "(cached) " >&6
7537else
7538  lt_cv_ar_at_file=no
7539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7540/* end confdefs.h.  */
7541
7542int
7543main ()
7544{
7545
7546  ;
7547  return 0;
7548}
7549_ACEOF
7550if ac_fn_c_try_compile "$LINENO"; then :
7551  echo conftest.$ac_objext > conftest.lst
7552      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7553      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7554  (eval $lt_ar_try) 2>&5
7555  ac_status=$?
7556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7557  test $ac_status = 0; }
7558      if test 0 -eq "$ac_status"; then
7559	# Ensure the archiver fails upon bogus file names.
7560	rm -f conftest.$ac_objext libconftest.a
7561	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7562  (eval $lt_ar_try) 2>&5
7563  ac_status=$?
7564  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7565  test $ac_status = 0; }
7566	if test 0 -ne "$ac_status"; then
7567          lt_cv_ar_at_file=@
7568        fi
7569      fi
7570      rm -f conftest.* libconftest.a
7571
7572fi
7573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7574
7575fi
7576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7577$as_echo "$lt_cv_ar_at_file" >&6; }
7578
7579if test no = "$lt_cv_ar_at_file"; then
7580  archiver_list_spec=
7581else
7582  archiver_list_spec=$lt_cv_ar_at_file
7583fi
7584
7585
7586
7587
7588
7589
7590
7591if test -n "$ac_tool_prefix"; then
7592  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7593set dummy ${ac_tool_prefix}strip; ac_word=$2
7594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7595$as_echo_n "checking for $ac_word... " >&6; }
7596if ${ac_cv_prog_STRIP+:} false; then :
7597  $as_echo_n "(cached) " >&6
7598else
7599  if test -n "$STRIP"; then
7600  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7601else
7602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7603for as_dir in $PATH
7604do
7605  IFS=$as_save_IFS
7606  test -z "$as_dir" && as_dir=.
7607    for ac_exec_ext in '' $ac_executable_extensions; do
7608  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7609    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7610    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7611    break 2
7612  fi
7613done
7614  done
7615IFS=$as_save_IFS
7616
7617fi
7618fi
7619STRIP=$ac_cv_prog_STRIP
7620if test -n "$STRIP"; then
7621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7622$as_echo "$STRIP" >&6; }
7623else
7624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625$as_echo "no" >&6; }
7626fi
7627
7628
7629fi
7630if test -z "$ac_cv_prog_STRIP"; then
7631  ac_ct_STRIP=$STRIP
7632  # Extract the first word of "strip", so it can be a program name with args.
7633set dummy strip; ac_word=$2
7634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635$as_echo_n "checking for $ac_word... " >&6; }
7636if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7637  $as_echo_n "(cached) " >&6
7638else
7639  if test -n "$ac_ct_STRIP"; then
7640  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7641else
7642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643for as_dir in $PATH
7644do
7645  IFS=$as_save_IFS
7646  test -z "$as_dir" && as_dir=.
7647    for ac_exec_ext in '' $ac_executable_extensions; do
7648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7649    ac_cv_prog_ac_ct_STRIP="strip"
7650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7651    break 2
7652  fi
7653done
7654  done
7655IFS=$as_save_IFS
7656
7657fi
7658fi
7659ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7660if test -n "$ac_ct_STRIP"; then
7661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7662$as_echo "$ac_ct_STRIP" >&6; }
7663else
7664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665$as_echo "no" >&6; }
7666fi
7667
7668  if test "x$ac_ct_STRIP" = x; then
7669    STRIP=":"
7670  else
7671    case $cross_compiling:$ac_tool_warned in
7672yes:)
7673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7675ac_tool_warned=yes ;;
7676esac
7677    STRIP=$ac_ct_STRIP
7678  fi
7679else
7680  STRIP="$ac_cv_prog_STRIP"
7681fi
7682
7683test -z "$STRIP" && STRIP=:
7684
7685
7686
7687
7688
7689
7690if test -n "$ac_tool_prefix"; then
7691  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7692set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7694$as_echo_n "checking for $ac_word... " >&6; }
7695if ${ac_cv_prog_RANLIB+:} false; then :
7696  $as_echo_n "(cached) " >&6
7697else
7698  if test -n "$RANLIB"; then
7699  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7700else
7701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702for as_dir in $PATH
7703do
7704  IFS=$as_save_IFS
7705  test -z "$as_dir" && as_dir=.
7706    for ac_exec_ext in '' $ac_executable_extensions; do
7707  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7708    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7709    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7710    break 2
7711  fi
7712done
7713  done
7714IFS=$as_save_IFS
7715
7716fi
7717fi
7718RANLIB=$ac_cv_prog_RANLIB
7719if test -n "$RANLIB"; then
7720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7721$as_echo "$RANLIB" >&6; }
7722else
7723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7724$as_echo "no" >&6; }
7725fi
7726
7727
7728fi
7729if test -z "$ac_cv_prog_RANLIB"; then
7730  ac_ct_RANLIB=$RANLIB
7731  # Extract the first word of "ranlib", so it can be a program name with args.
7732set dummy ranlib; ac_word=$2
7733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7734$as_echo_n "checking for $ac_word... " >&6; }
7735if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7736  $as_echo_n "(cached) " >&6
7737else
7738  if test -n "$ac_ct_RANLIB"; then
7739  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7740else
7741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742for as_dir in $PATH
7743do
7744  IFS=$as_save_IFS
7745  test -z "$as_dir" && as_dir=.
7746    for ac_exec_ext in '' $ac_executable_extensions; do
7747  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7748    ac_cv_prog_ac_ct_RANLIB="ranlib"
7749    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7750    break 2
7751  fi
7752done
7753  done
7754IFS=$as_save_IFS
7755
7756fi
7757fi
7758ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7759if test -n "$ac_ct_RANLIB"; then
7760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7761$as_echo "$ac_ct_RANLIB" >&6; }
7762else
7763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7764$as_echo "no" >&6; }
7765fi
7766
7767  if test "x$ac_ct_RANLIB" = x; then
7768    RANLIB=":"
7769  else
7770    case $cross_compiling:$ac_tool_warned in
7771yes:)
7772{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7773$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7774ac_tool_warned=yes ;;
7775esac
7776    RANLIB=$ac_ct_RANLIB
7777  fi
7778else
7779  RANLIB="$ac_cv_prog_RANLIB"
7780fi
7781
7782test -z "$RANLIB" && RANLIB=:
7783
7784
7785
7786
7787
7788
7789# Determine commands to create old-style static archives.
7790old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7791old_postinstall_cmds='chmod 644 $oldlib'
7792old_postuninstall_cmds=
7793
7794if test -n "$RANLIB"; then
7795  case $host_os in
7796  bitrig* | openbsd*)
7797    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7798    ;;
7799  *)
7800    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7801    ;;
7802  esac
7803  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7804fi
7805
7806case $host_os in
7807  darwin*)
7808    lock_old_archive_extraction=yes ;;
7809  *)
7810    lock_old_archive_extraction=no ;;
7811esac
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
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# If no C compiler was specified, use CC.
7852LTCC=${LTCC-"$CC"}
7853
7854# If no C compiler flags were specified, use CFLAGS.
7855LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7856
7857# Allow CC to be a program name with arguments.
7858compiler=$CC
7859
7860
7861# Check for command to grab the raw symbol name followed by C symbol from nm.
7862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7863$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7864if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7865  $as_echo_n "(cached) " >&6
7866else
7867
7868# These are sane defaults that work on at least a few old systems.
7869# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7870
7871# Character class describing NM global symbol codes.
7872symcode='[BCDEGRST]'
7873
7874# Regexp to match symbols that can be accessed directly from C.
7875sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7876
7877# Define system-specific variables.
7878case $host_os in
7879aix*)
7880  symcode='[BCDT]'
7881  ;;
7882cygwin* | mingw* | pw32* | cegcc*)
7883  symcode='[ABCDGISTW]'
7884  ;;
7885hpux*)
7886  if test ia64 = "$host_cpu"; then
7887    symcode='[ABCDEGRST]'
7888  fi
7889  ;;
7890irix* | nonstopux*)
7891  symcode='[BCDEGRST]'
7892  ;;
7893osf*)
7894  symcode='[BCDEGQRST]'
7895  ;;
7896solaris*)
7897  symcode='[BDRT]'
7898  ;;
7899sco3.2v5*)
7900  symcode='[DT]'
7901  ;;
7902sysv4.2uw2*)
7903  symcode='[DT]'
7904  ;;
7905sysv5* | sco5v6* | unixware* | OpenUNIX*)
7906  symcode='[ABDT]'
7907  ;;
7908sysv4)
7909  symcode='[DFNSTU]'
7910  ;;
7911esac
7912
7913# If we're using GNU nm, then use its standard symbol codes.
7914case `$NM -V 2>&1` in
7915*GNU* | *'with BFD'*)
7916  symcode='[ABCDGIRSTW]' ;;
7917esac
7918
7919if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7920  # Gets list of data symbols to import.
7921  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7922  # Adjust the below global symbol transforms to fixup imported variables.
7923  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7924  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7925  lt_c_name_lib_hook="\
7926  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7927  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7928else
7929  # Disable hooks by default.
7930  lt_cv_sys_global_symbol_to_import=
7931  lt_cdecl_hook=
7932  lt_c_name_hook=
7933  lt_c_name_lib_hook=
7934fi
7935
7936# Transform an extracted symbol line into a proper C declaration.
7937# Some systems (esp. on ia64) link data and code symbols differently,
7938# so use this general approach.
7939lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7940$lt_cdecl_hook\
7941" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7942" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7943
7944# Transform an extracted symbol line into symbol name and symbol address
7945lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7946$lt_c_name_hook\
7947" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7948" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7949
7950# Transform an extracted symbol line into symbol name with lib prefix and
7951# symbol address.
7952lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7953$lt_c_name_lib_hook\
7954" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7955" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7956" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7957
7958# Handle CRLF in mingw tool chain
7959opt_cr=
7960case $build_os in
7961mingw*)
7962  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7963  ;;
7964esac
7965
7966# Try without a prefix underscore, then with it.
7967for ac_symprfx in "" "_"; do
7968
7969  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7970  symxfrm="\\1 $ac_symprfx\\2 \\2"
7971
7972  # Write the raw and C identifiers.
7973  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7974    # Fake it for dumpbin and say T for any non-static function,
7975    # D for any global variable and I for any imported variable.
7976    # Also find C++ and __fastcall symbols from MSVC++,
7977    # which start with @ or ?.
7978    lt_cv_sys_global_symbol_pipe="$AWK '"\
7979"     {last_section=section; section=\$ 3};"\
7980"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7981"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7982"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7983"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7984"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7985"     \$ 0!~/External *\|/{next};"\
7986"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7987"     {if(hide[section]) next};"\
7988"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7989"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7990"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7991"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7992"     ' prfx=^$ac_symprfx"
7993  else
7994    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7995  fi
7996  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7997
7998  # Check to see that the pipe works correctly.
7999  pipe_works=no
8000
8001  rm -f conftest*
8002  cat > conftest.$ac_ext <<_LT_EOF
8003#ifdef __cplusplus
8004extern "C" {
8005#endif
8006char nm_test_var;
8007void nm_test_func(void);
8008void nm_test_func(void){}
8009#ifdef __cplusplus
8010}
8011#endif
8012int main(){nm_test_var='a';nm_test_func();return(0);}
8013_LT_EOF
8014
8015  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8016  (eval $ac_compile) 2>&5
8017  ac_status=$?
8018  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8019  test $ac_status = 0; }; then
8020    # Now try to grab the symbols.
8021    nlist=conftest.nm
8022    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8023  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8024  ac_status=$?
8025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8026  test $ac_status = 0; } && test -s "$nlist"; then
8027      # Try sorting and uniquifying the output.
8028      if sort "$nlist" | uniq > "$nlist"T; then
8029	mv -f "$nlist"T "$nlist"
8030      else
8031	rm -f "$nlist"T
8032      fi
8033
8034      # Make sure that we snagged all the symbols we need.
8035      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8036	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8037	  cat <<_LT_EOF > conftest.$ac_ext
8038/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8039#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8040/* DATA imports from DLLs on WIN32 can't be const, because runtime
8041   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8042# define LT_DLSYM_CONST
8043#elif defined __osf__
8044/* This system does not cope well with relocations in const data.  */
8045# define LT_DLSYM_CONST
8046#else
8047# define LT_DLSYM_CONST const
8048#endif
8049
8050#ifdef __cplusplus
8051extern "C" {
8052#endif
8053
8054_LT_EOF
8055	  # Now generate the symbol file.
8056	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8057
8058	  cat <<_LT_EOF >> conftest.$ac_ext
8059
8060/* The mapping between symbol names and symbols.  */
8061LT_DLSYM_CONST struct {
8062  const char *name;
8063  void       *address;
8064}
8065lt__PROGRAM__LTX_preloaded_symbols[] =
8066{
8067  { "@PROGRAM@", (void *) 0 },
8068_LT_EOF
8069	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8070	  cat <<\_LT_EOF >> conftest.$ac_ext
8071  {0, (void *) 0}
8072};
8073
8074/* This works around a problem in FreeBSD linker */
8075#ifdef FREEBSD_WORKAROUND
8076static const void *lt_preloaded_setup() {
8077  return lt__PROGRAM__LTX_preloaded_symbols;
8078}
8079#endif
8080
8081#ifdef __cplusplus
8082}
8083#endif
8084_LT_EOF
8085	  # Now try linking the two files.
8086	  mv conftest.$ac_objext conftstm.$ac_objext
8087	  lt_globsym_save_LIBS=$LIBS
8088	  lt_globsym_save_CFLAGS=$CFLAGS
8089	  LIBS=conftstm.$ac_objext
8090	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8091	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8092  (eval $ac_link) 2>&5
8093  ac_status=$?
8094  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8095  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8096	    pipe_works=yes
8097	  fi
8098	  LIBS=$lt_globsym_save_LIBS
8099	  CFLAGS=$lt_globsym_save_CFLAGS
8100	else
8101	  echo "cannot find nm_test_func in $nlist" >&5
8102	fi
8103      else
8104	echo "cannot find nm_test_var in $nlist" >&5
8105      fi
8106    else
8107      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8108    fi
8109  else
8110    echo "$progname: failed program was:" >&5
8111    cat conftest.$ac_ext >&5
8112  fi
8113  rm -rf conftest* conftst*
8114
8115  # Do not use the global_symbol_pipe unless it works.
8116  if test yes = "$pipe_works"; then
8117    break
8118  else
8119    lt_cv_sys_global_symbol_pipe=
8120  fi
8121done
8122
8123fi
8124
8125if test -z "$lt_cv_sys_global_symbol_pipe"; then
8126  lt_cv_sys_global_symbol_to_cdecl=
8127fi
8128if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8130$as_echo "failed" >&6; }
8131else
8132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8133$as_echo "ok" >&6; }
8134fi
8135
8136# Response file support.
8137if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8138  nm_file_list_spec='@'
8139elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8140  nm_file_list_spec='@'
8141fi
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8180$as_echo_n "checking for sysroot... " >&6; }
8181
8182# Check whether --with-sysroot was given.
8183if test "${with_sysroot+set}" = set; then :
8184  withval=$with_sysroot;
8185else
8186  with_sysroot=no
8187fi
8188
8189
8190lt_sysroot=
8191case $with_sysroot in #(
8192 yes)
8193   if test yes = "$GCC"; then
8194     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8195   fi
8196   ;; #(
8197 /*)
8198   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8199   ;; #(
8200 no|'')
8201   ;; #(
8202 *)
8203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8204$as_echo "$with_sysroot" >&6; }
8205   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8206   ;;
8207esac
8208
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8210$as_echo "${lt_sysroot:-no}" >&6; }
8211
8212
8213
8214
8215
8216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8217$as_echo_n "checking for a working dd... " >&6; }
8218if ${ac_cv_path_lt_DD+:} false; then :
8219  $as_echo_n "(cached) " >&6
8220else
8221  printf 0123456789abcdef0123456789abcdef >conftest.i
8222cat conftest.i conftest.i >conftest2.i
8223: ${lt_DD:=$DD}
8224if test -z "$lt_DD"; then
8225  ac_path_lt_DD_found=false
8226  # Loop through the user's path and test for each of PROGNAME-LIST
8227  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228for as_dir in $PATH
8229do
8230  IFS=$as_save_IFS
8231  test -z "$as_dir" && as_dir=.
8232    for ac_prog in dd; do
8233    for ac_exec_ext in '' $ac_executable_extensions; do
8234      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8235      as_fn_executable_p "$ac_path_lt_DD" || continue
8236if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8237  cmp -s conftest.i conftest.out \
8238  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8239fi
8240      $ac_path_lt_DD_found && break 3
8241    done
8242  done
8243  done
8244IFS=$as_save_IFS
8245  if test -z "$ac_cv_path_lt_DD"; then
8246    :
8247  fi
8248else
8249  ac_cv_path_lt_DD=$lt_DD
8250fi
8251
8252rm -f conftest.i conftest2.i conftest.out
8253fi
8254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8255$as_echo "$ac_cv_path_lt_DD" >&6; }
8256
8257
8258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8259$as_echo_n "checking how to truncate binary pipes... " >&6; }
8260if ${lt_cv_truncate_bin+:} false; then :
8261  $as_echo_n "(cached) " >&6
8262else
8263  printf 0123456789abcdef0123456789abcdef >conftest.i
8264cat conftest.i conftest.i >conftest2.i
8265lt_cv_truncate_bin=
8266if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8267  cmp -s conftest.i conftest.out \
8268  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8269fi
8270rm -f conftest.i conftest2.i conftest.out
8271test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8272fi
8273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8274$as_echo "$lt_cv_truncate_bin" >&6; }
8275
8276
8277
8278
8279
8280
8281
8282# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8283func_cc_basename ()
8284{
8285    for cc_temp in $*""; do
8286      case $cc_temp in
8287        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8288        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8289        \-*) ;;
8290        *) break;;
8291      esac
8292    done
8293    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8294}
8295
8296# Check whether --enable-libtool-lock was given.
8297if test "${enable_libtool_lock+set}" = set; then :
8298  enableval=$enable_libtool_lock;
8299fi
8300
8301test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8302
8303# Some flags need to be propagated to the compiler or linker for good
8304# libtool support.
8305case $host in
8306ia64-*-hpux*)
8307  # Find out what ABI is being produced by ac_compile, and set mode
8308  # options accordingly.
8309  echo 'int i;' > conftest.$ac_ext
8310  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8311  (eval $ac_compile) 2>&5
8312  ac_status=$?
8313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8314  test $ac_status = 0; }; then
8315    case `/usr/bin/file conftest.$ac_objext` in
8316      *ELF-32*)
8317	HPUX_IA64_MODE=32
8318	;;
8319      *ELF-64*)
8320	HPUX_IA64_MODE=64
8321	;;
8322    esac
8323  fi
8324  rm -rf conftest*
8325  ;;
8326*-*-irix6*)
8327  # Find out what ABI is being produced by ac_compile, and set linker
8328  # options accordingly.
8329  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8330  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8331  (eval $ac_compile) 2>&5
8332  ac_status=$?
8333  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8334  test $ac_status = 0; }; then
8335    if test yes = "$lt_cv_prog_gnu_ld"; then
8336      case `/usr/bin/file conftest.$ac_objext` in
8337	*32-bit*)
8338	  LD="${LD-ld} -melf32bsmip"
8339	  ;;
8340	*N32*)
8341	  LD="${LD-ld} -melf32bmipn32"
8342	  ;;
8343	*64-bit*)
8344	  LD="${LD-ld} -melf64bmip"
8345	;;
8346      esac
8347    else
8348      case `/usr/bin/file conftest.$ac_objext` in
8349	*32-bit*)
8350	  LD="${LD-ld} -32"
8351	  ;;
8352	*N32*)
8353	  LD="${LD-ld} -n32"
8354	  ;;
8355	*64-bit*)
8356	  LD="${LD-ld} -64"
8357	  ;;
8358      esac
8359    fi
8360  fi
8361  rm -rf conftest*
8362  ;;
8363
8364mips64*-*linux*)
8365  # Find out what ABI is being produced by ac_compile, and set linker
8366  # options accordingly.
8367  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8368  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8369  (eval $ac_compile) 2>&5
8370  ac_status=$?
8371  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8372  test $ac_status = 0; }; then
8373    emul=elf
8374    case `/usr/bin/file conftest.$ac_objext` in
8375      *32-bit*)
8376	emul="${emul}32"
8377	;;
8378      *64-bit*)
8379	emul="${emul}64"
8380	;;
8381    esac
8382    case `/usr/bin/file conftest.$ac_objext` in
8383      *MSB*)
8384	emul="${emul}btsmip"
8385	;;
8386      *LSB*)
8387	emul="${emul}ltsmip"
8388	;;
8389    esac
8390    case `/usr/bin/file conftest.$ac_objext` in
8391      *N32*)
8392	emul="${emul}n32"
8393	;;
8394    esac
8395    LD="${LD-ld} -m $emul"
8396  fi
8397  rm -rf conftest*
8398  ;;
8399
8400x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8401s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8402  # Find out what ABI is being produced by ac_compile, and set linker
8403  # options accordingly.  Note that the listed cases only cover the
8404  # situations where additional linker options are needed (such as when
8405  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8406  # vice versa); the common cases where no linker options are needed do
8407  # not appear in the list.
8408  echo 'int i;' > conftest.$ac_ext
8409  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8410  (eval $ac_compile) 2>&5
8411  ac_status=$?
8412  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8413  test $ac_status = 0; }; then
8414    case `/usr/bin/file conftest.o` in
8415      *32-bit*)
8416	case $host in
8417	  x86_64-*kfreebsd*-gnu)
8418	    LD="${LD-ld} -m elf_i386_fbsd"
8419	    ;;
8420	  x86_64-*linux*)
8421	    case `/usr/bin/file conftest.o` in
8422	      *x86-64*)
8423		LD="${LD-ld} -m elf32_x86_64"
8424		;;
8425	      *)
8426		LD="${LD-ld} -m elf_i386"
8427		;;
8428	    esac
8429	    ;;
8430	  powerpc64le-*linux*)
8431	    LD="${LD-ld} -m elf32lppclinux"
8432	    ;;
8433	  powerpc64-*linux*)
8434	    LD="${LD-ld} -m elf32ppclinux"
8435	    ;;
8436	  s390x-*linux*)
8437	    LD="${LD-ld} -m elf_s390"
8438	    ;;
8439	  sparc64-*linux*)
8440	    LD="${LD-ld} -m elf32_sparc"
8441	    ;;
8442	esac
8443	;;
8444      *64-bit*)
8445	case $host in
8446	  x86_64-*kfreebsd*-gnu)
8447	    LD="${LD-ld} -m elf_x86_64_fbsd"
8448	    ;;
8449	  x86_64-*linux*)
8450	    LD="${LD-ld} -m elf_x86_64"
8451	    ;;
8452	  powerpcle-*linux*)
8453	    LD="${LD-ld} -m elf64lppc"
8454	    ;;
8455	  powerpc-*linux*)
8456	    LD="${LD-ld} -m elf64ppc"
8457	    ;;
8458	  s390*-*linux*|s390*-*tpf*)
8459	    LD="${LD-ld} -m elf64_s390"
8460	    ;;
8461	  sparc*-*linux*)
8462	    LD="${LD-ld} -m elf64_sparc"
8463	    ;;
8464	esac
8465	;;
8466    esac
8467  fi
8468  rm -rf conftest*
8469  ;;
8470
8471*-*-sco3.2v5*)
8472  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8473  SAVE_CFLAGS=$CFLAGS
8474  CFLAGS="$CFLAGS -belf"
8475  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8476$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8477if ${lt_cv_cc_needs_belf+:} false; then :
8478  $as_echo_n "(cached) " >&6
8479else
8480  ac_ext=c
8481ac_cpp='$CPP $CPPFLAGS'
8482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484ac_compiler_gnu=$ac_cv_c_compiler_gnu
8485
8486     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487/* end confdefs.h.  */
8488
8489int
8490main ()
8491{
8492
8493  ;
8494  return 0;
8495}
8496_ACEOF
8497if ac_fn_c_try_link "$LINENO"; then :
8498  lt_cv_cc_needs_belf=yes
8499else
8500  lt_cv_cc_needs_belf=no
8501fi
8502rm -f core conftest.err conftest.$ac_objext \
8503    conftest$ac_exeext conftest.$ac_ext
8504     ac_ext=c
8505ac_cpp='$CPP $CPPFLAGS'
8506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8508ac_compiler_gnu=$ac_cv_c_compiler_gnu
8509
8510fi
8511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8512$as_echo "$lt_cv_cc_needs_belf" >&6; }
8513  if test yes != "$lt_cv_cc_needs_belf"; then
8514    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8515    CFLAGS=$SAVE_CFLAGS
8516  fi
8517  ;;
8518*-*solaris*)
8519  # Find out what ABI is being produced by ac_compile, and set linker
8520  # options accordingly.
8521  echo 'int i;' > conftest.$ac_ext
8522  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8523  (eval $ac_compile) 2>&5
8524  ac_status=$?
8525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8526  test $ac_status = 0; }; then
8527    case `/usr/bin/file conftest.o` in
8528    *64-bit*)
8529      case $lt_cv_prog_gnu_ld in
8530      yes*)
8531        case $host in
8532        i?86-*-solaris*|x86_64-*-solaris*)
8533          LD="${LD-ld} -m elf_x86_64"
8534          ;;
8535        sparc*-*-solaris*)
8536          LD="${LD-ld} -m elf64_sparc"
8537          ;;
8538        esac
8539        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8540        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8541          LD=${LD-ld}_sol2
8542        fi
8543        ;;
8544      *)
8545	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8546	  LD="${LD-ld} -64"
8547	fi
8548	;;
8549      esac
8550      ;;
8551    esac
8552  fi
8553  rm -rf conftest*
8554  ;;
8555esac
8556
8557need_locks=$enable_libtool_lock
8558
8559if test -n "$ac_tool_prefix"; then
8560  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8561set dummy ${ac_tool_prefix}mt; ac_word=$2
8562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563$as_echo_n "checking for $ac_word... " >&6; }
8564if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8565  $as_echo_n "(cached) " >&6
8566else
8567  if test -n "$MANIFEST_TOOL"; then
8568  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8569else
8570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8571for as_dir in $PATH
8572do
8573  IFS=$as_save_IFS
8574  test -z "$as_dir" && as_dir=.
8575    for ac_exec_ext in '' $ac_executable_extensions; do
8576  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8577    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8578    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8579    break 2
8580  fi
8581done
8582  done
8583IFS=$as_save_IFS
8584
8585fi
8586fi
8587MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8588if test -n "$MANIFEST_TOOL"; then
8589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8590$as_echo "$MANIFEST_TOOL" >&6; }
8591else
8592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593$as_echo "no" >&6; }
8594fi
8595
8596
8597fi
8598if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8599  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8600  # Extract the first word of "mt", so it can be a program name with args.
8601set dummy mt; ac_word=$2
8602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603$as_echo_n "checking for $ac_word... " >&6; }
8604if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8605  $as_echo_n "(cached) " >&6
8606else
8607  if test -n "$ac_ct_MANIFEST_TOOL"; then
8608  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8609else
8610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8611for as_dir in $PATH
8612do
8613  IFS=$as_save_IFS
8614  test -z "$as_dir" && as_dir=.
8615    for ac_exec_ext in '' $ac_executable_extensions; do
8616  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8617    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8618    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8619    break 2
8620  fi
8621done
8622  done
8623IFS=$as_save_IFS
8624
8625fi
8626fi
8627ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8628if test -n "$ac_ct_MANIFEST_TOOL"; then
8629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8630$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8631else
8632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8633$as_echo "no" >&6; }
8634fi
8635
8636  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8637    MANIFEST_TOOL=":"
8638  else
8639    case $cross_compiling:$ac_tool_warned in
8640yes:)
8641{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8642$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8643ac_tool_warned=yes ;;
8644esac
8645    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8646  fi
8647else
8648  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8649fi
8650
8651test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8653$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8654if ${lt_cv_path_mainfest_tool+:} false; then :
8655  $as_echo_n "(cached) " >&6
8656else
8657  lt_cv_path_mainfest_tool=no
8658  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8659  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8660  cat conftest.err >&5
8661  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8662    lt_cv_path_mainfest_tool=yes
8663  fi
8664  rm -f conftest*
8665fi
8666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8667$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8668if test yes != "$lt_cv_path_mainfest_tool"; then
8669  MANIFEST_TOOL=:
8670fi
8671
8672
8673
8674
8675
8676
8677  case $host_os in
8678    rhapsody* | darwin*)
8679    if test -n "$ac_tool_prefix"; then
8680  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8681set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8683$as_echo_n "checking for $ac_word... " >&6; }
8684if ${ac_cv_prog_DSYMUTIL+:} false; then :
8685  $as_echo_n "(cached) " >&6
8686else
8687  if test -n "$DSYMUTIL"; then
8688  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8689else
8690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691for as_dir in $PATH
8692do
8693  IFS=$as_save_IFS
8694  test -z "$as_dir" && as_dir=.
8695    for ac_exec_ext in '' $ac_executable_extensions; do
8696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8697    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699    break 2
8700  fi
8701done
8702  done
8703IFS=$as_save_IFS
8704
8705fi
8706fi
8707DSYMUTIL=$ac_cv_prog_DSYMUTIL
8708if test -n "$DSYMUTIL"; then
8709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8710$as_echo "$DSYMUTIL" >&6; }
8711else
8712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713$as_echo "no" >&6; }
8714fi
8715
8716
8717fi
8718if test -z "$ac_cv_prog_DSYMUTIL"; then
8719  ac_ct_DSYMUTIL=$DSYMUTIL
8720  # Extract the first word of "dsymutil", so it can be a program name with args.
8721set dummy dsymutil; ac_word=$2
8722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8723$as_echo_n "checking for $ac_word... " >&6; }
8724if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8725  $as_echo_n "(cached) " >&6
8726else
8727  if test -n "$ac_ct_DSYMUTIL"; then
8728  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8729else
8730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8731for as_dir in $PATH
8732do
8733  IFS=$as_save_IFS
8734  test -z "$as_dir" && as_dir=.
8735    for ac_exec_ext in '' $ac_executable_extensions; do
8736  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8737    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8738    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8739    break 2
8740  fi
8741done
8742  done
8743IFS=$as_save_IFS
8744
8745fi
8746fi
8747ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8748if test -n "$ac_ct_DSYMUTIL"; then
8749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8750$as_echo "$ac_ct_DSYMUTIL" >&6; }
8751else
8752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8753$as_echo "no" >&6; }
8754fi
8755
8756  if test "x$ac_ct_DSYMUTIL" = x; then
8757    DSYMUTIL=":"
8758  else
8759    case $cross_compiling:$ac_tool_warned in
8760yes:)
8761{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8762$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8763ac_tool_warned=yes ;;
8764esac
8765    DSYMUTIL=$ac_ct_DSYMUTIL
8766  fi
8767else
8768  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8769fi
8770
8771    if test -n "$ac_tool_prefix"; then
8772  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8773set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8775$as_echo_n "checking for $ac_word... " >&6; }
8776if ${ac_cv_prog_NMEDIT+:} false; then :
8777  $as_echo_n "(cached) " >&6
8778else
8779  if test -n "$NMEDIT"; then
8780  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8781else
8782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8783for as_dir in $PATH
8784do
8785  IFS=$as_save_IFS
8786  test -z "$as_dir" && as_dir=.
8787    for ac_exec_ext in '' $ac_executable_extensions; do
8788  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8789    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8791    break 2
8792  fi
8793done
8794  done
8795IFS=$as_save_IFS
8796
8797fi
8798fi
8799NMEDIT=$ac_cv_prog_NMEDIT
8800if test -n "$NMEDIT"; then
8801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8802$as_echo "$NMEDIT" >&6; }
8803else
8804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8805$as_echo "no" >&6; }
8806fi
8807
8808
8809fi
8810if test -z "$ac_cv_prog_NMEDIT"; then
8811  ac_ct_NMEDIT=$NMEDIT
8812  # Extract the first word of "nmedit", so it can be a program name with args.
8813set dummy nmedit; ac_word=$2
8814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8815$as_echo_n "checking for $ac_word... " >&6; }
8816if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8817  $as_echo_n "(cached) " >&6
8818else
8819  if test -n "$ac_ct_NMEDIT"; then
8820  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8821else
8822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8823for as_dir in $PATH
8824do
8825  IFS=$as_save_IFS
8826  test -z "$as_dir" && as_dir=.
8827    for ac_exec_ext in '' $ac_executable_extensions; do
8828  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8829    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8830    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8831    break 2
8832  fi
8833done
8834  done
8835IFS=$as_save_IFS
8836
8837fi
8838fi
8839ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8840if test -n "$ac_ct_NMEDIT"; then
8841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8842$as_echo "$ac_ct_NMEDIT" >&6; }
8843else
8844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845$as_echo "no" >&6; }
8846fi
8847
8848  if test "x$ac_ct_NMEDIT" = x; then
8849    NMEDIT=":"
8850  else
8851    case $cross_compiling:$ac_tool_warned in
8852yes:)
8853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8855ac_tool_warned=yes ;;
8856esac
8857    NMEDIT=$ac_ct_NMEDIT
8858  fi
8859else
8860  NMEDIT="$ac_cv_prog_NMEDIT"
8861fi
8862
8863    if test -n "$ac_tool_prefix"; then
8864  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8865set dummy ${ac_tool_prefix}lipo; ac_word=$2
8866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867$as_echo_n "checking for $ac_word... " >&6; }
8868if ${ac_cv_prog_LIPO+:} false; then :
8869  $as_echo_n "(cached) " >&6
8870else
8871  if test -n "$LIPO"; then
8872  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8873else
8874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8875for as_dir in $PATH
8876do
8877  IFS=$as_save_IFS
8878  test -z "$as_dir" && as_dir=.
8879    for ac_exec_ext in '' $ac_executable_extensions; do
8880  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8881    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8882    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8883    break 2
8884  fi
8885done
8886  done
8887IFS=$as_save_IFS
8888
8889fi
8890fi
8891LIPO=$ac_cv_prog_LIPO
8892if test -n "$LIPO"; then
8893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8894$as_echo "$LIPO" >&6; }
8895else
8896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8897$as_echo "no" >&6; }
8898fi
8899
8900
8901fi
8902if test -z "$ac_cv_prog_LIPO"; then
8903  ac_ct_LIPO=$LIPO
8904  # Extract the first word of "lipo", so it can be a program name with args.
8905set dummy lipo; ac_word=$2
8906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8907$as_echo_n "checking for $ac_word... " >&6; }
8908if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8909  $as_echo_n "(cached) " >&6
8910else
8911  if test -n "$ac_ct_LIPO"; then
8912  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8913else
8914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8915for as_dir in $PATH
8916do
8917  IFS=$as_save_IFS
8918  test -z "$as_dir" && as_dir=.
8919    for ac_exec_ext in '' $ac_executable_extensions; do
8920  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8921    ac_cv_prog_ac_ct_LIPO="lipo"
8922    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8923    break 2
8924  fi
8925done
8926  done
8927IFS=$as_save_IFS
8928
8929fi
8930fi
8931ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8932if test -n "$ac_ct_LIPO"; then
8933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8934$as_echo "$ac_ct_LIPO" >&6; }
8935else
8936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937$as_echo "no" >&6; }
8938fi
8939
8940  if test "x$ac_ct_LIPO" = x; then
8941    LIPO=":"
8942  else
8943    case $cross_compiling:$ac_tool_warned in
8944yes:)
8945{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8946$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8947ac_tool_warned=yes ;;
8948esac
8949    LIPO=$ac_ct_LIPO
8950  fi
8951else
8952  LIPO="$ac_cv_prog_LIPO"
8953fi
8954
8955    if test -n "$ac_tool_prefix"; then
8956  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8957set dummy ${ac_tool_prefix}otool; ac_word=$2
8958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8959$as_echo_n "checking for $ac_word... " >&6; }
8960if ${ac_cv_prog_OTOOL+:} false; then :
8961  $as_echo_n "(cached) " >&6
8962else
8963  if test -n "$OTOOL"; then
8964  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8965else
8966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8967for as_dir in $PATH
8968do
8969  IFS=$as_save_IFS
8970  test -z "$as_dir" && as_dir=.
8971    for ac_exec_ext in '' $ac_executable_extensions; do
8972  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8973    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8974    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8975    break 2
8976  fi
8977done
8978  done
8979IFS=$as_save_IFS
8980
8981fi
8982fi
8983OTOOL=$ac_cv_prog_OTOOL
8984if test -n "$OTOOL"; then
8985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8986$as_echo "$OTOOL" >&6; }
8987else
8988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989$as_echo "no" >&6; }
8990fi
8991
8992
8993fi
8994if test -z "$ac_cv_prog_OTOOL"; then
8995  ac_ct_OTOOL=$OTOOL
8996  # Extract the first word of "otool", so it can be a program name with args.
8997set dummy otool; ac_word=$2
8998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8999$as_echo_n "checking for $ac_word... " >&6; }
9000if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9001  $as_echo_n "(cached) " >&6
9002else
9003  if test -n "$ac_ct_OTOOL"; then
9004  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9005else
9006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9007for as_dir in $PATH
9008do
9009  IFS=$as_save_IFS
9010  test -z "$as_dir" && as_dir=.
9011    for ac_exec_ext in '' $ac_executable_extensions; do
9012  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9013    ac_cv_prog_ac_ct_OTOOL="otool"
9014    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9015    break 2
9016  fi
9017done
9018  done
9019IFS=$as_save_IFS
9020
9021fi
9022fi
9023ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9024if test -n "$ac_ct_OTOOL"; then
9025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9026$as_echo "$ac_ct_OTOOL" >&6; }
9027else
9028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9029$as_echo "no" >&6; }
9030fi
9031
9032  if test "x$ac_ct_OTOOL" = x; then
9033    OTOOL=":"
9034  else
9035    case $cross_compiling:$ac_tool_warned in
9036yes:)
9037{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9038$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9039ac_tool_warned=yes ;;
9040esac
9041    OTOOL=$ac_ct_OTOOL
9042  fi
9043else
9044  OTOOL="$ac_cv_prog_OTOOL"
9045fi
9046
9047    if test -n "$ac_tool_prefix"; then
9048  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9049set dummy ${ac_tool_prefix}otool64; ac_word=$2
9050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9051$as_echo_n "checking for $ac_word... " >&6; }
9052if ${ac_cv_prog_OTOOL64+:} false; then :
9053  $as_echo_n "(cached) " >&6
9054else
9055  if test -n "$OTOOL64"; then
9056  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9057else
9058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9059for as_dir in $PATH
9060do
9061  IFS=$as_save_IFS
9062  test -z "$as_dir" && as_dir=.
9063    for ac_exec_ext in '' $ac_executable_extensions; do
9064  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9065    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9067    break 2
9068  fi
9069done
9070  done
9071IFS=$as_save_IFS
9072
9073fi
9074fi
9075OTOOL64=$ac_cv_prog_OTOOL64
9076if test -n "$OTOOL64"; then
9077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9078$as_echo "$OTOOL64" >&6; }
9079else
9080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9081$as_echo "no" >&6; }
9082fi
9083
9084
9085fi
9086if test -z "$ac_cv_prog_OTOOL64"; then
9087  ac_ct_OTOOL64=$OTOOL64
9088  # Extract the first word of "otool64", so it can be a program name with args.
9089set dummy otool64; ac_word=$2
9090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9091$as_echo_n "checking for $ac_word... " >&6; }
9092if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9093  $as_echo_n "(cached) " >&6
9094else
9095  if test -n "$ac_ct_OTOOL64"; then
9096  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9097else
9098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9099for as_dir in $PATH
9100do
9101  IFS=$as_save_IFS
9102  test -z "$as_dir" && as_dir=.
9103    for ac_exec_ext in '' $ac_executable_extensions; do
9104  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9105    ac_cv_prog_ac_ct_OTOOL64="otool64"
9106    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9107    break 2
9108  fi
9109done
9110  done
9111IFS=$as_save_IFS
9112
9113fi
9114fi
9115ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9116if test -n "$ac_ct_OTOOL64"; then
9117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9118$as_echo "$ac_ct_OTOOL64" >&6; }
9119else
9120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9121$as_echo "no" >&6; }
9122fi
9123
9124  if test "x$ac_ct_OTOOL64" = x; then
9125    OTOOL64=":"
9126  else
9127    case $cross_compiling:$ac_tool_warned in
9128yes:)
9129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9131ac_tool_warned=yes ;;
9132esac
9133    OTOOL64=$ac_ct_OTOOL64
9134  fi
9135else
9136  OTOOL64="$ac_cv_prog_OTOOL64"
9137fi
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9166$as_echo_n "checking for -single_module linker flag... " >&6; }
9167if ${lt_cv_apple_cc_single_mod+:} false; then :
9168  $as_echo_n "(cached) " >&6
9169else
9170  lt_cv_apple_cc_single_mod=no
9171      if test -z "$LT_MULTI_MODULE"; then
9172	# By default we will add the -single_module flag. You can override
9173	# by either setting the environment variable LT_MULTI_MODULE
9174	# non-empty at configure time, or by adding -multi_module to the
9175	# link flags.
9176	rm -rf libconftest.dylib*
9177	echo "int foo(void){return 1;}" > conftest.c
9178	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9179-dynamiclib -Wl,-single_module conftest.c" >&5
9180	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9181	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9182        _lt_result=$?
9183	# If there is a non-empty error log, and "single_module"
9184	# appears in it, assume the flag caused a linker warning
9185        if test -s conftest.err && $GREP single_module conftest.err; then
9186	  cat conftest.err >&5
9187	# Otherwise, if the output was created with a 0 exit code from
9188	# the compiler, it worked.
9189	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9190	  lt_cv_apple_cc_single_mod=yes
9191	else
9192	  cat conftest.err >&5
9193	fi
9194	rm -rf libconftest.dylib*
9195	rm -f conftest.*
9196      fi
9197fi
9198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9199$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9200
9201    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9202$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9203if ${lt_cv_ld_exported_symbols_list+:} false; then :
9204  $as_echo_n "(cached) " >&6
9205else
9206  lt_cv_ld_exported_symbols_list=no
9207      save_LDFLAGS=$LDFLAGS
9208      echo "_main" > conftest.sym
9209      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9210      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211/* end confdefs.h.  */
9212
9213int
9214main ()
9215{
9216
9217  ;
9218  return 0;
9219}
9220_ACEOF
9221if ac_fn_c_try_link "$LINENO"; then :
9222  lt_cv_ld_exported_symbols_list=yes
9223else
9224  lt_cv_ld_exported_symbols_list=no
9225fi
9226rm -f core conftest.err conftest.$ac_objext \
9227    conftest$ac_exeext conftest.$ac_ext
9228	LDFLAGS=$save_LDFLAGS
9229
9230fi
9231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9232$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9233
9234    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9235$as_echo_n "checking for -force_load linker flag... " >&6; }
9236if ${lt_cv_ld_force_load+:} false; then :
9237  $as_echo_n "(cached) " >&6
9238else
9239  lt_cv_ld_force_load=no
9240      cat > conftest.c << _LT_EOF
9241int forced_loaded() { return 2;}
9242_LT_EOF
9243      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9244      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9245      echo "$AR cru libconftest.a conftest.o" >&5
9246      $AR cru libconftest.a conftest.o 2>&5
9247      echo "$RANLIB libconftest.a" >&5
9248      $RANLIB libconftest.a 2>&5
9249      cat > conftest.c << _LT_EOF
9250int main() { return 0;}
9251_LT_EOF
9252      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9253      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9254      _lt_result=$?
9255      if test -s conftest.err && $GREP force_load conftest.err; then
9256	cat conftest.err >&5
9257      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9258	lt_cv_ld_force_load=yes
9259      else
9260	cat conftest.err >&5
9261      fi
9262        rm -f conftest.err libconftest.a conftest conftest.c
9263        rm -rf conftest.dSYM
9264
9265fi
9266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9267$as_echo "$lt_cv_ld_force_load" >&6; }
9268    case $host_os in
9269    rhapsody* | darwin1.[012])
9270      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9271    darwin1.*)
9272      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9273    darwin*) # darwin 5.x on
9274      # if running on 10.5 or later, the deployment target defaults
9275      # to the OS version, if on x86, and 10.4, the deployment
9276      # target defaults to 10.4. Don't you love it?
9277      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9278	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9279	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9280	10.[012][,.]*)
9281	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9282	10.*)
9283	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9284      esac
9285    ;;
9286  esac
9287    if test yes = "$lt_cv_apple_cc_single_mod"; then
9288      _lt_dar_single_mod='$single_module'
9289    fi
9290    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9291      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9292    else
9293      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9294    fi
9295    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9296      _lt_dsymutil='~$DSYMUTIL $lib || :'
9297    else
9298      _lt_dsymutil=
9299    fi
9300    ;;
9301  esac
9302
9303# func_munge_path_list VARIABLE PATH
9304# -----------------------------------
9305# VARIABLE is name of variable containing _space_ separated list of
9306# directories to be munged by the contents of PATH, which is string
9307# having a format:
9308# "DIR[:DIR]:"
9309#       string "DIR[ DIR]" will be prepended to VARIABLE
9310# ":DIR[:DIR]"
9311#       string "DIR[ DIR]" will be appended to VARIABLE
9312# "DIRP[:DIRP]::[DIRA:]DIRA"
9313#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9314#       "DIRA[ DIRA]" will be appended to VARIABLE
9315# "DIR[:DIR]"
9316#       VARIABLE will be replaced by "DIR[ DIR]"
9317func_munge_path_list ()
9318{
9319    case x$2 in
9320    x)
9321        ;;
9322    *:)
9323        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9324        ;;
9325    x:*)
9326        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9327        ;;
9328    *::*)
9329        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9330        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9331        ;;
9332    *)
9333        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9334        ;;
9335    esac
9336}
9337
9338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9339$as_echo_n "checking for ANSI C header files... " >&6; }
9340if ${ac_cv_header_stdc+:} false; then :
9341  $as_echo_n "(cached) " >&6
9342else
9343  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9344/* end confdefs.h.  */
9345#include <stdlib.h>
9346#include <stdarg.h>
9347#include <string.h>
9348#include <float.h>
9349
9350int
9351main ()
9352{
9353
9354  ;
9355  return 0;
9356}
9357_ACEOF
9358if ac_fn_c_try_compile "$LINENO"; then :
9359  ac_cv_header_stdc=yes
9360else
9361  ac_cv_header_stdc=no
9362fi
9363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9364
9365if test $ac_cv_header_stdc = yes; then
9366  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368/* end confdefs.h.  */
9369#include <string.h>
9370
9371_ACEOF
9372if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9373  $EGREP "memchr" >/dev/null 2>&1; then :
9374
9375else
9376  ac_cv_header_stdc=no
9377fi
9378rm -f conftest*
9379
9380fi
9381
9382if test $ac_cv_header_stdc = yes; then
9383  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9384  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385/* end confdefs.h.  */
9386#include <stdlib.h>
9387
9388_ACEOF
9389if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9390  $EGREP "free" >/dev/null 2>&1; then :
9391
9392else
9393  ac_cv_header_stdc=no
9394fi
9395rm -f conftest*
9396
9397fi
9398
9399if test $ac_cv_header_stdc = yes; then
9400  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9401  if test "$cross_compiling" = yes; then :
9402  :
9403else
9404  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405/* end confdefs.h.  */
9406#include <ctype.h>
9407#include <stdlib.h>
9408#if ((' ' & 0x0FF) == 0x020)
9409# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9410# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9411#else
9412# define ISLOWER(c) \
9413		   (('a' <= (c) && (c) <= 'i') \
9414		     || ('j' <= (c) && (c) <= 'r') \
9415		     || ('s' <= (c) && (c) <= 'z'))
9416# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9417#endif
9418
9419#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9420int
9421main ()
9422{
9423  int i;
9424  for (i = 0; i < 256; i++)
9425    if (XOR (islower (i), ISLOWER (i))
9426	|| toupper (i) != TOUPPER (i))
9427      return 2;
9428  return 0;
9429}
9430_ACEOF
9431if ac_fn_c_try_run "$LINENO"; then :
9432
9433else
9434  ac_cv_header_stdc=no
9435fi
9436rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9437  conftest.$ac_objext conftest.beam conftest.$ac_ext
9438fi
9439
9440fi
9441fi
9442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9443$as_echo "$ac_cv_header_stdc" >&6; }
9444if test $ac_cv_header_stdc = yes; then
9445
9446$as_echo "#define STDC_HEADERS 1" >>confdefs.h
9447
9448fi
9449
9450# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9451for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9452		  inttypes.h stdint.h unistd.h
9453do :
9454  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9455ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9456"
9457if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9458  cat >>confdefs.h <<_ACEOF
9459#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9460_ACEOF
9461
9462fi
9463
9464done
9465
9466
9467for ac_header in dlfcn.h
9468do :
9469  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9470"
9471if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9472  cat >>confdefs.h <<_ACEOF
9473#define HAVE_DLFCN_H 1
9474_ACEOF
9475
9476fi
9477
9478done
9479
9480
9481
9482
9483func_stripname_cnf ()
9484{
9485  case $2 in
9486  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9487  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9488  esac
9489} # func_stripname_cnf
9490
9491
9492
9493
9494
9495# Set options
9496
9497
9498
9499        enable_dlopen=no
9500
9501
9502
9503            # Check whether --enable-shared was given.
9504if test "${enable_shared+set}" = set; then :
9505  enableval=$enable_shared; p=${PACKAGE-default}
9506    case $enableval in
9507    yes) enable_shared=yes ;;
9508    no) enable_shared=no ;;
9509    *)
9510      enable_shared=no
9511      # Look at the argument we got.  We use all the common list separators.
9512      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9513      for pkg in $enableval; do
9514	IFS=$lt_save_ifs
9515	if test "X$pkg" = "X$p"; then
9516	  enable_shared=yes
9517	fi
9518      done
9519      IFS=$lt_save_ifs
9520      ;;
9521    esac
9522else
9523  enable_shared=yes
9524fi
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534  # Check whether --enable-static was given.
9535if test "${enable_static+set}" = set; then :
9536  enableval=$enable_static; p=${PACKAGE-default}
9537    case $enableval in
9538    yes) enable_static=yes ;;
9539    no) enable_static=no ;;
9540    *)
9541     enable_static=no
9542      # Look at the argument we got.  We use all the common list separators.
9543      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9544      for pkg in $enableval; do
9545	IFS=$lt_save_ifs
9546	if test "X$pkg" = "X$p"; then
9547	  enable_static=yes
9548	fi
9549      done
9550      IFS=$lt_save_ifs
9551      ;;
9552    esac
9553else
9554  enable_static=yes
9555fi
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566# Check whether --with-pic was given.
9567if test "${with_pic+set}" = set; then :
9568  withval=$with_pic; lt_p=${PACKAGE-default}
9569    case $withval in
9570    yes|no) pic_mode=$withval ;;
9571    *)
9572      pic_mode=default
9573      # Look at the argument we got.  We use all the common list separators.
9574      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9575      for lt_pkg in $withval; do
9576	IFS=$lt_save_ifs
9577	if test "X$lt_pkg" = "X$lt_p"; then
9578	  pic_mode=yes
9579	fi
9580      done
9581      IFS=$lt_save_ifs
9582      ;;
9583    esac
9584else
9585  pic_mode=default
9586fi
9587
9588
9589
9590
9591
9592
9593
9594
9595  # Check whether --enable-fast-install was given.
9596if test "${enable_fast_install+set}" = set; then :
9597  enableval=$enable_fast_install; p=${PACKAGE-default}
9598    case $enableval in
9599    yes) enable_fast_install=yes ;;
9600    no) enable_fast_install=no ;;
9601    *)
9602      enable_fast_install=no
9603      # Look at the argument we got.  We use all the common list separators.
9604      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9605      for pkg in $enableval; do
9606	IFS=$lt_save_ifs
9607	if test "X$pkg" = "X$p"; then
9608	  enable_fast_install=yes
9609	fi
9610      done
9611      IFS=$lt_save_ifs
9612      ;;
9613    esac
9614else
9615  enable_fast_install=yes
9616fi
9617
9618
9619
9620
9621
9622
9623
9624
9625  shared_archive_member_spec=
9626case $host,$enable_shared in
9627power*-*-aix[5-9]*,yes)
9628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9629$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9630
9631# Check whether --with-aix-soname was given.
9632if test "${with_aix_soname+set}" = set; then :
9633  withval=$with_aix_soname; case $withval in
9634    aix|svr4|both)
9635      ;;
9636    *)
9637      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9638      ;;
9639    esac
9640    lt_cv_with_aix_soname=$with_aix_soname
9641else
9642  if ${lt_cv_with_aix_soname+:} false; then :
9643  $as_echo_n "(cached) " >&6
9644else
9645  lt_cv_with_aix_soname=aix
9646fi
9647
9648    with_aix_soname=$lt_cv_with_aix_soname
9649fi
9650
9651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9652$as_echo "$with_aix_soname" >&6; }
9653  if test aix != "$with_aix_soname"; then
9654    # For the AIX way of multilib, we name the shared archive member
9655    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9656    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9657    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9658    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9659    if test 64 = "${OBJECT_MODE-32}"; then
9660      shared_archive_member_spec=shr_64
9661    else
9662      shared_archive_member_spec=shr
9663    fi
9664  fi
9665  ;;
9666*)
9667  with_aix_soname=aix
9668  ;;
9669esac
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680# This can be used to rebuild libtool when needed
9681LIBTOOL_DEPS=$ltmain
9682
9683# Always use our own libtool.
9684LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715test -z "$LN_S" && LN_S="ln -s"
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730if test -n "${ZSH_VERSION+set}"; then
9731   setopt NO_GLOB_SUBST
9732fi
9733
9734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9735$as_echo_n "checking for objdir... " >&6; }
9736if ${lt_cv_objdir+:} false; then :
9737  $as_echo_n "(cached) " >&6
9738else
9739  rm -f .libs 2>/dev/null
9740mkdir .libs 2>/dev/null
9741if test -d .libs; then
9742  lt_cv_objdir=.libs
9743else
9744  # MS-DOS does not allow filenames that begin with a dot.
9745  lt_cv_objdir=_libs
9746fi
9747rmdir .libs 2>/dev/null
9748fi
9749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9750$as_echo "$lt_cv_objdir" >&6; }
9751objdir=$lt_cv_objdir
9752
9753
9754
9755
9756
9757cat >>confdefs.h <<_ACEOF
9758#define LT_OBJDIR "$lt_cv_objdir/"
9759_ACEOF
9760
9761
9762
9763
9764case $host_os in
9765aix3*)
9766  # AIX sometimes has problems with the GCC collect2 program.  For some
9767  # reason, if we set the COLLECT_NAMES environment variable, the problems
9768  # vanish in a puff of smoke.
9769  if test set != "${COLLECT_NAMES+set}"; then
9770    COLLECT_NAMES=
9771    export COLLECT_NAMES
9772  fi
9773  ;;
9774esac
9775
9776# Global variables:
9777ofile=libtool
9778can_build_shared=yes
9779
9780# All known linkers require a '.a' archive for static linking (except MSVC,
9781# which needs '.lib').
9782libext=a
9783
9784with_gnu_ld=$lt_cv_prog_gnu_ld
9785
9786old_CC=$CC
9787old_CFLAGS=$CFLAGS
9788
9789# Set sane defaults for various variables
9790test -z "$CC" && CC=cc
9791test -z "$LTCC" && LTCC=$CC
9792test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9793test -z "$LD" && LD=ld
9794test -z "$ac_objext" && ac_objext=o
9795
9796func_cc_basename $compiler
9797cc_basename=$func_cc_basename_result
9798
9799
9800# Only perform the check for file, if the check method requires it
9801test -z "$MAGIC_CMD" && MAGIC_CMD=file
9802case $deplibs_check_method in
9803file_magic*)
9804  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9805    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9806$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9807if ${lt_cv_path_MAGIC_CMD+:} false; then :
9808  $as_echo_n "(cached) " >&6
9809else
9810  case $MAGIC_CMD in
9811[\\/*] |  ?:[\\/]*)
9812  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9813  ;;
9814*)
9815  lt_save_MAGIC_CMD=$MAGIC_CMD
9816  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9817  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9818  for ac_dir in $ac_dummy; do
9819    IFS=$lt_save_ifs
9820    test -z "$ac_dir" && ac_dir=.
9821    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9822      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9823      if test -n "$file_magic_test_file"; then
9824	case $deplibs_check_method in
9825	"file_magic "*)
9826	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9827	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9828	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9829	    $EGREP "$file_magic_regex" > /dev/null; then
9830	    :
9831	  else
9832	    cat <<_LT_EOF 1>&2
9833
9834*** Warning: the command libtool uses to detect shared libraries,
9835*** $file_magic_cmd, produces output that libtool cannot recognize.
9836*** The result is that libtool may fail to recognize shared libraries
9837*** as such.  This will affect the creation of libtool libraries that
9838*** depend on shared libraries, but programs linked with such libtool
9839*** libraries will work regardless of this problem.  Nevertheless, you
9840*** may want to report the problem to your system manager and/or to
9841*** bug-libtool@gnu.org
9842
9843_LT_EOF
9844	  fi ;;
9845	esac
9846      fi
9847      break
9848    fi
9849  done
9850  IFS=$lt_save_ifs
9851  MAGIC_CMD=$lt_save_MAGIC_CMD
9852  ;;
9853esac
9854fi
9855
9856MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9857if test -n "$MAGIC_CMD"; then
9858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9859$as_echo "$MAGIC_CMD" >&6; }
9860else
9861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9862$as_echo "no" >&6; }
9863fi
9864
9865
9866
9867
9868
9869if test -z "$lt_cv_path_MAGIC_CMD"; then
9870  if test -n "$ac_tool_prefix"; then
9871    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9872$as_echo_n "checking for file... " >&6; }
9873if ${lt_cv_path_MAGIC_CMD+:} false; then :
9874  $as_echo_n "(cached) " >&6
9875else
9876  case $MAGIC_CMD in
9877[\\/*] |  ?:[\\/]*)
9878  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9879  ;;
9880*)
9881  lt_save_MAGIC_CMD=$MAGIC_CMD
9882  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9883  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9884  for ac_dir in $ac_dummy; do
9885    IFS=$lt_save_ifs
9886    test -z "$ac_dir" && ac_dir=.
9887    if test -f "$ac_dir/file"; then
9888      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9889      if test -n "$file_magic_test_file"; then
9890	case $deplibs_check_method in
9891	"file_magic "*)
9892	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9893	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9894	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9895	    $EGREP "$file_magic_regex" > /dev/null; then
9896	    :
9897	  else
9898	    cat <<_LT_EOF 1>&2
9899
9900*** Warning: the command libtool uses to detect shared libraries,
9901*** $file_magic_cmd, produces output that libtool cannot recognize.
9902*** The result is that libtool may fail to recognize shared libraries
9903*** as such.  This will affect the creation of libtool libraries that
9904*** depend on shared libraries, but programs linked with such libtool
9905*** libraries will work regardless of this problem.  Nevertheless, you
9906*** may want to report the problem to your system manager and/or to
9907*** bug-libtool@gnu.org
9908
9909_LT_EOF
9910	  fi ;;
9911	esac
9912      fi
9913      break
9914    fi
9915  done
9916  IFS=$lt_save_ifs
9917  MAGIC_CMD=$lt_save_MAGIC_CMD
9918  ;;
9919esac
9920fi
9921
9922MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9923if test -n "$MAGIC_CMD"; then
9924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9925$as_echo "$MAGIC_CMD" >&6; }
9926else
9927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9928$as_echo "no" >&6; }
9929fi
9930
9931
9932  else
9933    MAGIC_CMD=:
9934  fi
9935fi
9936
9937  fi
9938  ;;
9939esac
9940
9941# Use C for the default configuration in the libtool script
9942
9943lt_save_CC=$CC
9944ac_ext=c
9945ac_cpp='$CPP $CPPFLAGS'
9946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9948ac_compiler_gnu=$ac_cv_c_compiler_gnu
9949
9950
9951# Source file extension for C test sources.
9952ac_ext=c
9953
9954# Object file extension for compiled C test sources.
9955objext=o
9956objext=$objext
9957
9958# Code to be used in simple compile tests
9959lt_simple_compile_test_code="int some_variable = 0;"
9960
9961# Code to be used in simple link tests
9962lt_simple_link_test_code='int main(){return(0);}'
9963
9964
9965
9966
9967
9968
9969
9970# If no C compiler was specified, use CC.
9971LTCC=${LTCC-"$CC"}
9972
9973# If no C compiler flags were specified, use CFLAGS.
9974LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9975
9976# Allow CC to be a program name with arguments.
9977compiler=$CC
9978
9979# Save the default compiler, since it gets overwritten when the other
9980# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9981compiler_DEFAULT=$CC
9982
9983# save warnings/boilerplate of simple test code
9984ac_outfile=conftest.$ac_objext
9985echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9986eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9987_lt_compiler_boilerplate=`cat conftest.err`
9988$RM conftest*
9989
9990ac_outfile=conftest.$ac_objext
9991echo "$lt_simple_link_test_code" >conftest.$ac_ext
9992eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9993_lt_linker_boilerplate=`cat conftest.err`
9994$RM -r conftest*
9995
9996
9997## CAVEAT EMPTOR:
9998## There is no encapsulation within the following macros, do not change
9999## the running order or otherwise move them around unless you know exactly
10000## what you are doing...
10001if test -n "$compiler"; then
10002
10003lt_prog_compiler_no_builtin_flag=
10004
10005if test yes = "$GCC"; then
10006  case $cc_basename in
10007  nvcc*)
10008    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10009  *)
10010    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10011  esac
10012
10013  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10014$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10015if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10016  $as_echo_n "(cached) " >&6
10017else
10018  lt_cv_prog_compiler_rtti_exceptions=no
10019   ac_outfile=conftest.$ac_objext
10020   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10021   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10022   # Insert the option either (1) after the last *FLAGS variable, or
10023   # (2) before a word containing "conftest.", or (3) at the end.
10024   # Note that $ac_compile itself does not contain backslashes and begins
10025   # with a dollar sign (not a hyphen), so the echo should work correctly.
10026   # The option is referenced via a variable to avoid confusing sed.
10027   lt_compile=`echo "$ac_compile" | $SED \
10028   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10029   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10030   -e 's:$: $lt_compiler_flag:'`
10031   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10032   (eval "$lt_compile" 2>conftest.err)
10033   ac_status=$?
10034   cat conftest.err >&5
10035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036   if (exit $ac_status) && test -s "$ac_outfile"; then
10037     # The compiler can only warn and ignore the option if not recognized
10038     # So say no if there are warnings other than the usual output.
10039     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10040     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10041     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10042       lt_cv_prog_compiler_rtti_exceptions=yes
10043     fi
10044   fi
10045   $RM conftest*
10046
10047fi
10048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10049$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10050
10051if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10052    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10053else
10054    :
10055fi
10056
10057fi
10058
10059
10060
10061
10062
10063
10064  lt_prog_compiler_wl=
10065lt_prog_compiler_pic=
10066lt_prog_compiler_static=
10067
10068
10069  if test yes = "$GCC"; then
10070    lt_prog_compiler_wl='-Wl,'
10071    lt_prog_compiler_static='-static'
10072
10073    case $host_os in
10074      aix*)
10075      # All AIX code is PIC.
10076      if test ia64 = "$host_cpu"; then
10077	# AIX 5 now supports IA64 processor
10078	lt_prog_compiler_static='-Bstatic'
10079      fi
10080      lt_prog_compiler_pic='-fPIC'
10081      ;;
10082
10083    amigaos*)
10084      case $host_cpu in
10085      powerpc)
10086            # see comment about AmigaOS4 .so support
10087            lt_prog_compiler_pic='-fPIC'
10088        ;;
10089      m68k)
10090            # FIXME: we need at least 68020 code to build shared libraries, but
10091            # adding the '-m68020' flag to GCC prevents building anything better,
10092            # like '-m68040'.
10093            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10094        ;;
10095      esac
10096      ;;
10097
10098    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10099      # PIC is the default for these OSes.
10100      ;;
10101
10102    mingw* | cygwin* | pw32* | os2* | cegcc*)
10103      # This hack is so that the source file can tell whether it is being
10104      # built for inclusion in a dll (and should export symbols for example).
10105      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10106      # (--disable-auto-import) libraries
10107      lt_prog_compiler_pic='-DDLL_EXPORT'
10108      case $host_os in
10109      os2*)
10110	lt_prog_compiler_static='$wl-static'
10111	;;
10112      esac
10113      ;;
10114
10115    darwin* | rhapsody*)
10116      # PIC is the default on this platform
10117      # Common symbols not allowed in MH_DYLIB files
10118      lt_prog_compiler_pic='-fno-common'
10119      ;;
10120
10121    haiku*)
10122      # PIC is the default for Haiku.
10123      # The "-static" flag exists, but is broken.
10124      lt_prog_compiler_static=
10125      ;;
10126
10127    hpux*)
10128      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10129      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10130      # sets the default TLS model and affects inlining.
10131      case $host_cpu in
10132      hppa*64*)
10133	# +Z the default
10134	;;
10135      *)
10136	lt_prog_compiler_pic='-fPIC'
10137	;;
10138      esac
10139      ;;
10140
10141    interix[3-9]*)
10142      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10143      # Instead, we relocate shared libraries at runtime.
10144      ;;
10145
10146    msdosdjgpp*)
10147      # Just because we use GCC doesn't mean we suddenly get shared libraries
10148      # on systems that don't support them.
10149      lt_prog_compiler_can_build_shared=no
10150      enable_shared=no
10151      ;;
10152
10153    *nto* | *qnx*)
10154      # QNX uses GNU C++, but need to define -shared option too, otherwise
10155      # it will coredump.
10156      lt_prog_compiler_pic='-fPIC -shared'
10157      ;;
10158
10159    sysv4*MP*)
10160      if test -d /usr/nec; then
10161	lt_prog_compiler_pic=-Kconform_pic
10162      fi
10163      ;;
10164
10165    *)
10166      lt_prog_compiler_pic='-fPIC'
10167      ;;
10168    esac
10169
10170    case $cc_basename in
10171    nvcc*) # Cuda Compiler Driver 2.2
10172      lt_prog_compiler_wl='-Xlinker '
10173      if test -n "$lt_prog_compiler_pic"; then
10174        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10175      fi
10176      ;;
10177    esac
10178  else
10179    # PORTME Check for flag to pass linker flags through the system compiler.
10180    case $host_os in
10181    aix*)
10182      lt_prog_compiler_wl='-Wl,'
10183      if test ia64 = "$host_cpu"; then
10184	# AIX 5 now supports IA64 processor
10185	lt_prog_compiler_static='-Bstatic'
10186      else
10187	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10188      fi
10189      ;;
10190
10191    darwin* | rhapsody*)
10192      # PIC is the default on this platform
10193      # Common symbols not allowed in MH_DYLIB files
10194      lt_prog_compiler_pic='-fno-common'
10195      case $cc_basename in
10196      nagfor*)
10197        # NAG Fortran compiler
10198        lt_prog_compiler_wl='-Wl,-Wl,,'
10199        lt_prog_compiler_pic='-PIC'
10200        lt_prog_compiler_static='-Bstatic'
10201        ;;
10202      esac
10203      ;;
10204
10205    mingw* | cygwin* | pw32* | os2* | cegcc*)
10206      # This hack is so that the source file can tell whether it is being
10207      # built for inclusion in a dll (and should export symbols for example).
10208      lt_prog_compiler_pic='-DDLL_EXPORT'
10209      case $host_os in
10210      os2*)
10211	lt_prog_compiler_static='$wl-static'
10212	;;
10213      esac
10214      ;;
10215
10216    hpux9* | hpux10* | hpux11*)
10217      lt_prog_compiler_wl='-Wl,'
10218      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10219      # not for PA HP-UX.
10220      case $host_cpu in
10221      hppa*64*|ia64*)
10222	# +Z the default
10223	;;
10224      *)
10225	lt_prog_compiler_pic='+Z'
10226	;;
10227      esac
10228      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10229      lt_prog_compiler_static='$wl-a ${wl}archive'
10230      ;;
10231
10232    irix5* | irix6* | nonstopux*)
10233      lt_prog_compiler_wl='-Wl,'
10234      # PIC (with -KPIC) is the default.
10235      lt_prog_compiler_static='-non_shared'
10236      ;;
10237
10238    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10239      case $cc_basename in
10240      # old Intel for x86_64, which still supported -KPIC.
10241      ecc*)
10242	lt_prog_compiler_wl='-Wl,'
10243	lt_prog_compiler_pic='-KPIC'
10244	lt_prog_compiler_static='-static'
10245        ;;
10246      # icc used to be incompatible with GCC.
10247      # ICC 10 doesn't accept -KPIC any more.
10248      icc* | ifort*)
10249	lt_prog_compiler_wl='-Wl,'
10250	lt_prog_compiler_pic='-fPIC'
10251	lt_prog_compiler_static='-static'
10252        ;;
10253      # Lahey Fortran 8.1.
10254      lf95*)
10255	lt_prog_compiler_wl='-Wl,'
10256	lt_prog_compiler_pic='--shared'
10257	lt_prog_compiler_static='--static'
10258	;;
10259      nagfor*)
10260	# NAG Fortran compiler
10261	lt_prog_compiler_wl='-Wl,-Wl,,'
10262	lt_prog_compiler_pic='-PIC'
10263	lt_prog_compiler_static='-Bstatic'
10264	;;
10265      tcc*)
10266	# Fabrice Bellard et al's Tiny C Compiler
10267	lt_prog_compiler_wl='-Wl,'
10268	lt_prog_compiler_pic='-fPIC'
10269	lt_prog_compiler_static='-static'
10270	;;
10271      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10272        # Portland Group compilers (*not* the Pentium gcc compiler,
10273	# which looks to be a dead project)
10274	lt_prog_compiler_wl='-Wl,'
10275	lt_prog_compiler_pic='-fpic'
10276	lt_prog_compiler_static='-Bstatic'
10277        ;;
10278      ccc*)
10279        lt_prog_compiler_wl='-Wl,'
10280        # All Alpha code is PIC.
10281        lt_prog_compiler_static='-non_shared'
10282        ;;
10283      xl* | bgxl* | bgf* | mpixl*)
10284	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10285	lt_prog_compiler_wl='-Wl,'
10286	lt_prog_compiler_pic='-qpic'
10287	lt_prog_compiler_static='-qstaticlink'
10288	;;
10289      *)
10290	case `$CC -V 2>&1 | sed 5q` in
10291	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10292	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10293	  lt_prog_compiler_pic='-KPIC'
10294	  lt_prog_compiler_static='-Bstatic'
10295	  lt_prog_compiler_wl=''
10296	  ;;
10297	*Sun\ F* | *Sun*Fortran*)
10298	  lt_prog_compiler_pic='-KPIC'
10299	  lt_prog_compiler_static='-Bstatic'
10300	  lt_prog_compiler_wl='-Qoption ld '
10301	  ;;
10302	*Sun\ C*)
10303	  # Sun C 5.9
10304	  lt_prog_compiler_pic='-KPIC'
10305	  lt_prog_compiler_static='-Bstatic'
10306	  lt_prog_compiler_wl='-Wl,'
10307	  ;;
10308        *Intel*\ [CF]*Compiler*)
10309	  lt_prog_compiler_wl='-Wl,'
10310	  lt_prog_compiler_pic='-fPIC'
10311	  lt_prog_compiler_static='-static'
10312	  ;;
10313	*Portland\ Group*)
10314	  lt_prog_compiler_wl='-Wl,'
10315	  lt_prog_compiler_pic='-fpic'
10316	  lt_prog_compiler_static='-Bstatic'
10317	  ;;
10318	esac
10319	;;
10320      esac
10321      ;;
10322
10323    newsos6)
10324      lt_prog_compiler_pic='-KPIC'
10325      lt_prog_compiler_static='-Bstatic'
10326      ;;
10327
10328    *nto* | *qnx*)
10329      # QNX uses GNU C++, but need to define -shared option too, otherwise
10330      # it will coredump.
10331      lt_prog_compiler_pic='-fPIC -shared'
10332      ;;
10333
10334    osf3* | osf4* | osf5*)
10335      lt_prog_compiler_wl='-Wl,'
10336      # All OSF/1 code is PIC.
10337      lt_prog_compiler_static='-non_shared'
10338      ;;
10339
10340    rdos*)
10341      lt_prog_compiler_static='-non_shared'
10342      ;;
10343
10344    solaris*)
10345      lt_prog_compiler_pic='-KPIC'
10346      lt_prog_compiler_static='-Bstatic'
10347      case $cc_basename in
10348      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10349	lt_prog_compiler_wl='-Qoption ld ';;
10350      *)
10351	lt_prog_compiler_wl='-Wl,';;
10352      esac
10353      ;;
10354
10355    sunos4*)
10356      lt_prog_compiler_wl='-Qoption ld '
10357      lt_prog_compiler_pic='-PIC'
10358      lt_prog_compiler_static='-Bstatic'
10359      ;;
10360
10361    sysv4 | sysv4.2uw2* | sysv4.3*)
10362      lt_prog_compiler_wl='-Wl,'
10363      lt_prog_compiler_pic='-KPIC'
10364      lt_prog_compiler_static='-Bstatic'
10365      ;;
10366
10367    sysv4*MP*)
10368      if test -d /usr/nec; then
10369	lt_prog_compiler_pic='-Kconform_pic'
10370	lt_prog_compiler_static='-Bstatic'
10371      fi
10372      ;;
10373
10374    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10375      lt_prog_compiler_wl='-Wl,'
10376      lt_prog_compiler_pic='-KPIC'
10377      lt_prog_compiler_static='-Bstatic'
10378      ;;
10379
10380    unicos*)
10381      lt_prog_compiler_wl='-Wl,'
10382      lt_prog_compiler_can_build_shared=no
10383      ;;
10384
10385    uts4*)
10386      lt_prog_compiler_pic='-pic'
10387      lt_prog_compiler_static='-Bstatic'
10388      ;;
10389
10390    *)
10391      lt_prog_compiler_can_build_shared=no
10392      ;;
10393    esac
10394  fi
10395
10396case $host_os in
10397  # For platforms that do not support PIC, -DPIC is meaningless:
10398  *djgpp*)
10399    lt_prog_compiler_pic=
10400    ;;
10401  *)
10402    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10403    ;;
10404esac
10405
10406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10407$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10408if ${lt_cv_prog_compiler_pic+:} false; then :
10409  $as_echo_n "(cached) " >&6
10410else
10411  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10412fi
10413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10414$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10415lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10416
10417#
10418# Check to make sure the PIC flag actually works.
10419#
10420if test -n "$lt_prog_compiler_pic"; then
10421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10422$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10423if ${lt_cv_prog_compiler_pic_works+:} false; then :
10424  $as_echo_n "(cached) " >&6
10425else
10426  lt_cv_prog_compiler_pic_works=no
10427   ac_outfile=conftest.$ac_objext
10428   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10429   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10430   # Insert the option either (1) after the last *FLAGS variable, or
10431   # (2) before a word containing "conftest.", or (3) at the end.
10432   # Note that $ac_compile itself does not contain backslashes and begins
10433   # with a dollar sign (not a hyphen), so the echo should work correctly.
10434   # The option is referenced via a variable to avoid confusing sed.
10435   lt_compile=`echo "$ac_compile" | $SED \
10436   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10437   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10438   -e 's:$: $lt_compiler_flag:'`
10439   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10440   (eval "$lt_compile" 2>conftest.err)
10441   ac_status=$?
10442   cat conftest.err >&5
10443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444   if (exit $ac_status) && test -s "$ac_outfile"; then
10445     # The compiler can only warn and ignore the option if not recognized
10446     # So say no if there are warnings other than the usual output.
10447     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10448     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10449     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10450       lt_cv_prog_compiler_pic_works=yes
10451     fi
10452   fi
10453   $RM conftest*
10454
10455fi
10456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10457$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10458
10459if test yes = "$lt_cv_prog_compiler_pic_works"; then
10460    case $lt_prog_compiler_pic in
10461     "" | " "*) ;;
10462     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10463     esac
10464else
10465    lt_prog_compiler_pic=
10466     lt_prog_compiler_can_build_shared=no
10467fi
10468
10469fi
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481#
10482# Check to make sure the static flag actually works.
10483#
10484wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10486$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10487if ${lt_cv_prog_compiler_static_works+:} false; then :
10488  $as_echo_n "(cached) " >&6
10489else
10490  lt_cv_prog_compiler_static_works=no
10491   save_LDFLAGS=$LDFLAGS
10492   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10493   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10494   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10495     # The linker can only warn and ignore the option if not recognized
10496     # So say no if there are warnings
10497     if test -s conftest.err; then
10498       # Append any errors to the config.log.
10499       cat conftest.err 1>&5
10500       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10501       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10502       if diff conftest.exp conftest.er2 >/dev/null; then
10503         lt_cv_prog_compiler_static_works=yes
10504       fi
10505     else
10506       lt_cv_prog_compiler_static_works=yes
10507     fi
10508   fi
10509   $RM -r conftest*
10510   LDFLAGS=$save_LDFLAGS
10511
10512fi
10513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10514$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10515
10516if test yes = "$lt_cv_prog_compiler_static_works"; then
10517    :
10518else
10519    lt_prog_compiler_static=
10520fi
10521
10522
10523
10524
10525
10526
10527
10528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10529$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10530if ${lt_cv_prog_compiler_c_o+:} false; then :
10531  $as_echo_n "(cached) " >&6
10532else
10533  lt_cv_prog_compiler_c_o=no
10534   $RM -r conftest 2>/dev/null
10535   mkdir conftest
10536   cd conftest
10537   mkdir out
10538   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10539
10540   lt_compiler_flag="-o out/conftest2.$ac_objext"
10541   # Insert the option either (1) after the last *FLAGS variable, or
10542   # (2) before a word containing "conftest.", or (3) at the end.
10543   # Note that $ac_compile itself does not contain backslashes and begins
10544   # with a dollar sign (not a hyphen), so the echo should work correctly.
10545   lt_compile=`echo "$ac_compile" | $SED \
10546   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10547   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10548   -e 's:$: $lt_compiler_flag:'`
10549   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10550   (eval "$lt_compile" 2>out/conftest.err)
10551   ac_status=$?
10552   cat out/conftest.err >&5
10553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10555   then
10556     # The compiler can only warn and ignore the option if not recognized
10557     # So say no if there are warnings
10558     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10559     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10560     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10561       lt_cv_prog_compiler_c_o=yes
10562     fi
10563   fi
10564   chmod u+w . 2>&5
10565   $RM conftest*
10566   # SGI C++ compiler will create directory out/ii_files/ for
10567   # template instantiation
10568   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10569   $RM out/* && rmdir out
10570   cd ..
10571   $RM -r conftest
10572   $RM conftest*
10573
10574fi
10575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10576$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10577
10578
10579
10580
10581
10582
10583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10584$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10585if ${lt_cv_prog_compiler_c_o+:} false; then :
10586  $as_echo_n "(cached) " >&6
10587else
10588  lt_cv_prog_compiler_c_o=no
10589   $RM -r conftest 2>/dev/null
10590   mkdir conftest
10591   cd conftest
10592   mkdir out
10593   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10594
10595   lt_compiler_flag="-o out/conftest2.$ac_objext"
10596   # Insert the option either (1) after the last *FLAGS variable, or
10597   # (2) before a word containing "conftest.", or (3) at the end.
10598   # Note that $ac_compile itself does not contain backslashes and begins
10599   # with a dollar sign (not a hyphen), so the echo should work correctly.
10600   lt_compile=`echo "$ac_compile" | $SED \
10601   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10602   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10603   -e 's:$: $lt_compiler_flag:'`
10604   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10605   (eval "$lt_compile" 2>out/conftest.err)
10606   ac_status=$?
10607   cat out/conftest.err >&5
10608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10610   then
10611     # The compiler can only warn and ignore the option if not recognized
10612     # So say no if there are warnings
10613     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10614     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10615     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10616       lt_cv_prog_compiler_c_o=yes
10617     fi
10618   fi
10619   chmod u+w . 2>&5
10620   $RM conftest*
10621   # SGI C++ compiler will create directory out/ii_files/ for
10622   # template instantiation
10623   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10624   $RM out/* && rmdir out
10625   cd ..
10626   $RM -r conftest
10627   $RM conftest*
10628
10629fi
10630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10631$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10632
10633
10634
10635
10636hard_links=nottested
10637if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10638  # do not overwrite the value of need_locks provided by the user
10639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10640$as_echo_n "checking if we can lock with hard links... " >&6; }
10641  hard_links=yes
10642  $RM conftest*
10643  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10644  touch conftest.a
10645  ln conftest.a conftest.b 2>&5 || hard_links=no
10646  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10648$as_echo "$hard_links" >&6; }
10649  if test no = "$hard_links"; then
10650    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10651$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10652    need_locks=warn
10653  fi
10654else
10655  need_locks=no
10656fi
10657
10658
10659
10660
10661
10662
10663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10664$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10665
10666  runpath_var=
10667  allow_undefined_flag=
10668  always_export_symbols=no
10669  archive_cmds=
10670  archive_expsym_cmds=
10671  compiler_needs_object=no
10672  enable_shared_with_static_runtimes=no
10673  export_dynamic_flag_spec=
10674  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10675  hardcode_automatic=no
10676  hardcode_direct=no
10677  hardcode_direct_absolute=no
10678  hardcode_libdir_flag_spec=
10679  hardcode_libdir_separator=
10680  hardcode_minus_L=no
10681  hardcode_shlibpath_var=unsupported
10682  inherit_rpath=no
10683  link_all_deplibs=unknown
10684  module_cmds=
10685  module_expsym_cmds=
10686  old_archive_from_new_cmds=
10687  old_archive_from_expsyms_cmds=
10688  thread_safe_flag_spec=
10689  whole_archive_flag_spec=
10690  # include_expsyms should be a list of space-separated symbols to be *always*
10691  # included in the symbol list
10692  include_expsyms=
10693  # exclude_expsyms can be an extended regexp of symbols to exclude
10694  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10695  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10696  # as well as any symbol that contains 'd'.
10697  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10698  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10699  # platforms (ab)use it in PIC code, but their linkers get confused if
10700  # the symbol is explicitly referenced.  Since portable code cannot
10701  # rely on this symbol name, it's probably fine to never include it in
10702  # preloaded symbol tables.
10703  # Exclude shared library initialization/finalization symbols.
10704  extract_expsyms_cmds=
10705
10706  case $host_os in
10707  cygwin* | mingw* | pw32* | cegcc*)
10708    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10709    # When not using gcc, we currently assume that we are using
10710    # Microsoft Visual C++.
10711    if test yes != "$GCC"; then
10712      with_gnu_ld=no
10713    fi
10714    ;;
10715  interix*)
10716    # we just hope/assume this is gcc and not c89 (= MSVC++)
10717    with_gnu_ld=yes
10718    ;;
10719  openbsd* | bitrig*)
10720    with_gnu_ld=no
10721    ;;
10722  esac
10723
10724  ld_shlibs=yes
10725
10726  # On some targets, GNU ld is compatible enough with the native linker
10727  # that we're better off using the native interface for both.
10728  lt_use_gnu_ld_interface=no
10729  if test yes = "$with_gnu_ld"; then
10730    case $host_os in
10731      aix*)
10732	# The AIX port of GNU ld has always aspired to compatibility
10733	# with the native linker.  However, as the warning in the GNU ld
10734	# block says, versions before 2.19.5* couldn't really create working
10735	# shared libraries, regardless of the interface used.
10736	case `$LD -v 2>&1` in
10737	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10738	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10739	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10740	  *)
10741	    lt_use_gnu_ld_interface=yes
10742	    ;;
10743	esac
10744	;;
10745      *)
10746	lt_use_gnu_ld_interface=yes
10747	;;
10748    esac
10749  fi
10750
10751  if test yes = "$lt_use_gnu_ld_interface"; then
10752    # If archive_cmds runs LD, not CC, wlarc should be empty
10753    wlarc='$wl'
10754
10755    # Set some defaults for GNU ld with shared library support. These
10756    # are reset later if shared libraries are not supported. Putting them
10757    # here allows them to be overridden if necessary.
10758    runpath_var=LD_RUN_PATH
10759    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10760    export_dynamic_flag_spec='$wl--export-dynamic'
10761    # ancient GNU ld didn't support --whole-archive et. al.
10762    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10763      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10764    else
10765      whole_archive_flag_spec=
10766    fi
10767    supports_anon_versioning=no
10768    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10769      *GNU\ gold*) supports_anon_versioning=yes ;;
10770      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10771      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10772      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10773      *\ 2.11.*) ;; # other 2.11 versions
10774      *) supports_anon_versioning=yes ;;
10775    esac
10776
10777    # See if GNU ld supports shared libraries.
10778    case $host_os in
10779    aix[3-9]*)
10780      # On AIX/PPC, the GNU linker is very broken
10781      if test ia64 != "$host_cpu"; then
10782	ld_shlibs=no
10783	cat <<_LT_EOF 1>&2
10784
10785*** Warning: the GNU linker, at least up to release 2.19, is reported
10786*** to be unable to reliably create shared libraries on AIX.
10787*** Therefore, libtool is disabling shared libraries support.  If you
10788*** really care for shared libraries, you may want to install binutils
10789*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10790*** You will then need to restart the configuration process.
10791
10792_LT_EOF
10793      fi
10794      ;;
10795
10796    amigaos*)
10797      case $host_cpu in
10798      powerpc)
10799            # see comment about AmigaOS4 .so support
10800            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10801            archive_expsym_cmds=''
10802        ;;
10803      m68k)
10804            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)'
10805            hardcode_libdir_flag_spec='-L$libdir'
10806            hardcode_minus_L=yes
10807        ;;
10808      esac
10809      ;;
10810
10811    beos*)
10812      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10813	allow_undefined_flag=unsupported
10814	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10815	# support --undefined.  This deserves some investigation.  FIXME
10816	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10817      else
10818	ld_shlibs=no
10819      fi
10820      ;;
10821
10822    cygwin* | mingw* | pw32* | cegcc*)
10823      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10824      # as there is no search path for DLLs.
10825      hardcode_libdir_flag_spec='-L$libdir'
10826      export_dynamic_flag_spec='$wl--export-all-symbols'
10827      allow_undefined_flag=unsupported
10828      always_export_symbols=no
10829      enable_shared_with_static_runtimes=yes
10830      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'
10831      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10832
10833      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10834        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10835	# If the export-symbols file already is a .def file, use it as
10836	# is; otherwise, prepend EXPORTS...
10837	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10838          cp $export_symbols $output_objdir/$soname.def;
10839        else
10840          echo EXPORTS > $output_objdir/$soname.def;
10841          cat $export_symbols >> $output_objdir/$soname.def;
10842        fi~
10843        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10844      else
10845	ld_shlibs=no
10846      fi
10847      ;;
10848
10849    haiku*)
10850      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10851      link_all_deplibs=yes
10852      ;;
10853
10854    os2*)
10855      hardcode_libdir_flag_spec='-L$libdir'
10856      hardcode_minus_L=yes
10857      allow_undefined_flag=unsupported
10858      shrext_cmds=.dll
10859      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10860	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10861	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10862	$ECHO EXPORTS >> $output_objdir/$libname.def~
10863	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10864	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10865	emximp -o $lib $output_objdir/$libname.def'
10866      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10867	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10868	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10869	$ECHO EXPORTS >> $output_objdir/$libname.def~
10870	prefix_cmds="$SED"~
10871	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10872	  prefix_cmds="$prefix_cmds -e 1d";
10873	fi~
10874	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10875	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10876	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10877	emximp -o $lib $output_objdir/$libname.def'
10878      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10879      enable_shared_with_static_runtimes=yes
10880      ;;
10881
10882    interix[3-9]*)
10883      hardcode_direct=no
10884      hardcode_shlibpath_var=no
10885      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10886      export_dynamic_flag_spec='$wl-E'
10887      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10888      # Instead, shared libraries are loaded at an image base (0x10000000 by
10889      # default) and relocated if they conflict, which is a slow very memory
10890      # consuming and fragmenting process.  To avoid this, we pick a random,
10891      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10892      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10893      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10894      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'
10895      ;;
10896
10897    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10898      tmp_diet=no
10899      if test linux-dietlibc = "$host_os"; then
10900	case $cc_basename in
10901	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10902	esac
10903      fi
10904      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10905	 && test no = "$tmp_diet"
10906      then
10907	tmp_addflag=' $pic_flag'
10908	tmp_sharedflag='-shared'
10909	case $cc_basename,$host_cpu in
10910        pgcc*)				# Portland Group C compiler
10911	  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'
10912	  tmp_addflag=' $pic_flag'
10913	  ;;
10914	pgf77* | pgf90* | pgf95* | pgfortran*)
10915					# Portland Group f77 and f90 compilers
10916	  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'
10917	  tmp_addflag=' $pic_flag -Mnomain' ;;
10918	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10919	  tmp_addflag=' -i_dynamic' ;;
10920	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10921	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10922	ifc* | ifort*)			# Intel Fortran compiler
10923	  tmp_addflag=' -nofor_main' ;;
10924	lf95*)				# Lahey Fortran 8.1
10925	  whole_archive_flag_spec=
10926	  tmp_sharedflag='--shared' ;;
10927        nagfor*)                        # NAGFOR 5.3
10928          tmp_sharedflag='-Wl,-shared' ;;
10929	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10930	  tmp_sharedflag='-qmkshrobj'
10931	  tmp_addflag= ;;
10932	nvcc*)	# Cuda Compiler Driver 2.2
10933	  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'
10934	  compiler_needs_object=yes
10935	  ;;
10936	esac
10937	case `$CC -V 2>&1 | sed 5q` in
10938	*Sun\ C*)			# Sun C 5.9
10939	  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'
10940	  compiler_needs_object=yes
10941	  tmp_sharedflag='-G' ;;
10942	*Sun\ F*)			# Sun Fortran 8.3
10943	  tmp_sharedflag='-G' ;;
10944	esac
10945	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10946
10947        if test yes = "$supports_anon_versioning"; then
10948          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10949            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10950            echo "local: *; };" >> $output_objdir/$libname.ver~
10951            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10952        fi
10953
10954	case $cc_basename in
10955	tcc*)
10956	  export_dynamic_flag_spec='-rdynamic'
10957	  ;;
10958	xlf* | bgf* | bgxlf* | mpixlf*)
10959	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10960	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10961	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10962	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10963	  if test yes = "$supports_anon_versioning"; then
10964	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10965              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10966              echo "local: *; };" >> $output_objdir/$libname.ver~
10967              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10968	  fi
10969	  ;;
10970	esac
10971      else
10972        ld_shlibs=no
10973      fi
10974      ;;
10975
10976    netbsd*)
10977      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10978	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10979	wlarc=
10980      else
10981	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10982	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10983      fi
10984      ;;
10985
10986    solaris*)
10987      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10988	ld_shlibs=no
10989	cat <<_LT_EOF 1>&2
10990
10991*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10992*** create shared libraries on Solaris systems.  Therefore, libtool
10993*** is disabling shared libraries support.  We urge you to upgrade GNU
10994*** binutils to release 2.9.1 or newer.  Another option is to modify
10995*** your PATH or compiler configuration so that the native linker is
10996*** used, and then restart.
10997
10998_LT_EOF
10999      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11000	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11001	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11002      else
11003	ld_shlibs=no
11004      fi
11005      ;;
11006
11007    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11008      case `$LD -v 2>&1` in
11009        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11010	ld_shlibs=no
11011	cat <<_LT_EOF 1>&2
11012
11013*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11014*** reliably create shared libraries on SCO systems.  Therefore, libtool
11015*** is disabling shared libraries support.  We urge you to upgrade GNU
11016*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11017*** your PATH or compiler configuration so that the native linker is
11018*** used, and then restart.
11019
11020_LT_EOF
11021	;;
11022	*)
11023	  # For security reasons, it is highly recommended that you always
11024	  # use absolute paths for naming shared libraries, and exclude the
11025	  # DT_RUNPATH tag from executables and libraries.  But doing so
11026	  # requires that you compile everything twice, which is a pain.
11027	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11028	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11029	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11030	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11031	  else
11032	    ld_shlibs=no
11033	  fi
11034	;;
11035      esac
11036      ;;
11037
11038    sunos4*)
11039      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11040      wlarc=
11041      hardcode_direct=yes
11042      hardcode_shlibpath_var=no
11043      ;;
11044
11045    *)
11046      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11047	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11048	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11049      else
11050	ld_shlibs=no
11051      fi
11052      ;;
11053    esac
11054
11055    if test no = "$ld_shlibs"; then
11056      runpath_var=
11057      hardcode_libdir_flag_spec=
11058      export_dynamic_flag_spec=
11059      whole_archive_flag_spec=
11060    fi
11061  else
11062    # PORTME fill in a description of your system's linker (not GNU ld)
11063    case $host_os in
11064    aix3*)
11065      allow_undefined_flag=unsupported
11066      always_export_symbols=yes
11067      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'
11068      # Note: this linker hardcodes the directories in LIBPATH if there
11069      # are no directories specified by -L.
11070      hardcode_minus_L=yes
11071      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11072	# Neither direct hardcoding nor static linking is supported with a
11073	# broken collect2.
11074	hardcode_direct=unsupported
11075      fi
11076      ;;
11077
11078    aix[4-9]*)
11079      if test ia64 = "$host_cpu"; then
11080	# On IA64, the linker does run time linking by default, so we don't
11081	# have to do anything special.
11082	aix_use_runtimelinking=no
11083	exp_sym_flag='-Bexport'
11084	no_entry_flag=
11085      else
11086	# If we're using GNU nm, then we don't want the "-C" option.
11087	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11088	# Without the "-l" option, or with the "-B" option, AIX nm treats
11089	# weak defined symbols like other global defined symbols, whereas
11090	# GNU nm marks them as "W".
11091	# While the 'weak' keyword is ignored in the Export File, we need
11092	# it in the Import File for the 'aix-soname' feature, so we have
11093	# to replace the "-B" option with "-P" for AIX nm.
11094	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11095	  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'
11096	else
11097	  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'
11098	fi
11099	aix_use_runtimelinking=no
11100
11101	# Test if we are trying to use run time linking or normal
11102	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11103	# have runtime linking enabled, and use it for executables.
11104	# For shared libraries, we enable/disable runtime linking
11105	# depending on the kind of the shared library created -
11106	# when "with_aix_soname,aix_use_runtimelinking" is:
11107	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11108	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11109	#            lib.a           static archive
11110	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11111	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11112	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11113	#            lib.a(lib.so.V) shared, rtl:no
11114	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11115	#            lib.a           static archive
11116	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11117	  for ld_flag in $LDFLAGS; do
11118	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11119	    aix_use_runtimelinking=yes
11120	    break
11121	  fi
11122	  done
11123	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11124	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11125	    # so we don't have lib.a shared libs to link our executables.
11126	    # We have to force runtime linking in this case.
11127	    aix_use_runtimelinking=yes
11128	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11129	  fi
11130	  ;;
11131	esac
11132
11133	exp_sym_flag='-bexport'
11134	no_entry_flag='-bnoentry'
11135      fi
11136
11137      # When large executables or shared objects are built, AIX ld can
11138      # have problems creating the table of contents.  If linking a library
11139      # or program results in "error TOC overflow" add -mminimal-toc to
11140      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11141      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11142
11143      archive_cmds=''
11144      hardcode_direct=yes
11145      hardcode_direct_absolute=yes
11146      hardcode_libdir_separator=':'
11147      link_all_deplibs=yes
11148      file_list_spec='$wl-f,'
11149      case $with_aix_soname,$aix_use_runtimelinking in
11150      aix,*) ;; # traditional, no import file
11151      svr4,* | *,yes) # use import file
11152	# The Import File defines what to hardcode.
11153	hardcode_direct=no
11154	hardcode_direct_absolute=no
11155	;;
11156      esac
11157
11158      if test yes = "$GCC"; then
11159	case $host_os in aix4.[012]|aix4.[012].*)
11160	# We only want to do this on AIX 4.2 and lower, the check
11161	# below for broken collect2 doesn't work under 4.3+
11162	  collect2name=`$CC -print-prog-name=collect2`
11163	  if test -f "$collect2name" &&
11164	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11165	  then
11166	  # We have reworked collect2
11167	  :
11168	  else
11169	  # We have old collect2
11170	  hardcode_direct=unsupported
11171	  # It fails to find uninstalled libraries when the uninstalled
11172	  # path is not listed in the libpath.  Setting hardcode_minus_L
11173	  # to unsupported forces relinking
11174	  hardcode_minus_L=yes
11175	  hardcode_libdir_flag_spec='-L$libdir'
11176	  hardcode_libdir_separator=
11177	  fi
11178	  ;;
11179	esac
11180	shared_flag='-shared'
11181	if test yes = "$aix_use_runtimelinking"; then
11182	  shared_flag="$shared_flag "'$wl-G'
11183	fi
11184	# Need to ensure runtime linking is disabled for the traditional
11185	# shared library, or the linker may eventually find shared libraries
11186	# /with/ Import File - we do not want to mix them.
11187	shared_flag_aix='-shared'
11188	shared_flag_svr4='-shared $wl-G'
11189      else
11190	# not using gcc
11191	if test ia64 = "$host_cpu"; then
11192	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11193	# chokes on -Wl,-G. The following line is correct:
11194	  shared_flag='-G'
11195	else
11196	  if test yes = "$aix_use_runtimelinking"; then
11197	    shared_flag='$wl-G'
11198	  else
11199	    shared_flag='$wl-bM:SRE'
11200	  fi
11201	  shared_flag_aix='$wl-bM:SRE'
11202	  shared_flag_svr4='$wl-G'
11203	fi
11204      fi
11205
11206      export_dynamic_flag_spec='$wl-bexpall'
11207      # It seems that -bexpall does not export symbols beginning with
11208      # underscore (_), so it is better to generate a list of symbols to export.
11209      always_export_symbols=yes
11210      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11211	# Warning - without using the other runtime loading flags (-brtl),
11212	# -berok will link without error, but may produce a broken library.
11213	allow_undefined_flag='-berok'
11214        # Determine the default libpath from the value encoded in an
11215        # empty executable.
11216        if test set = "${lt_cv_aix_libpath+set}"; then
11217  aix_libpath=$lt_cv_aix_libpath
11218else
11219  if ${lt_cv_aix_libpath_+:} false; then :
11220  $as_echo_n "(cached) " >&6
11221else
11222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223/* end confdefs.h.  */
11224
11225int
11226main ()
11227{
11228
11229  ;
11230  return 0;
11231}
11232_ACEOF
11233if ac_fn_c_try_link "$LINENO"; then :
11234
11235  lt_aix_libpath_sed='
11236      /Import File Strings/,/^$/ {
11237	  /^0/ {
11238	      s/^0  *\([^ ]*\) *$/\1/
11239	      p
11240	  }
11241      }'
11242  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11243  # Check for a 64-bit object if we didn't find anything.
11244  if test -z "$lt_cv_aix_libpath_"; then
11245    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11246  fi
11247fi
11248rm -f core conftest.err conftest.$ac_objext \
11249    conftest$ac_exeext conftest.$ac_ext
11250  if test -z "$lt_cv_aix_libpath_"; then
11251    lt_cv_aix_libpath_=/usr/lib:/lib
11252  fi
11253
11254fi
11255
11256  aix_libpath=$lt_cv_aix_libpath_
11257fi
11258
11259        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11260        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
11261      else
11262	if test ia64 = "$host_cpu"; then
11263	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11264	  allow_undefined_flag="-z nodefs"
11265	  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"
11266	else
11267	 # Determine the default libpath from the value encoded in an
11268	 # empty executable.
11269	 if test set = "${lt_cv_aix_libpath+set}"; then
11270  aix_libpath=$lt_cv_aix_libpath
11271else
11272  if ${lt_cv_aix_libpath_+:} false; then :
11273  $as_echo_n "(cached) " >&6
11274else
11275  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276/* end confdefs.h.  */
11277
11278int
11279main ()
11280{
11281
11282  ;
11283  return 0;
11284}
11285_ACEOF
11286if ac_fn_c_try_link "$LINENO"; then :
11287
11288  lt_aix_libpath_sed='
11289      /Import File Strings/,/^$/ {
11290	  /^0/ {
11291	      s/^0  *\([^ ]*\) *$/\1/
11292	      p
11293	  }
11294      }'
11295  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11296  # Check for a 64-bit object if we didn't find anything.
11297  if test -z "$lt_cv_aix_libpath_"; then
11298    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11299  fi
11300fi
11301rm -f core conftest.err conftest.$ac_objext \
11302    conftest$ac_exeext conftest.$ac_ext
11303  if test -z "$lt_cv_aix_libpath_"; then
11304    lt_cv_aix_libpath_=/usr/lib:/lib
11305  fi
11306
11307fi
11308
11309  aix_libpath=$lt_cv_aix_libpath_
11310fi
11311
11312	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11313	  # Warning - without using the other run time loading flags,
11314	  # -berok will link without error, but may produce a broken library.
11315	  no_undefined_flag=' $wl-bernotok'
11316	  allow_undefined_flag=' $wl-berok'
11317	  if test yes = "$with_gnu_ld"; then
11318	    # We only use this code for GNU lds that support --whole-archive.
11319	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11320	  else
11321	    # Exported symbols can be pulled into shared objects from archives
11322	    whole_archive_flag_spec='$convenience'
11323	  fi
11324	  archive_cmds_need_lc=yes
11325	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11326	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11327	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11328	  if test svr4 != "$with_aix_soname"; then
11329	    # This is similar to how AIX traditionally builds its shared libraries.
11330	    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'
11331	  fi
11332	  if test aix != "$with_aix_soname"; then
11333	    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'
11334	  else
11335	    # used by -dlpreopen to get the symbols
11336	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11337	  fi
11338	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11339	fi
11340      fi
11341      ;;
11342
11343    amigaos*)
11344      case $host_cpu in
11345      powerpc)
11346            # see comment about AmigaOS4 .so support
11347            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11348            archive_expsym_cmds=''
11349        ;;
11350      m68k)
11351            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)'
11352            hardcode_libdir_flag_spec='-L$libdir'
11353            hardcode_minus_L=yes
11354        ;;
11355      esac
11356      ;;
11357
11358    bsdi[45]*)
11359      export_dynamic_flag_spec=-rdynamic
11360      ;;
11361
11362    cygwin* | mingw* | pw32* | cegcc*)
11363      # When not using gcc, we currently assume that we are using
11364      # Microsoft Visual C++.
11365      # hardcode_libdir_flag_spec is actually meaningless, as there is
11366      # no search path for DLLs.
11367      case $cc_basename in
11368      cl*)
11369	# Native MSVC
11370	hardcode_libdir_flag_spec=' '
11371	allow_undefined_flag=unsupported
11372	always_export_symbols=yes
11373	file_list_spec='@'
11374	# Tell ltmain to make .lib files, not .a files.
11375	libext=lib
11376	# Tell ltmain to make .dll files, not .so files.
11377	shrext_cmds=.dll
11378	# FIXME: Setting linknames here is a bad hack.
11379	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11380	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11381            cp "$export_symbols" "$output_objdir/$soname.def";
11382            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11383          else
11384            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11385          fi~
11386          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11387          linknames='
11388	# The linker will not automatically build a static lib if we build a DLL.
11389	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11390	enable_shared_with_static_runtimes=yes
11391	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11392	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11393	# Don't use ranlib
11394	old_postinstall_cmds='chmod 644 $oldlib'
11395	postlink_cmds='lt_outputfile="@OUTPUT@"~
11396          lt_tool_outputfile="@TOOL_OUTPUT@"~
11397          case $lt_outputfile in
11398            *.exe|*.EXE) ;;
11399            *)
11400              lt_outputfile=$lt_outputfile.exe
11401              lt_tool_outputfile=$lt_tool_outputfile.exe
11402              ;;
11403          esac~
11404          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11405            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11406            $RM "$lt_outputfile.manifest";
11407          fi'
11408	;;
11409      *)
11410	# Assume MSVC wrapper
11411	hardcode_libdir_flag_spec=' '
11412	allow_undefined_flag=unsupported
11413	# Tell ltmain to make .lib files, not .a files.
11414	libext=lib
11415	# Tell ltmain to make .dll files, not .so files.
11416	shrext_cmds=.dll
11417	# FIXME: Setting linknames here is a bad hack.
11418	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11419	# The linker will automatically build a .lib file if we build a DLL.
11420	old_archive_from_new_cmds='true'
11421	# FIXME: Should let the user specify the lib program.
11422	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11423	enable_shared_with_static_runtimes=yes
11424	;;
11425      esac
11426      ;;
11427
11428    darwin* | rhapsody*)
11429
11430
11431  archive_cmds_need_lc=no
11432  hardcode_direct=no
11433  hardcode_automatic=yes
11434  hardcode_shlibpath_var=unsupported
11435  if test yes = "$lt_cv_ld_force_load"; then
11436    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\"`'
11437
11438  else
11439    whole_archive_flag_spec=''
11440  fi
11441  link_all_deplibs=yes
11442  allow_undefined_flag=$_lt_dar_allow_undefined
11443  case $cc_basename in
11444     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11445     *) _lt_dar_can_shared=$GCC ;;
11446  esac
11447  if test yes = "$_lt_dar_can_shared"; then
11448    output_verbose_link_cmd=func_echo_all
11449    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11450    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11451    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"
11452    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"
11453
11454  else
11455  ld_shlibs=no
11456  fi
11457
11458      ;;
11459
11460    dgux*)
11461      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11462      hardcode_libdir_flag_spec='-L$libdir'
11463      hardcode_shlibpath_var=no
11464      ;;
11465
11466    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11467    # support.  Future versions do this automatically, but an explicit c++rt0.o
11468    # does not break anything, and helps significantly (at the cost of a little
11469    # extra space).
11470    freebsd2.2*)
11471      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11472      hardcode_libdir_flag_spec='-R$libdir'
11473      hardcode_direct=yes
11474      hardcode_shlibpath_var=no
11475      ;;
11476
11477    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11478    freebsd2.*)
11479      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11480      hardcode_direct=yes
11481      hardcode_minus_L=yes
11482      hardcode_shlibpath_var=no
11483      ;;
11484
11485    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11486    freebsd* | dragonfly*)
11487      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11488      hardcode_libdir_flag_spec='-R$libdir'
11489      hardcode_direct=yes
11490      hardcode_shlibpath_var=no
11491      ;;
11492
11493    hpux9*)
11494      if test yes = "$GCC"; then
11495	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'
11496      else
11497	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'
11498      fi
11499      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11500      hardcode_libdir_separator=:
11501      hardcode_direct=yes
11502
11503      # hardcode_minus_L: Not really in the search PATH,
11504      # but as the default location of the library.
11505      hardcode_minus_L=yes
11506      export_dynamic_flag_spec='$wl-E'
11507      ;;
11508
11509    hpux10*)
11510      if test yes,no = "$GCC,$with_gnu_ld"; then
11511	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11512      else
11513	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11514      fi
11515      if test no = "$with_gnu_ld"; then
11516	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11517	hardcode_libdir_separator=:
11518	hardcode_direct=yes
11519	hardcode_direct_absolute=yes
11520	export_dynamic_flag_spec='$wl-E'
11521	# hardcode_minus_L: Not really in the search PATH,
11522	# but as the default location of the library.
11523	hardcode_minus_L=yes
11524      fi
11525      ;;
11526
11527    hpux11*)
11528      if test yes,no = "$GCC,$with_gnu_ld"; then
11529	case $host_cpu in
11530	hppa*64*)
11531	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11532	  ;;
11533	ia64*)
11534	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11535	  ;;
11536	*)
11537	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11538	  ;;
11539	esac
11540      else
11541	case $host_cpu in
11542	hppa*64*)
11543	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11544	  ;;
11545	ia64*)
11546	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11547	  ;;
11548	*)
11549
11550	  # Older versions of the 11.00 compiler do not understand -b yet
11551	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11552	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11553$as_echo_n "checking if $CC understands -b... " >&6; }
11554if ${lt_cv_prog_compiler__b+:} false; then :
11555  $as_echo_n "(cached) " >&6
11556else
11557  lt_cv_prog_compiler__b=no
11558   save_LDFLAGS=$LDFLAGS
11559   LDFLAGS="$LDFLAGS -b"
11560   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11561   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11562     # The linker can only warn and ignore the option if not recognized
11563     # So say no if there are warnings
11564     if test -s conftest.err; then
11565       # Append any errors to the config.log.
11566       cat conftest.err 1>&5
11567       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11568       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11569       if diff conftest.exp conftest.er2 >/dev/null; then
11570         lt_cv_prog_compiler__b=yes
11571       fi
11572     else
11573       lt_cv_prog_compiler__b=yes
11574     fi
11575   fi
11576   $RM -r conftest*
11577   LDFLAGS=$save_LDFLAGS
11578
11579fi
11580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11581$as_echo "$lt_cv_prog_compiler__b" >&6; }
11582
11583if test yes = "$lt_cv_prog_compiler__b"; then
11584    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11585else
11586    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11587fi
11588
11589	  ;;
11590	esac
11591      fi
11592      if test no = "$with_gnu_ld"; then
11593	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11594	hardcode_libdir_separator=:
11595
11596	case $host_cpu in
11597	hppa*64*|ia64*)
11598	  hardcode_direct=no
11599	  hardcode_shlibpath_var=no
11600	  ;;
11601	*)
11602	  hardcode_direct=yes
11603	  hardcode_direct_absolute=yes
11604	  export_dynamic_flag_spec='$wl-E'
11605
11606	  # hardcode_minus_L: Not really in the search PATH,
11607	  # but as the default location of the library.
11608	  hardcode_minus_L=yes
11609	  ;;
11610	esac
11611      fi
11612      ;;
11613
11614    irix5* | irix6* | nonstopux*)
11615      if test yes = "$GCC"; then
11616	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'
11617	# Try to use the -exported_symbol ld option, if it does not
11618	# work, assume that -exports_file does not work either and
11619	# implicitly export all symbols.
11620	# This should be the same for all languages, so no per-tag cache variable.
11621	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11622$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11623if ${lt_cv_irix_exported_symbol+:} false; then :
11624  $as_echo_n "(cached) " >&6
11625else
11626  save_LDFLAGS=$LDFLAGS
11627	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11628	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629/* end confdefs.h.  */
11630int foo (void) { return 0; }
11631_ACEOF
11632if ac_fn_c_try_link "$LINENO"; then :
11633  lt_cv_irix_exported_symbol=yes
11634else
11635  lt_cv_irix_exported_symbol=no
11636fi
11637rm -f core conftest.err conftest.$ac_objext \
11638    conftest$ac_exeext conftest.$ac_ext
11639           LDFLAGS=$save_LDFLAGS
11640fi
11641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11642$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11643	if test yes = "$lt_cv_irix_exported_symbol"; then
11644          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'
11645	fi
11646      else
11647	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'
11648	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'
11649      fi
11650      archive_cmds_need_lc='no'
11651      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11652      hardcode_libdir_separator=:
11653      inherit_rpath=yes
11654      link_all_deplibs=yes
11655      ;;
11656
11657    linux*)
11658      case $cc_basename in
11659      tcc*)
11660	# Fabrice Bellard et al's Tiny C Compiler
11661	ld_shlibs=yes
11662	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11663	;;
11664      esac
11665      ;;
11666
11667    netbsd*)
11668      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11669	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11670      else
11671	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11672      fi
11673      hardcode_libdir_flag_spec='-R$libdir'
11674      hardcode_direct=yes
11675      hardcode_shlibpath_var=no
11676      ;;
11677
11678    newsos6)
11679      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11680      hardcode_direct=yes
11681      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11682      hardcode_libdir_separator=:
11683      hardcode_shlibpath_var=no
11684      ;;
11685
11686    *nto* | *qnx*)
11687      ;;
11688
11689    openbsd* | bitrig*)
11690      if test -f /usr/libexec/ld.so; then
11691	hardcode_direct=yes
11692	hardcode_shlibpath_var=no
11693	hardcode_direct_absolute=yes
11694	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11695	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11696	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11697	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11698	  export_dynamic_flag_spec='$wl-E'
11699	else
11700	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11701	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11702	fi
11703      else
11704	ld_shlibs=no
11705      fi
11706      ;;
11707
11708    os2*)
11709      hardcode_libdir_flag_spec='-L$libdir'
11710      hardcode_minus_L=yes
11711      allow_undefined_flag=unsupported
11712      shrext_cmds=.dll
11713      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11714	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11715	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11716	$ECHO EXPORTS >> $output_objdir/$libname.def~
11717	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11718	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11719	emximp -o $lib $output_objdir/$libname.def'
11720      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11721	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11722	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11723	$ECHO EXPORTS >> $output_objdir/$libname.def~
11724	prefix_cmds="$SED"~
11725	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11726	  prefix_cmds="$prefix_cmds -e 1d";
11727	fi~
11728	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11729	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11730	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11731	emximp -o $lib $output_objdir/$libname.def'
11732      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11733      enable_shared_with_static_runtimes=yes
11734      ;;
11735
11736    osf3*)
11737      if test yes = "$GCC"; then
11738	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11739	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'
11740      else
11741	allow_undefined_flag=' -expect_unresolved \*'
11742	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'
11743      fi
11744      archive_cmds_need_lc='no'
11745      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11746      hardcode_libdir_separator=:
11747      ;;
11748
11749    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11750      if test yes = "$GCC"; then
11751	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11752	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'
11753	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11754      else
11755	allow_undefined_flag=' -expect_unresolved \*'
11756	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'
11757	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~
11758          $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'
11759
11760	# Both c and cxx compiler support -rpath directly
11761	hardcode_libdir_flag_spec='-rpath $libdir'
11762      fi
11763      archive_cmds_need_lc='no'
11764      hardcode_libdir_separator=:
11765      ;;
11766
11767    solaris*)
11768      no_undefined_flag=' -z defs'
11769      if test yes = "$GCC"; then
11770	wlarc='$wl'
11771	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11772	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11773          $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'
11774      else
11775	case `$CC -V 2>&1` in
11776	*"Compilers 5.0"*)
11777	  wlarc=''
11778	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11779	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11780            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11781	  ;;
11782	*)
11783	  wlarc='$wl'
11784	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11785	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11786            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11787	  ;;
11788	esac
11789      fi
11790      hardcode_libdir_flag_spec='-R$libdir'
11791      hardcode_shlibpath_var=no
11792      case $host_os in
11793      solaris2.[0-5] | solaris2.[0-5].*) ;;
11794      *)
11795	# The compiler driver will combine and reorder linker options,
11796	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11797	# but is careful enough not to reorder.
11798	# Supported since Solaris 2.6 (maybe 2.5.1?)
11799	if test yes = "$GCC"; then
11800	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11801	else
11802	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11803	fi
11804	;;
11805      esac
11806      link_all_deplibs=yes
11807      ;;
11808
11809    sunos4*)
11810      if test sequent = "$host_vendor"; then
11811	# Use $CC to link under sequent, because it throws in some extra .o
11812	# files that make .init and .fini sections work.
11813	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11814      else
11815	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11816      fi
11817      hardcode_libdir_flag_spec='-L$libdir'
11818      hardcode_direct=yes
11819      hardcode_minus_L=yes
11820      hardcode_shlibpath_var=no
11821      ;;
11822
11823    sysv4)
11824      case $host_vendor in
11825	sni)
11826	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11827	  hardcode_direct=yes # is this really true???
11828	;;
11829	siemens)
11830	  ## LD is ld it makes a PLAMLIB
11831	  ## CC just makes a GrossModule.
11832	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11833	  reload_cmds='$CC -r -o $output$reload_objs'
11834	  hardcode_direct=no
11835        ;;
11836	motorola)
11837	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11838	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11839	;;
11840      esac
11841      runpath_var='LD_RUN_PATH'
11842      hardcode_shlibpath_var=no
11843      ;;
11844
11845    sysv4.3*)
11846      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11847      hardcode_shlibpath_var=no
11848      export_dynamic_flag_spec='-Bexport'
11849      ;;
11850
11851    sysv4*MP*)
11852      if test -d /usr/nec; then
11853	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11854	hardcode_shlibpath_var=no
11855	runpath_var=LD_RUN_PATH
11856	hardcode_runpath_var=yes
11857	ld_shlibs=yes
11858      fi
11859      ;;
11860
11861    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11862      no_undefined_flag='$wl-z,text'
11863      archive_cmds_need_lc=no
11864      hardcode_shlibpath_var=no
11865      runpath_var='LD_RUN_PATH'
11866
11867      if test yes = "$GCC"; then
11868	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11869	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11870      else
11871	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11872	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11873      fi
11874      ;;
11875
11876    sysv5* | sco3.2v5* | sco5v6*)
11877      # Note: We CANNOT use -z defs as we might desire, because we do not
11878      # link with -lc, and that would cause any symbols used from libc to
11879      # always be unresolved, which means just about no library would
11880      # ever link correctly.  If we're not using GNU ld we use -z text
11881      # though, which does catch some bad symbols but isn't as heavy-handed
11882      # as -z defs.
11883      no_undefined_flag='$wl-z,text'
11884      allow_undefined_flag='$wl-z,nodefs'
11885      archive_cmds_need_lc=no
11886      hardcode_shlibpath_var=no
11887      hardcode_libdir_flag_spec='$wl-R,$libdir'
11888      hardcode_libdir_separator=':'
11889      link_all_deplibs=yes
11890      export_dynamic_flag_spec='$wl-Bexport'
11891      runpath_var='LD_RUN_PATH'
11892
11893      if test yes = "$GCC"; then
11894	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11895	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11896      else
11897	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11898	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11899      fi
11900      ;;
11901
11902    uts4*)
11903      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11904      hardcode_libdir_flag_spec='-L$libdir'
11905      hardcode_shlibpath_var=no
11906      ;;
11907
11908    *)
11909      ld_shlibs=no
11910      ;;
11911    esac
11912
11913    if test sni = "$host_vendor"; then
11914      case $host in
11915      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11916	export_dynamic_flag_spec='$wl-Blargedynsym'
11917	;;
11918      esac
11919    fi
11920  fi
11921
11922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11923$as_echo "$ld_shlibs" >&6; }
11924test no = "$ld_shlibs" && can_build_shared=no
11925
11926with_gnu_ld=$with_gnu_ld
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942#
11943# Do we need to explicitly link libc?
11944#
11945case "x$archive_cmds_need_lc" in
11946x|xyes)
11947  # Assume -lc should be added
11948  archive_cmds_need_lc=yes
11949
11950  if test yes,yes = "$GCC,$enable_shared"; then
11951    case $archive_cmds in
11952    *'~'*)
11953      # FIXME: we may have to deal with multi-command sequences.
11954      ;;
11955    '$CC '*)
11956      # Test whether the compiler implicitly links with -lc since on some
11957      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11958      # to ld, don't add -lc before -lgcc.
11959      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11960$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11961if ${lt_cv_archive_cmds_need_lc+:} false; then :
11962  $as_echo_n "(cached) " >&6
11963else
11964  $RM conftest*
11965	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11966
11967	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11968  (eval $ac_compile) 2>&5
11969  ac_status=$?
11970  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11971  test $ac_status = 0; } 2>conftest.err; then
11972	  soname=conftest
11973	  lib=conftest
11974	  libobjs=conftest.$ac_objext
11975	  deplibs=
11976	  wl=$lt_prog_compiler_wl
11977	  pic_flag=$lt_prog_compiler_pic
11978	  compiler_flags=-v
11979	  linker_flags=-v
11980	  verstring=
11981	  output_objdir=.
11982	  libname=conftest
11983	  lt_save_allow_undefined_flag=$allow_undefined_flag
11984	  allow_undefined_flag=
11985	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11986  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11987  ac_status=$?
11988  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11989  test $ac_status = 0; }
11990	  then
11991	    lt_cv_archive_cmds_need_lc=no
11992	  else
11993	    lt_cv_archive_cmds_need_lc=yes
11994	  fi
11995	  allow_undefined_flag=$lt_save_allow_undefined_flag
11996	else
11997	  cat conftest.err 1>&5
11998	fi
11999	$RM conftest*
12000
12001fi
12002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12003$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12004      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12005      ;;
12006    esac
12007  fi
12008  ;;
12009esac
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12163$as_echo_n "checking dynamic linker characteristics... " >&6; }
12164
12165if test yes = "$GCC"; then
12166  case $host_os in
12167    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12168    *) lt_awk_arg='/^libraries:/' ;;
12169  esac
12170  case $host_os in
12171    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12172    *) lt_sed_strip_eq='s|=/|/|g' ;;
12173  esac
12174  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12175  case $lt_search_path_spec in
12176  *\;*)
12177    # if the path contains ";" then we assume it to be the separator
12178    # otherwise default to the standard path separator (i.e. ":") - it is
12179    # assumed that no part of a normal pathname contains ";" but that should
12180    # okay in the real world where ";" in dirpaths is itself problematic.
12181    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12182    ;;
12183  *)
12184    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12185    ;;
12186  esac
12187  # Ok, now we have the path, separated by spaces, we can step through it
12188  # and add multilib dir if necessary...
12189  lt_tmp_lt_search_path_spec=
12190  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12191  # ...but if some path component already ends with the multilib dir we assume
12192  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12193  case "$lt_multi_os_dir; $lt_search_path_spec " in
12194  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12195    lt_multi_os_dir=
12196    ;;
12197  esac
12198  for lt_sys_path in $lt_search_path_spec; do
12199    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12200      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12201    elif test -n "$lt_multi_os_dir"; then
12202      test -d "$lt_sys_path" && \
12203	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12204    fi
12205  done
12206  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12207BEGIN {RS = " "; FS = "/|\n";} {
12208  lt_foo = "";
12209  lt_count = 0;
12210  for (lt_i = NF; lt_i > 0; lt_i--) {
12211    if ($lt_i != "" && $lt_i != ".") {
12212      if ($lt_i == "..") {
12213        lt_count++;
12214      } else {
12215        if (lt_count == 0) {
12216          lt_foo = "/" $lt_i lt_foo;
12217        } else {
12218          lt_count--;
12219        }
12220      }
12221    }
12222  }
12223  if (lt_foo != "") { lt_freq[lt_foo]++; }
12224  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12225}'`
12226  # AWK program above erroneously prepends '/' to C:/dos/paths
12227  # for these hosts.
12228  case $host_os in
12229    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12230      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12231  esac
12232  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12233else
12234  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12235fi
12236library_names_spec=
12237libname_spec='lib$name'
12238soname_spec=
12239shrext_cmds=.so
12240postinstall_cmds=
12241postuninstall_cmds=
12242finish_cmds=
12243finish_eval=
12244shlibpath_var=
12245shlibpath_overrides_runpath=unknown
12246version_type=none
12247dynamic_linker="$host_os ld.so"
12248sys_lib_dlsearch_path_spec="/lib /usr/lib"
12249need_lib_prefix=unknown
12250hardcode_into_libs=no
12251
12252# when you set need_version to no, make sure it does not cause -set_version
12253# flags to be left without arguments
12254need_version=unknown
12255
12256
12257
12258case $host_os in
12259aix3*)
12260  version_type=linux # correct to gnu/linux during the next big refactor
12261  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12262  shlibpath_var=LIBPATH
12263
12264  # AIX 3 has no versioning support, so we append a major version to the name.
12265  soname_spec='$libname$release$shared_ext$major'
12266  ;;
12267
12268aix[4-9]*)
12269  version_type=linux # correct to gnu/linux during the next big refactor
12270  need_lib_prefix=no
12271  need_version=no
12272  hardcode_into_libs=yes
12273  if test ia64 = "$host_cpu"; then
12274    # AIX 5 supports IA64
12275    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12276    shlibpath_var=LD_LIBRARY_PATH
12277  else
12278    # With GCC up to 2.95.x, collect2 would create an import file
12279    # for dependence libraries.  The import file would start with
12280    # the line '#! .'.  This would cause the generated library to
12281    # depend on '.', always an invalid library.  This was fixed in
12282    # development snapshots of GCC prior to 3.0.
12283    case $host_os in
12284      aix4 | aix4.[01] | aix4.[01].*)
12285      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12286	   echo ' yes '
12287	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12288	:
12289      else
12290	can_build_shared=no
12291      fi
12292      ;;
12293    esac
12294    # Using Import Files as archive members, it is possible to support
12295    # filename-based versioning of shared library archives on AIX. While
12296    # this would work for both with and without runtime linking, it will
12297    # prevent static linking of such archives. So we do filename-based
12298    # shared library versioning with .so extension only, which is used
12299    # when both runtime linking and shared linking is enabled.
12300    # Unfortunately, runtime linking may impact performance, so we do
12301    # not want this to be the default eventually. Also, we use the
12302    # versioned .so libs for executables only if there is the -brtl
12303    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12304    # To allow for filename-based versioning support, we need to create
12305    # libNAME.so.V as an archive file, containing:
12306    # *) an Import File, referring to the versioned filename of the
12307    #    archive as well as the shared archive member, telling the
12308    #    bitwidth (32 or 64) of that shared object, and providing the
12309    #    list of exported symbols of that shared object, eventually
12310    #    decorated with the 'weak' keyword
12311    # *) the shared object with the F_LOADONLY flag set, to really avoid
12312    #    it being seen by the linker.
12313    # At run time we better use the real file rather than another symlink,
12314    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12315
12316    case $with_aix_soname,$aix_use_runtimelinking in
12317    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12318    # soname into executable. Probably we can add versioning support to
12319    # collect2, so additional links can be useful in future.
12320    aix,yes) # traditional libtool
12321      dynamic_linker='AIX unversionable lib.so'
12322      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12323      # instead of lib<name>.a to let people know that these are not
12324      # typical AIX shared libraries.
12325      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12326      ;;
12327    aix,no) # traditional AIX only
12328      dynamic_linker='AIX lib.a(lib.so.V)'
12329      # We preserve .a as extension for shared libraries through AIX4.2
12330      # and later when we are not doing run time linking.
12331      library_names_spec='$libname$release.a $libname.a'
12332      soname_spec='$libname$release$shared_ext$major'
12333      ;;
12334    svr4,*) # full svr4 only
12335      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12336      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12337      # We do not specify a path in Import Files, so LIBPATH fires.
12338      shlibpath_overrides_runpath=yes
12339      ;;
12340    *,yes) # both, prefer svr4
12341      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12342      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12343      # unpreferred sharedlib libNAME.a needs extra handling
12344      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"'
12345      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"'
12346      # We do not specify a path in Import Files, so LIBPATH fires.
12347      shlibpath_overrides_runpath=yes
12348      ;;
12349    *,no) # both, prefer aix
12350      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12351      library_names_spec='$libname$release.a $libname.a'
12352      soname_spec='$libname$release$shared_ext$major'
12353      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12354      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)'
12355      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"'
12356      ;;
12357    esac
12358    shlibpath_var=LIBPATH
12359  fi
12360  ;;
12361
12362amigaos*)
12363  case $host_cpu in
12364  powerpc)
12365    # Since July 2007 AmigaOS4 officially supports .so libraries.
12366    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12367    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12368    ;;
12369  m68k)
12370    library_names_spec='$libname.ixlibrary $libname.a'
12371    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12372    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'
12373    ;;
12374  esac
12375  ;;
12376
12377beos*)
12378  library_names_spec='$libname$shared_ext'
12379  dynamic_linker="$host_os ld.so"
12380  shlibpath_var=LIBRARY_PATH
12381  ;;
12382
12383bsdi[45]*)
12384  version_type=linux # correct to gnu/linux during the next big refactor
12385  need_version=no
12386  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12387  soname_spec='$libname$release$shared_ext$major'
12388  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12389  shlibpath_var=LD_LIBRARY_PATH
12390  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12391  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12392  # the default ld.so.conf also contains /usr/contrib/lib and
12393  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12394  # libtool to hard-code these into programs
12395  ;;
12396
12397cygwin* | mingw* | pw32* | cegcc*)
12398  version_type=windows
12399  shrext_cmds=.dll
12400  need_version=no
12401  need_lib_prefix=no
12402
12403  case $GCC,$cc_basename in
12404  yes,*)
12405    # gcc
12406    library_names_spec='$libname.dll.a'
12407    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12408    postinstall_cmds='base_file=`basename \$file`~
12409      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12410      dldir=$destdir/`dirname \$dlpath`~
12411      test -d \$dldir || mkdir -p \$dldir~
12412      $install_prog $dir/$dlname \$dldir/$dlname~
12413      chmod a+x \$dldir/$dlname~
12414      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12415        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12416      fi'
12417    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12418      dlpath=$dir/\$dldll~
12419       $RM \$dlpath'
12420    shlibpath_overrides_runpath=yes
12421
12422    case $host_os in
12423    cygwin*)
12424      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12425      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12426
12427      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12428      ;;
12429    mingw* | cegcc*)
12430      # MinGW DLLs use traditional 'lib' prefix
12431      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12432      ;;
12433    pw32*)
12434      # pw32 DLLs use 'pw' prefix rather than 'lib'
12435      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12436      ;;
12437    esac
12438    dynamic_linker='Win32 ld.exe'
12439    ;;
12440
12441  *,cl*)
12442    # Native MSVC
12443    libname_spec='$name'
12444    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12445    library_names_spec='$libname.dll.lib'
12446
12447    case $build_os in
12448    mingw*)
12449      sys_lib_search_path_spec=
12450      lt_save_ifs=$IFS
12451      IFS=';'
12452      for lt_path in $LIB
12453      do
12454        IFS=$lt_save_ifs
12455        # Let DOS variable expansion print the short 8.3 style file name.
12456        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12457        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12458      done
12459      IFS=$lt_save_ifs
12460      # Convert to MSYS style.
12461      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12462      ;;
12463    cygwin*)
12464      # Convert to unix form, then to dos form, then back to unix form
12465      # but this time dos style (no spaces!) so that the unix form looks
12466      # like /cygdrive/c/PROGRA~1:/cygdr...
12467      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12468      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12469      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12470      ;;
12471    *)
12472      sys_lib_search_path_spec=$LIB
12473      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12474        # It is most probably a Windows format PATH.
12475        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12476      else
12477        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12478      fi
12479      # FIXME: find the short name or the path components, as spaces are
12480      # common. (e.g. "Program Files" -> "PROGRA~1")
12481      ;;
12482    esac
12483
12484    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12485    postinstall_cmds='base_file=`basename \$file`~
12486      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12487      dldir=$destdir/`dirname \$dlpath`~
12488      test -d \$dldir || mkdir -p \$dldir~
12489      $install_prog $dir/$dlname \$dldir/$dlname'
12490    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12491      dlpath=$dir/\$dldll~
12492       $RM \$dlpath'
12493    shlibpath_overrides_runpath=yes
12494    dynamic_linker='Win32 link.exe'
12495    ;;
12496
12497  *)
12498    # Assume MSVC wrapper
12499    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12500    dynamic_linker='Win32 ld.exe'
12501    ;;
12502  esac
12503  # FIXME: first we should search . and the directory the executable is in
12504  shlibpath_var=PATH
12505  ;;
12506
12507darwin* | rhapsody*)
12508  dynamic_linker="$host_os dyld"
12509  version_type=darwin
12510  need_lib_prefix=no
12511  need_version=no
12512  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12513  soname_spec='$libname$release$major$shared_ext'
12514  shlibpath_overrides_runpath=yes
12515  shlibpath_var=DYLD_LIBRARY_PATH
12516  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12517
12518  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12519  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12520  ;;
12521
12522dgux*)
12523  version_type=linux # correct to gnu/linux during the next big refactor
12524  need_lib_prefix=no
12525  need_version=no
12526  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12527  soname_spec='$libname$release$shared_ext$major'
12528  shlibpath_var=LD_LIBRARY_PATH
12529  ;;
12530
12531freebsd* | dragonfly*)
12532  # DragonFly does not have aout.  When/if they implement a new
12533  # versioning mechanism, adjust this.
12534  if test -x /usr/bin/objformat; then
12535    objformat=`/usr/bin/objformat`
12536  else
12537    case $host_os in
12538    freebsd[23].*) objformat=aout ;;
12539    *) objformat=elf ;;
12540    esac
12541  fi
12542  version_type=freebsd-$objformat
12543  case $version_type in
12544    freebsd-elf*)
12545      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12546      soname_spec='$libname$release$shared_ext$major'
12547      need_version=no
12548      need_lib_prefix=no
12549      ;;
12550    freebsd-*)
12551      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12552      need_version=yes
12553      ;;
12554  esac
12555  shlibpath_var=LD_LIBRARY_PATH
12556  case $host_os in
12557  freebsd2.*)
12558    shlibpath_overrides_runpath=yes
12559    ;;
12560  freebsd3.[01]* | freebsdelf3.[01]*)
12561    shlibpath_overrides_runpath=yes
12562    hardcode_into_libs=yes
12563    ;;
12564  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12565  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12566    shlibpath_overrides_runpath=no
12567    hardcode_into_libs=yes
12568    ;;
12569  *) # from 4.6 on, and DragonFly
12570    shlibpath_overrides_runpath=yes
12571    hardcode_into_libs=yes
12572    ;;
12573  esac
12574  ;;
12575
12576haiku*)
12577  version_type=linux # correct to gnu/linux during the next big refactor
12578  need_lib_prefix=no
12579  need_version=no
12580  dynamic_linker="$host_os runtime_loader"
12581  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12582  soname_spec='$libname$release$shared_ext$major'
12583  shlibpath_var=LIBRARY_PATH
12584  shlibpath_overrides_runpath=no
12585  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12586  hardcode_into_libs=yes
12587  ;;
12588
12589hpux9* | hpux10* | hpux11*)
12590  # Give a soname corresponding to the major version so that dld.sl refuses to
12591  # link against other versions.
12592  version_type=sunos
12593  need_lib_prefix=no
12594  need_version=no
12595  case $host_cpu in
12596  ia64*)
12597    shrext_cmds='.so'
12598    hardcode_into_libs=yes
12599    dynamic_linker="$host_os dld.so"
12600    shlibpath_var=LD_LIBRARY_PATH
12601    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12602    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12603    soname_spec='$libname$release$shared_ext$major'
12604    if test 32 = "$HPUX_IA64_MODE"; then
12605      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12606      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12607    else
12608      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12609      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12610    fi
12611    ;;
12612  hppa*64*)
12613    shrext_cmds='.sl'
12614    hardcode_into_libs=yes
12615    dynamic_linker="$host_os dld.sl"
12616    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12617    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12618    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12619    soname_spec='$libname$release$shared_ext$major'
12620    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12621    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12622    ;;
12623  *)
12624    shrext_cmds='.sl'
12625    dynamic_linker="$host_os dld.sl"
12626    shlibpath_var=SHLIB_PATH
12627    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12628    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12629    soname_spec='$libname$release$shared_ext$major'
12630    ;;
12631  esac
12632  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12633  postinstall_cmds='chmod 555 $lib'
12634  # or fails outright, so override atomically:
12635  install_override_mode=555
12636  ;;
12637
12638interix[3-9]*)
12639  version_type=linux # correct to gnu/linux during the next big refactor
12640  need_lib_prefix=no
12641  need_version=no
12642  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12643  soname_spec='$libname$release$shared_ext$major'
12644  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12645  shlibpath_var=LD_LIBRARY_PATH
12646  shlibpath_overrides_runpath=no
12647  hardcode_into_libs=yes
12648  ;;
12649
12650irix5* | irix6* | nonstopux*)
12651  case $host_os in
12652    nonstopux*) version_type=nonstopux ;;
12653    *)
12654	if test yes = "$lt_cv_prog_gnu_ld"; then
12655		version_type=linux # correct to gnu/linux during the next big refactor
12656	else
12657		version_type=irix
12658	fi ;;
12659  esac
12660  need_lib_prefix=no
12661  need_version=no
12662  soname_spec='$libname$release$shared_ext$major'
12663  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12664  case $host_os in
12665  irix5* | nonstopux*)
12666    libsuff= shlibsuff=
12667    ;;
12668  *)
12669    case $LD in # libtool.m4 will add one of these switches to LD
12670    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12671      libsuff= shlibsuff= libmagic=32-bit;;
12672    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12673      libsuff=32 shlibsuff=N32 libmagic=N32;;
12674    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12675      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12676    *) libsuff= shlibsuff= libmagic=never-match;;
12677    esac
12678    ;;
12679  esac
12680  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12681  shlibpath_overrides_runpath=no
12682  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12683  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12684  hardcode_into_libs=yes
12685  ;;
12686
12687# No shared lib support for Linux oldld, aout, or coff.
12688linux*oldld* | linux*aout* | linux*coff*)
12689  dynamic_linker=no
12690  ;;
12691
12692linux*android*)
12693  version_type=none # Android doesn't support versioned libraries.
12694  need_lib_prefix=no
12695  need_version=no
12696  library_names_spec='$libname$release$shared_ext'
12697  soname_spec='$libname$release$shared_ext'
12698  finish_cmds=
12699  shlibpath_var=LD_LIBRARY_PATH
12700  shlibpath_overrides_runpath=yes
12701
12702  # This implies no fast_install, which is unacceptable.
12703  # Some rework will be needed to allow for fast_install
12704  # before this can be enabled.
12705  hardcode_into_libs=yes
12706
12707  dynamic_linker='Android linker'
12708  # Don't embed -rpath directories since the linker doesn't support them.
12709  hardcode_libdir_flag_spec='-L$libdir'
12710  ;;
12711
12712# This must be glibc/ELF.
12713linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12714  version_type=linux # correct to gnu/linux during the next big refactor
12715  need_lib_prefix=no
12716  need_version=no
12717  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12718  soname_spec='$libname$release$shared_ext$major'
12719  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12720  shlibpath_var=LD_LIBRARY_PATH
12721  shlibpath_overrides_runpath=no
12722
12723  # Some binutils ld are patched to set DT_RUNPATH
12724  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12725  $as_echo_n "(cached) " >&6
12726else
12727  lt_cv_shlibpath_overrides_runpath=no
12728    save_LDFLAGS=$LDFLAGS
12729    save_libdir=$libdir
12730    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12731	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12732    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12733/* end confdefs.h.  */
12734
12735int
12736main ()
12737{
12738
12739  ;
12740  return 0;
12741}
12742_ACEOF
12743if ac_fn_c_try_link "$LINENO"; then :
12744  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12745  lt_cv_shlibpath_overrides_runpath=yes
12746fi
12747fi
12748rm -f core conftest.err conftest.$ac_objext \
12749    conftest$ac_exeext conftest.$ac_ext
12750    LDFLAGS=$save_LDFLAGS
12751    libdir=$save_libdir
12752
12753fi
12754
12755  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12756
12757  # This implies no fast_install, which is unacceptable.
12758  # Some rework will be needed to allow for fast_install
12759  # before this can be enabled.
12760  hardcode_into_libs=yes
12761
12762  # Add ABI-specific directories to the system library path.
12763  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12764
12765  # Ideally, we could use ldconfig to report *all* directores which are
12766  # searched for libraries, however this is still not possible.  Aside from not
12767  # being certain /sbin/ldconfig is available, command
12768  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12769  # even though it is searched at run-time.  Try to do the best guess by
12770  # appending ld.so.conf contents (and includes) to the search path.
12771  if test -f /etc/ld.so.conf; then
12772    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' ' '`
12773    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12774  fi
12775
12776  # We used to test for /lib/ld.so.1 and disable shared libraries on
12777  # powerpc, because MkLinux only supported shared libraries with the
12778  # GNU dynamic linker.  Since this was broken with cross compilers,
12779  # most powerpc-linux boxes support dynamic linking these days and
12780  # people can always --disable-shared, the test was removed, and we
12781  # assume the GNU/Linux dynamic linker is in use.
12782  dynamic_linker='GNU/Linux ld.so'
12783  ;;
12784
12785netbsd*)
12786  version_type=sunos
12787  need_lib_prefix=no
12788  need_version=no
12789  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12790    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12791    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12792    dynamic_linker='NetBSD (a.out) ld.so'
12793  else
12794    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12795    soname_spec='$libname$release$shared_ext$major'
12796    dynamic_linker='NetBSD ld.elf_so'
12797  fi
12798  shlibpath_var=LD_LIBRARY_PATH
12799  shlibpath_overrides_runpath=yes
12800  hardcode_into_libs=yes
12801  ;;
12802
12803newsos6)
12804  version_type=linux # correct to gnu/linux during the next big refactor
12805  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12806  shlibpath_var=LD_LIBRARY_PATH
12807  shlibpath_overrides_runpath=yes
12808  ;;
12809
12810*nto* | *qnx*)
12811  version_type=qnx
12812  need_lib_prefix=no
12813  need_version=no
12814  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12815  soname_spec='$libname$release$shared_ext$major'
12816  shlibpath_var=LD_LIBRARY_PATH
12817  shlibpath_overrides_runpath=no
12818  hardcode_into_libs=yes
12819  dynamic_linker='ldqnx.so'
12820  ;;
12821
12822openbsd* | bitrig*)
12823  version_type=sunos
12824  sys_lib_dlsearch_path_spec=/usr/lib
12825  need_lib_prefix=no
12826  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12827    need_version=no
12828  else
12829    need_version=yes
12830  fi
12831  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12832  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12833  shlibpath_var=LD_LIBRARY_PATH
12834  shlibpath_overrides_runpath=yes
12835  ;;
12836
12837os2*)
12838  libname_spec='$name'
12839  version_type=windows
12840  shrext_cmds=.dll
12841  need_version=no
12842  need_lib_prefix=no
12843  # OS/2 can only load a DLL with a base name of 8 characters or less.
12844  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12845    v=$($ECHO $release$versuffix | tr -d .-);
12846    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12847    $ECHO $n$v`$shared_ext'
12848  library_names_spec='${libname}_dll.$libext'
12849  dynamic_linker='OS/2 ld.exe'
12850  shlibpath_var=BEGINLIBPATH
12851  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12852  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12853  postinstall_cmds='base_file=`basename \$file`~
12854    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12855    dldir=$destdir/`dirname \$dlpath`~
12856    test -d \$dldir || mkdir -p \$dldir~
12857    $install_prog $dir/$dlname \$dldir/$dlname~
12858    chmod a+x \$dldir/$dlname~
12859    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12860      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12861    fi'
12862  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12863    dlpath=$dir/\$dldll~
12864    $RM \$dlpath'
12865  ;;
12866
12867osf3* | osf4* | osf5*)
12868  version_type=osf
12869  need_lib_prefix=no
12870  need_version=no
12871  soname_spec='$libname$release$shared_ext$major'
12872  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12873  shlibpath_var=LD_LIBRARY_PATH
12874  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12875  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12876  ;;
12877
12878rdos*)
12879  dynamic_linker=no
12880  ;;
12881
12882solaris*)
12883  version_type=linux # correct to gnu/linux during the next big refactor
12884  need_lib_prefix=no
12885  need_version=no
12886  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12887  soname_spec='$libname$release$shared_ext$major'
12888  shlibpath_var=LD_LIBRARY_PATH
12889  shlibpath_overrides_runpath=yes
12890  hardcode_into_libs=yes
12891  # ldd complains unless libraries are executable
12892  postinstall_cmds='chmod +x $lib'
12893  ;;
12894
12895sunos4*)
12896  version_type=sunos
12897  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12898  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12899  shlibpath_var=LD_LIBRARY_PATH
12900  shlibpath_overrides_runpath=yes
12901  if test yes = "$with_gnu_ld"; then
12902    need_lib_prefix=no
12903  fi
12904  need_version=yes
12905  ;;
12906
12907sysv4 | sysv4.3*)
12908  version_type=linux # correct to gnu/linux during the next big refactor
12909  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12910  soname_spec='$libname$release$shared_ext$major'
12911  shlibpath_var=LD_LIBRARY_PATH
12912  case $host_vendor in
12913    sni)
12914      shlibpath_overrides_runpath=no
12915      need_lib_prefix=no
12916      runpath_var=LD_RUN_PATH
12917      ;;
12918    siemens)
12919      need_lib_prefix=no
12920      ;;
12921    motorola)
12922      need_lib_prefix=no
12923      need_version=no
12924      shlibpath_overrides_runpath=no
12925      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12926      ;;
12927  esac
12928  ;;
12929
12930sysv4*MP*)
12931  if test -d /usr/nec; then
12932    version_type=linux # correct to gnu/linux during the next big refactor
12933    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12934    soname_spec='$libname$shared_ext.$major'
12935    shlibpath_var=LD_LIBRARY_PATH
12936  fi
12937  ;;
12938
12939sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12940  version_type=sco
12941  need_lib_prefix=no
12942  need_version=no
12943  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12944  soname_spec='$libname$release$shared_ext$major'
12945  shlibpath_var=LD_LIBRARY_PATH
12946  shlibpath_overrides_runpath=yes
12947  hardcode_into_libs=yes
12948  if test yes = "$with_gnu_ld"; then
12949    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12950  else
12951    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12952    case $host_os in
12953      sco3.2v5*)
12954        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12955	;;
12956    esac
12957  fi
12958  sys_lib_dlsearch_path_spec='/usr/lib'
12959  ;;
12960
12961tpf*)
12962  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12963  version_type=linux # correct to gnu/linux during the next big refactor
12964  need_lib_prefix=no
12965  need_version=no
12966  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12967  shlibpath_var=LD_LIBRARY_PATH
12968  shlibpath_overrides_runpath=no
12969  hardcode_into_libs=yes
12970  ;;
12971
12972uts4*)
12973  version_type=linux # correct to gnu/linux during the next big refactor
12974  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12975  soname_spec='$libname$release$shared_ext$major'
12976  shlibpath_var=LD_LIBRARY_PATH
12977  ;;
12978
12979*)
12980  dynamic_linker=no
12981  ;;
12982esac
12983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12984$as_echo "$dynamic_linker" >&6; }
12985test no = "$dynamic_linker" && can_build_shared=no
12986
12987variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12988if test yes = "$GCC"; then
12989  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12990fi
12991
12992if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12993  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12994fi
12995
12996if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12997  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12998fi
12999
13000# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13001configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13002
13003# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13004func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13005
13006# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13007configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13106$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13107hardcode_action=
13108if test -n "$hardcode_libdir_flag_spec" ||
13109   test -n "$runpath_var" ||
13110   test yes = "$hardcode_automatic"; then
13111
13112  # We can hardcode non-existent directories.
13113  if test no != "$hardcode_direct" &&
13114     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13115     # have to relink, otherwise we might link with an installed library
13116     # when we should be linking with a yet-to-be-installed one
13117     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13118     test no != "$hardcode_minus_L"; then
13119    # Linking always hardcodes the temporary library directory.
13120    hardcode_action=relink
13121  else
13122    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13123    hardcode_action=immediate
13124  fi
13125else
13126  # We cannot hardcode anything, or else we can only hardcode existing
13127  # directories.
13128  hardcode_action=unsupported
13129fi
13130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13131$as_echo "$hardcode_action" >&6; }
13132
13133if test relink = "$hardcode_action" ||
13134   test yes = "$inherit_rpath"; then
13135  # Fast installation is not supported
13136  enable_fast_install=no
13137elif test yes = "$shlibpath_overrides_runpath" ||
13138     test no = "$enable_shared"; then
13139  # Fast installation is not necessary
13140  enable_fast_install=needless
13141fi
13142
13143
13144
13145
13146
13147
13148  if test yes != "$enable_dlopen"; then
13149  enable_dlopen=unknown
13150  enable_dlopen_self=unknown
13151  enable_dlopen_self_static=unknown
13152else
13153  lt_cv_dlopen=no
13154  lt_cv_dlopen_libs=
13155
13156  case $host_os in
13157  beos*)
13158    lt_cv_dlopen=load_add_on
13159    lt_cv_dlopen_libs=
13160    lt_cv_dlopen_self=yes
13161    ;;
13162
13163  mingw* | pw32* | cegcc*)
13164    lt_cv_dlopen=LoadLibrary
13165    lt_cv_dlopen_libs=
13166    ;;
13167
13168  cygwin*)
13169    lt_cv_dlopen=dlopen
13170    lt_cv_dlopen_libs=
13171    ;;
13172
13173  darwin*)
13174    # if libdl is installed we need to link against it
13175    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13176$as_echo_n "checking for dlopen in -ldl... " >&6; }
13177if ${ac_cv_lib_dl_dlopen+:} false; then :
13178  $as_echo_n "(cached) " >&6
13179else
13180  ac_check_lib_save_LIBS=$LIBS
13181LIBS="-ldl  $LIBS"
13182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183/* end confdefs.h.  */
13184
13185/* Override any GCC internal prototype to avoid an error.
13186   Use char because int might match the return type of a GCC
13187   builtin and then its argument prototype would still apply.  */
13188#ifdef __cplusplus
13189extern "C"
13190#endif
13191char dlopen ();
13192int
13193main ()
13194{
13195return dlopen ();
13196  ;
13197  return 0;
13198}
13199_ACEOF
13200if ac_fn_c_try_link "$LINENO"; then :
13201  ac_cv_lib_dl_dlopen=yes
13202else
13203  ac_cv_lib_dl_dlopen=no
13204fi
13205rm -f core conftest.err conftest.$ac_objext \
13206    conftest$ac_exeext conftest.$ac_ext
13207LIBS=$ac_check_lib_save_LIBS
13208fi
13209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13210$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13211if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13212  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13213else
13214
13215    lt_cv_dlopen=dyld
13216    lt_cv_dlopen_libs=
13217    lt_cv_dlopen_self=yes
13218
13219fi
13220
13221    ;;
13222
13223  tpf*)
13224    # Don't try to run any link tests for TPF.  We know it's impossible
13225    # because TPF is a cross-compiler, and we know how we open DSOs.
13226    lt_cv_dlopen=dlopen
13227    lt_cv_dlopen_libs=
13228    lt_cv_dlopen_self=no
13229    ;;
13230
13231  *)
13232    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13233if test "x$ac_cv_func_shl_load" = xyes; then :
13234  lt_cv_dlopen=shl_load
13235else
13236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13237$as_echo_n "checking for shl_load in -ldld... " >&6; }
13238if ${ac_cv_lib_dld_shl_load+:} false; then :
13239  $as_echo_n "(cached) " >&6
13240else
13241  ac_check_lib_save_LIBS=$LIBS
13242LIBS="-ldld  $LIBS"
13243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13244/* end confdefs.h.  */
13245
13246/* Override any GCC internal prototype to avoid an error.
13247   Use char because int might match the return type of a GCC
13248   builtin and then its argument prototype would still apply.  */
13249#ifdef __cplusplus
13250extern "C"
13251#endif
13252char shl_load ();
13253int
13254main ()
13255{
13256return shl_load ();
13257  ;
13258  return 0;
13259}
13260_ACEOF
13261if ac_fn_c_try_link "$LINENO"; then :
13262  ac_cv_lib_dld_shl_load=yes
13263else
13264  ac_cv_lib_dld_shl_load=no
13265fi
13266rm -f core conftest.err conftest.$ac_objext \
13267    conftest$ac_exeext conftest.$ac_ext
13268LIBS=$ac_check_lib_save_LIBS
13269fi
13270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13271$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13272if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13273  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13274else
13275  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13276if test "x$ac_cv_func_dlopen" = xyes; then :
13277  lt_cv_dlopen=dlopen
13278else
13279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13280$as_echo_n "checking for dlopen in -ldl... " >&6; }
13281if ${ac_cv_lib_dl_dlopen+:} false; then :
13282  $as_echo_n "(cached) " >&6
13283else
13284  ac_check_lib_save_LIBS=$LIBS
13285LIBS="-ldl  $LIBS"
13286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287/* end confdefs.h.  */
13288
13289/* Override any GCC internal prototype to avoid an error.
13290   Use char because int might match the return type of a GCC
13291   builtin and then its argument prototype would still apply.  */
13292#ifdef __cplusplus
13293extern "C"
13294#endif
13295char dlopen ();
13296int
13297main ()
13298{
13299return dlopen ();
13300  ;
13301  return 0;
13302}
13303_ACEOF
13304if ac_fn_c_try_link "$LINENO"; then :
13305  ac_cv_lib_dl_dlopen=yes
13306else
13307  ac_cv_lib_dl_dlopen=no
13308fi
13309rm -f core conftest.err conftest.$ac_objext \
13310    conftest$ac_exeext conftest.$ac_ext
13311LIBS=$ac_check_lib_save_LIBS
13312fi
13313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13314$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13315if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13316  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13317else
13318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13319$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13320if ${ac_cv_lib_svld_dlopen+:} false; then :
13321  $as_echo_n "(cached) " >&6
13322else
13323  ac_check_lib_save_LIBS=$LIBS
13324LIBS="-lsvld  $LIBS"
13325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326/* end confdefs.h.  */
13327
13328/* Override any GCC internal prototype to avoid an error.
13329   Use char because int might match the return type of a GCC
13330   builtin and then its argument prototype would still apply.  */
13331#ifdef __cplusplus
13332extern "C"
13333#endif
13334char dlopen ();
13335int
13336main ()
13337{
13338return dlopen ();
13339  ;
13340  return 0;
13341}
13342_ACEOF
13343if ac_fn_c_try_link "$LINENO"; then :
13344  ac_cv_lib_svld_dlopen=yes
13345else
13346  ac_cv_lib_svld_dlopen=no
13347fi
13348rm -f core conftest.err conftest.$ac_objext \
13349    conftest$ac_exeext conftest.$ac_ext
13350LIBS=$ac_check_lib_save_LIBS
13351fi
13352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13353$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13354if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13355  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13356else
13357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13358$as_echo_n "checking for dld_link in -ldld... " >&6; }
13359if ${ac_cv_lib_dld_dld_link+:} false; then :
13360  $as_echo_n "(cached) " >&6
13361else
13362  ac_check_lib_save_LIBS=$LIBS
13363LIBS="-ldld  $LIBS"
13364cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365/* end confdefs.h.  */
13366
13367/* Override any GCC internal prototype to avoid an error.
13368   Use char because int might match the return type of a GCC
13369   builtin and then its argument prototype would still apply.  */
13370#ifdef __cplusplus
13371extern "C"
13372#endif
13373char dld_link ();
13374int
13375main ()
13376{
13377return dld_link ();
13378  ;
13379  return 0;
13380}
13381_ACEOF
13382if ac_fn_c_try_link "$LINENO"; then :
13383  ac_cv_lib_dld_dld_link=yes
13384else
13385  ac_cv_lib_dld_dld_link=no
13386fi
13387rm -f core conftest.err conftest.$ac_objext \
13388    conftest$ac_exeext conftest.$ac_ext
13389LIBS=$ac_check_lib_save_LIBS
13390fi
13391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13392$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13393if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13394  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13395fi
13396
13397
13398fi
13399
13400
13401fi
13402
13403
13404fi
13405
13406
13407fi
13408
13409
13410fi
13411
13412    ;;
13413  esac
13414
13415  if test no = "$lt_cv_dlopen"; then
13416    enable_dlopen=no
13417  else
13418    enable_dlopen=yes
13419  fi
13420
13421  case $lt_cv_dlopen in
13422  dlopen)
13423    save_CPPFLAGS=$CPPFLAGS
13424    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13425
13426    save_LDFLAGS=$LDFLAGS
13427    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13428
13429    save_LIBS=$LIBS
13430    LIBS="$lt_cv_dlopen_libs $LIBS"
13431
13432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13433$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13434if ${lt_cv_dlopen_self+:} false; then :
13435  $as_echo_n "(cached) " >&6
13436else
13437  	  if test yes = "$cross_compiling"; then :
13438  lt_cv_dlopen_self=cross
13439else
13440  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13441  lt_status=$lt_dlunknown
13442  cat > conftest.$ac_ext <<_LT_EOF
13443#line $LINENO "configure"
13444#include "confdefs.h"
13445
13446#if HAVE_DLFCN_H
13447#include <dlfcn.h>
13448#endif
13449
13450#include <stdio.h>
13451
13452#ifdef RTLD_GLOBAL
13453#  define LT_DLGLOBAL		RTLD_GLOBAL
13454#else
13455#  ifdef DL_GLOBAL
13456#    define LT_DLGLOBAL		DL_GLOBAL
13457#  else
13458#    define LT_DLGLOBAL		0
13459#  endif
13460#endif
13461
13462/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13463   find out it does not work in some platform. */
13464#ifndef LT_DLLAZY_OR_NOW
13465#  ifdef RTLD_LAZY
13466#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13467#  else
13468#    ifdef DL_LAZY
13469#      define LT_DLLAZY_OR_NOW		DL_LAZY
13470#    else
13471#      ifdef RTLD_NOW
13472#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13473#      else
13474#        ifdef DL_NOW
13475#          define LT_DLLAZY_OR_NOW	DL_NOW
13476#        else
13477#          define LT_DLLAZY_OR_NOW	0
13478#        endif
13479#      endif
13480#    endif
13481#  endif
13482#endif
13483
13484/* When -fvisibility=hidden is used, assume the code has been annotated
13485   correspondingly for the symbols needed.  */
13486#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13487int fnord () __attribute__((visibility("default")));
13488#endif
13489
13490int fnord () { return 42; }
13491int main ()
13492{
13493  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13494  int status = $lt_dlunknown;
13495
13496  if (self)
13497    {
13498      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13499      else
13500        {
13501	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13502          else puts (dlerror ());
13503	}
13504      /* dlclose (self); */
13505    }
13506  else
13507    puts (dlerror ());
13508
13509  return status;
13510}
13511_LT_EOF
13512  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13513  (eval $ac_link) 2>&5
13514  ac_status=$?
13515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13516  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13517    (./conftest; exit; ) >&5 2>/dev/null
13518    lt_status=$?
13519    case x$lt_status in
13520      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13521      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13522      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13523    esac
13524  else :
13525    # compilation failed
13526    lt_cv_dlopen_self=no
13527  fi
13528fi
13529rm -fr conftest*
13530
13531
13532fi
13533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13534$as_echo "$lt_cv_dlopen_self" >&6; }
13535
13536    if test yes = "$lt_cv_dlopen_self"; then
13537      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13538      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13539$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13540if ${lt_cv_dlopen_self_static+:} false; then :
13541  $as_echo_n "(cached) " >&6
13542else
13543  	  if test yes = "$cross_compiling"; then :
13544  lt_cv_dlopen_self_static=cross
13545else
13546  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13547  lt_status=$lt_dlunknown
13548  cat > conftest.$ac_ext <<_LT_EOF
13549#line $LINENO "configure"
13550#include "confdefs.h"
13551
13552#if HAVE_DLFCN_H
13553#include <dlfcn.h>
13554#endif
13555
13556#include <stdio.h>
13557
13558#ifdef RTLD_GLOBAL
13559#  define LT_DLGLOBAL		RTLD_GLOBAL
13560#else
13561#  ifdef DL_GLOBAL
13562#    define LT_DLGLOBAL		DL_GLOBAL
13563#  else
13564#    define LT_DLGLOBAL		0
13565#  endif
13566#endif
13567
13568/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13569   find out it does not work in some platform. */
13570#ifndef LT_DLLAZY_OR_NOW
13571#  ifdef RTLD_LAZY
13572#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13573#  else
13574#    ifdef DL_LAZY
13575#      define LT_DLLAZY_OR_NOW		DL_LAZY
13576#    else
13577#      ifdef RTLD_NOW
13578#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13579#      else
13580#        ifdef DL_NOW
13581#          define LT_DLLAZY_OR_NOW	DL_NOW
13582#        else
13583#          define LT_DLLAZY_OR_NOW	0
13584#        endif
13585#      endif
13586#    endif
13587#  endif
13588#endif
13589
13590/* When -fvisibility=hidden is used, assume the code has been annotated
13591   correspondingly for the symbols needed.  */
13592#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13593int fnord () __attribute__((visibility("default")));
13594#endif
13595
13596int fnord () { return 42; }
13597int main ()
13598{
13599  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13600  int status = $lt_dlunknown;
13601
13602  if (self)
13603    {
13604      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13605      else
13606        {
13607	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13608          else puts (dlerror ());
13609	}
13610      /* dlclose (self); */
13611    }
13612  else
13613    puts (dlerror ());
13614
13615  return status;
13616}
13617_LT_EOF
13618  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13619  (eval $ac_link) 2>&5
13620  ac_status=$?
13621  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13622  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13623    (./conftest; exit; ) >&5 2>/dev/null
13624    lt_status=$?
13625    case x$lt_status in
13626      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13627      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13628      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13629    esac
13630  else :
13631    # compilation failed
13632    lt_cv_dlopen_self_static=no
13633  fi
13634fi
13635rm -fr conftest*
13636
13637
13638fi
13639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13640$as_echo "$lt_cv_dlopen_self_static" >&6; }
13641    fi
13642
13643    CPPFLAGS=$save_CPPFLAGS
13644    LDFLAGS=$save_LDFLAGS
13645    LIBS=$save_LIBS
13646    ;;
13647  esac
13648
13649  case $lt_cv_dlopen_self in
13650  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13651  *) enable_dlopen_self=unknown ;;
13652  esac
13653
13654  case $lt_cv_dlopen_self_static in
13655  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13656  *) enable_dlopen_self_static=unknown ;;
13657  esac
13658fi
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676striplib=
13677old_striplib=
13678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13679$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13680if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13681  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13682  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13684$as_echo "yes" >&6; }
13685else
13686# FIXME - insert some real tests, host_os isn't really good enough
13687  case $host_os in
13688  darwin*)
13689    if test -n "$STRIP"; then
13690      striplib="$STRIP -x"
13691      old_striplib="$STRIP -S"
13692      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13693$as_echo "yes" >&6; }
13694    else
13695      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13696$as_echo "no" >&6; }
13697    fi
13698    ;;
13699  *)
13700    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701$as_echo "no" >&6; }
13702    ;;
13703  esac
13704fi
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717  # Report what library types will actually be built
13718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13719$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13721$as_echo "$can_build_shared" >&6; }
13722
13723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13724$as_echo_n "checking whether to build shared libraries... " >&6; }
13725  test no = "$can_build_shared" && enable_shared=no
13726
13727  # On AIX, shared libraries and static libraries use the same namespace, and
13728  # are all built from PIC.
13729  case $host_os in
13730  aix3*)
13731    test yes = "$enable_shared" && enable_static=no
13732    if test -n "$RANLIB"; then
13733      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13734      postinstall_cmds='$RANLIB $lib'
13735    fi
13736    ;;
13737
13738  aix[4-9]*)
13739    if test ia64 != "$host_cpu"; then
13740      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13741      yes,aix,yes) ;;			# shared object as lib.so file only
13742      yes,svr4,*) ;;			# shared object as lib.so archive member only
13743      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13744      esac
13745    fi
13746    ;;
13747  esac
13748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13749$as_echo "$enable_shared" >&6; }
13750
13751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13752$as_echo_n "checking whether to build static libraries... " >&6; }
13753  # Make sure either enable_shared or enable_static is yes.
13754  test yes = "$enable_shared" || enable_static=yes
13755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13756$as_echo "$enable_static" >&6; }
13757
13758
13759
13760
13761fi
13762ac_ext=c
13763ac_cpp='$CPP $CPPFLAGS'
13764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13766ac_compiler_gnu=$ac_cv_c_compiler_gnu
13767
13768CC=$lt_save_CC
13769
13770      if test -n "$CXX" && ( test no != "$CXX" &&
13771    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13772    (test g++ != "$CXX"))); then
13773  ac_ext=cpp
13774ac_cpp='$CXXCPP $CPPFLAGS'
13775ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13776ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13777ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13779$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13780if test -z "$CXXCPP"; then
13781  if ${ac_cv_prog_CXXCPP+:} false; then :
13782  $as_echo_n "(cached) " >&6
13783else
13784      # Double quotes because CXXCPP needs to be expanded
13785    for CXXCPP in "$CXX -E" "/lib/cpp"
13786    do
13787      ac_preproc_ok=false
13788for ac_cxx_preproc_warn_flag in '' yes
13789do
13790  # Use a header file that comes with gcc, so configuring glibc
13791  # with a fresh cross-compiler works.
13792  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13793  # <limits.h> exists even on freestanding compilers.
13794  # On the NeXT, cc -E runs the code through the compiler's parser,
13795  # not just through cpp. "Syntax error" is here to catch this case.
13796  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797/* end confdefs.h.  */
13798#ifdef __STDC__
13799# include <limits.h>
13800#else
13801# include <assert.h>
13802#endif
13803		     Syntax error
13804_ACEOF
13805if ac_fn_cxx_try_cpp "$LINENO"; then :
13806
13807else
13808  # Broken: fails on valid input.
13809continue
13810fi
13811rm -f conftest.err conftest.i conftest.$ac_ext
13812
13813  # OK, works on sane cases.  Now check whether nonexistent headers
13814  # can be detected and how.
13815  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816/* end confdefs.h.  */
13817#include <ac_nonexistent.h>
13818_ACEOF
13819if ac_fn_cxx_try_cpp "$LINENO"; then :
13820  # Broken: success on invalid input.
13821continue
13822else
13823  # Passes both tests.
13824ac_preproc_ok=:
13825break
13826fi
13827rm -f conftest.err conftest.i conftest.$ac_ext
13828
13829done
13830# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13831rm -f conftest.i conftest.err conftest.$ac_ext
13832if $ac_preproc_ok; then :
13833  break
13834fi
13835
13836    done
13837    ac_cv_prog_CXXCPP=$CXXCPP
13838
13839fi
13840  CXXCPP=$ac_cv_prog_CXXCPP
13841else
13842  ac_cv_prog_CXXCPP=$CXXCPP
13843fi
13844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13845$as_echo "$CXXCPP" >&6; }
13846ac_preproc_ok=false
13847for ac_cxx_preproc_warn_flag in '' yes
13848do
13849  # Use a header file that comes with gcc, so configuring glibc
13850  # with a fresh cross-compiler works.
13851  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13852  # <limits.h> exists even on freestanding compilers.
13853  # On the NeXT, cc -E runs the code through the compiler's parser,
13854  # not just through cpp. "Syntax error" is here to catch this case.
13855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856/* end confdefs.h.  */
13857#ifdef __STDC__
13858# include <limits.h>
13859#else
13860# include <assert.h>
13861#endif
13862		     Syntax error
13863_ACEOF
13864if ac_fn_cxx_try_cpp "$LINENO"; then :
13865
13866else
13867  # Broken: fails on valid input.
13868continue
13869fi
13870rm -f conftest.err conftest.i conftest.$ac_ext
13871
13872  # OK, works on sane cases.  Now check whether nonexistent headers
13873  # can be detected and how.
13874  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875/* end confdefs.h.  */
13876#include <ac_nonexistent.h>
13877_ACEOF
13878if ac_fn_cxx_try_cpp "$LINENO"; then :
13879  # Broken: success on invalid input.
13880continue
13881else
13882  # Passes both tests.
13883ac_preproc_ok=:
13884break
13885fi
13886rm -f conftest.err conftest.i conftest.$ac_ext
13887
13888done
13889# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13890rm -f conftest.i conftest.err conftest.$ac_ext
13891if $ac_preproc_ok; then :
13892
13893else
13894  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13895$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13896as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13897See \`config.log' for more details" "$LINENO" 5; }
13898fi
13899
13900ac_ext=c
13901ac_cpp='$CPP $CPPFLAGS'
13902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13904ac_compiler_gnu=$ac_cv_c_compiler_gnu
13905
13906else
13907  _lt_caught_CXX_error=yes
13908fi
13909
13910ac_ext=cpp
13911ac_cpp='$CXXCPP $CPPFLAGS'
13912ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13913ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13914ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13915
13916archive_cmds_need_lc_CXX=no
13917allow_undefined_flag_CXX=
13918always_export_symbols_CXX=no
13919archive_expsym_cmds_CXX=
13920compiler_needs_object_CXX=no
13921export_dynamic_flag_spec_CXX=
13922hardcode_direct_CXX=no
13923hardcode_direct_absolute_CXX=no
13924hardcode_libdir_flag_spec_CXX=
13925hardcode_libdir_separator_CXX=
13926hardcode_minus_L_CXX=no
13927hardcode_shlibpath_var_CXX=unsupported
13928hardcode_automatic_CXX=no
13929inherit_rpath_CXX=no
13930module_cmds_CXX=
13931module_expsym_cmds_CXX=
13932link_all_deplibs_CXX=unknown
13933old_archive_cmds_CXX=$old_archive_cmds
13934reload_flag_CXX=$reload_flag
13935reload_cmds_CXX=$reload_cmds
13936no_undefined_flag_CXX=
13937whole_archive_flag_spec_CXX=
13938enable_shared_with_static_runtimes_CXX=no
13939
13940# Source file extension for C++ test sources.
13941ac_ext=cpp
13942
13943# Object file extension for compiled C++ test sources.
13944objext=o
13945objext_CXX=$objext
13946
13947# No sense in running all these tests if we already determined that
13948# the CXX compiler isn't working.  Some variables (like enable_shared)
13949# are currently assumed to apply to all compilers on this platform,
13950# and will be corrupted by setting them based on a non-working compiler.
13951if test yes != "$_lt_caught_CXX_error"; then
13952  # Code to be used in simple compile tests
13953  lt_simple_compile_test_code="int some_variable = 0;"
13954
13955  # Code to be used in simple link tests
13956  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13957
13958  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13959
13960
13961
13962
13963
13964
13965# If no C compiler was specified, use CC.
13966LTCC=${LTCC-"$CC"}
13967
13968# If no C compiler flags were specified, use CFLAGS.
13969LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13970
13971# Allow CC to be a program name with arguments.
13972compiler=$CC
13973
13974
13975  # save warnings/boilerplate of simple test code
13976  ac_outfile=conftest.$ac_objext
13977echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13978eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13979_lt_compiler_boilerplate=`cat conftest.err`
13980$RM conftest*
13981
13982  ac_outfile=conftest.$ac_objext
13983echo "$lt_simple_link_test_code" >conftest.$ac_ext
13984eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13985_lt_linker_boilerplate=`cat conftest.err`
13986$RM -r conftest*
13987
13988
13989  # Allow CC to be a program name with arguments.
13990  lt_save_CC=$CC
13991  lt_save_CFLAGS=$CFLAGS
13992  lt_save_LD=$LD
13993  lt_save_GCC=$GCC
13994  GCC=$GXX
13995  lt_save_with_gnu_ld=$with_gnu_ld
13996  lt_save_path_LD=$lt_cv_path_LD
13997  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13998    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13999  else
14000    $as_unset lt_cv_prog_gnu_ld
14001  fi
14002  if test -n "${lt_cv_path_LDCXX+set}"; then
14003    lt_cv_path_LD=$lt_cv_path_LDCXX
14004  else
14005    $as_unset lt_cv_path_LD
14006  fi
14007  test -z "${LDCXX+set}" || LD=$LDCXX
14008  CC=${CXX-"c++"}
14009  CFLAGS=$CXXFLAGS
14010  compiler=$CC
14011  compiler_CXX=$CC
14012  func_cc_basename $compiler
14013cc_basename=$func_cc_basename_result
14014
14015
14016  if test -n "$compiler"; then
14017    # We don't want -fno-exception when compiling C++ code, so set the
14018    # no_builtin_flag separately
14019    if test yes = "$GXX"; then
14020      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14021    else
14022      lt_prog_compiler_no_builtin_flag_CXX=
14023    fi
14024
14025    if test yes = "$GXX"; then
14026      # Set up default GNU C++ configuration
14027
14028
14029
14030# Check whether --with-gnu-ld was given.
14031if test "${with_gnu_ld+set}" = set; then :
14032  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14033else
14034  with_gnu_ld=no
14035fi
14036
14037ac_prog=ld
14038if test yes = "$GCC"; then
14039  # Check if gcc -print-prog-name=ld gives a path.
14040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14041$as_echo_n "checking for ld used by $CC... " >&6; }
14042  case $host in
14043  *-*-mingw*)
14044    # gcc leaves a trailing carriage return, which upsets mingw
14045    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14046  *)
14047    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14048  esac
14049  case $ac_prog in
14050    # Accept absolute paths.
14051    [\\/]* | ?:[\\/]*)
14052      re_direlt='/[^/][^/]*/\.\./'
14053      # Canonicalize the pathname of ld
14054      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14055      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14056	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14057      done
14058      test -z "$LD" && LD=$ac_prog
14059      ;;
14060  "")
14061    # If it fails, then pretend we aren't using GCC.
14062    ac_prog=ld
14063    ;;
14064  *)
14065    # If it is relative, then search for the first ld in PATH.
14066    with_gnu_ld=unknown
14067    ;;
14068  esac
14069elif test yes = "$with_gnu_ld"; then
14070  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14071$as_echo_n "checking for GNU ld... " >&6; }
14072else
14073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14074$as_echo_n "checking for non-GNU ld... " >&6; }
14075fi
14076if ${lt_cv_path_LD+:} false; then :
14077  $as_echo_n "(cached) " >&6
14078else
14079  if test -z "$LD"; then
14080  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14081  for ac_dir in $PATH; do
14082    IFS=$lt_save_ifs
14083    test -z "$ac_dir" && ac_dir=.
14084    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14085      lt_cv_path_LD=$ac_dir/$ac_prog
14086      # Check to see if the program is GNU ld.  I'd rather use --version,
14087      # but apparently some variants of GNU ld only accept -v.
14088      # Break only if it was the GNU/non-GNU ld that we prefer.
14089      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14090      *GNU* | *'with BFD'*)
14091	test no != "$with_gnu_ld" && break
14092	;;
14093      *)
14094	test yes != "$with_gnu_ld" && break
14095	;;
14096      esac
14097    fi
14098  done
14099  IFS=$lt_save_ifs
14100else
14101  lt_cv_path_LD=$LD # Let the user override the test with a path.
14102fi
14103fi
14104
14105LD=$lt_cv_path_LD
14106if test -n "$LD"; then
14107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14108$as_echo "$LD" >&6; }
14109else
14110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14111$as_echo "no" >&6; }
14112fi
14113test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14115$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14116if ${lt_cv_prog_gnu_ld+:} false; then :
14117  $as_echo_n "(cached) " >&6
14118else
14119  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14120case `$LD -v 2>&1 </dev/null` in
14121*GNU* | *'with BFD'*)
14122  lt_cv_prog_gnu_ld=yes
14123  ;;
14124*)
14125  lt_cv_prog_gnu_ld=no
14126  ;;
14127esac
14128fi
14129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14130$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14131with_gnu_ld=$lt_cv_prog_gnu_ld
14132
14133
14134
14135
14136
14137
14138
14139      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14140      # archiving commands below assume that GNU ld is being used.
14141      if test yes = "$with_gnu_ld"; then
14142        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14143        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'
14144
14145        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14146        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14147
14148        # If archive_cmds runs LD, not CC, wlarc should be empty
14149        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14150        #     investigate it a little bit more. (MM)
14151        wlarc='$wl'
14152
14153        # ancient GNU ld didn't support --whole-archive et. al.
14154        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14155	  $GREP 'no-whole-archive' > /dev/null; then
14156          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14157        else
14158          whole_archive_flag_spec_CXX=
14159        fi
14160      else
14161        with_gnu_ld=no
14162        wlarc=
14163
14164        # A generic and very simple default shared library creation
14165        # command for GNU C++ for the case where it uses the native
14166        # linker, instead of GNU ld.  If possible, this setting should
14167        # overridden to take advantage of the native linker features on
14168        # the platform it is being used on.
14169        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14170      fi
14171
14172      # Commands to make compiler produce verbose output that lists
14173      # what "hidden" libraries, object files and flags are used when
14174      # linking a shared library.
14175      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14176
14177    else
14178      GXX=no
14179      with_gnu_ld=no
14180      wlarc=
14181    fi
14182
14183    # PORTME: fill in a description of your system's C++ link characteristics
14184    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14185$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14186    ld_shlibs_CXX=yes
14187    case $host_os in
14188      aix3*)
14189        # FIXME: insert proper C++ library support
14190        ld_shlibs_CXX=no
14191        ;;
14192      aix[4-9]*)
14193        if test ia64 = "$host_cpu"; then
14194          # On IA64, the linker does run time linking by default, so we don't
14195          # have to do anything special.
14196          aix_use_runtimelinking=no
14197          exp_sym_flag='-Bexport'
14198          no_entry_flag=
14199        else
14200          aix_use_runtimelinking=no
14201
14202          # Test if we are trying to use run time linking or normal
14203          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14204          # have runtime linking enabled, and use it for executables.
14205          # For shared libraries, we enable/disable runtime linking
14206          # depending on the kind of the shared library created -
14207          # when "with_aix_soname,aix_use_runtimelinking" is:
14208          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14209          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14210          #            lib.a           static archive
14211          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14212          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14213          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14214          #            lib.a(lib.so.V) shared, rtl:no
14215          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14216          #            lib.a           static archive
14217          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14218	    for ld_flag in $LDFLAGS; do
14219	      case $ld_flag in
14220	      *-brtl*)
14221	        aix_use_runtimelinking=yes
14222	        break
14223	        ;;
14224	      esac
14225	    done
14226	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14227	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14228	      # so we don't have lib.a shared libs to link our executables.
14229	      # We have to force runtime linking in this case.
14230	      aix_use_runtimelinking=yes
14231	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14232	    fi
14233	    ;;
14234          esac
14235
14236          exp_sym_flag='-bexport'
14237          no_entry_flag='-bnoentry'
14238        fi
14239
14240        # When large executables or shared objects are built, AIX ld can
14241        # have problems creating the table of contents.  If linking a library
14242        # or program results in "error TOC overflow" add -mminimal-toc to
14243        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14244        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14245
14246        archive_cmds_CXX=''
14247        hardcode_direct_CXX=yes
14248        hardcode_direct_absolute_CXX=yes
14249        hardcode_libdir_separator_CXX=':'
14250        link_all_deplibs_CXX=yes
14251        file_list_spec_CXX='$wl-f,'
14252        case $with_aix_soname,$aix_use_runtimelinking in
14253        aix,*) ;;	# no import file
14254        svr4,* | *,yes) # use import file
14255          # The Import File defines what to hardcode.
14256          hardcode_direct_CXX=no
14257          hardcode_direct_absolute_CXX=no
14258          ;;
14259        esac
14260
14261        if test yes = "$GXX"; then
14262          case $host_os in aix4.[012]|aix4.[012].*)
14263          # We only want to do this on AIX 4.2 and lower, the check
14264          # below for broken collect2 doesn't work under 4.3+
14265	  collect2name=`$CC -print-prog-name=collect2`
14266	  if test -f "$collect2name" &&
14267	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14268	  then
14269	    # We have reworked collect2
14270	    :
14271	  else
14272	    # We have old collect2
14273	    hardcode_direct_CXX=unsupported
14274	    # It fails to find uninstalled libraries when the uninstalled
14275	    # path is not listed in the libpath.  Setting hardcode_minus_L
14276	    # to unsupported forces relinking
14277	    hardcode_minus_L_CXX=yes
14278	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14279	    hardcode_libdir_separator_CXX=
14280	  fi
14281          esac
14282          shared_flag='-shared'
14283	  if test yes = "$aix_use_runtimelinking"; then
14284	    shared_flag=$shared_flag' $wl-G'
14285	  fi
14286	  # Need to ensure runtime linking is disabled for the traditional
14287	  # shared library, or the linker may eventually find shared libraries
14288	  # /with/ Import File - we do not want to mix them.
14289	  shared_flag_aix='-shared'
14290	  shared_flag_svr4='-shared $wl-G'
14291        else
14292          # not using gcc
14293          if test ia64 = "$host_cpu"; then
14294	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14295	  # chokes on -Wl,-G. The following line is correct:
14296	  shared_flag='-G'
14297          else
14298	    if test yes = "$aix_use_runtimelinking"; then
14299	      shared_flag='$wl-G'
14300	    else
14301	      shared_flag='$wl-bM:SRE'
14302	    fi
14303	    shared_flag_aix='$wl-bM:SRE'
14304	    shared_flag_svr4='$wl-G'
14305          fi
14306        fi
14307
14308        export_dynamic_flag_spec_CXX='$wl-bexpall'
14309        # It seems that -bexpall does not export symbols beginning with
14310        # underscore (_), so it is better to generate a list of symbols to
14311	# export.
14312        always_export_symbols_CXX=yes
14313	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14314          # Warning - without using the other runtime loading flags (-brtl),
14315          # -berok will link without error, but may produce a broken library.
14316          # The "-G" linker flag allows undefined symbols.
14317          no_undefined_flag_CXX='-bernotok'
14318          # Determine the default libpath from the value encoded in an empty
14319          # executable.
14320          if test set = "${lt_cv_aix_libpath+set}"; then
14321  aix_libpath=$lt_cv_aix_libpath
14322else
14323  if ${lt_cv_aix_libpath__CXX+:} false; then :
14324  $as_echo_n "(cached) " >&6
14325else
14326  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327/* end confdefs.h.  */
14328
14329int
14330main ()
14331{
14332
14333  ;
14334  return 0;
14335}
14336_ACEOF
14337if ac_fn_cxx_try_link "$LINENO"; then :
14338
14339  lt_aix_libpath_sed='
14340      /Import File Strings/,/^$/ {
14341	  /^0/ {
14342	      s/^0  *\([^ ]*\) *$/\1/
14343	      p
14344	  }
14345      }'
14346  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14347  # Check for a 64-bit object if we didn't find anything.
14348  if test -z "$lt_cv_aix_libpath__CXX"; then
14349    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14350  fi
14351fi
14352rm -f core conftest.err conftest.$ac_objext \
14353    conftest$ac_exeext conftest.$ac_ext
14354  if test -z "$lt_cv_aix_libpath__CXX"; then
14355    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14356  fi
14357
14358fi
14359
14360  aix_libpath=$lt_cv_aix_libpath__CXX
14361fi
14362
14363          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14364
14365          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
14366        else
14367          if test ia64 = "$host_cpu"; then
14368	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14369	    allow_undefined_flag_CXX="-z nodefs"
14370	    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"
14371          else
14372	    # Determine the default libpath from the value encoded in an
14373	    # empty executable.
14374	    if test set = "${lt_cv_aix_libpath+set}"; then
14375  aix_libpath=$lt_cv_aix_libpath
14376else
14377  if ${lt_cv_aix_libpath__CXX+:} false; then :
14378  $as_echo_n "(cached) " >&6
14379else
14380  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381/* end confdefs.h.  */
14382
14383int
14384main ()
14385{
14386
14387  ;
14388  return 0;
14389}
14390_ACEOF
14391if ac_fn_cxx_try_link "$LINENO"; then :
14392
14393  lt_aix_libpath_sed='
14394      /Import File Strings/,/^$/ {
14395	  /^0/ {
14396	      s/^0  *\([^ ]*\) *$/\1/
14397	      p
14398	  }
14399      }'
14400  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14401  # Check for a 64-bit object if we didn't find anything.
14402  if test -z "$lt_cv_aix_libpath__CXX"; then
14403    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14404  fi
14405fi
14406rm -f core conftest.err conftest.$ac_objext \
14407    conftest$ac_exeext conftest.$ac_ext
14408  if test -z "$lt_cv_aix_libpath__CXX"; then
14409    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14410  fi
14411
14412fi
14413
14414  aix_libpath=$lt_cv_aix_libpath__CXX
14415fi
14416
14417	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14418	    # Warning - without using the other run time loading flags,
14419	    # -berok will link without error, but may produce a broken library.
14420	    no_undefined_flag_CXX=' $wl-bernotok'
14421	    allow_undefined_flag_CXX=' $wl-berok'
14422	    if test yes = "$with_gnu_ld"; then
14423	      # We only use this code for GNU lds that support --whole-archive.
14424	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14425	    else
14426	      # Exported symbols can be pulled into shared objects from archives
14427	      whole_archive_flag_spec_CXX='$convenience'
14428	    fi
14429	    archive_cmds_need_lc_CXX=yes
14430	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14431	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14432	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14433	    if test svr4 != "$with_aix_soname"; then
14434	      # This is similar to how AIX traditionally builds its shared
14435	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14436	      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'
14437	    fi
14438	    if test aix != "$with_aix_soname"; then
14439	      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'
14440	    else
14441	      # used by -dlpreopen to get the symbols
14442	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14443	    fi
14444	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14445          fi
14446        fi
14447        ;;
14448
14449      beos*)
14450	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14451	  allow_undefined_flag_CXX=unsupported
14452	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14453	  # support --undefined.  This deserves some investigation.  FIXME
14454	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14455	else
14456	  ld_shlibs_CXX=no
14457	fi
14458	;;
14459
14460      chorus*)
14461        case $cc_basename in
14462          *)
14463	  # FIXME: insert proper C++ library support
14464	  ld_shlibs_CXX=no
14465	  ;;
14466        esac
14467        ;;
14468
14469      cygwin* | mingw* | pw32* | cegcc*)
14470	case $GXX,$cc_basename in
14471	,cl* | no,cl*)
14472	  # Native MSVC
14473	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14474	  # no search path for DLLs.
14475	  hardcode_libdir_flag_spec_CXX=' '
14476	  allow_undefined_flag_CXX=unsupported
14477	  always_export_symbols_CXX=yes
14478	  file_list_spec_CXX='@'
14479	  # Tell ltmain to make .lib files, not .a files.
14480	  libext=lib
14481	  # Tell ltmain to make .dll files, not .so files.
14482	  shrext_cmds=.dll
14483	  # FIXME: Setting linknames here is a bad hack.
14484	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14485	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14486              cp "$export_symbols" "$output_objdir/$soname.def";
14487              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14488            else
14489              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14490            fi~
14491            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14492            linknames='
14493	  # The linker will not automatically build a static lib if we build a DLL.
14494	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14495	  enable_shared_with_static_runtimes_CXX=yes
14496	  # Don't use ranlib
14497	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14498	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14499            lt_tool_outputfile="@TOOL_OUTPUT@"~
14500            case $lt_outputfile in
14501              *.exe|*.EXE) ;;
14502              *)
14503                lt_outputfile=$lt_outputfile.exe
14504                lt_tool_outputfile=$lt_tool_outputfile.exe
14505                ;;
14506            esac~
14507            func_to_tool_file "$lt_outputfile"~
14508            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14509              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14510              $RM "$lt_outputfile.manifest";
14511            fi'
14512	  ;;
14513	*)
14514	  # g++
14515	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14516	  # as there is no search path for DLLs.
14517	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14518	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14519	  allow_undefined_flag_CXX=unsupported
14520	  always_export_symbols_CXX=no
14521	  enable_shared_with_static_runtimes_CXX=yes
14522
14523	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14524	    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'
14525	    # If the export-symbols file already is a .def file, use it as
14526	    # is; otherwise, prepend EXPORTS...
14527	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14528              cp $export_symbols $output_objdir/$soname.def;
14529            else
14530              echo EXPORTS > $output_objdir/$soname.def;
14531              cat $export_symbols >> $output_objdir/$soname.def;
14532            fi~
14533            $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'
14534	  else
14535	    ld_shlibs_CXX=no
14536	  fi
14537	  ;;
14538	esac
14539	;;
14540      darwin* | rhapsody*)
14541
14542
14543  archive_cmds_need_lc_CXX=no
14544  hardcode_direct_CXX=no
14545  hardcode_automatic_CXX=yes
14546  hardcode_shlibpath_var_CXX=unsupported
14547  if test yes = "$lt_cv_ld_force_load"; then
14548    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\"`'
14549
14550  else
14551    whole_archive_flag_spec_CXX=''
14552  fi
14553  link_all_deplibs_CXX=yes
14554  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14555  case $cc_basename in
14556     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14557     *) _lt_dar_can_shared=$GCC ;;
14558  esac
14559  if test yes = "$_lt_dar_can_shared"; then
14560    output_verbose_link_cmd=func_echo_all
14561    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"
14562    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14563    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"
14564    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"
14565       if test yes != "$lt_cv_apple_cc_single_mod"; then
14566      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"
14567      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"
14568    fi
14569
14570  else
14571  ld_shlibs_CXX=no
14572  fi
14573
14574	;;
14575
14576      os2*)
14577	hardcode_libdir_flag_spec_CXX='-L$libdir'
14578	hardcode_minus_L_CXX=yes
14579	allow_undefined_flag_CXX=unsupported
14580	shrext_cmds=.dll
14581	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14582	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14583	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14584	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14585	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14586	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14587	  emximp -o $lib $output_objdir/$libname.def'
14588	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14589	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14590	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14591	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14592	  prefix_cmds="$SED"~
14593	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14594	    prefix_cmds="$prefix_cmds -e 1d";
14595	  fi~
14596	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14597	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14598	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14599	  emximp -o $lib $output_objdir/$libname.def'
14600	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14601	enable_shared_with_static_runtimes_CXX=yes
14602	;;
14603
14604      dgux*)
14605        case $cc_basename in
14606          ec++*)
14607	    # FIXME: insert proper C++ library support
14608	    ld_shlibs_CXX=no
14609	    ;;
14610          ghcx*)
14611	    # Green Hills C++ Compiler
14612	    # FIXME: insert proper C++ library support
14613	    ld_shlibs_CXX=no
14614	    ;;
14615          *)
14616	    # FIXME: insert proper C++ library support
14617	    ld_shlibs_CXX=no
14618	    ;;
14619        esac
14620        ;;
14621
14622      freebsd2.*)
14623        # C++ shared libraries reported to be fairly broken before
14624	# switch to ELF
14625        ld_shlibs_CXX=no
14626        ;;
14627
14628      freebsd-elf*)
14629        archive_cmds_need_lc_CXX=no
14630        ;;
14631
14632      freebsd* | dragonfly*)
14633        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14634        # conventions
14635        ld_shlibs_CXX=yes
14636        ;;
14637
14638      haiku*)
14639        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14640        link_all_deplibs_CXX=yes
14641        ;;
14642
14643      hpux9*)
14644        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14645        hardcode_libdir_separator_CXX=:
14646        export_dynamic_flag_spec_CXX='$wl-E'
14647        hardcode_direct_CXX=yes
14648        hardcode_minus_L_CXX=yes # Not in the search PATH,
14649				             # but as the default
14650				             # location of the library.
14651
14652        case $cc_basename in
14653          CC*)
14654            # FIXME: insert proper C++ library support
14655            ld_shlibs_CXX=no
14656            ;;
14657          aCC*)
14658            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'
14659            # Commands to make compiler produce verbose output that lists
14660            # what "hidden" libraries, object files and flags are used when
14661            # linking a shared library.
14662            #
14663            # There doesn't appear to be a way to prevent this compiler from
14664            # explicitly linking system object files so we need to strip them
14665            # from the output so that they don't get included in the library
14666            # dependencies.
14667            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"'
14668            ;;
14669          *)
14670            if test yes = "$GXX"; then
14671              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'
14672            else
14673              # FIXME: insert proper C++ library support
14674              ld_shlibs_CXX=no
14675            fi
14676            ;;
14677        esac
14678        ;;
14679
14680      hpux10*|hpux11*)
14681        if test no = "$with_gnu_ld"; then
14682	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14683	  hardcode_libdir_separator_CXX=:
14684
14685          case $host_cpu in
14686            hppa*64*|ia64*)
14687              ;;
14688            *)
14689	      export_dynamic_flag_spec_CXX='$wl-E'
14690              ;;
14691          esac
14692        fi
14693        case $host_cpu in
14694          hppa*64*|ia64*)
14695            hardcode_direct_CXX=no
14696            hardcode_shlibpath_var_CXX=no
14697            ;;
14698          *)
14699            hardcode_direct_CXX=yes
14700            hardcode_direct_absolute_CXX=yes
14701            hardcode_minus_L_CXX=yes # Not in the search PATH,
14702					         # but as the default
14703					         # location of the library.
14704            ;;
14705        esac
14706
14707        case $cc_basename in
14708          CC*)
14709	    # FIXME: insert proper C++ library support
14710	    ld_shlibs_CXX=no
14711	    ;;
14712          aCC*)
14713	    case $host_cpu in
14714	      hppa*64*)
14715	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14716	        ;;
14717	      ia64*)
14718	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14719	        ;;
14720	      *)
14721	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14722	        ;;
14723	    esac
14724	    # Commands to make compiler produce verbose output that lists
14725	    # what "hidden" libraries, object files and flags are used when
14726	    # linking a shared library.
14727	    #
14728	    # There doesn't appear to be a way to prevent this compiler from
14729	    # explicitly linking system object files so we need to strip them
14730	    # from the output so that they don't get included in the library
14731	    # dependencies.
14732	    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"'
14733	    ;;
14734          *)
14735	    if test yes = "$GXX"; then
14736	      if test no = "$with_gnu_ld"; then
14737	        case $host_cpu in
14738	          hppa*64*)
14739	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14740	            ;;
14741	          ia64*)
14742	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14743	            ;;
14744	          *)
14745	            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'
14746	            ;;
14747	        esac
14748	      fi
14749	    else
14750	      # FIXME: insert proper C++ library support
14751	      ld_shlibs_CXX=no
14752	    fi
14753	    ;;
14754        esac
14755        ;;
14756
14757      interix[3-9]*)
14758	hardcode_direct_CXX=no
14759	hardcode_shlibpath_var_CXX=no
14760	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14761	export_dynamic_flag_spec_CXX='$wl-E'
14762	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14763	# Instead, shared libraries are loaded at an image base (0x10000000 by
14764	# default) and relocated if they conflict, which is a slow very memory
14765	# consuming and fragmenting process.  To avoid this, we pick a random,
14766	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14767	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14768	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'
14769	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'
14770	;;
14771      irix5* | irix6*)
14772        case $cc_basename in
14773          CC*)
14774	    # SGI C++
14775	    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'
14776
14777	    # Archives containing C++ object files must be created using
14778	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14779	    # necessary to make sure instantiated templates are included
14780	    # in the archive.
14781	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14782	    ;;
14783          *)
14784	    if test yes = "$GXX"; then
14785	      if test no = "$with_gnu_ld"; then
14786	        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'
14787	      else
14788	        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'
14789	      fi
14790	    fi
14791	    link_all_deplibs_CXX=yes
14792	    ;;
14793        esac
14794        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14795        hardcode_libdir_separator_CXX=:
14796        inherit_rpath_CXX=yes
14797        ;;
14798
14799      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14800        case $cc_basename in
14801          KCC*)
14802	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14803
14804	    # KCC will only create a shared library if the output file
14805	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14806	    # to its proper name (with version) after linking.
14807	    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'
14808	    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'
14809	    # Commands to make compiler produce verbose output that lists
14810	    # what "hidden" libraries, object files and flags are used when
14811	    # linking a shared library.
14812	    #
14813	    # There doesn't appear to be a way to prevent this compiler from
14814	    # explicitly linking system object files so we need to strip them
14815	    # from the output so that they don't get included in the library
14816	    # dependencies.
14817	    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"'
14818
14819	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14820	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14821
14822	    # Archives containing C++ object files must be created using
14823	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14824	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14825	    ;;
14826	  icpc* | ecpc* )
14827	    # Intel C++
14828	    with_gnu_ld=yes
14829	    # version 8.0 and above of icpc choke on multiply defined symbols
14830	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14831	    # earlier do not add the objects themselves.
14832	    case `$CC -V 2>&1` in
14833	      *"Version 7."*)
14834	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14835		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'
14836		;;
14837	      *)  # Version 8.0 or newer
14838	        tmp_idyn=
14839	        case $host_cpu in
14840		  ia64*) tmp_idyn=' -i_dynamic';;
14841		esac
14842	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14843		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'
14844		;;
14845	    esac
14846	    archive_cmds_need_lc_CXX=no
14847	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14848	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14849	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14850	    ;;
14851          pgCC* | pgcpp*)
14852            # Portland Group C++ compiler
14853	    case `$CC -V` in
14854	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14855	      prelink_cmds_CXX='tpldir=Template.dir~
14856               rm -rf $tpldir~
14857               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14858               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14859	      old_archive_cmds_CXX='tpldir=Template.dir~
14860                rm -rf $tpldir~
14861                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14862                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14863                $RANLIB $oldlib'
14864	      archive_cmds_CXX='tpldir=Template.dir~
14865                rm -rf $tpldir~
14866                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14867                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14868	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14869                rm -rf $tpldir~
14870                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14871                $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'
14872	      ;;
14873	    *) # Version 6 and above use weak symbols
14874	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14875	      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'
14876	      ;;
14877	    esac
14878
14879	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14880	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14881	    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'
14882            ;;
14883	  cxx*)
14884	    # Compaq C++
14885	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14886	    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'
14887
14888	    runpath_var=LD_RUN_PATH
14889	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14890	    hardcode_libdir_separator_CXX=:
14891
14892	    # Commands to make compiler produce verbose output that lists
14893	    # what "hidden" libraries, object files and flags are used when
14894	    # linking a shared library.
14895	    #
14896	    # There doesn't appear to be a way to prevent this compiler from
14897	    # explicitly linking system object files so we need to strip them
14898	    # from the output so that they don't get included in the library
14899	    # dependencies.
14900	    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'
14901	    ;;
14902	  xl* | mpixl* | bgxl*)
14903	    # IBM XL 8.0 on PPC, with GNU ld
14904	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14905	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14906	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14907	    if test yes = "$supports_anon_versioning"; then
14908	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14909                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14910                echo "local: *; };" >> $output_objdir/$libname.ver~
14911                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14912	    fi
14913	    ;;
14914	  *)
14915	    case `$CC -V 2>&1 | sed 5q` in
14916	    *Sun\ C*)
14917	      # Sun C++ 5.9
14918	      no_undefined_flag_CXX=' -zdefs'
14919	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14920	      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'
14921	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14922	      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'
14923	      compiler_needs_object_CXX=yes
14924
14925	      # Not sure whether something based on
14926	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14927	      # would be better.
14928	      output_verbose_link_cmd='func_echo_all'
14929
14930	      # Archives containing C++ object files must be created using
14931	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14932	      # necessary to make sure instantiated templates are included
14933	      # in the archive.
14934	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14935	      ;;
14936	    esac
14937	    ;;
14938	esac
14939	;;
14940
14941      lynxos*)
14942        # FIXME: insert proper C++ library support
14943	ld_shlibs_CXX=no
14944	;;
14945
14946      m88k*)
14947        # FIXME: insert proper C++ library support
14948        ld_shlibs_CXX=no
14949	;;
14950
14951      mvs*)
14952        case $cc_basename in
14953          cxx*)
14954	    # FIXME: insert proper C++ library support
14955	    ld_shlibs_CXX=no
14956	    ;;
14957	  *)
14958	    # FIXME: insert proper C++ library support
14959	    ld_shlibs_CXX=no
14960	    ;;
14961	esac
14962	;;
14963
14964      netbsd*)
14965        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14966	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14967	  wlarc=
14968	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14969	  hardcode_direct_CXX=yes
14970	  hardcode_shlibpath_var_CXX=no
14971	fi
14972	# Workaround some broken pre-1.5 toolchains
14973	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14974	;;
14975
14976      *nto* | *qnx*)
14977        ld_shlibs_CXX=yes
14978	;;
14979
14980      openbsd* | bitrig*)
14981	if test -f /usr/libexec/ld.so; then
14982	  hardcode_direct_CXX=yes
14983	  hardcode_shlibpath_var_CXX=no
14984	  hardcode_direct_absolute_CXX=yes
14985	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14986	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14987	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14988	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14989	    export_dynamic_flag_spec_CXX='$wl-E'
14990	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14991	  fi
14992	  output_verbose_link_cmd=func_echo_all
14993	else
14994	  ld_shlibs_CXX=no
14995	fi
14996	;;
14997
14998      osf3* | osf4* | osf5*)
14999        case $cc_basename in
15000          KCC*)
15001	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15002
15003	    # KCC will only create a shared library if the output file
15004	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15005	    # to its proper name (with version) after linking.
15006	    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'
15007
15008	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15009	    hardcode_libdir_separator_CXX=:
15010
15011	    # Archives containing C++ object files must be created using
15012	    # the KAI C++ compiler.
15013	    case $host in
15014	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15015	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15016	    esac
15017	    ;;
15018          RCC*)
15019	    # Rational C++ 2.4.1
15020	    # FIXME: insert proper C++ library support
15021	    ld_shlibs_CXX=no
15022	    ;;
15023          cxx*)
15024	    case $host in
15025	      osf3*)
15026	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15027	        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'
15028	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15029		;;
15030	      *)
15031	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15032	        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'
15033	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15034                  echo "-hidden">> $lib.exp~
15035                  $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~
15036                  $RM $lib.exp'
15037	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15038		;;
15039	    esac
15040
15041	    hardcode_libdir_separator_CXX=:
15042
15043	    # Commands to make compiler produce verbose output that lists
15044	    # what "hidden" libraries, object files and flags are used when
15045	    # linking a shared library.
15046	    #
15047	    # There doesn't appear to be a way to prevent this compiler from
15048	    # explicitly linking system object files so we need to strip them
15049	    # from the output so that they don't get included in the library
15050	    # dependencies.
15051	    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"'
15052	    ;;
15053	  *)
15054	    if test yes,no = "$GXX,$with_gnu_ld"; then
15055	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15056	      case $host in
15057	        osf3*)
15058	          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'
15059		  ;;
15060	        *)
15061	          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'
15062		  ;;
15063	      esac
15064
15065	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15066	      hardcode_libdir_separator_CXX=:
15067
15068	      # Commands to make compiler produce verbose output that lists
15069	      # what "hidden" libraries, object files and flags are used when
15070	      # linking a shared library.
15071	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15072
15073	    else
15074	      # FIXME: insert proper C++ library support
15075	      ld_shlibs_CXX=no
15076	    fi
15077	    ;;
15078        esac
15079        ;;
15080
15081      psos*)
15082        # FIXME: insert proper C++ library support
15083        ld_shlibs_CXX=no
15084        ;;
15085
15086      sunos4*)
15087        case $cc_basename in
15088          CC*)
15089	    # Sun C++ 4.x
15090	    # FIXME: insert proper C++ library support
15091	    ld_shlibs_CXX=no
15092	    ;;
15093          lcc*)
15094	    # Lucid
15095	    # FIXME: insert proper C++ library support
15096	    ld_shlibs_CXX=no
15097	    ;;
15098          *)
15099	    # FIXME: insert proper C++ library support
15100	    ld_shlibs_CXX=no
15101	    ;;
15102        esac
15103        ;;
15104
15105      solaris*)
15106        case $cc_basename in
15107          CC* | sunCC*)
15108	    # Sun C++ 4.2, 5.x and Centerline C++
15109            archive_cmds_need_lc_CXX=yes
15110	    no_undefined_flag_CXX=' -zdefs'
15111	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15112	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15113              $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'
15114
15115	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15116	    hardcode_shlibpath_var_CXX=no
15117	    case $host_os in
15118	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15119	      *)
15120		# The compiler driver will combine and reorder linker options,
15121		# but understands '-z linker_flag'.
15122	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15123		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15124	        ;;
15125	    esac
15126	    link_all_deplibs_CXX=yes
15127
15128	    output_verbose_link_cmd='func_echo_all'
15129
15130	    # Archives containing C++ object files must be created using
15131	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15132	    # necessary to make sure instantiated templates are included
15133	    # in the archive.
15134	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15135	    ;;
15136          gcx*)
15137	    # Green Hills C++ Compiler
15138	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15139
15140	    # The C++ compiler must be used to create the archive.
15141	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15142	    ;;
15143          *)
15144	    # GNU C++ compiler with Solaris linker
15145	    if test yes,no = "$GXX,$with_gnu_ld"; then
15146	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15147	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15148	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15149	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15150                  $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'
15151
15152	        # Commands to make compiler produce verbose output that lists
15153	        # what "hidden" libraries, object files and flags are used when
15154	        # linking a shared library.
15155	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15156	      else
15157	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15158	        # platform.
15159	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15160	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15161                  $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'
15162
15163	        # Commands to make compiler produce verbose output that lists
15164	        # what "hidden" libraries, object files and flags are used when
15165	        # linking a shared library.
15166	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15167	      fi
15168
15169	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15170	      case $host_os in
15171		solaris2.[0-5] | solaris2.[0-5].*) ;;
15172		*)
15173		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15174		  ;;
15175	      esac
15176	    fi
15177	    ;;
15178        esac
15179        ;;
15180
15181    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15182      no_undefined_flag_CXX='$wl-z,text'
15183      archive_cmds_need_lc_CXX=no
15184      hardcode_shlibpath_var_CXX=no
15185      runpath_var='LD_RUN_PATH'
15186
15187      case $cc_basename in
15188        CC*)
15189	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15190	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15191	  ;;
15192	*)
15193	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15194	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15195	  ;;
15196      esac
15197      ;;
15198
15199      sysv5* | sco3.2v5* | sco5v6*)
15200	# Note: We CANNOT use -z defs as we might desire, because we do not
15201	# link with -lc, and that would cause any symbols used from libc to
15202	# always be unresolved, which means just about no library would
15203	# ever link correctly.  If we're not using GNU ld we use -z text
15204	# though, which does catch some bad symbols but isn't as heavy-handed
15205	# as -z defs.
15206	no_undefined_flag_CXX='$wl-z,text'
15207	allow_undefined_flag_CXX='$wl-z,nodefs'
15208	archive_cmds_need_lc_CXX=no
15209	hardcode_shlibpath_var_CXX=no
15210	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15211	hardcode_libdir_separator_CXX=':'
15212	link_all_deplibs_CXX=yes
15213	export_dynamic_flag_spec_CXX='$wl-Bexport'
15214	runpath_var='LD_RUN_PATH'
15215
15216	case $cc_basename in
15217          CC*)
15218	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15219	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15220	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15221              '"$old_archive_cmds_CXX"
15222	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15223              '"$reload_cmds_CXX"
15224	    ;;
15225	  *)
15226	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15227	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15228	    ;;
15229	esac
15230      ;;
15231
15232      tandem*)
15233        case $cc_basename in
15234          NCC*)
15235	    # NonStop-UX NCC 3.20
15236	    # FIXME: insert proper C++ library support
15237	    ld_shlibs_CXX=no
15238	    ;;
15239          *)
15240	    # FIXME: insert proper C++ library support
15241	    ld_shlibs_CXX=no
15242	    ;;
15243        esac
15244        ;;
15245
15246      vxworks*)
15247        # FIXME: insert proper C++ library support
15248        ld_shlibs_CXX=no
15249        ;;
15250
15251      *)
15252        # FIXME: insert proper C++ library support
15253        ld_shlibs_CXX=no
15254        ;;
15255    esac
15256
15257    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15258$as_echo "$ld_shlibs_CXX" >&6; }
15259    test no = "$ld_shlibs_CXX" && can_build_shared=no
15260
15261    GCC_CXX=$GXX
15262    LD_CXX=$LD
15263
15264    ## CAVEAT EMPTOR:
15265    ## There is no encapsulation within the following macros, do not change
15266    ## the running order or otherwise move them around unless you know exactly
15267    ## what you are doing...
15268    # Dependencies to place before and after the object being linked:
15269predep_objects_CXX=
15270postdep_objects_CXX=
15271predeps_CXX=
15272postdeps_CXX=
15273compiler_lib_search_path_CXX=
15274
15275cat > conftest.$ac_ext <<_LT_EOF
15276class Foo
15277{
15278public:
15279  Foo (void) { a = 0; }
15280private:
15281  int a;
15282};
15283_LT_EOF
15284
15285
15286_lt_libdeps_save_CFLAGS=$CFLAGS
15287case "$CC $CFLAGS " in #(
15288*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15289*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15290*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15291esac
15292
15293if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15294  (eval $ac_compile) 2>&5
15295  ac_status=$?
15296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15297  test $ac_status = 0; }; then
15298  # Parse the compiler output and extract the necessary
15299  # objects, libraries and library flags.
15300
15301  # Sentinel used to keep track of whether or not we are before
15302  # the conftest object file.
15303  pre_test_object_deps_done=no
15304
15305  for p in `eval "$output_verbose_link_cmd"`; do
15306    case $prev$p in
15307
15308    -L* | -R* | -l*)
15309       # Some compilers place space between "-{L,R}" and the path.
15310       # Remove the space.
15311       if test x-L = "$p" ||
15312          test x-R = "$p"; then
15313	 prev=$p
15314	 continue
15315       fi
15316
15317       # Expand the sysroot to ease extracting the directories later.
15318       if test -z "$prev"; then
15319         case $p in
15320         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15321         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15322         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15323         esac
15324       fi
15325       case $p in
15326       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15327       esac
15328       if test no = "$pre_test_object_deps_done"; then
15329	 case $prev in
15330	 -L | -R)
15331	   # Internal compiler library paths should come after those
15332	   # provided the user.  The postdeps already come after the
15333	   # user supplied libs so there is no need to process them.
15334	   if test -z "$compiler_lib_search_path_CXX"; then
15335	     compiler_lib_search_path_CXX=$prev$p
15336	   else
15337	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15338	   fi
15339	   ;;
15340	 # The "-l" case would never come before the object being
15341	 # linked, so don't bother handling this case.
15342	 esac
15343       else
15344	 if test -z "$postdeps_CXX"; then
15345	   postdeps_CXX=$prev$p
15346	 else
15347	   postdeps_CXX="${postdeps_CXX} $prev$p"
15348	 fi
15349       fi
15350       prev=
15351       ;;
15352
15353    *.lto.$objext) ;; # Ignore GCC LTO objects
15354    *.$objext)
15355       # This assumes that the test object file only shows up
15356       # once in the compiler output.
15357       if test "$p" = "conftest.$objext"; then
15358	 pre_test_object_deps_done=yes
15359	 continue
15360       fi
15361
15362       if test no = "$pre_test_object_deps_done"; then
15363	 if test -z "$predep_objects_CXX"; then
15364	   predep_objects_CXX=$p
15365	 else
15366	   predep_objects_CXX="$predep_objects_CXX $p"
15367	 fi
15368       else
15369	 if test -z "$postdep_objects_CXX"; then
15370	   postdep_objects_CXX=$p
15371	 else
15372	   postdep_objects_CXX="$postdep_objects_CXX $p"
15373	 fi
15374       fi
15375       ;;
15376
15377    *) ;; # Ignore the rest.
15378
15379    esac
15380  done
15381
15382  # Clean up.
15383  rm -f a.out a.exe
15384else
15385  echo "libtool.m4: error: problem compiling CXX test program"
15386fi
15387
15388$RM -f confest.$objext
15389CFLAGS=$_lt_libdeps_save_CFLAGS
15390
15391# PORTME: override above test on systems where it is broken
15392case $host_os in
15393interix[3-9]*)
15394  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15395  # hack all around it, let's just trust "g++" to DTRT.
15396  predep_objects_CXX=
15397  postdep_objects_CXX=
15398  postdeps_CXX=
15399  ;;
15400esac
15401
15402
15403case " $postdeps_CXX " in
15404*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15405esac
15406 compiler_lib_search_dirs_CXX=
15407if test -n "${compiler_lib_search_path_CXX}"; then
15408 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15409fi
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441    lt_prog_compiler_wl_CXX=
15442lt_prog_compiler_pic_CXX=
15443lt_prog_compiler_static_CXX=
15444
15445
15446  # C++ specific cases for pic, static, wl, etc.
15447  if test yes = "$GXX"; then
15448    lt_prog_compiler_wl_CXX='-Wl,'
15449    lt_prog_compiler_static_CXX='-static'
15450
15451    case $host_os in
15452    aix*)
15453      # All AIX code is PIC.
15454      if test ia64 = "$host_cpu"; then
15455	# AIX 5 now supports IA64 processor
15456	lt_prog_compiler_static_CXX='-Bstatic'
15457      fi
15458      lt_prog_compiler_pic_CXX='-fPIC'
15459      ;;
15460
15461    amigaos*)
15462      case $host_cpu in
15463      powerpc)
15464            # see comment about AmigaOS4 .so support
15465            lt_prog_compiler_pic_CXX='-fPIC'
15466        ;;
15467      m68k)
15468            # FIXME: we need at least 68020 code to build shared libraries, but
15469            # adding the '-m68020' flag to GCC prevents building anything better,
15470            # like '-m68040'.
15471            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15472        ;;
15473      esac
15474      ;;
15475
15476    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15477      # PIC is the default for these OSes.
15478      ;;
15479    mingw* | cygwin* | os2* | pw32* | cegcc*)
15480      # This hack is so that the source file can tell whether it is being
15481      # built for inclusion in a dll (and should export symbols for example).
15482      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15483      # (--disable-auto-import) libraries
15484      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15485      case $host_os in
15486      os2*)
15487	lt_prog_compiler_static_CXX='$wl-static'
15488	;;
15489      esac
15490      ;;
15491    darwin* | rhapsody*)
15492      # PIC is the default on this platform
15493      # Common symbols not allowed in MH_DYLIB files
15494      lt_prog_compiler_pic_CXX='-fno-common'
15495      ;;
15496    *djgpp*)
15497      # DJGPP does not support shared libraries at all
15498      lt_prog_compiler_pic_CXX=
15499      ;;
15500    haiku*)
15501      # PIC is the default for Haiku.
15502      # The "-static" flag exists, but is broken.
15503      lt_prog_compiler_static_CXX=
15504      ;;
15505    interix[3-9]*)
15506      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15507      # Instead, we relocate shared libraries at runtime.
15508      ;;
15509    sysv4*MP*)
15510      if test -d /usr/nec; then
15511	lt_prog_compiler_pic_CXX=-Kconform_pic
15512      fi
15513      ;;
15514    hpux*)
15515      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15516      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15517      # sets the default TLS model and affects inlining.
15518      case $host_cpu in
15519      hppa*64*)
15520	;;
15521      *)
15522	lt_prog_compiler_pic_CXX='-fPIC'
15523	;;
15524      esac
15525      ;;
15526    *qnx* | *nto*)
15527      # QNX uses GNU C++, but need to define -shared option too, otherwise
15528      # it will coredump.
15529      lt_prog_compiler_pic_CXX='-fPIC -shared'
15530      ;;
15531    *)
15532      lt_prog_compiler_pic_CXX='-fPIC'
15533      ;;
15534    esac
15535  else
15536    case $host_os in
15537      aix[4-9]*)
15538	# All AIX code is PIC.
15539	if test ia64 = "$host_cpu"; then
15540	  # AIX 5 now supports IA64 processor
15541	  lt_prog_compiler_static_CXX='-Bstatic'
15542	else
15543	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15544	fi
15545	;;
15546      chorus*)
15547	case $cc_basename in
15548	cxch68*)
15549	  # Green Hills C++ Compiler
15550	  # _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"
15551	  ;;
15552	esac
15553	;;
15554      mingw* | cygwin* | os2* | pw32* | cegcc*)
15555	# This hack is so that the source file can tell whether it is being
15556	# built for inclusion in a dll (and should export symbols for example).
15557	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15558	;;
15559      dgux*)
15560	case $cc_basename in
15561	  ec++*)
15562	    lt_prog_compiler_pic_CXX='-KPIC'
15563	    ;;
15564	  ghcx*)
15565	    # Green Hills C++ Compiler
15566	    lt_prog_compiler_pic_CXX='-pic'
15567	    ;;
15568	  *)
15569	    ;;
15570	esac
15571	;;
15572      freebsd* | dragonfly*)
15573	# FreeBSD uses GNU C++
15574	;;
15575      hpux9* | hpux10* | hpux11*)
15576	case $cc_basename in
15577	  CC*)
15578	    lt_prog_compiler_wl_CXX='-Wl,'
15579	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15580	    if test ia64 != "$host_cpu"; then
15581	      lt_prog_compiler_pic_CXX='+Z'
15582	    fi
15583	    ;;
15584	  aCC*)
15585	    lt_prog_compiler_wl_CXX='-Wl,'
15586	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15587	    case $host_cpu in
15588	    hppa*64*|ia64*)
15589	      # +Z the default
15590	      ;;
15591	    *)
15592	      lt_prog_compiler_pic_CXX='+Z'
15593	      ;;
15594	    esac
15595	    ;;
15596	  *)
15597	    ;;
15598	esac
15599	;;
15600      interix*)
15601	# This is c89, which is MS Visual C++ (no shared libs)
15602	# Anyone wants to do a port?
15603	;;
15604      irix5* | irix6* | nonstopux*)
15605	case $cc_basename in
15606	  CC*)
15607	    lt_prog_compiler_wl_CXX='-Wl,'
15608	    lt_prog_compiler_static_CXX='-non_shared'
15609	    # CC pic flag -KPIC is the default.
15610	    ;;
15611	  *)
15612	    ;;
15613	esac
15614	;;
15615      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15616	case $cc_basename in
15617	  KCC*)
15618	    # KAI C++ Compiler
15619	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15620	    lt_prog_compiler_pic_CXX='-fPIC'
15621	    ;;
15622	  ecpc* )
15623	    # old Intel C++ for x86_64, which still supported -KPIC.
15624	    lt_prog_compiler_wl_CXX='-Wl,'
15625	    lt_prog_compiler_pic_CXX='-KPIC'
15626	    lt_prog_compiler_static_CXX='-static'
15627	    ;;
15628	  icpc* )
15629	    # Intel C++, used to be incompatible with GCC.
15630	    # ICC 10 doesn't accept -KPIC any more.
15631	    lt_prog_compiler_wl_CXX='-Wl,'
15632	    lt_prog_compiler_pic_CXX='-fPIC'
15633	    lt_prog_compiler_static_CXX='-static'
15634	    ;;
15635	  pgCC* | pgcpp*)
15636	    # Portland Group C++ compiler
15637	    lt_prog_compiler_wl_CXX='-Wl,'
15638	    lt_prog_compiler_pic_CXX='-fpic'
15639	    lt_prog_compiler_static_CXX='-Bstatic'
15640	    ;;
15641	  cxx*)
15642	    # Compaq C++
15643	    # Make sure the PIC flag is empty.  It appears that all Alpha
15644	    # Linux and Compaq Tru64 Unix objects are PIC.
15645	    lt_prog_compiler_pic_CXX=
15646	    lt_prog_compiler_static_CXX='-non_shared'
15647	    ;;
15648	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15649	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15650	    lt_prog_compiler_wl_CXX='-Wl,'
15651	    lt_prog_compiler_pic_CXX='-qpic'
15652	    lt_prog_compiler_static_CXX='-qstaticlink'
15653	    ;;
15654	  *)
15655	    case `$CC -V 2>&1 | sed 5q` in
15656	    *Sun\ C*)
15657	      # Sun C++ 5.9
15658	      lt_prog_compiler_pic_CXX='-KPIC'
15659	      lt_prog_compiler_static_CXX='-Bstatic'
15660	      lt_prog_compiler_wl_CXX='-Qoption ld '
15661	      ;;
15662	    esac
15663	    ;;
15664	esac
15665	;;
15666      lynxos*)
15667	;;
15668      m88k*)
15669	;;
15670      mvs*)
15671	case $cc_basename in
15672	  cxx*)
15673	    lt_prog_compiler_pic_CXX='-W c,exportall'
15674	    ;;
15675	  *)
15676	    ;;
15677	esac
15678	;;
15679      netbsd*)
15680	;;
15681      *qnx* | *nto*)
15682        # QNX uses GNU C++, but need to define -shared option too, otherwise
15683        # it will coredump.
15684        lt_prog_compiler_pic_CXX='-fPIC -shared'
15685        ;;
15686      osf3* | osf4* | osf5*)
15687	case $cc_basename in
15688	  KCC*)
15689	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15690	    ;;
15691	  RCC*)
15692	    # Rational C++ 2.4.1
15693	    lt_prog_compiler_pic_CXX='-pic'
15694	    ;;
15695	  cxx*)
15696	    # Digital/Compaq C++
15697	    lt_prog_compiler_wl_CXX='-Wl,'
15698	    # Make sure the PIC flag is empty.  It appears that all Alpha
15699	    # Linux and Compaq Tru64 Unix objects are PIC.
15700	    lt_prog_compiler_pic_CXX=
15701	    lt_prog_compiler_static_CXX='-non_shared'
15702	    ;;
15703	  *)
15704	    ;;
15705	esac
15706	;;
15707      psos*)
15708	;;
15709      solaris*)
15710	case $cc_basename in
15711	  CC* | sunCC*)
15712	    # Sun C++ 4.2, 5.x and Centerline C++
15713	    lt_prog_compiler_pic_CXX='-KPIC'
15714	    lt_prog_compiler_static_CXX='-Bstatic'
15715	    lt_prog_compiler_wl_CXX='-Qoption ld '
15716	    ;;
15717	  gcx*)
15718	    # Green Hills C++ Compiler
15719	    lt_prog_compiler_pic_CXX='-PIC'
15720	    ;;
15721	  *)
15722	    ;;
15723	esac
15724	;;
15725      sunos4*)
15726	case $cc_basename in
15727	  CC*)
15728	    # Sun C++ 4.x
15729	    lt_prog_compiler_pic_CXX='-pic'
15730	    lt_prog_compiler_static_CXX='-Bstatic'
15731	    ;;
15732	  lcc*)
15733	    # Lucid
15734	    lt_prog_compiler_pic_CXX='-pic'
15735	    ;;
15736	  *)
15737	    ;;
15738	esac
15739	;;
15740      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15741	case $cc_basename in
15742	  CC*)
15743	    lt_prog_compiler_wl_CXX='-Wl,'
15744	    lt_prog_compiler_pic_CXX='-KPIC'
15745	    lt_prog_compiler_static_CXX='-Bstatic'
15746	    ;;
15747	esac
15748	;;
15749      tandem*)
15750	case $cc_basename in
15751	  NCC*)
15752	    # NonStop-UX NCC 3.20
15753	    lt_prog_compiler_pic_CXX='-KPIC'
15754	    ;;
15755	  *)
15756	    ;;
15757	esac
15758	;;
15759      vxworks*)
15760	;;
15761      *)
15762	lt_prog_compiler_can_build_shared_CXX=no
15763	;;
15764    esac
15765  fi
15766
15767case $host_os in
15768  # For platforms that do not support PIC, -DPIC is meaningless:
15769  *djgpp*)
15770    lt_prog_compiler_pic_CXX=
15771    ;;
15772  *)
15773    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15774    ;;
15775esac
15776
15777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15778$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15779if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15780  $as_echo_n "(cached) " >&6
15781else
15782  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15783fi
15784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15785$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15786lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15787
15788#
15789# Check to make sure the PIC flag actually works.
15790#
15791if test -n "$lt_prog_compiler_pic_CXX"; then
15792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15793$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15794if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15795  $as_echo_n "(cached) " >&6
15796else
15797  lt_cv_prog_compiler_pic_works_CXX=no
15798   ac_outfile=conftest.$ac_objext
15799   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15800   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15801   # Insert the option either (1) after the last *FLAGS variable, or
15802   # (2) before a word containing "conftest.", or (3) at the end.
15803   # Note that $ac_compile itself does not contain backslashes and begins
15804   # with a dollar sign (not a hyphen), so the echo should work correctly.
15805   # The option is referenced via a variable to avoid confusing sed.
15806   lt_compile=`echo "$ac_compile" | $SED \
15807   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15808   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15809   -e 's:$: $lt_compiler_flag:'`
15810   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15811   (eval "$lt_compile" 2>conftest.err)
15812   ac_status=$?
15813   cat conftest.err >&5
15814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815   if (exit $ac_status) && test -s "$ac_outfile"; then
15816     # The compiler can only warn and ignore the option if not recognized
15817     # So say no if there are warnings other than the usual output.
15818     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15819     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15820     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15821       lt_cv_prog_compiler_pic_works_CXX=yes
15822     fi
15823   fi
15824   $RM conftest*
15825
15826fi
15827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15828$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15829
15830if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15831    case $lt_prog_compiler_pic_CXX in
15832     "" | " "*) ;;
15833     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15834     esac
15835else
15836    lt_prog_compiler_pic_CXX=
15837     lt_prog_compiler_can_build_shared_CXX=no
15838fi
15839
15840fi
15841
15842
15843
15844
15845
15846#
15847# Check to make sure the static flag actually works.
15848#
15849wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15851$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15852if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15853  $as_echo_n "(cached) " >&6
15854else
15855  lt_cv_prog_compiler_static_works_CXX=no
15856   save_LDFLAGS=$LDFLAGS
15857   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15858   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15859   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15860     # The linker can only warn and ignore the option if not recognized
15861     # So say no if there are warnings
15862     if test -s conftest.err; then
15863       # Append any errors to the config.log.
15864       cat conftest.err 1>&5
15865       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15866       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15867       if diff conftest.exp conftest.er2 >/dev/null; then
15868         lt_cv_prog_compiler_static_works_CXX=yes
15869       fi
15870     else
15871       lt_cv_prog_compiler_static_works_CXX=yes
15872     fi
15873   fi
15874   $RM -r conftest*
15875   LDFLAGS=$save_LDFLAGS
15876
15877fi
15878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15879$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15880
15881if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15882    :
15883else
15884    lt_prog_compiler_static_CXX=
15885fi
15886
15887
15888
15889
15890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15891$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15892if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15893  $as_echo_n "(cached) " >&6
15894else
15895  lt_cv_prog_compiler_c_o_CXX=no
15896   $RM -r conftest 2>/dev/null
15897   mkdir conftest
15898   cd conftest
15899   mkdir out
15900   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15901
15902   lt_compiler_flag="-o out/conftest2.$ac_objext"
15903   # Insert the option either (1) after the last *FLAGS variable, or
15904   # (2) before a word containing "conftest.", or (3) at the end.
15905   # Note that $ac_compile itself does not contain backslashes and begins
15906   # with a dollar sign (not a hyphen), so the echo should work correctly.
15907   lt_compile=`echo "$ac_compile" | $SED \
15908   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15909   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15910   -e 's:$: $lt_compiler_flag:'`
15911   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15912   (eval "$lt_compile" 2>out/conftest.err)
15913   ac_status=$?
15914   cat out/conftest.err >&5
15915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15917   then
15918     # The compiler can only warn and ignore the option if not recognized
15919     # So say no if there are warnings
15920     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15921     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15922     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15923       lt_cv_prog_compiler_c_o_CXX=yes
15924     fi
15925   fi
15926   chmod u+w . 2>&5
15927   $RM conftest*
15928   # SGI C++ compiler will create directory out/ii_files/ for
15929   # template instantiation
15930   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15931   $RM out/* && rmdir out
15932   cd ..
15933   $RM -r conftest
15934   $RM conftest*
15935
15936fi
15937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15938$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15939
15940
15941
15942    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15943$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15944if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15945  $as_echo_n "(cached) " >&6
15946else
15947  lt_cv_prog_compiler_c_o_CXX=no
15948   $RM -r conftest 2>/dev/null
15949   mkdir conftest
15950   cd conftest
15951   mkdir out
15952   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15953
15954   lt_compiler_flag="-o out/conftest2.$ac_objext"
15955   # Insert the option either (1) after the last *FLAGS variable, or
15956   # (2) before a word containing "conftest.", or (3) at the end.
15957   # Note that $ac_compile itself does not contain backslashes and begins
15958   # with a dollar sign (not a hyphen), so the echo should work correctly.
15959   lt_compile=`echo "$ac_compile" | $SED \
15960   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15961   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15962   -e 's:$: $lt_compiler_flag:'`
15963   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15964   (eval "$lt_compile" 2>out/conftest.err)
15965   ac_status=$?
15966   cat out/conftest.err >&5
15967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15969   then
15970     # The compiler can only warn and ignore the option if not recognized
15971     # So say no if there are warnings
15972     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15973     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15974     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15975       lt_cv_prog_compiler_c_o_CXX=yes
15976     fi
15977   fi
15978   chmod u+w . 2>&5
15979   $RM conftest*
15980   # SGI C++ compiler will create directory out/ii_files/ for
15981   # template instantiation
15982   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15983   $RM out/* && rmdir out
15984   cd ..
15985   $RM -r conftest
15986   $RM conftest*
15987
15988fi
15989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15990$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15991
15992
15993
15994
15995hard_links=nottested
15996if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15997  # do not overwrite the value of need_locks provided by the user
15998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15999$as_echo_n "checking if we can lock with hard links... " >&6; }
16000  hard_links=yes
16001  $RM conftest*
16002  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16003  touch conftest.a
16004  ln conftest.a conftest.b 2>&5 || hard_links=no
16005  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16007$as_echo "$hard_links" >&6; }
16008  if test no = "$hard_links"; then
16009    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16010$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16011    need_locks=warn
16012  fi
16013else
16014  need_locks=no
16015fi
16016
16017
16018
16019    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16020$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16021
16022  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16023  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16024  case $host_os in
16025  aix[4-9]*)
16026    # If we're using GNU nm, then we don't want the "-C" option.
16027    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16028    # Without the "-l" option, or with the "-B" option, AIX nm treats
16029    # weak defined symbols like other global defined symbols, whereas
16030    # GNU nm marks them as "W".
16031    # While the 'weak' keyword is ignored in the Export File, we need
16032    # it in the Import File for the 'aix-soname' feature, so we have
16033    # to replace the "-B" option with "-P" for AIX nm.
16034    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16035      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'
16036    else
16037      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'
16038    fi
16039    ;;
16040  pw32*)
16041    export_symbols_cmds_CXX=$ltdll_cmds
16042    ;;
16043  cygwin* | mingw* | cegcc*)
16044    case $cc_basename in
16045    cl*)
16046      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16047      ;;
16048    *)
16049      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'
16050      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16051      ;;
16052    esac
16053    ;;
16054  *)
16055    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16056    ;;
16057  esac
16058
16059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16060$as_echo "$ld_shlibs_CXX" >&6; }
16061test no = "$ld_shlibs_CXX" && can_build_shared=no
16062
16063with_gnu_ld_CXX=$with_gnu_ld
16064
16065
16066
16067
16068
16069
16070#
16071# Do we need to explicitly link libc?
16072#
16073case "x$archive_cmds_need_lc_CXX" in
16074x|xyes)
16075  # Assume -lc should be added
16076  archive_cmds_need_lc_CXX=yes
16077
16078  if test yes,yes = "$GCC,$enable_shared"; then
16079    case $archive_cmds_CXX in
16080    *'~'*)
16081      # FIXME: we may have to deal with multi-command sequences.
16082      ;;
16083    '$CC '*)
16084      # Test whether the compiler implicitly links with -lc since on some
16085      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16086      # to ld, don't add -lc before -lgcc.
16087      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16088$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16089if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16090  $as_echo_n "(cached) " >&6
16091else
16092  $RM conftest*
16093	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16094
16095	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16096  (eval $ac_compile) 2>&5
16097  ac_status=$?
16098  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16099  test $ac_status = 0; } 2>conftest.err; then
16100	  soname=conftest
16101	  lib=conftest
16102	  libobjs=conftest.$ac_objext
16103	  deplibs=
16104	  wl=$lt_prog_compiler_wl_CXX
16105	  pic_flag=$lt_prog_compiler_pic_CXX
16106	  compiler_flags=-v
16107	  linker_flags=-v
16108	  verstring=
16109	  output_objdir=.
16110	  libname=conftest
16111	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16112	  allow_undefined_flag_CXX=
16113	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16114  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16115  ac_status=$?
16116  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16117  test $ac_status = 0; }
16118	  then
16119	    lt_cv_archive_cmds_need_lc_CXX=no
16120	  else
16121	    lt_cv_archive_cmds_need_lc_CXX=yes
16122	  fi
16123	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16124	else
16125	  cat conftest.err 1>&5
16126	fi
16127	$RM conftest*
16128
16129fi
16130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16131$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16132      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16133      ;;
16134    esac
16135  fi
16136  ;;
16137esac
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
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    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16201$as_echo_n "checking dynamic linker characteristics... " >&6; }
16202
16203library_names_spec=
16204libname_spec='lib$name'
16205soname_spec=
16206shrext_cmds=.so
16207postinstall_cmds=
16208postuninstall_cmds=
16209finish_cmds=
16210finish_eval=
16211shlibpath_var=
16212shlibpath_overrides_runpath=unknown
16213version_type=none
16214dynamic_linker="$host_os ld.so"
16215sys_lib_dlsearch_path_spec="/lib /usr/lib"
16216need_lib_prefix=unknown
16217hardcode_into_libs=no
16218
16219# when you set need_version to no, make sure it does not cause -set_version
16220# flags to be left without arguments
16221need_version=unknown
16222
16223
16224
16225case $host_os in
16226aix3*)
16227  version_type=linux # correct to gnu/linux during the next big refactor
16228  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16229  shlibpath_var=LIBPATH
16230
16231  # AIX 3 has no versioning support, so we append a major version to the name.
16232  soname_spec='$libname$release$shared_ext$major'
16233  ;;
16234
16235aix[4-9]*)
16236  version_type=linux # correct to gnu/linux during the next big refactor
16237  need_lib_prefix=no
16238  need_version=no
16239  hardcode_into_libs=yes
16240  if test ia64 = "$host_cpu"; then
16241    # AIX 5 supports IA64
16242    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16243    shlibpath_var=LD_LIBRARY_PATH
16244  else
16245    # With GCC up to 2.95.x, collect2 would create an import file
16246    # for dependence libraries.  The import file would start with
16247    # the line '#! .'.  This would cause the generated library to
16248    # depend on '.', always an invalid library.  This was fixed in
16249    # development snapshots of GCC prior to 3.0.
16250    case $host_os in
16251      aix4 | aix4.[01] | aix4.[01].*)
16252      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16253	   echo ' yes '
16254	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16255	:
16256      else
16257	can_build_shared=no
16258      fi
16259      ;;
16260    esac
16261    # Using Import Files as archive members, it is possible to support
16262    # filename-based versioning of shared library archives on AIX. While
16263    # this would work for both with and without runtime linking, it will
16264    # prevent static linking of such archives. So we do filename-based
16265    # shared library versioning with .so extension only, which is used
16266    # when both runtime linking and shared linking is enabled.
16267    # Unfortunately, runtime linking may impact performance, so we do
16268    # not want this to be the default eventually. Also, we use the
16269    # versioned .so libs for executables only if there is the -brtl
16270    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16271    # To allow for filename-based versioning support, we need to create
16272    # libNAME.so.V as an archive file, containing:
16273    # *) an Import File, referring to the versioned filename of the
16274    #    archive as well as the shared archive member, telling the
16275    #    bitwidth (32 or 64) of that shared object, and providing the
16276    #    list of exported symbols of that shared object, eventually
16277    #    decorated with the 'weak' keyword
16278    # *) the shared object with the F_LOADONLY flag set, to really avoid
16279    #    it being seen by the linker.
16280    # At run time we better use the real file rather than another symlink,
16281    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16282
16283    case $with_aix_soname,$aix_use_runtimelinking in
16284    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16285    # soname into executable. Probably we can add versioning support to
16286    # collect2, so additional links can be useful in future.
16287    aix,yes) # traditional libtool
16288      dynamic_linker='AIX unversionable lib.so'
16289      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16290      # instead of lib<name>.a to let people know that these are not
16291      # typical AIX shared libraries.
16292      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16293      ;;
16294    aix,no) # traditional AIX only
16295      dynamic_linker='AIX lib.a(lib.so.V)'
16296      # We preserve .a as extension for shared libraries through AIX4.2
16297      # and later when we are not doing run time linking.
16298      library_names_spec='$libname$release.a $libname.a'
16299      soname_spec='$libname$release$shared_ext$major'
16300      ;;
16301    svr4,*) # full svr4 only
16302      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16303      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16304      # We do not specify a path in Import Files, so LIBPATH fires.
16305      shlibpath_overrides_runpath=yes
16306      ;;
16307    *,yes) # both, prefer svr4
16308      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16309      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16310      # unpreferred sharedlib libNAME.a needs extra handling
16311      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"'
16312      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"'
16313      # We do not specify a path in Import Files, so LIBPATH fires.
16314      shlibpath_overrides_runpath=yes
16315      ;;
16316    *,no) # both, prefer aix
16317      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16318      library_names_spec='$libname$release.a $libname.a'
16319      soname_spec='$libname$release$shared_ext$major'
16320      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16321      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)'
16322      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"'
16323      ;;
16324    esac
16325    shlibpath_var=LIBPATH
16326  fi
16327  ;;
16328
16329amigaos*)
16330  case $host_cpu in
16331  powerpc)
16332    # Since July 2007 AmigaOS4 officially supports .so libraries.
16333    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16334    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16335    ;;
16336  m68k)
16337    library_names_spec='$libname.ixlibrary $libname.a'
16338    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16339    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'
16340    ;;
16341  esac
16342  ;;
16343
16344beos*)
16345  library_names_spec='$libname$shared_ext'
16346  dynamic_linker="$host_os ld.so"
16347  shlibpath_var=LIBRARY_PATH
16348  ;;
16349
16350bsdi[45]*)
16351  version_type=linux # correct to gnu/linux during the next big refactor
16352  need_version=no
16353  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16354  soname_spec='$libname$release$shared_ext$major'
16355  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16356  shlibpath_var=LD_LIBRARY_PATH
16357  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16358  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16359  # the default ld.so.conf also contains /usr/contrib/lib and
16360  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16361  # libtool to hard-code these into programs
16362  ;;
16363
16364cygwin* | mingw* | pw32* | cegcc*)
16365  version_type=windows
16366  shrext_cmds=.dll
16367  need_version=no
16368  need_lib_prefix=no
16369
16370  case $GCC,$cc_basename in
16371  yes,*)
16372    # gcc
16373    library_names_spec='$libname.dll.a'
16374    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16375    postinstall_cmds='base_file=`basename \$file`~
16376      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16377      dldir=$destdir/`dirname \$dlpath`~
16378      test -d \$dldir || mkdir -p \$dldir~
16379      $install_prog $dir/$dlname \$dldir/$dlname~
16380      chmod a+x \$dldir/$dlname~
16381      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16382        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16383      fi'
16384    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16385      dlpath=$dir/\$dldll~
16386       $RM \$dlpath'
16387    shlibpath_overrides_runpath=yes
16388
16389    case $host_os in
16390    cygwin*)
16391      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16392      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16393
16394      ;;
16395    mingw* | cegcc*)
16396      # MinGW DLLs use traditional 'lib' prefix
16397      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16398      ;;
16399    pw32*)
16400      # pw32 DLLs use 'pw' prefix rather than 'lib'
16401      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16402      ;;
16403    esac
16404    dynamic_linker='Win32 ld.exe'
16405    ;;
16406
16407  *,cl*)
16408    # Native MSVC
16409    libname_spec='$name'
16410    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16411    library_names_spec='$libname.dll.lib'
16412
16413    case $build_os in
16414    mingw*)
16415      sys_lib_search_path_spec=
16416      lt_save_ifs=$IFS
16417      IFS=';'
16418      for lt_path in $LIB
16419      do
16420        IFS=$lt_save_ifs
16421        # Let DOS variable expansion print the short 8.3 style file name.
16422        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16423        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16424      done
16425      IFS=$lt_save_ifs
16426      # Convert to MSYS style.
16427      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16428      ;;
16429    cygwin*)
16430      # Convert to unix form, then to dos form, then back to unix form
16431      # but this time dos style (no spaces!) so that the unix form looks
16432      # like /cygdrive/c/PROGRA~1:/cygdr...
16433      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16434      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16435      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16436      ;;
16437    *)
16438      sys_lib_search_path_spec=$LIB
16439      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16440        # It is most probably a Windows format PATH.
16441        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16442      else
16443        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16444      fi
16445      # FIXME: find the short name or the path components, as spaces are
16446      # common. (e.g. "Program Files" -> "PROGRA~1")
16447      ;;
16448    esac
16449
16450    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16451    postinstall_cmds='base_file=`basename \$file`~
16452      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16453      dldir=$destdir/`dirname \$dlpath`~
16454      test -d \$dldir || mkdir -p \$dldir~
16455      $install_prog $dir/$dlname \$dldir/$dlname'
16456    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16457      dlpath=$dir/\$dldll~
16458       $RM \$dlpath'
16459    shlibpath_overrides_runpath=yes
16460    dynamic_linker='Win32 link.exe'
16461    ;;
16462
16463  *)
16464    # Assume MSVC wrapper
16465    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16466    dynamic_linker='Win32 ld.exe'
16467    ;;
16468  esac
16469  # FIXME: first we should search . and the directory the executable is in
16470  shlibpath_var=PATH
16471  ;;
16472
16473darwin* | rhapsody*)
16474  dynamic_linker="$host_os dyld"
16475  version_type=darwin
16476  need_lib_prefix=no
16477  need_version=no
16478  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16479  soname_spec='$libname$release$major$shared_ext'
16480  shlibpath_overrides_runpath=yes
16481  shlibpath_var=DYLD_LIBRARY_PATH
16482  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16483
16484  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16485  ;;
16486
16487dgux*)
16488  version_type=linux # correct to gnu/linux during the next big refactor
16489  need_lib_prefix=no
16490  need_version=no
16491  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16492  soname_spec='$libname$release$shared_ext$major'
16493  shlibpath_var=LD_LIBRARY_PATH
16494  ;;
16495
16496freebsd* | dragonfly*)
16497  # DragonFly does not have aout.  When/if they implement a new
16498  # versioning mechanism, adjust this.
16499  if test -x /usr/bin/objformat; then
16500    objformat=`/usr/bin/objformat`
16501  else
16502    case $host_os in
16503    freebsd[23].*) objformat=aout ;;
16504    *) objformat=elf ;;
16505    esac
16506  fi
16507  version_type=freebsd-$objformat
16508  case $version_type in
16509    freebsd-elf*)
16510      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16511      soname_spec='$libname$release$shared_ext$major'
16512      need_version=no
16513      need_lib_prefix=no
16514      ;;
16515    freebsd-*)
16516      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16517      need_version=yes
16518      ;;
16519  esac
16520  shlibpath_var=LD_LIBRARY_PATH
16521  case $host_os in
16522  freebsd2.*)
16523    shlibpath_overrides_runpath=yes
16524    ;;
16525  freebsd3.[01]* | freebsdelf3.[01]*)
16526    shlibpath_overrides_runpath=yes
16527    hardcode_into_libs=yes
16528    ;;
16529  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16530  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16531    shlibpath_overrides_runpath=no
16532    hardcode_into_libs=yes
16533    ;;
16534  *) # from 4.6 on, and DragonFly
16535    shlibpath_overrides_runpath=yes
16536    hardcode_into_libs=yes
16537    ;;
16538  esac
16539  ;;
16540
16541haiku*)
16542  version_type=linux # correct to gnu/linux during the next big refactor
16543  need_lib_prefix=no
16544  need_version=no
16545  dynamic_linker="$host_os runtime_loader"
16546  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16547  soname_spec='$libname$release$shared_ext$major'
16548  shlibpath_var=LIBRARY_PATH
16549  shlibpath_overrides_runpath=no
16550  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16551  hardcode_into_libs=yes
16552  ;;
16553
16554hpux9* | hpux10* | hpux11*)
16555  # Give a soname corresponding to the major version so that dld.sl refuses to
16556  # link against other versions.
16557  version_type=sunos
16558  need_lib_prefix=no
16559  need_version=no
16560  case $host_cpu in
16561  ia64*)
16562    shrext_cmds='.so'
16563    hardcode_into_libs=yes
16564    dynamic_linker="$host_os dld.so"
16565    shlibpath_var=LD_LIBRARY_PATH
16566    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16567    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16568    soname_spec='$libname$release$shared_ext$major'
16569    if test 32 = "$HPUX_IA64_MODE"; then
16570      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16571      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16572    else
16573      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16574      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16575    fi
16576    ;;
16577  hppa*64*)
16578    shrext_cmds='.sl'
16579    hardcode_into_libs=yes
16580    dynamic_linker="$host_os dld.sl"
16581    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16582    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16583    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16584    soname_spec='$libname$release$shared_ext$major'
16585    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16586    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16587    ;;
16588  *)
16589    shrext_cmds='.sl'
16590    dynamic_linker="$host_os dld.sl"
16591    shlibpath_var=SHLIB_PATH
16592    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16593    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16594    soname_spec='$libname$release$shared_ext$major'
16595    ;;
16596  esac
16597  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16598  postinstall_cmds='chmod 555 $lib'
16599  # or fails outright, so override atomically:
16600  install_override_mode=555
16601  ;;
16602
16603interix[3-9]*)
16604  version_type=linux # correct to gnu/linux during the next big refactor
16605  need_lib_prefix=no
16606  need_version=no
16607  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16608  soname_spec='$libname$release$shared_ext$major'
16609  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16610  shlibpath_var=LD_LIBRARY_PATH
16611  shlibpath_overrides_runpath=no
16612  hardcode_into_libs=yes
16613  ;;
16614
16615irix5* | irix6* | nonstopux*)
16616  case $host_os in
16617    nonstopux*) version_type=nonstopux ;;
16618    *)
16619	if test yes = "$lt_cv_prog_gnu_ld"; then
16620		version_type=linux # correct to gnu/linux during the next big refactor
16621	else
16622		version_type=irix
16623	fi ;;
16624  esac
16625  need_lib_prefix=no
16626  need_version=no
16627  soname_spec='$libname$release$shared_ext$major'
16628  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16629  case $host_os in
16630  irix5* | nonstopux*)
16631    libsuff= shlibsuff=
16632    ;;
16633  *)
16634    case $LD in # libtool.m4 will add one of these switches to LD
16635    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16636      libsuff= shlibsuff= libmagic=32-bit;;
16637    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16638      libsuff=32 shlibsuff=N32 libmagic=N32;;
16639    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16640      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16641    *) libsuff= shlibsuff= libmagic=never-match;;
16642    esac
16643    ;;
16644  esac
16645  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16646  shlibpath_overrides_runpath=no
16647  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16648  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16649  hardcode_into_libs=yes
16650  ;;
16651
16652# No shared lib support for Linux oldld, aout, or coff.
16653linux*oldld* | linux*aout* | linux*coff*)
16654  dynamic_linker=no
16655  ;;
16656
16657linux*android*)
16658  version_type=none # Android doesn't support versioned libraries.
16659  need_lib_prefix=no
16660  need_version=no
16661  library_names_spec='$libname$release$shared_ext'
16662  soname_spec='$libname$release$shared_ext'
16663  finish_cmds=
16664  shlibpath_var=LD_LIBRARY_PATH
16665  shlibpath_overrides_runpath=yes
16666
16667  # This implies no fast_install, which is unacceptable.
16668  # Some rework will be needed to allow for fast_install
16669  # before this can be enabled.
16670  hardcode_into_libs=yes
16671
16672  dynamic_linker='Android linker'
16673  # Don't embed -rpath directories since the linker doesn't support them.
16674  hardcode_libdir_flag_spec_CXX='-L$libdir'
16675  ;;
16676
16677# This must be glibc/ELF.
16678linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16679  version_type=linux # correct to gnu/linux during the next big refactor
16680  need_lib_prefix=no
16681  need_version=no
16682  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16683  soname_spec='$libname$release$shared_ext$major'
16684  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16685  shlibpath_var=LD_LIBRARY_PATH
16686  shlibpath_overrides_runpath=no
16687
16688  # Some binutils ld are patched to set DT_RUNPATH
16689  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16690  $as_echo_n "(cached) " >&6
16691else
16692  lt_cv_shlibpath_overrides_runpath=no
16693    save_LDFLAGS=$LDFLAGS
16694    save_libdir=$libdir
16695    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16696	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16697    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698/* end confdefs.h.  */
16699
16700int
16701main ()
16702{
16703
16704  ;
16705  return 0;
16706}
16707_ACEOF
16708if ac_fn_cxx_try_link "$LINENO"; then :
16709  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16710  lt_cv_shlibpath_overrides_runpath=yes
16711fi
16712fi
16713rm -f core conftest.err conftest.$ac_objext \
16714    conftest$ac_exeext conftest.$ac_ext
16715    LDFLAGS=$save_LDFLAGS
16716    libdir=$save_libdir
16717
16718fi
16719
16720  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16721
16722  # This implies no fast_install, which is unacceptable.
16723  # Some rework will be needed to allow for fast_install
16724  # before this can be enabled.
16725  hardcode_into_libs=yes
16726
16727  # Add ABI-specific directories to the system library path.
16728  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16729
16730  # Ideally, we could use ldconfig to report *all* directores which are
16731  # searched for libraries, however this is still not possible.  Aside from not
16732  # being certain /sbin/ldconfig is available, command
16733  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16734  # even though it is searched at run-time.  Try to do the best guess by
16735  # appending ld.so.conf contents (and includes) to the search path.
16736  if test -f /etc/ld.so.conf; then
16737    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' ' '`
16738    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16739  fi
16740
16741  # We used to test for /lib/ld.so.1 and disable shared libraries on
16742  # powerpc, because MkLinux only supported shared libraries with the
16743  # GNU dynamic linker.  Since this was broken with cross compilers,
16744  # most powerpc-linux boxes support dynamic linking these days and
16745  # people can always --disable-shared, the test was removed, and we
16746  # assume the GNU/Linux dynamic linker is in use.
16747  dynamic_linker='GNU/Linux ld.so'
16748  ;;
16749
16750netbsd*)
16751  version_type=sunos
16752  need_lib_prefix=no
16753  need_version=no
16754  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16755    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16756    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16757    dynamic_linker='NetBSD (a.out) ld.so'
16758  else
16759    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16760    soname_spec='$libname$release$shared_ext$major'
16761    dynamic_linker='NetBSD ld.elf_so'
16762  fi
16763  shlibpath_var=LD_LIBRARY_PATH
16764  shlibpath_overrides_runpath=yes
16765  hardcode_into_libs=yes
16766  ;;
16767
16768newsos6)
16769  version_type=linux # correct to gnu/linux during the next big refactor
16770  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16771  shlibpath_var=LD_LIBRARY_PATH
16772  shlibpath_overrides_runpath=yes
16773  ;;
16774
16775*nto* | *qnx*)
16776  version_type=qnx
16777  need_lib_prefix=no
16778  need_version=no
16779  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16780  soname_spec='$libname$release$shared_ext$major'
16781  shlibpath_var=LD_LIBRARY_PATH
16782  shlibpath_overrides_runpath=no
16783  hardcode_into_libs=yes
16784  dynamic_linker='ldqnx.so'
16785  ;;
16786
16787openbsd* | bitrig*)
16788  version_type=sunos
16789  sys_lib_dlsearch_path_spec=/usr/lib
16790  need_lib_prefix=no
16791  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16792    need_version=no
16793  else
16794    need_version=yes
16795  fi
16796  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16797  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16798  shlibpath_var=LD_LIBRARY_PATH
16799  shlibpath_overrides_runpath=yes
16800  ;;
16801
16802os2*)
16803  libname_spec='$name'
16804  version_type=windows
16805  shrext_cmds=.dll
16806  need_version=no
16807  need_lib_prefix=no
16808  # OS/2 can only load a DLL with a base name of 8 characters or less.
16809  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16810    v=$($ECHO $release$versuffix | tr -d .-);
16811    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16812    $ECHO $n$v`$shared_ext'
16813  library_names_spec='${libname}_dll.$libext'
16814  dynamic_linker='OS/2 ld.exe'
16815  shlibpath_var=BEGINLIBPATH
16816  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16817  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16818  postinstall_cmds='base_file=`basename \$file`~
16819    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16820    dldir=$destdir/`dirname \$dlpath`~
16821    test -d \$dldir || mkdir -p \$dldir~
16822    $install_prog $dir/$dlname \$dldir/$dlname~
16823    chmod a+x \$dldir/$dlname~
16824    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16825      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16826    fi'
16827  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16828    dlpath=$dir/\$dldll~
16829    $RM \$dlpath'
16830  ;;
16831
16832osf3* | osf4* | osf5*)
16833  version_type=osf
16834  need_lib_prefix=no
16835  need_version=no
16836  soname_spec='$libname$release$shared_ext$major'
16837  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16838  shlibpath_var=LD_LIBRARY_PATH
16839  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16840  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16841  ;;
16842
16843rdos*)
16844  dynamic_linker=no
16845  ;;
16846
16847solaris*)
16848  version_type=linux # correct to gnu/linux during the next big refactor
16849  need_lib_prefix=no
16850  need_version=no
16851  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16852  soname_spec='$libname$release$shared_ext$major'
16853  shlibpath_var=LD_LIBRARY_PATH
16854  shlibpath_overrides_runpath=yes
16855  hardcode_into_libs=yes
16856  # ldd complains unless libraries are executable
16857  postinstall_cmds='chmod +x $lib'
16858  ;;
16859
16860sunos4*)
16861  version_type=sunos
16862  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16863  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16864  shlibpath_var=LD_LIBRARY_PATH
16865  shlibpath_overrides_runpath=yes
16866  if test yes = "$with_gnu_ld"; then
16867    need_lib_prefix=no
16868  fi
16869  need_version=yes
16870  ;;
16871
16872sysv4 | sysv4.3*)
16873  version_type=linux # correct to gnu/linux during the next big refactor
16874  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16875  soname_spec='$libname$release$shared_ext$major'
16876  shlibpath_var=LD_LIBRARY_PATH
16877  case $host_vendor in
16878    sni)
16879      shlibpath_overrides_runpath=no
16880      need_lib_prefix=no
16881      runpath_var=LD_RUN_PATH
16882      ;;
16883    siemens)
16884      need_lib_prefix=no
16885      ;;
16886    motorola)
16887      need_lib_prefix=no
16888      need_version=no
16889      shlibpath_overrides_runpath=no
16890      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16891      ;;
16892  esac
16893  ;;
16894
16895sysv4*MP*)
16896  if test -d /usr/nec; then
16897    version_type=linux # correct to gnu/linux during the next big refactor
16898    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16899    soname_spec='$libname$shared_ext.$major'
16900    shlibpath_var=LD_LIBRARY_PATH
16901  fi
16902  ;;
16903
16904sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16905  version_type=sco
16906  need_lib_prefix=no
16907  need_version=no
16908  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16909  soname_spec='$libname$release$shared_ext$major'
16910  shlibpath_var=LD_LIBRARY_PATH
16911  shlibpath_overrides_runpath=yes
16912  hardcode_into_libs=yes
16913  if test yes = "$with_gnu_ld"; then
16914    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16915  else
16916    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16917    case $host_os in
16918      sco3.2v5*)
16919        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16920	;;
16921    esac
16922  fi
16923  sys_lib_dlsearch_path_spec='/usr/lib'
16924  ;;
16925
16926tpf*)
16927  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16928  version_type=linux # correct to gnu/linux during the next big refactor
16929  need_lib_prefix=no
16930  need_version=no
16931  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16932  shlibpath_var=LD_LIBRARY_PATH
16933  shlibpath_overrides_runpath=no
16934  hardcode_into_libs=yes
16935  ;;
16936
16937uts4*)
16938  version_type=linux # correct to gnu/linux during the next big refactor
16939  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16940  soname_spec='$libname$release$shared_ext$major'
16941  shlibpath_var=LD_LIBRARY_PATH
16942  ;;
16943
16944*)
16945  dynamic_linker=no
16946  ;;
16947esac
16948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16949$as_echo "$dynamic_linker" >&6; }
16950test no = "$dynamic_linker" && can_build_shared=no
16951
16952variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16953if test yes = "$GCC"; then
16954  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16955fi
16956
16957if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16958  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16959fi
16960
16961if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16962  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16963fi
16964
16965# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16966configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16967
16968# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16969func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16970
16971# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16972configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
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    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17014$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17015hardcode_action_CXX=
17016if test -n "$hardcode_libdir_flag_spec_CXX" ||
17017   test -n "$runpath_var_CXX" ||
17018   test yes = "$hardcode_automatic_CXX"; then
17019
17020  # We can hardcode non-existent directories.
17021  if test no != "$hardcode_direct_CXX" &&
17022     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17023     # have to relink, otherwise we might link with an installed library
17024     # when we should be linking with a yet-to-be-installed one
17025     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17026     test no != "$hardcode_minus_L_CXX"; then
17027    # Linking always hardcodes the temporary library directory.
17028    hardcode_action_CXX=relink
17029  else
17030    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17031    hardcode_action_CXX=immediate
17032  fi
17033else
17034  # We cannot hardcode anything, or else we can only hardcode existing
17035  # directories.
17036  hardcode_action_CXX=unsupported
17037fi
17038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17039$as_echo "$hardcode_action_CXX" >&6; }
17040
17041if test relink = "$hardcode_action_CXX" ||
17042   test yes = "$inherit_rpath_CXX"; then
17043  # Fast installation is not supported
17044  enable_fast_install=no
17045elif test yes = "$shlibpath_overrides_runpath" ||
17046     test no = "$enable_shared"; then
17047  # Fast installation is not necessary
17048  enable_fast_install=needless
17049fi
17050
17051
17052
17053
17054
17055
17056
17057  fi # test -n "$compiler"
17058
17059  CC=$lt_save_CC
17060  CFLAGS=$lt_save_CFLAGS
17061  LDCXX=$LD
17062  LD=$lt_save_LD
17063  GCC=$lt_save_GCC
17064  with_gnu_ld=$lt_save_with_gnu_ld
17065  lt_cv_path_LDCXX=$lt_cv_path_LD
17066  lt_cv_path_LD=$lt_save_path_LD
17067  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17068  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17069fi # test yes != "$_lt_caught_CXX_error"
17070
17071ac_ext=c
17072ac_cpp='$CPP $CPPFLAGS'
17073ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17074ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17075ac_compiler_gnu=$ac_cv_c_compiler_gnu
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091        ac_config_commands="$ac_config_commands libtool"
17092
17093
17094
17095
17096# Only expand once:
17097
17098
17099
17100
17101# Extract the first word of "pkg-config", so it can be a program name with args.
17102set dummy pkg-config; ac_word=$2
17103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17104$as_echo_n "checking for $ac_word... " >&6; }
17105if ${ac_cv_path_PKGCONFIG+:} false; then :
17106  $as_echo_n "(cached) " >&6
17107else
17108  case $PKGCONFIG in
17109  [\\/]* | ?:[\\/]*)
17110  ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
17111  ;;
17112  *)
17113  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17114for as_dir in $PATH
17115do
17116  IFS=$as_save_IFS
17117  test -z "$as_dir" && as_dir=.
17118    for ac_exec_ext in '' $ac_executable_extensions; do
17119  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17120    ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
17121    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17122    break 2
17123  fi
17124done
17125  done
17126IFS=$as_save_IFS
17127
17128  ;;
17129esac
17130fi
17131PKGCONFIG=$ac_cv_path_PKGCONFIG
17132if test -n "$PKGCONFIG"; then
17133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
17134$as_echo "$PKGCONFIG" >&6; }
17135else
17136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17137$as_echo "no" >&6; }
17138fi
17139
17140
17141
17142
17143mkdir_p="$MKDIR_P"
17144case $mkdir_p in
17145  [\\/$]* | ?:[\\/]*) ;;
17146  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
17147esac
17148
17149
17150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17151$as_echo_n "checking whether NLS is requested... " >&6; }
17152    # Check whether --enable-nls was given.
17153if test "${enable_nls+set}" = set; then :
17154  enableval=$enable_nls; USE_NLS=$enableval
17155else
17156  USE_NLS=yes
17157fi
17158
17159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17160$as_echo "$USE_NLS" >&6; }
17161
17162
17163
17164
17165      GETTEXT_MACRO_VERSION=0.18
17166
17167
17168
17169
17170# Prepare PATH_SEPARATOR.
17171# The user is always right.
17172if test "${PATH_SEPARATOR+set}" != set; then
17173  echo "#! /bin/sh" >conf$$.sh
17174  echo  "exit 0"   >>conf$$.sh
17175  chmod +x conf$$.sh
17176  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17177    PATH_SEPARATOR=';'
17178  else
17179    PATH_SEPARATOR=:
17180  fi
17181  rm -f conf$$.sh
17182fi
17183
17184# Find out how to test for executable files. Don't use a zero-byte file,
17185# as systems may use methods other than mode bits to determine executability.
17186cat >conf$$.file <<_ASEOF
17187#! /bin/sh
17188exit 0
17189_ASEOF
17190chmod +x conf$$.file
17191if test -x conf$$.file >/dev/null 2>&1; then
17192  ac_executable_p="test -x"
17193else
17194  ac_executable_p="test -f"
17195fi
17196rm -f conf$$.file
17197
17198# Extract the first word of "msgfmt", so it can be a program name with args.
17199set dummy msgfmt; ac_word=$2
17200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17201$as_echo_n "checking for $ac_word... " >&6; }
17202if ${ac_cv_path_MSGFMT+:} false; then :
17203  $as_echo_n "(cached) " >&6
17204else
17205  case "$MSGFMT" in
17206  [\\/]* | ?:[\\/]*)
17207    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17208    ;;
17209  *)
17210    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17211    for ac_dir in $PATH; do
17212      IFS="$ac_save_IFS"
17213      test -z "$ac_dir" && ac_dir=.
17214      for ac_exec_ext in '' $ac_executable_extensions; do
17215        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17216          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17217          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
17218     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17219            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
17220            break 2
17221          fi
17222        fi
17223      done
17224    done
17225    IFS="$ac_save_IFS"
17226  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
17227    ;;
17228esac
17229fi
17230MSGFMT="$ac_cv_path_MSGFMT"
17231if test "$MSGFMT" != ":"; then
17232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17233$as_echo "$MSGFMT" >&6; }
17234else
17235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17236$as_echo "no" >&6; }
17237fi
17238
17239  # Extract the first word of "gmsgfmt", so it can be a program name with args.
17240set dummy gmsgfmt; ac_word=$2
17241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17242$as_echo_n "checking for $ac_word... " >&6; }
17243if ${ac_cv_path_GMSGFMT+:} false; then :
17244  $as_echo_n "(cached) " >&6
17245else
17246  case $GMSGFMT in
17247  [\\/]* | ?:[\\/]*)
17248  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17249  ;;
17250  *)
17251  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17252for as_dir in $PATH
17253do
17254  IFS=$as_save_IFS
17255  test -z "$as_dir" && as_dir=.
17256    for ac_exec_ext in '' $ac_executable_extensions; do
17257  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17258    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17259    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17260    break 2
17261  fi
17262done
17263  done
17264IFS=$as_save_IFS
17265
17266  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17267  ;;
17268esac
17269fi
17270GMSGFMT=$ac_cv_path_GMSGFMT
17271if test -n "$GMSGFMT"; then
17272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17273$as_echo "$GMSGFMT" >&6; }
17274else
17275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17276$as_echo "no" >&6; }
17277fi
17278
17279
17280
17281    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17282    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
17283    *) MSGFMT_015=$MSGFMT ;;
17284  esac
17285
17286  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17287    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
17288    *) GMSGFMT_015=$GMSGFMT ;;
17289  esac
17290
17291
17292
17293# Prepare PATH_SEPARATOR.
17294# The user is always right.
17295if test "${PATH_SEPARATOR+set}" != set; then
17296  echo "#! /bin/sh" >conf$$.sh
17297  echo  "exit 0"   >>conf$$.sh
17298  chmod +x conf$$.sh
17299  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17300    PATH_SEPARATOR=';'
17301  else
17302    PATH_SEPARATOR=:
17303  fi
17304  rm -f conf$$.sh
17305fi
17306
17307# Find out how to test for executable files. Don't use a zero-byte file,
17308# as systems may use methods other than mode bits to determine executability.
17309cat >conf$$.file <<_ASEOF
17310#! /bin/sh
17311exit 0
17312_ASEOF
17313chmod +x conf$$.file
17314if test -x conf$$.file >/dev/null 2>&1; then
17315  ac_executable_p="test -x"
17316else
17317  ac_executable_p="test -f"
17318fi
17319rm -f conf$$.file
17320
17321# Extract the first word of "xgettext", so it can be a program name with args.
17322set dummy xgettext; ac_word=$2
17323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17324$as_echo_n "checking for $ac_word... " >&6; }
17325if ${ac_cv_path_XGETTEXT+:} false; then :
17326  $as_echo_n "(cached) " >&6
17327else
17328  case "$XGETTEXT" in
17329  [\\/]* | ?:[\\/]*)
17330    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17331    ;;
17332  *)
17333    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17334    for ac_dir in $PATH; do
17335      IFS="$ac_save_IFS"
17336      test -z "$ac_dir" && ac_dir=.
17337      for ac_exec_ext in '' $ac_executable_extensions; do
17338        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17339          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17340          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
17341     (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
17342            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
17343            break 2
17344          fi
17345        fi
17346      done
17347    done
17348    IFS="$ac_save_IFS"
17349  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17350    ;;
17351esac
17352fi
17353XGETTEXT="$ac_cv_path_XGETTEXT"
17354if test "$XGETTEXT" != ":"; then
17355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17356$as_echo "$XGETTEXT" >&6; }
17357else
17358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17359$as_echo "no" >&6; }
17360fi
17361
17362    rm -f messages.po
17363
17364    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17365    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
17366    *) XGETTEXT_015=$XGETTEXT ;;
17367  esac
17368
17369
17370
17371# Prepare PATH_SEPARATOR.
17372# The user is always right.
17373if test "${PATH_SEPARATOR+set}" != set; then
17374  echo "#! /bin/sh" >conf$$.sh
17375  echo  "exit 0"   >>conf$$.sh
17376  chmod +x conf$$.sh
17377  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17378    PATH_SEPARATOR=';'
17379  else
17380    PATH_SEPARATOR=:
17381  fi
17382  rm -f conf$$.sh
17383fi
17384
17385# Find out how to test for executable files. Don't use a zero-byte file,
17386# as systems may use methods other than mode bits to determine executability.
17387cat >conf$$.file <<_ASEOF
17388#! /bin/sh
17389exit 0
17390_ASEOF
17391chmod +x conf$$.file
17392if test -x conf$$.file >/dev/null 2>&1; then
17393  ac_executable_p="test -x"
17394else
17395  ac_executable_p="test -f"
17396fi
17397rm -f conf$$.file
17398
17399# Extract the first word of "msgmerge", so it can be a program name with args.
17400set dummy msgmerge; ac_word=$2
17401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17402$as_echo_n "checking for $ac_word... " >&6; }
17403if ${ac_cv_path_MSGMERGE+:} false; then :
17404  $as_echo_n "(cached) " >&6
17405else
17406  case "$MSGMERGE" in
17407  [\\/]* | ?:[\\/]*)
17408    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17409    ;;
17410  *)
17411    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17412    for ac_dir in $PATH; do
17413      IFS="$ac_save_IFS"
17414      test -z "$ac_dir" && ac_dir=.
17415      for ac_exec_ext in '' $ac_executable_extensions; do
17416        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17417          echo "$as_me: trying $ac_dir/$ac_word..." >&5
17418          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
17419            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
17420            break 2
17421          fi
17422        fi
17423      done
17424    done
17425    IFS="$ac_save_IFS"
17426  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
17427    ;;
17428esac
17429fi
17430MSGMERGE="$ac_cv_path_MSGMERGE"
17431if test "$MSGMERGE" != ":"; then
17432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17433$as_echo "$MSGMERGE" >&6; }
17434else
17435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17436$as_echo "no" >&6; }
17437fi
17438
17439
17440        test -n "$localedir" || localedir='${datadir}/locale'
17441
17442
17443    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
17444
17445
17446  ac_config_commands="$ac_config_commands po-directories"
17447
17448
17449
17450      if test "X$prefix" = "XNONE"; then
17451    acl_final_prefix="$ac_default_prefix"
17452  else
17453    acl_final_prefix="$prefix"
17454  fi
17455  if test "X$exec_prefix" = "XNONE"; then
17456    acl_final_exec_prefix='${prefix}'
17457  else
17458    acl_final_exec_prefix="$exec_prefix"
17459  fi
17460  acl_save_prefix="$prefix"
17461  prefix="$acl_final_prefix"
17462  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17463  prefix="$acl_save_prefix"
17464
17465
17466# Check whether --with-gnu-ld was given.
17467if test "${with_gnu_ld+set}" = set; then :
17468  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17469else
17470  with_gnu_ld=no
17471fi
17472
17473# Prepare PATH_SEPARATOR.
17474# The user is always right.
17475if test "${PATH_SEPARATOR+set}" != set; then
17476  echo "#! /bin/sh" >conf$$.sh
17477  echo  "exit 0"   >>conf$$.sh
17478  chmod +x conf$$.sh
17479  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17480    PATH_SEPARATOR=';'
17481  else
17482    PATH_SEPARATOR=:
17483  fi
17484  rm -f conf$$.sh
17485fi
17486ac_prog=ld
17487if test "$GCC" = yes; then
17488  # Check if gcc -print-prog-name=ld gives a path.
17489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17490$as_echo_n "checking for ld used by GCC... " >&6; }
17491  case $host in
17492  *-*-mingw*)
17493    # gcc leaves a trailing carriage return which upsets mingw
17494    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17495  *)
17496    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17497  esac
17498  case $ac_prog in
17499    # Accept absolute paths.
17500    [\\/]* | [A-Za-z]:[\\/]*)
17501      re_direlt='/[^/][^/]*/\.\./'
17502      # Canonicalize the path of ld
17503      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17504      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17505        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17506      done
17507      test -z "$LD" && LD="$ac_prog"
17508      ;;
17509  "")
17510    # If it fails, then pretend we aren't using GCC.
17511    ac_prog=ld
17512    ;;
17513  *)
17514    # If it is relative, then search for the first ld in PATH.
17515    with_gnu_ld=unknown
17516    ;;
17517  esac
17518elif test "$with_gnu_ld" = yes; then
17519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17520$as_echo_n "checking for GNU ld... " >&6; }
17521else
17522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17523$as_echo_n "checking for non-GNU ld... " >&6; }
17524fi
17525if ${acl_cv_path_LD+:} false; then :
17526  $as_echo_n "(cached) " >&6
17527else
17528  if test -z "$LD"; then
17529  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17530  for ac_dir in $PATH; do
17531    test -z "$ac_dir" && ac_dir=.
17532    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17533      acl_cv_path_LD="$ac_dir/$ac_prog"
17534      # Check to see if the program is GNU ld.  I'd rather use --version,
17535      # but apparently some GNU ld's only accept -v.
17536      # Break only if it was the GNU/non-GNU ld that we prefer.
17537      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
17538      *GNU* | *'with BFD'*)
17539        test "$with_gnu_ld" != no && break ;;
17540      *)
17541        test "$with_gnu_ld" != yes && break ;;
17542      esac
17543    fi
17544  done
17545  IFS="$ac_save_ifs"
17546else
17547  acl_cv_path_LD="$LD" # Let the user override the test with a path.
17548fi
17549fi
17550
17551LD="$acl_cv_path_LD"
17552if test -n "$LD"; then
17553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17554$as_echo "$LD" >&6; }
17555else
17556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17557$as_echo "no" >&6; }
17558fi
17559test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17561$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17562if ${acl_cv_prog_gnu_ld+:} false; then :
17563  $as_echo_n "(cached) " >&6
17564else
17565  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17566case `$LD -v 2>&1 </dev/null` in
17567*GNU* | *'with BFD'*)
17568  acl_cv_prog_gnu_ld=yes ;;
17569*)
17570  acl_cv_prog_gnu_ld=no ;;
17571esac
17572fi
17573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17574$as_echo "$acl_cv_prog_gnu_ld" >&6; }
17575with_gnu_ld=$acl_cv_prog_gnu_ld
17576
17577
17578
17579
17580                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17581$as_echo_n "checking for shared library run path origin... " >&6; }
17582if ${acl_cv_rpath+:} false; then :
17583  $as_echo_n "(cached) " >&6
17584else
17585
17586    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17587    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17588    . ./conftest.sh
17589    rm -f ./conftest.sh
17590    acl_cv_rpath=done
17591
17592fi
17593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17594$as_echo "$acl_cv_rpath" >&6; }
17595  wl="$acl_cv_wl"
17596  acl_libext="$acl_cv_libext"
17597  acl_shlibext="$acl_cv_shlibext"
17598  acl_libname_spec="$acl_cv_libname_spec"
17599  acl_library_names_spec="$acl_cv_library_names_spec"
17600  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17601  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17602  acl_hardcode_direct="$acl_cv_hardcode_direct"
17603  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17604    # Check whether --enable-rpath was given.
17605if test "${enable_rpath+set}" = set; then :
17606  enableval=$enable_rpath; :
17607else
17608  enable_rpath=yes
17609fi
17610
17611
17612
17613
17614  acl_libdirstem=lib
17615  acl_libdirstem2=
17616  case "$host_os" in
17617    solaris*)
17618                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
17619$as_echo_n "checking for 64-bit host... " >&6; }
17620if ${gl_cv_solaris_64bit+:} false; then :
17621  $as_echo_n "(cached) " >&6
17622else
17623  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624/* end confdefs.h.  */
17625
17626#ifdef _LP64
17627sixtyfour bits
17628#endif
17629
17630_ACEOF
17631if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17632  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
17633  gl_cv_solaris_64bit=yes
17634else
17635  gl_cv_solaris_64bit=no
17636fi
17637rm -f conftest*
17638
17639
17640fi
17641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
17642$as_echo "$gl_cv_solaris_64bit" >&6; }
17643      if test $gl_cv_solaris_64bit = yes; then
17644        acl_libdirstem=lib/64
17645        case "$host_cpu" in
17646          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
17647          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17648        esac
17649      fi
17650      ;;
17651    *)
17652      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17653      if test -n "$searchpath"; then
17654        acl_save_IFS="${IFS= 	}"; IFS=":"
17655        for searchdir in $searchpath; do
17656          if test -d "$searchdir"; then
17657            case "$searchdir" in
17658              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17659              */../ | */.. )
17660                # Better ignore directories of this form. They are misleading.
17661                ;;
17662              *) searchdir=`cd "$searchdir" && pwd`
17663                 case "$searchdir" in
17664                   */lib64 ) acl_libdirstem=lib64 ;;
17665                 esac ;;
17666            esac
17667          fi
17668        done
17669        IFS="$acl_save_IFS"
17670      fi
17671      ;;
17672  esac
17673  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686    use_additional=yes
17687
17688  acl_save_prefix="$prefix"
17689  prefix="$acl_final_prefix"
17690  acl_save_exec_prefix="$exec_prefix"
17691  exec_prefix="$acl_final_exec_prefix"
17692
17693    eval additional_includedir=\"$includedir\"
17694    eval additional_libdir=\"$libdir\"
17695
17696  exec_prefix="$acl_save_exec_prefix"
17697  prefix="$acl_save_prefix"
17698
17699
17700# Check whether --with-libiconv-prefix was given.
17701if test "${with_libiconv_prefix+set}" = set; then :
17702  withval=$with_libiconv_prefix;
17703    if test "X$withval" = "Xno"; then
17704      use_additional=no
17705    else
17706      if test "X$withval" = "X"; then
17707
17708  acl_save_prefix="$prefix"
17709  prefix="$acl_final_prefix"
17710  acl_save_exec_prefix="$exec_prefix"
17711  exec_prefix="$acl_final_exec_prefix"
17712
17713          eval additional_includedir=\"$includedir\"
17714          eval additional_libdir=\"$libdir\"
17715
17716  exec_prefix="$acl_save_exec_prefix"
17717  prefix="$acl_save_prefix"
17718
17719      else
17720        additional_includedir="$withval/include"
17721        additional_libdir="$withval/$acl_libdirstem"
17722        if test "$acl_libdirstem2" != "$acl_libdirstem" \
17723           && ! test -d "$withval/$acl_libdirstem"; then
17724          additional_libdir="$withval/$acl_libdirstem2"
17725        fi
17726      fi
17727    fi
17728
17729fi
17730
17731      LIBICONV=
17732  LTLIBICONV=
17733  INCICONV=
17734  LIBICONV_PREFIX=
17735      HAVE_LIBICONV=
17736  rpathdirs=
17737  ltrpathdirs=
17738  names_already_handled=
17739  names_next_round='iconv '
17740  while test -n "$names_next_round"; do
17741    names_this_round="$names_next_round"
17742    names_next_round=
17743    for name in $names_this_round; do
17744      already_handled=
17745      for n in $names_already_handled; do
17746        if test "$n" = "$name"; then
17747          already_handled=yes
17748          break
17749        fi
17750      done
17751      if test -z "$already_handled"; then
17752        names_already_handled="$names_already_handled $name"
17753                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17754        eval value=\"\$HAVE_LIB$uppername\"
17755        if test -n "$value"; then
17756          if test "$value" = yes; then
17757            eval value=\"\$LIB$uppername\"
17758            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17759            eval value=\"\$LTLIB$uppername\"
17760            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17761          else
17762                                    :
17763          fi
17764        else
17765                              found_dir=
17766          found_la=
17767          found_so=
17768          found_a=
17769          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17770          if test -n "$acl_shlibext"; then
17771            shrext=".$acl_shlibext"             # typically: shrext=.so
17772          else
17773            shrext=
17774          fi
17775          if test $use_additional = yes; then
17776            dir="$additional_libdir"
17777                                    if test -n "$acl_shlibext"; then
17778              if test -f "$dir/$libname$shrext"; then
17779                found_dir="$dir"
17780                found_so="$dir/$libname$shrext"
17781              else
17782                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17783                  ver=`(cd "$dir" && \
17784                        for f in "$libname$shrext".*; do echo "$f"; done \
17785                        | sed -e "s,^$libname$shrext\\\\.,," \
17786                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17787                        | sed 1q ) 2>/dev/null`
17788                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17789                    found_dir="$dir"
17790                    found_so="$dir/$libname$shrext.$ver"
17791                  fi
17792                else
17793                  eval library_names=\"$acl_library_names_spec\"
17794                  for f in $library_names; do
17795                    if test -f "$dir/$f"; then
17796                      found_dir="$dir"
17797                      found_so="$dir/$f"
17798                      break
17799                    fi
17800                  done
17801                fi
17802              fi
17803            fi
17804                        if test "X$found_dir" = "X"; then
17805              if test -f "$dir/$libname.$acl_libext"; then
17806                found_dir="$dir"
17807                found_a="$dir/$libname.$acl_libext"
17808              fi
17809            fi
17810            if test "X$found_dir" != "X"; then
17811              if test -f "$dir/$libname.la"; then
17812                found_la="$dir/$libname.la"
17813              fi
17814            fi
17815          fi
17816          if test "X$found_dir" = "X"; then
17817            for x in $LDFLAGS $LTLIBICONV; do
17818
17819  acl_save_prefix="$prefix"
17820  prefix="$acl_final_prefix"
17821  acl_save_exec_prefix="$exec_prefix"
17822  exec_prefix="$acl_final_exec_prefix"
17823  eval x=\"$x\"
17824  exec_prefix="$acl_save_exec_prefix"
17825  prefix="$acl_save_prefix"
17826
17827              case "$x" in
17828                -L*)
17829                  dir=`echo "X$x" | sed -e 's/^X-L//'`
17830                                    if test -n "$acl_shlibext"; then
17831                    if test -f "$dir/$libname$shrext"; then
17832                      found_dir="$dir"
17833                      found_so="$dir/$libname$shrext"
17834                    else
17835                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17836                        ver=`(cd "$dir" && \
17837                              for f in "$libname$shrext".*; do echo "$f"; done \
17838                              | sed -e "s,^$libname$shrext\\\\.,," \
17839                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17840                              | sed 1q ) 2>/dev/null`
17841                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17842                          found_dir="$dir"
17843                          found_so="$dir/$libname$shrext.$ver"
17844                        fi
17845                      else
17846                        eval library_names=\"$acl_library_names_spec\"
17847                        for f in $library_names; do
17848                          if test -f "$dir/$f"; then
17849                            found_dir="$dir"
17850                            found_so="$dir/$f"
17851                            break
17852                          fi
17853                        done
17854                      fi
17855                    fi
17856                  fi
17857                                    if test "X$found_dir" = "X"; then
17858                    if test -f "$dir/$libname.$acl_libext"; then
17859                      found_dir="$dir"
17860                      found_a="$dir/$libname.$acl_libext"
17861                    fi
17862                  fi
17863                  if test "X$found_dir" != "X"; then
17864                    if test -f "$dir/$libname.la"; then
17865                      found_la="$dir/$libname.la"
17866                    fi
17867                  fi
17868                  ;;
17869              esac
17870              if test "X$found_dir" != "X"; then
17871                break
17872              fi
17873            done
17874          fi
17875          if test "X$found_dir" != "X"; then
17876                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17877            if test "X$found_so" != "X"; then
17878                                                        if test "$enable_rpath" = no \
17879                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17880                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17881                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17882              else
17883                                                                                haveit=
17884                for x in $ltrpathdirs; do
17885                  if test "X$x" = "X$found_dir"; then
17886                    haveit=yes
17887                    break
17888                  fi
17889                done
17890                if test -z "$haveit"; then
17891                  ltrpathdirs="$ltrpathdirs $found_dir"
17892                fi
17893                                if test "$acl_hardcode_direct" = yes; then
17894                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17895                else
17896                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17897                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17898                                                            haveit=
17899                    for x in $rpathdirs; 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                      rpathdirs="$rpathdirs $found_dir"
17907                    fi
17908                  else
17909                                                                                haveit=
17910                    for x in $LDFLAGS $LIBICONV; do
17911
17912  acl_save_prefix="$prefix"
17913  prefix="$acl_final_prefix"
17914  acl_save_exec_prefix="$exec_prefix"
17915  exec_prefix="$acl_final_exec_prefix"
17916  eval x=\"$x\"
17917  exec_prefix="$acl_save_exec_prefix"
17918  prefix="$acl_save_prefix"
17919
17920                      if test "X$x" = "X-L$found_dir"; then
17921                        haveit=yes
17922                        break
17923                      fi
17924                    done
17925                    if test -z "$haveit"; then
17926                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17927                    fi
17928                    if test "$acl_hardcode_minus_L" != no; then
17929                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17930                    else
17931                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17932                    fi
17933                  fi
17934                fi
17935              fi
17936            else
17937              if test "X$found_a" != "X"; then
17938                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17939              else
17940                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17941              fi
17942            fi
17943                        additional_includedir=
17944            case "$found_dir" in
17945              */$acl_libdirstem | */$acl_libdirstem/)
17946                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17947                if test "$name" = 'iconv'; then
17948                  LIBICONV_PREFIX="$basedir"
17949                fi
17950                additional_includedir="$basedir/include"
17951                ;;
17952              */$acl_libdirstem2 | */$acl_libdirstem2/)
17953                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17954                if test "$name" = 'iconv'; then
17955                  LIBICONV_PREFIX="$basedir"
17956                fi
17957                additional_includedir="$basedir/include"
17958                ;;
17959            esac
17960            if test "X$additional_includedir" != "X"; then
17961                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
17962                haveit=
17963                if test "X$additional_includedir" = "X/usr/local/include"; then
17964                  if test -n "$GCC"; then
17965                    case $host_os in
17966                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17967                    esac
17968                  fi
17969                fi
17970                if test -z "$haveit"; then
17971                  for x in $CPPFLAGS $INCICONV; do
17972
17973  acl_save_prefix="$prefix"
17974  prefix="$acl_final_prefix"
17975  acl_save_exec_prefix="$exec_prefix"
17976  exec_prefix="$acl_final_exec_prefix"
17977  eval x=\"$x\"
17978  exec_prefix="$acl_save_exec_prefix"
17979  prefix="$acl_save_prefix"
17980
17981                    if test "X$x" = "X-I$additional_includedir"; then
17982                      haveit=yes
17983                      break
17984                    fi
17985                  done
17986                  if test -z "$haveit"; then
17987                    if test -d "$additional_includedir"; then
17988                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
17989                    fi
17990                  fi
17991                fi
17992              fi
17993            fi
17994                        if test -n "$found_la"; then
17995                                                        save_libdir="$libdir"
17996              case "$found_la" in
17997                */* | *\\*) . "$found_la" ;;
17998                *) . "./$found_la" ;;
17999              esac
18000              libdir="$save_libdir"
18001                            for dep in $dependency_libs; do
18002                case "$dep" in
18003                  -L*)
18004                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18005                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18006                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18007                      haveit=
18008                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18009                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18010                        if test -n "$GCC"; then
18011                          case $host_os in
18012                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18013                          esac
18014                        fi
18015                      fi
18016                      if test -z "$haveit"; then
18017                        haveit=
18018                        for x in $LDFLAGS $LIBICONV; do
18019
18020  acl_save_prefix="$prefix"
18021  prefix="$acl_final_prefix"
18022  acl_save_exec_prefix="$exec_prefix"
18023  exec_prefix="$acl_final_exec_prefix"
18024  eval x=\"$x\"
18025  exec_prefix="$acl_save_exec_prefix"
18026  prefix="$acl_save_prefix"
18027
18028                          if test "X$x" = "X-L$additional_libdir"; then
18029                            haveit=yes
18030                            break
18031                          fi
18032                        done
18033                        if test -z "$haveit"; then
18034                          if test -d "$additional_libdir"; then
18035                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18036                          fi
18037                        fi
18038                        haveit=
18039                        for x in $LDFLAGS $LTLIBICONV; do
18040
18041  acl_save_prefix="$prefix"
18042  prefix="$acl_final_prefix"
18043  acl_save_exec_prefix="$exec_prefix"
18044  exec_prefix="$acl_final_exec_prefix"
18045  eval x=\"$x\"
18046  exec_prefix="$acl_save_exec_prefix"
18047  prefix="$acl_save_prefix"
18048
18049                          if test "X$x" = "X-L$additional_libdir"; then
18050                            haveit=yes
18051                            break
18052                          fi
18053                        done
18054                        if test -z "$haveit"; then
18055                          if test -d "$additional_libdir"; then
18056                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18057                          fi
18058                        fi
18059                      fi
18060                    fi
18061                    ;;
18062                  -R*)
18063                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
18064                    if test "$enable_rpath" != no; then
18065                                                                  haveit=
18066                      for x in $rpathdirs; do
18067                        if test "X$x" = "X$dir"; then
18068                          haveit=yes
18069                          break
18070                        fi
18071                      done
18072                      if test -z "$haveit"; then
18073                        rpathdirs="$rpathdirs $dir"
18074                      fi
18075                                                                  haveit=
18076                      for x in $ltrpathdirs; do
18077                        if test "X$x" = "X$dir"; then
18078                          haveit=yes
18079                          break
18080                        fi
18081                      done
18082                      if test -z "$haveit"; then
18083                        ltrpathdirs="$ltrpathdirs $dir"
18084                      fi
18085                    fi
18086                    ;;
18087                  -l*)
18088                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18089                    ;;
18090                  *.la)
18091                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18092                    ;;
18093                  *)
18094                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18095                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18096                    ;;
18097                esac
18098              done
18099            fi
18100          else
18101                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18102            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18103          fi
18104        fi
18105      fi
18106    done
18107  done
18108  if test "X$rpathdirs" != "X"; then
18109    if test -n "$acl_hardcode_libdir_separator"; then
18110                        alldirs=
18111      for found_dir in $rpathdirs; do
18112        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18113      done
18114            acl_save_libdir="$libdir"
18115      libdir="$alldirs"
18116      eval flag=\"$acl_hardcode_libdir_flag_spec\"
18117      libdir="$acl_save_libdir"
18118      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18119    else
18120            for found_dir in $rpathdirs; do
18121        acl_save_libdir="$libdir"
18122        libdir="$found_dir"
18123        eval flag=\"$acl_hardcode_libdir_flag_spec\"
18124        libdir="$acl_save_libdir"
18125        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18126      done
18127    fi
18128  fi
18129  if test "X$ltrpathdirs" != "X"; then
18130            for found_dir in $ltrpathdirs; do
18131      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18132    done
18133  fi
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
18166$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
18167if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
18168  $as_echo_n "(cached) " >&6
18169else
18170  gt_save_LIBS="$LIBS"
18171     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18172     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173/* end confdefs.h.  */
18174#include <CoreFoundation/CFPreferences.h>
18175int
18176main ()
18177{
18178CFPreferencesCopyAppValue(NULL, NULL)
18179  ;
18180  return 0;
18181}
18182_ACEOF
18183if ac_fn_c_try_link "$LINENO"; then :
18184  gt_cv_func_CFPreferencesCopyAppValue=yes
18185else
18186  gt_cv_func_CFPreferencesCopyAppValue=no
18187fi
18188rm -f core conftest.err conftest.$ac_objext \
18189    conftest$ac_exeext conftest.$ac_ext
18190     LIBS="$gt_save_LIBS"
18191fi
18192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
18193$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
18194  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
18195
18196$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
18197
18198  fi
18199    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
18200$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
18201if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
18202  $as_echo_n "(cached) " >&6
18203else
18204  gt_save_LIBS="$LIBS"
18205     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18206     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207/* end confdefs.h.  */
18208#include <CoreFoundation/CFLocale.h>
18209int
18210main ()
18211{
18212CFLocaleCopyCurrent();
18213  ;
18214  return 0;
18215}
18216_ACEOF
18217if ac_fn_c_try_link "$LINENO"; then :
18218  gt_cv_func_CFLocaleCopyCurrent=yes
18219else
18220  gt_cv_func_CFLocaleCopyCurrent=no
18221fi
18222rm -f core conftest.err conftest.$ac_objext \
18223    conftest$ac_exeext conftest.$ac_ext
18224     LIBS="$gt_save_LIBS"
18225fi
18226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
18227$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
18228  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18229
18230$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
18231
18232  fi
18233  INTL_MACOSX_LIBS=
18234  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18235    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
18236  fi
18237
18238
18239
18240
18241
18242
18243  LIBINTL=
18244  LTLIBINTL=
18245  POSUB=
18246
18247    case " $gt_needs " in
18248    *" need-formatstring-macros "*) gt_api_version=3 ;;
18249    *" need-ngettext "*) gt_api_version=2 ;;
18250    *) gt_api_version=1 ;;
18251  esac
18252  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
18253  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
18254
18255    if test "$USE_NLS" = "yes"; then
18256    gt_use_preinstalled_gnugettext=no
18257
18258
18259        if test $gt_api_version -ge 3; then
18260          gt_revision_test_code='
18261#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
18262#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
18263#endif
18264typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
18265'
18266        else
18267          gt_revision_test_code=
18268        fi
18269        if test $gt_api_version -ge 2; then
18270          gt_expression_test_code=' + * ngettext ("", "", 0)'
18271        else
18272          gt_expression_test_code=
18273        fi
18274
18275        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
18276$as_echo_n "checking for GNU gettext in libc... " >&6; }
18277if eval \${$gt_func_gnugettext_libc+:} false; then :
18278  $as_echo_n "(cached) " >&6
18279else
18280  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281/* end confdefs.h.  */
18282#include <libintl.h>
18283$gt_revision_test_code
18284extern int _nl_msg_cat_cntr;
18285extern int *_nl_domain_bindings;
18286int
18287main ()
18288{
18289bindtextdomain ("", "");
18290return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
18291  ;
18292  return 0;
18293}
18294_ACEOF
18295if ac_fn_c_try_link "$LINENO"; then :
18296  eval "$gt_func_gnugettext_libc=yes"
18297else
18298  eval "$gt_func_gnugettext_libc=no"
18299fi
18300rm -f core conftest.err conftest.$ac_objext \
18301    conftest$ac_exeext conftest.$ac_ext
18302fi
18303eval ac_res=\$$gt_func_gnugettext_libc
18304	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18305$as_echo "$ac_res" >&6; }
18306
18307        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
18308
18309
18310
18311
18312
18313          am_save_CPPFLAGS="$CPPFLAGS"
18314
18315  for element in $INCICONV; do
18316    haveit=
18317    for x in $CPPFLAGS; do
18318
18319  acl_save_prefix="$prefix"
18320  prefix="$acl_final_prefix"
18321  acl_save_exec_prefix="$exec_prefix"
18322  exec_prefix="$acl_final_exec_prefix"
18323  eval x=\"$x\"
18324  exec_prefix="$acl_save_exec_prefix"
18325  prefix="$acl_save_prefix"
18326
18327      if test "X$x" = "X$element"; then
18328        haveit=yes
18329        break
18330      fi
18331    done
18332    if test -z "$haveit"; then
18333      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18334    fi
18335  done
18336
18337
18338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18339$as_echo_n "checking for iconv... " >&6; }
18340if ${am_cv_func_iconv+:} false; then :
18341  $as_echo_n "(cached) " >&6
18342else
18343
18344    am_cv_func_iconv="no, consider installing GNU libiconv"
18345    am_cv_lib_iconv=no
18346    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18347/* end confdefs.h.  */
18348#include <stdlib.h>
18349#include <iconv.h>
18350int
18351main ()
18352{
18353iconv_t cd = iconv_open("","");
18354       iconv(cd,NULL,NULL,NULL,NULL);
18355       iconv_close(cd);
18356  ;
18357  return 0;
18358}
18359_ACEOF
18360if ac_fn_c_try_link "$LINENO"; then :
18361  am_cv_func_iconv=yes
18362fi
18363rm -f core conftest.err conftest.$ac_objext \
18364    conftest$ac_exeext conftest.$ac_ext
18365    if test "$am_cv_func_iconv" != yes; then
18366      am_save_LIBS="$LIBS"
18367      LIBS="$LIBS $LIBICONV"
18368      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369/* end confdefs.h.  */
18370#include <stdlib.h>
18371#include <iconv.h>
18372int
18373main ()
18374{
18375iconv_t cd = iconv_open("","");
18376         iconv(cd,NULL,NULL,NULL,NULL);
18377         iconv_close(cd);
18378  ;
18379  return 0;
18380}
18381_ACEOF
18382if ac_fn_c_try_link "$LINENO"; then :
18383  am_cv_lib_iconv=yes
18384        am_cv_func_iconv=yes
18385fi
18386rm -f core conftest.err conftest.$ac_objext \
18387    conftest$ac_exeext conftest.$ac_ext
18388      LIBS="$am_save_LIBS"
18389    fi
18390
18391fi
18392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18393$as_echo "$am_cv_func_iconv" >&6; }
18394  if test "$am_cv_func_iconv" = yes; then
18395    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18396$as_echo_n "checking for working iconv... " >&6; }
18397if ${am_cv_func_iconv_works+:} false; then :
18398  $as_echo_n "(cached) " >&6
18399else
18400
18401            am_save_LIBS="$LIBS"
18402      if test $am_cv_lib_iconv = yes; then
18403        LIBS="$LIBS $LIBICONV"
18404      fi
18405      if test "$cross_compiling" = yes; then :
18406  case "$host_os" in
18407           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18408           *)            am_cv_func_iconv_works="guessing yes" ;;
18409         esac
18410else
18411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412/* end confdefs.h.  */
18413
18414#include <iconv.h>
18415#include <string.h>
18416int main ()
18417{
18418  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18419     returns.  */
18420  {
18421    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18422    if (cd_utf8_to_88591 != (iconv_t)(-1))
18423      {
18424        static const char input[] = "\342\202\254"; /* EURO SIGN */
18425        char buf[10];
18426        const char *inptr = input;
18427        size_t inbytesleft = strlen (input);
18428        char *outptr = buf;
18429        size_t outbytesleft = sizeof (buf);
18430        size_t res = iconv (cd_utf8_to_88591,
18431                            (char **) &inptr, &inbytesleft,
18432                            &outptr, &outbytesleft);
18433        if (res == 0)
18434          return 1;
18435      }
18436  }
18437  /* Test against Solaris 10 bug: Failures are not distinguishable from
18438     successful returns.  */
18439  {
18440    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
18441    if (cd_ascii_to_88591 != (iconv_t)(-1))
18442      {
18443        static const char input[] = "\263";
18444        char buf[10];
18445        const char *inptr = input;
18446        size_t inbytesleft = strlen (input);
18447        char *outptr = buf;
18448        size_t outbytesleft = sizeof (buf);
18449        size_t res = iconv (cd_ascii_to_88591,
18450                            (char **) &inptr, &inbytesleft,
18451                            &outptr, &outbytesleft);
18452        if (res == 0)
18453          return 1;
18454      }
18455  }
18456#if 0 /* This bug could be worked around by the caller.  */
18457  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
18458  {
18459    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18460    if (cd_88591_to_utf8 != (iconv_t)(-1))
18461      {
18462        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18463        char buf[50];
18464        const char *inptr = input;
18465        size_t inbytesleft = strlen (input);
18466        char *outptr = buf;
18467        size_t outbytesleft = sizeof (buf);
18468        size_t res = iconv (cd_88591_to_utf8,
18469                            (char **) &inptr, &inbytesleft,
18470                            &outptr, &outbytesleft);
18471        if ((int)res > 0)
18472          return 1;
18473      }
18474  }
18475#endif
18476  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18477     provided.  */
18478  if (/* Try standardized names.  */
18479      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18480      /* Try IRIX, OSF/1 names.  */
18481      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18482      /* Try AIX names.  */
18483      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18484      /* Try HP-UX names.  */
18485      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18486    return 1;
18487  return 0;
18488}
18489_ACEOF
18490if ac_fn_c_try_run "$LINENO"; then :
18491  am_cv_func_iconv_works=yes
18492else
18493  am_cv_func_iconv_works=no
18494fi
18495rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18496  conftest.$ac_objext conftest.beam conftest.$ac_ext
18497fi
18498
18499      LIBS="$am_save_LIBS"
18500
18501fi
18502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18503$as_echo "$am_cv_func_iconv_works" >&6; }
18504    case "$am_cv_func_iconv_works" in
18505      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18506      *)   am_func_iconv=yes ;;
18507    esac
18508  else
18509    am_func_iconv=no am_cv_lib_iconv=no
18510  fi
18511  if test "$am_func_iconv" = yes; then
18512
18513$as_echo "#define HAVE_ICONV 1" >>confdefs.h
18514
18515  fi
18516  if test "$am_cv_lib_iconv" = yes; then
18517    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18518$as_echo_n "checking how to link with libiconv... " >&6; }
18519    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18520$as_echo "$LIBICONV" >&6; }
18521  else
18522            CPPFLAGS="$am_save_CPPFLAGS"
18523    LIBICONV=
18524    LTLIBICONV=
18525  fi
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537    use_additional=yes
18538
18539  acl_save_prefix="$prefix"
18540  prefix="$acl_final_prefix"
18541  acl_save_exec_prefix="$exec_prefix"
18542  exec_prefix="$acl_final_exec_prefix"
18543
18544    eval additional_includedir=\"$includedir\"
18545    eval additional_libdir=\"$libdir\"
18546
18547  exec_prefix="$acl_save_exec_prefix"
18548  prefix="$acl_save_prefix"
18549
18550
18551# Check whether --with-libintl-prefix was given.
18552if test "${with_libintl_prefix+set}" = set; then :
18553  withval=$with_libintl_prefix;
18554    if test "X$withval" = "Xno"; then
18555      use_additional=no
18556    else
18557      if test "X$withval" = "X"; then
18558
18559  acl_save_prefix="$prefix"
18560  prefix="$acl_final_prefix"
18561  acl_save_exec_prefix="$exec_prefix"
18562  exec_prefix="$acl_final_exec_prefix"
18563
18564          eval additional_includedir=\"$includedir\"
18565          eval additional_libdir=\"$libdir\"
18566
18567  exec_prefix="$acl_save_exec_prefix"
18568  prefix="$acl_save_prefix"
18569
18570      else
18571        additional_includedir="$withval/include"
18572        additional_libdir="$withval/$acl_libdirstem"
18573        if test "$acl_libdirstem2" != "$acl_libdirstem" \
18574           && ! test -d "$withval/$acl_libdirstem"; then
18575          additional_libdir="$withval/$acl_libdirstem2"
18576        fi
18577      fi
18578    fi
18579
18580fi
18581
18582      LIBINTL=
18583  LTLIBINTL=
18584  INCINTL=
18585  LIBINTL_PREFIX=
18586      HAVE_LIBINTL=
18587  rpathdirs=
18588  ltrpathdirs=
18589  names_already_handled=
18590  names_next_round='intl '
18591  while test -n "$names_next_round"; do
18592    names_this_round="$names_next_round"
18593    names_next_round=
18594    for name in $names_this_round; do
18595      already_handled=
18596      for n in $names_already_handled; do
18597        if test "$n" = "$name"; then
18598          already_handled=yes
18599          break
18600        fi
18601      done
18602      if test -z "$already_handled"; then
18603        names_already_handled="$names_already_handled $name"
18604                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18605        eval value=\"\$HAVE_LIB$uppername\"
18606        if test -n "$value"; then
18607          if test "$value" = yes; then
18608            eval value=\"\$LIB$uppername\"
18609            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
18610            eval value=\"\$LTLIB$uppername\"
18611            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
18612          else
18613                                    :
18614          fi
18615        else
18616                              found_dir=
18617          found_la=
18618          found_so=
18619          found_a=
18620          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
18621          if test -n "$acl_shlibext"; then
18622            shrext=".$acl_shlibext"             # typically: shrext=.so
18623          else
18624            shrext=
18625          fi
18626          if test $use_additional = yes; then
18627            dir="$additional_libdir"
18628                                    if test -n "$acl_shlibext"; then
18629              if test -f "$dir/$libname$shrext"; then
18630                found_dir="$dir"
18631                found_so="$dir/$libname$shrext"
18632              else
18633                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18634                  ver=`(cd "$dir" && \
18635                        for f in "$libname$shrext".*; do echo "$f"; done \
18636                        | sed -e "s,^$libname$shrext\\\\.,," \
18637                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18638                        | sed 1q ) 2>/dev/null`
18639                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18640                    found_dir="$dir"
18641                    found_so="$dir/$libname$shrext.$ver"
18642                  fi
18643                else
18644                  eval library_names=\"$acl_library_names_spec\"
18645                  for f in $library_names; do
18646                    if test -f "$dir/$f"; then
18647                      found_dir="$dir"
18648                      found_so="$dir/$f"
18649                      break
18650                    fi
18651                  done
18652                fi
18653              fi
18654            fi
18655                        if test "X$found_dir" = "X"; then
18656              if test -f "$dir/$libname.$acl_libext"; then
18657                found_dir="$dir"
18658                found_a="$dir/$libname.$acl_libext"
18659              fi
18660            fi
18661            if test "X$found_dir" != "X"; then
18662              if test -f "$dir/$libname.la"; then
18663                found_la="$dir/$libname.la"
18664              fi
18665            fi
18666          fi
18667          if test "X$found_dir" = "X"; then
18668            for x in $LDFLAGS $LTLIBINTL; do
18669
18670  acl_save_prefix="$prefix"
18671  prefix="$acl_final_prefix"
18672  acl_save_exec_prefix="$exec_prefix"
18673  exec_prefix="$acl_final_exec_prefix"
18674  eval x=\"$x\"
18675  exec_prefix="$acl_save_exec_prefix"
18676  prefix="$acl_save_prefix"
18677
18678              case "$x" in
18679                -L*)
18680                  dir=`echo "X$x" | sed -e 's/^X-L//'`
18681                                    if test -n "$acl_shlibext"; then
18682                    if test -f "$dir/$libname$shrext"; then
18683                      found_dir="$dir"
18684                      found_so="$dir/$libname$shrext"
18685                    else
18686                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18687                        ver=`(cd "$dir" && \
18688                              for f in "$libname$shrext".*; do echo "$f"; done \
18689                              | sed -e "s,^$libname$shrext\\\\.,," \
18690                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18691                              | sed 1q ) 2>/dev/null`
18692                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18693                          found_dir="$dir"
18694                          found_so="$dir/$libname$shrext.$ver"
18695                        fi
18696                      else
18697                        eval library_names=\"$acl_library_names_spec\"
18698                        for f in $library_names; do
18699                          if test -f "$dir/$f"; then
18700                            found_dir="$dir"
18701                            found_so="$dir/$f"
18702                            break
18703                          fi
18704                        done
18705                      fi
18706                    fi
18707                  fi
18708                                    if test "X$found_dir" = "X"; then
18709                    if test -f "$dir/$libname.$acl_libext"; then
18710                      found_dir="$dir"
18711                      found_a="$dir/$libname.$acl_libext"
18712                    fi
18713                  fi
18714                  if test "X$found_dir" != "X"; then
18715                    if test -f "$dir/$libname.la"; then
18716                      found_la="$dir/$libname.la"
18717                    fi
18718                  fi
18719                  ;;
18720              esac
18721              if test "X$found_dir" != "X"; then
18722                break
18723              fi
18724            done
18725          fi
18726          if test "X$found_dir" != "X"; then
18727                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
18728            if test "X$found_so" != "X"; then
18729                                                        if test "$enable_rpath" = no \
18730                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18731                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18732                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18733              else
18734                                                                                haveit=
18735                for x in $ltrpathdirs; do
18736                  if test "X$x" = "X$found_dir"; then
18737                    haveit=yes
18738                    break
18739                  fi
18740                done
18741                if test -z "$haveit"; then
18742                  ltrpathdirs="$ltrpathdirs $found_dir"
18743                fi
18744                                if test "$acl_hardcode_direct" = yes; then
18745                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18746                else
18747                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18748                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18749                                                            haveit=
18750                    for x in $rpathdirs; 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                      rpathdirs="$rpathdirs $found_dir"
18758                    fi
18759                  else
18760                                                                                haveit=
18761                    for x in $LDFLAGS $LIBINTL; do
18762
18763  acl_save_prefix="$prefix"
18764  prefix="$acl_final_prefix"
18765  acl_save_exec_prefix="$exec_prefix"
18766  exec_prefix="$acl_final_exec_prefix"
18767  eval x=\"$x\"
18768  exec_prefix="$acl_save_exec_prefix"
18769  prefix="$acl_save_prefix"
18770
18771                      if test "X$x" = "X-L$found_dir"; then
18772                        haveit=yes
18773                        break
18774                      fi
18775                    done
18776                    if test -z "$haveit"; then
18777                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
18778                    fi
18779                    if test "$acl_hardcode_minus_L" != no; then
18780                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18781                    else
18782                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18783                    fi
18784                  fi
18785                fi
18786              fi
18787            else
18788              if test "X$found_a" != "X"; then
18789                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
18790              else
18791                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
18792              fi
18793            fi
18794                        additional_includedir=
18795            case "$found_dir" in
18796              */$acl_libdirstem | */$acl_libdirstem/)
18797                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18798                if test "$name" = 'intl'; then
18799                  LIBINTL_PREFIX="$basedir"
18800                fi
18801                additional_includedir="$basedir/include"
18802                ;;
18803              */$acl_libdirstem2 | */$acl_libdirstem2/)
18804                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18805                if test "$name" = 'intl'; then
18806                  LIBINTL_PREFIX="$basedir"
18807                fi
18808                additional_includedir="$basedir/include"
18809                ;;
18810            esac
18811            if test "X$additional_includedir" != "X"; then
18812                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
18813                haveit=
18814                if test "X$additional_includedir" = "X/usr/local/include"; then
18815                  if test -n "$GCC"; then
18816                    case $host_os in
18817                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18818                    esac
18819                  fi
18820                fi
18821                if test -z "$haveit"; then
18822                  for x in $CPPFLAGS $INCINTL; do
18823
18824  acl_save_prefix="$prefix"
18825  prefix="$acl_final_prefix"
18826  acl_save_exec_prefix="$exec_prefix"
18827  exec_prefix="$acl_final_exec_prefix"
18828  eval x=\"$x\"
18829  exec_prefix="$acl_save_exec_prefix"
18830  prefix="$acl_save_prefix"
18831
18832                    if test "X$x" = "X-I$additional_includedir"; then
18833                      haveit=yes
18834                      break
18835                    fi
18836                  done
18837                  if test -z "$haveit"; then
18838                    if test -d "$additional_includedir"; then
18839                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
18840                    fi
18841                  fi
18842                fi
18843              fi
18844            fi
18845                        if test -n "$found_la"; then
18846                                                        save_libdir="$libdir"
18847              case "$found_la" in
18848                */* | *\\*) . "$found_la" ;;
18849                *) . "./$found_la" ;;
18850              esac
18851              libdir="$save_libdir"
18852                            for dep in $dependency_libs; do
18853                case "$dep" in
18854                  -L*)
18855                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18856                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18857                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18858                      haveit=
18859                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18860                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18861                        if test -n "$GCC"; then
18862                          case $host_os in
18863                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18864                          esac
18865                        fi
18866                      fi
18867                      if test -z "$haveit"; then
18868                        haveit=
18869                        for x in $LDFLAGS $LIBINTL; do
18870
18871  acl_save_prefix="$prefix"
18872  prefix="$acl_final_prefix"
18873  acl_save_exec_prefix="$exec_prefix"
18874  exec_prefix="$acl_final_exec_prefix"
18875  eval x=\"$x\"
18876  exec_prefix="$acl_save_exec_prefix"
18877  prefix="$acl_save_prefix"
18878
18879                          if test "X$x" = "X-L$additional_libdir"; then
18880                            haveit=yes
18881                            break
18882                          fi
18883                        done
18884                        if test -z "$haveit"; then
18885                          if test -d "$additional_libdir"; then
18886                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
18887                          fi
18888                        fi
18889                        haveit=
18890                        for x in $LDFLAGS $LTLIBINTL; do
18891
18892  acl_save_prefix="$prefix"
18893  prefix="$acl_final_prefix"
18894  acl_save_exec_prefix="$exec_prefix"
18895  exec_prefix="$acl_final_exec_prefix"
18896  eval x=\"$x\"
18897  exec_prefix="$acl_save_exec_prefix"
18898  prefix="$acl_save_prefix"
18899
18900                          if test "X$x" = "X-L$additional_libdir"; then
18901                            haveit=yes
18902                            break
18903                          fi
18904                        done
18905                        if test -z "$haveit"; then
18906                          if test -d "$additional_libdir"; then
18907                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
18908                          fi
18909                        fi
18910                      fi
18911                    fi
18912                    ;;
18913                  -R*)
18914                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
18915                    if test "$enable_rpath" != no; then
18916                                                                  haveit=
18917                      for x in $rpathdirs; do
18918                        if test "X$x" = "X$dir"; then
18919                          haveit=yes
18920                          break
18921                        fi
18922                      done
18923                      if test -z "$haveit"; then
18924                        rpathdirs="$rpathdirs $dir"
18925                      fi
18926                                                                  haveit=
18927                      for x in $ltrpathdirs; do
18928                        if test "X$x" = "X$dir"; then
18929                          haveit=yes
18930                          break
18931                        fi
18932                      done
18933                      if test -z "$haveit"; then
18934                        ltrpathdirs="$ltrpathdirs $dir"
18935                      fi
18936                    fi
18937                    ;;
18938                  -l*)
18939                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18940                    ;;
18941                  *.la)
18942                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18943                    ;;
18944                  *)
18945                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
18946                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
18947                    ;;
18948                esac
18949              done
18950            fi
18951          else
18952                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18953            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
18954          fi
18955        fi
18956      fi
18957    done
18958  done
18959  if test "X$rpathdirs" != "X"; then
18960    if test -n "$acl_hardcode_libdir_separator"; then
18961                        alldirs=
18962      for found_dir in $rpathdirs; do
18963        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18964      done
18965            acl_save_libdir="$libdir"
18966      libdir="$alldirs"
18967      eval flag=\"$acl_hardcode_libdir_flag_spec\"
18968      libdir="$acl_save_libdir"
18969      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18970    else
18971            for found_dir in $rpathdirs; do
18972        acl_save_libdir="$libdir"
18973        libdir="$found_dir"
18974        eval flag=\"$acl_hardcode_libdir_flag_spec\"
18975        libdir="$acl_save_libdir"
18976        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18977      done
18978    fi
18979  fi
18980  if test "X$ltrpathdirs" != "X"; then
18981            for found_dir in $ltrpathdirs; do
18982      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
18983    done
18984  fi
18985
18986
18987
18988
18989
18990
18991          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
18992$as_echo_n "checking for GNU gettext in libintl... " >&6; }
18993if eval \${$gt_func_gnugettext_libintl+:} false; then :
18994  $as_echo_n "(cached) " >&6
18995else
18996  gt_save_CPPFLAGS="$CPPFLAGS"
18997            CPPFLAGS="$CPPFLAGS $INCINTL"
18998            gt_save_LIBS="$LIBS"
18999            LIBS="$LIBS $LIBINTL"
19000                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001/* end confdefs.h.  */
19002#include <libintl.h>
19003$gt_revision_test_code
19004extern int _nl_msg_cat_cntr;
19005extern
19006#ifdef __cplusplus
19007"C"
19008#endif
19009const char *_nl_expand_alias (const char *);
19010int
19011main ()
19012{
19013bindtextdomain ("", "");
19014return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
19015  ;
19016  return 0;
19017}
19018_ACEOF
19019if ac_fn_c_try_link "$LINENO"; then :
19020  eval "$gt_func_gnugettext_libintl=yes"
19021else
19022  eval "$gt_func_gnugettext_libintl=no"
19023fi
19024rm -f core conftest.err conftest.$ac_objext \
19025    conftest$ac_exeext conftest.$ac_ext
19026                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
19027              LIBS="$LIBS $LIBICONV"
19028              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029/* end confdefs.h.  */
19030#include <libintl.h>
19031$gt_revision_test_code
19032extern int _nl_msg_cat_cntr;
19033extern
19034#ifdef __cplusplus
19035"C"
19036#endif
19037const char *_nl_expand_alias (const char *);
19038int
19039main ()
19040{
19041bindtextdomain ("", "");
19042return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
19043  ;
19044  return 0;
19045}
19046_ACEOF
19047if ac_fn_c_try_link "$LINENO"; then :
19048  LIBINTL="$LIBINTL $LIBICONV"
19049                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
19050                eval "$gt_func_gnugettext_libintl=yes"
19051
19052fi
19053rm -f core conftest.err conftest.$ac_objext \
19054    conftest$ac_exeext conftest.$ac_ext
19055            fi
19056            CPPFLAGS="$gt_save_CPPFLAGS"
19057            LIBS="$gt_save_LIBS"
19058fi
19059eval ac_res=\$$gt_func_gnugettext_libintl
19060	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19061$as_echo "$ac_res" >&6; }
19062        fi
19063
19064                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
19065           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
19066                && test "$PACKAGE" != gettext-runtime \
19067                && test "$PACKAGE" != gettext-tools; }; then
19068          gt_use_preinstalled_gnugettext=yes
19069        else
19070                    LIBINTL=
19071          LTLIBINTL=
19072          INCINTL=
19073        fi
19074
19075
19076
19077    if test -n "$INTL_MACOSX_LIBS"; then
19078      if test "$gt_use_preinstalled_gnugettext" = "yes" \
19079         || test "$nls_cv_use_gnu_gettext" = "yes"; then
19080                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
19081        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
19082      fi
19083    fi
19084
19085    if test "$gt_use_preinstalled_gnugettext" = "yes" \
19086       || test "$nls_cv_use_gnu_gettext" = "yes"; then
19087
19088$as_echo "#define ENABLE_NLS 1" >>confdefs.h
19089
19090    else
19091      USE_NLS=no
19092    fi
19093  fi
19094
19095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
19096$as_echo_n "checking whether to use NLS... " >&6; }
19097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
19098$as_echo "$USE_NLS" >&6; }
19099  if test "$USE_NLS" = "yes"; then
19100    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
19101$as_echo_n "checking where the gettext function comes from... " >&6; }
19102    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19103      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19104        gt_source="external libintl"
19105      else
19106        gt_source="libc"
19107      fi
19108    else
19109      gt_source="included intl directory"
19110    fi
19111    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
19112$as_echo "$gt_source" >&6; }
19113  fi
19114
19115  if test "$USE_NLS" = "yes"; then
19116
19117    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19118      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19119        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
19120$as_echo_n "checking how to link with libintl... " >&6; }
19121        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
19122$as_echo "$LIBINTL" >&6; }
19123
19124  for element in $INCINTL; do
19125    haveit=
19126    for x in $CPPFLAGS; do
19127
19128  acl_save_prefix="$prefix"
19129  prefix="$acl_final_prefix"
19130  acl_save_exec_prefix="$exec_prefix"
19131  exec_prefix="$acl_final_exec_prefix"
19132  eval x=\"$x\"
19133  exec_prefix="$acl_save_exec_prefix"
19134  prefix="$acl_save_prefix"
19135
19136      if test "X$x" = "X$element"; then
19137        haveit=yes
19138        break
19139      fi
19140    done
19141    if test -z "$haveit"; then
19142      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19143    fi
19144  done
19145
19146      fi
19147
19148
19149$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19150
19151
19152$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
19153
19154    fi
19155
19156        POSUB=po
19157  fi
19158
19159
19160
19161    INTLLIBS="$LIBINTL"
19162
19163
19164
19165
19166
19167
19168
19169
19170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19171$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19172if ${ac_cv_c_const+:} false; then :
19173  $as_echo_n "(cached) " >&6
19174else
19175  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176/* end confdefs.h.  */
19177
19178int
19179main ()
19180{
19181
19182#ifndef __cplusplus
19183  /* Ultrix mips cc rejects this sort of thing.  */
19184  typedef int charset[2];
19185  const charset cs = { 0, 0 };
19186  /* SunOS 4.1.1 cc rejects this.  */
19187  char const *const *pcpcc;
19188  char **ppc;
19189  /* NEC SVR4.0.2 mips cc rejects this.  */
19190  struct point {int x, y;};
19191  static struct point const zero = {0,0};
19192  /* AIX XL C 1.02.0.0 rejects this.
19193     It does not let you subtract one const X* pointer from another in
19194     an arm of an if-expression whose if-part is not a constant
19195     expression */
19196  const char *g = "string";
19197  pcpcc = &g + (g ? g-g : 0);
19198  /* HPUX 7.0 cc rejects these. */
19199  ++pcpcc;
19200  ppc = (char**) pcpcc;
19201  pcpcc = (char const *const *) ppc;
19202  { /* SCO 3.2v4 cc rejects this sort of thing.  */
19203    char tx;
19204    char *t = &tx;
19205    char const *s = 0 ? (char *) 0 : (char const *) 0;
19206
19207    *t++ = 0;
19208    if (s) return 0;
19209  }
19210  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19211    int x[] = {25, 17};
19212    const int *foo = &x[0];
19213    ++foo;
19214  }
19215  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19216    typedef const int *iptr;
19217    iptr p = 0;
19218    ++p;
19219  }
19220  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
19221       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19222    struct s { int j; const int *ap[3]; } bx;
19223    struct s *b = &bx; b->j = 5;
19224  }
19225  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19226    const int foo = 10;
19227    if (!foo) return 0;
19228  }
19229  return !cs[0] && !zero.x;
19230#endif
19231
19232  ;
19233  return 0;
19234}
19235_ACEOF
19236if ac_fn_c_try_compile "$LINENO"; then :
19237  ac_cv_c_const=yes
19238else
19239  ac_cv_c_const=no
19240fi
19241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242fi
19243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19244$as_echo "$ac_cv_c_const" >&6; }
19245if test $ac_cv_c_const = no; then
19246
19247$as_echo "#define const /**/" >>confdefs.h
19248
19249fi
19250
19251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
19252$as_echo_n "checking for working volatile... " >&6; }
19253if ${ac_cv_c_volatile+:} false; then :
19254  $as_echo_n "(cached) " >&6
19255else
19256  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257/* end confdefs.h.  */
19258
19259int
19260main ()
19261{
19262
19263volatile int x;
19264int * volatile y = (int *) 0;
19265return !x && !y;
19266  ;
19267  return 0;
19268}
19269_ACEOF
19270if ac_fn_c_try_compile "$LINENO"; then :
19271  ac_cv_c_volatile=yes
19272else
19273  ac_cv_c_volatile=no
19274fi
19275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19276fi
19277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
19278$as_echo "$ac_cv_c_volatile" >&6; }
19279if test $ac_cv_c_volatile = no; then
19280
19281$as_echo "#define volatile /**/" >>confdefs.h
19282
19283fi
19284
19285
19286# Check whether --enable-largefile was given.
19287if test "${enable_largefile+set}" = set; then :
19288  enableval=$enable_largefile;
19289fi
19290
19291if test "$enable_largefile" != no; then
19292
19293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
19294$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
19295if ${ac_cv_sys_largefile_CC+:} false; then :
19296  $as_echo_n "(cached) " >&6
19297else
19298  ac_cv_sys_largefile_CC=no
19299     if test "$GCC" != yes; then
19300       ac_save_CC=$CC
19301       while :; do
19302	 # IRIX 6.2 and later do not support large files by default,
19303	 # so use the C compiler's -n32 option if that helps.
19304	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305/* end confdefs.h.  */
19306#include <sys/types.h>
19307 /* Check that off_t can represent 2**63 - 1 correctly.
19308    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19309    since some C++ compilers masquerading as C compilers
19310    incorrectly reject 9223372036854775807.  */
19311#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19312  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19313		       && LARGE_OFF_T % 2147483647 == 1)
19314		      ? 1 : -1];
19315int
19316main ()
19317{
19318
19319  ;
19320  return 0;
19321}
19322_ACEOF
19323	 if ac_fn_c_try_compile "$LINENO"; then :
19324  break
19325fi
19326rm -f core conftest.err conftest.$ac_objext
19327	 CC="$CC -n32"
19328	 if ac_fn_c_try_compile "$LINENO"; then :
19329  ac_cv_sys_largefile_CC=' -n32'; break
19330fi
19331rm -f core conftest.err conftest.$ac_objext
19332	 break
19333       done
19334       CC=$ac_save_CC
19335       rm -f conftest.$ac_ext
19336    fi
19337fi
19338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
19339$as_echo "$ac_cv_sys_largefile_CC" >&6; }
19340  if test "$ac_cv_sys_largefile_CC" != no; then
19341    CC=$CC$ac_cv_sys_largefile_CC
19342  fi
19343
19344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19345$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
19346if ${ac_cv_sys_file_offset_bits+:} false; then :
19347  $as_echo_n "(cached) " >&6
19348else
19349  while :; do
19350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351/* end confdefs.h.  */
19352#include <sys/types.h>
19353 /* Check that off_t can represent 2**63 - 1 correctly.
19354    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19355    since some C++ compilers masquerading as C compilers
19356    incorrectly reject 9223372036854775807.  */
19357#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19358  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19359		       && LARGE_OFF_T % 2147483647 == 1)
19360		      ? 1 : -1];
19361int
19362main ()
19363{
19364
19365  ;
19366  return 0;
19367}
19368_ACEOF
19369if ac_fn_c_try_compile "$LINENO"; then :
19370  ac_cv_sys_file_offset_bits=no; break
19371fi
19372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19373  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374/* end confdefs.h.  */
19375#define _FILE_OFFSET_BITS 64
19376#include <sys/types.h>
19377 /* Check that off_t can represent 2**63 - 1 correctly.
19378    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19379    since some C++ compilers masquerading as C compilers
19380    incorrectly reject 9223372036854775807.  */
19381#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19382  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19383		       && LARGE_OFF_T % 2147483647 == 1)
19384		      ? 1 : -1];
19385int
19386main ()
19387{
19388
19389  ;
19390  return 0;
19391}
19392_ACEOF
19393if ac_fn_c_try_compile "$LINENO"; then :
19394  ac_cv_sys_file_offset_bits=64; break
19395fi
19396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397  ac_cv_sys_file_offset_bits=unknown
19398  break
19399done
19400fi
19401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
19402$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
19403case $ac_cv_sys_file_offset_bits in #(
19404  no | unknown) ;;
19405  *)
19406cat >>confdefs.h <<_ACEOF
19407#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19408_ACEOF
19409;;
19410esac
19411rm -rf conftest*
19412  if test $ac_cv_sys_file_offset_bits = unknown; then
19413    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
19414$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
19415if ${ac_cv_sys_large_files+:} false; then :
19416  $as_echo_n "(cached) " >&6
19417else
19418  while :; do
19419  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19420/* end confdefs.h.  */
19421#include <sys/types.h>
19422 /* Check that off_t can represent 2**63 - 1 correctly.
19423    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19424    since some C++ compilers masquerading as C compilers
19425    incorrectly reject 9223372036854775807.  */
19426#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19427  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19428		       && LARGE_OFF_T % 2147483647 == 1)
19429		      ? 1 : -1];
19430int
19431main ()
19432{
19433
19434  ;
19435  return 0;
19436}
19437_ACEOF
19438if ac_fn_c_try_compile "$LINENO"; then :
19439  ac_cv_sys_large_files=no; break
19440fi
19441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443/* end confdefs.h.  */
19444#define _LARGE_FILES 1
19445#include <sys/types.h>
19446 /* Check that off_t can represent 2**63 - 1 correctly.
19447    We can't simply define LARGE_OFF_T to be 9223372036854775807,
19448    since some C++ compilers masquerading as C compilers
19449    incorrectly reject 9223372036854775807.  */
19450#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
19451  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
19452		       && LARGE_OFF_T % 2147483647 == 1)
19453		      ? 1 : -1];
19454int
19455main ()
19456{
19457
19458  ;
19459  return 0;
19460}
19461_ACEOF
19462if ac_fn_c_try_compile "$LINENO"; then :
19463  ac_cv_sys_large_files=1; break
19464fi
19465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466  ac_cv_sys_large_files=unknown
19467  break
19468done
19469fi
19470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
19471$as_echo "$ac_cv_sys_large_files" >&6; }
19472case $ac_cv_sys_large_files in #(
19473  no | unknown) ;;
19474  *)
19475cat >>confdefs.h <<_ACEOF
19476#define _LARGE_FILES $ac_cv_sys_large_files
19477_ACEOF
19478;;
19479esac
19480rm -rf conftest*
19481  fi
19482
19483
19484fi
19485
19486
19487
19488
19489  # Check whether --enable-shared-libs was given.
19490if test "${enable_shared_libs+set}" = set; then :
19491  enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval
19492else
19493  ac_cv_enable_shared_libs="yes"
19494fi
19495
19496    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5
19497$as_echo_n "checking whether to disable disable shared library support... " >&6; }
19498if ${ac_cv_enable_shared_libs+:} false; then :
19499  $as_echo_n "(cached) " >&6
19500else
19501  ac_cv_enable_shared_libs="yes"
19502fi
19503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5
19504$as_echo "$ac_cv_enable_shared_libs" >&6; }
19505
19506
19507
19508
19509  # Check whether --enable-static-executables was given.
19510if test "${enable_static_executables+set}" = set; then :
19511  enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval
19512else
19513  ac_cv_enable_static_executables=no
19514fi
19515
19516    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5
19517$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; }
19518if ${ac_cv_enable_static_executables+:} false; then :
19519  $as_echo_n "(cached) " >&6
19520else
19521  ac_cv_enable_static_executables=no
19522fi
19523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5
19524$as_echo "$ac_cv_enable_static_executables" >&6; }
19525
19526  if test "x$ac_cv_enable_static_executables" != xno; then :
19527  STATIC_LDFLAGS="-all-static";
19528
19529
19530
19531    ac_cv_enable_static_executables=yes
19532    enable_shared=no
19533fi
19534
19535
19536
19537
19538  # Check whether --enable-winapi was given.
19539if test "${enable_winapi+set}" = set; then :
19540  enableval=$enable_winapi; ac_cv_enable_winapi=$enableval
19541else
19542  ac_cv_enable_winapi=auto-detect
19543fi
19544
19545    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5
19546$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; }
19547if ${ac_cv_enable_winapi+:} false; then :
19548  $as_echo_n "(cached) " >&6
19549else
19550  ac_cv_enable_winapi=auto-detect
19551fi
19552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5
19553$as_echo "$ac_cv_enable_winapi" >&6; }
19554
19555  if test "x$ac_cv_enable_winapi" = xauto-detect; then :
19556  ac_common_check_winapi_target_string="$target"
19557
19558    if test "x$ac_common_check_winapi_target_string" = x; then :
19559  ac_common_check_winapi_target_string="$host"
19560fi
19561
19562    case $ac_common_check_winapi_target_string in #(
19563  *mingw*) :
19564    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5
19565$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;}
19566        ac_cv_enable_winapi=yes ;; #(
19567  *msys*) :
19568    { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5
19569$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;}
19570        ac_cv_enable_winapi=yes ;; #(
19571  *) :
19572    ac_cv_enable_winapi=no ;; #(
19573  *) :
19574     ;;
19575esac
19576
19577fi
19578
19579
19580
19581
19582  # Check whether --enable-wide-character-type was given.
19583if test "${enable_wide_character_type+set}" = set; then :
19584  enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval
19585else
19586  ac_cv_enable_wide_character_type=no
19587fi
19588
19589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5
19590$as_echo_n "checking whether to enable enable wide character type support... " >&6; }
19591if ${ac_cv_enable_wide_character_type+:} false; then :
19592  $as_echo_n "(cached) " >&6
19593else
19594  ac_cv_enable_wide_character_type=no
19595fi
19596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5
19597$as_echo "$ac_cv_enable_wide_character_type" >&6; }
19598
19599
19600
19601
19602  # Check whether --enable-verbose-output was given.
19603if test "${enable_verbose_output+set}" = set; then :
19604  enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval
19605else
19606  ac_cv_enable_verbose_output=no
19607fi
19608
19609    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5
19610$as_echo_n "checking whether to enable enable verbose output... " >&6; }
19611if ${ac_cv_enable_verbose_output+:} false; then :
19612  $as_echo_n "(cached) " >&6
19613else
19614  ac_cv_enable_verbose_output=no
19615fi
19616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5
19617$as_echo "$ac_cv_enable_verbose_output" >&6; }
19618
19619  if test "x$ac_cv_enable_verbose_output" != xno ; then :
19620
19621$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h
19622
19623
19624    ac_cv_enable_verbose_output=yes
19625fi
19626
19627
19628
19629
19630  # Check whether --enable-debug-output was given.
19631if test "${enable_debug_output+set}" = set; then :
19632  enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval
19633else
19634  ac_cv_enable_debug_output=no
19635fi
19636
19637    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5
19638$as_echo_n "checking whether to enable enable debug output... " >&6; }
19639if ${ac_cv_enable_debug_output+:} false; then :
19640  $as_echo_n "(cached) " >&6
19641else
19642  ac_cv_enable_debug_output=no
19643fi
19644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5
19645$as_echo "$ac_cv_enable_debug_output" >&6; }
19646
19647  if test "x$ac_cv_enable_debug_output" != xno ; then :
19648
19649$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h
19650
19651
19652    ac_cv_enable_debug_output=yes
19653fi
19654
19655
19656if test "x$ac_cv_enable_winapi" = xyes; then :
19657  ac_cv_enable_wide_character_type=yes
19658fi
19659
19660 if test "x$ac_cv_enable_wide_character_type" = xyes; then :
19661
19662$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h
19663
19664  HAVE_WIDE_CHARACTER_TYPE=1
19665
19666else
19667  HAVE_WIDE_CHARACTER_TYPE=0
19668
19669
19670fi
19671
19672 for ac_header in sys/types.h inttypes.h stdint.h wchar.h
19673do :
19674  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19675ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19676if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19677  cat >>confdefs.h <<_ACEOF
19678#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19679_ACEOF
19680
19681fi
19682
19683done
19684
19685
19686 if test "x$ac_cv_header_sys_types_h" = xyes; then :
19687  HAVE_SYS_TYPES_H=1
19688
19689else
19690  HAVE_SYS_TYPES_H=0
19691
19692
19693fi
19694
19695 if test "x$ac_cv_header_inttypes_h" = xyes; then :
19696  HAVE_INTTYPES_H=1
19697
19698else
19699  HAVE_INTTYPES_H=0
19700
19701
19702fi
19703
19704 if test "x$ac_cv_header_stdint_h" = xyes; then :
19705  HAVE_STDINT_H=1
19706
19707else
19708  HAVE_STDINT_H=0
19709
19710
19711fi
19712
19713 if test "x$ac_cv_header_wchar_h" = xyes; then :
19714  HAVE_WCHAR_H=1
19715
19716else
19717  HAVE_WCHAR_H=0
19718
19719
19720fi
19721
19722 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
19723if test "x$ac_cv_type_mode_t" = xyes; then :
19724
19725else
19726
19727cat >>confdefs.h <<_ACEOF
19728#define mode_t int
19729_ACEOF
19730
19731fi
19732
19733 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
19734if test "x$ac_cv_type_off_t" = xyes; then :
19735
19736else
19737
19738cat >>confdefs.h <<_ACEOF
19739#define off_t long int
19740_ACEOF
19741
19742fi
19743
19744 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19745if test "x$ac_cv_type_size_t" = xyes; then :
19746
19747else
19748
19749cat >>confdefs.h <<_ACEOF
19750#define size_t unsigned int
19751_ACEOF
19752
19753fi
19754
19755
19756 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default"
19757if test "x$ac_cv_type_size32_t" = xyes; then :
19758  HAVE_SIZE32_T=1
19759
19760else
19761  HAVE_SIZE32_T=0
19762
19763
19764fi
19765
19766
19767 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default"
19768if test "x$ac_cv_type_ssize32_t" = xyes; then :
19769  HAVE_SSIZE32_T=1
19770
19771else
19772  HAVE_SSIZE32_T=0
19773
19774
19775fi
19776
19777
19778 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default"
19779if test "x$ac_cv_type_size64_t" = xyes; then :
19780  HAVE_SIZE64_T=1
19781
19782else
19783  HAVE_SIZE64_T=0
19784
19785
19786fi
19787
19788
19789 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default"
19790if test "x$ac_cv_type_ssize64_t" = xyes; then :
19791  HAVE_SSIZE64_T=1
19792
19793else
19794  HAVE_SSIZE64_T=0
19795
19796
19797fi
19798
19799
19800 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
19801if test "x$ac_cv_type_off64_t" = xyes; then :
19802  HAVE_OFF64_T=1
19803
19804else
19805  HAVE_OFF64_T=0
19806
19807
19808fi
19809
19810
19811 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
19812if test "x$ac_cv_type_ssize_t" = xyes; then :
19813
19814fi
19815
19816 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default"
19817if test "x$ac_cv_type_u64" = xyes; then :
19818
19819fi
19820
19821
19822 # The cast to long int works around a bug in the HP C Compiler
19823# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19824# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19825# This bug is HP SR number 8606223364.
19826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
19827$as_echo_n "checking size of int... " >&6; }
19828if ${ac_cv_sizeof_int+:} false; then :
19829  $as_echo_n "(cached) " >&6
19830else
19831  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
19832
19833else
19834  if test "$ac_cv_type_int" = yes; then
19835     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19836$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19837as_fn_error 77 "cannot compute sizeof (int)
19838See \`config.log' for more details" "$LINENO" 5; }
19839   else
19840     ac_cv_sizeof_int=0
19841   fi
19842fi
19843
19844fi
19845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
19846$as_echo "$ac_cv_sizeof_int" >&6; }
19847
19848
19849
19850cat >>confdefs.h <<_ACEOF
19851#define SIZEOF_INT $ac_cv_sizeof_int
19852_ACEOF
19853
19854
19855 # The cast to long int works around a bug in the HP C Compiler
19856# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19857# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19858# This bug is HP SR number 8606223364.
19859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
19860$as_echo_n "checking size of long... " >&6; }
19861if ${ac_cv_sizeof_long+:} false; then :
19862  $as_echo_n "(cached) " >&6
19863else
19864  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
19865
19866else
19867  if test "$ac_cv_type_long" = yes; then
19868     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19869$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19870as_fn_error 77 "cannot compute sizeof (long)
19871See \`config.log' for more details" "$LINENO" 5; }
19872   else
19873     ac_cv_sizeof_long=0
19874   fi
19875fi
19876
19877fi
19878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
19879$as_echo "$ac_cv_sizeof_long" >&6; }
19880
19881
19882
19883cat >>confdefs.h <<_ACEOF
19884#define SIZEOF_LONG $ac_cv_sizeof_long
19885_ACEOF
19886
19887
19888 # The cast to long int works around a bug in the HP C Compiler
19889# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19890# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19891# This bug is HP SR number 8606223364.
19892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
19893$as_echo_n "checking size of off_t... " >&6; }
19894if ${ac_cv_sizeof_off_t+:} false; then :
19895  $as_echo_n "(cached) " >&6
19896else
19897  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
19898
19899else
19900  if test "$ac_cv_type_off_t" = yes; then
19901     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19903as_fn_error 77 "cannot compute sizeof (off_t)
19904See \`config.log' for more details" "$LINENO" 5; }
19905   else
19906     ac_cv_sizeof_off_t=0
19907   fi
19908fi
19909
19910fi
19911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
19912$as_echo "$ac_cv_sizeof_off_t" >&6; }
19913
19914
19915
19916cat >>confdefs.h <<_ACEOF
19917#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
19918_ACEOF
19919
19920
19921 # The cast to long int works around a bug in the HP C Compiler
19922# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19923# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19924# This bug is HP SR number 8606223364.
19925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
19926$as_echo_n "checking size of size_t... " >&6; }
19927if ${ac_cv_sizeof_size_t+:} false; then :
19928  $as_echo_n "(cached) " >&6
19929else
19930  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
19931
19932else
19933  if test "$ac_cv_type_size_t" = yes; then
19934     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19936as_fn_error 77 "cannot compute sizeof (size_t)
19937See \`config.log' for more details" "$LINENO" 5; }
19938   else
19939     ac_cv_sizeof_size_t=0
19940   fi
19941fi
19942
19943fi
19944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
19945$as_echo "$ac_cv_sizeof_size_t" >&6; }
19946
19947
19948
19949cat >>confdefs.h <<_ACEOF
19950#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19951_ACEOF
19952
19953
19954
19955 if test "x$ac_cv_header_wchar_h" = xyes; then :
19956  # The cast to long int works around a bug in the HP C Compiler
19957# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19958# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19959# This bug is HP SR number 8606223364.
19960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
19961$as_echo_n "checking size of wchar_t... " >&6; }
19962if ${ac_cv_sizeof_wchar_t+:} false; then :
19963  $as_echo_n "(cached) " >&6
19964else
19965  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "$ac_includes_default"; then :
19966
19967else
19968  if test "$ac_cv_type_wchar_t" = yes; then
19969     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19970$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19971as_fn_error 77 "cannot compute sizeof (wchar_t)
19972See \`config.log' for more details" "$LINENO" 5; }
19973   else
19974     ac_cv_sizeof_wchar_t=0
19975   fi
19976fi
19977
19978fi
19979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
19980$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
19981
19982
19983
19984cat >>confdefs.h <<_ACEOF
19985#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19986_ACEOF
19987
19988
19989fi
19990
19991
19992
19993    if test "x$ac_cv_enable_winapi" = xyes; then :
19994  for ac_header in windows.h
19995do :
19996  ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
19997if test "x$ac_cv_header_windows_h" = xyes; then :
19998  cat >>confdefs.h <<_ACEOF
19999#define HAVE_WINDOWS_H 1
20000_ACEOF
20001
20002fi
20003
20004done
20005
20006
20007    if test "x$ac_cv_header_windows_h" = xno; then :
20008  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20009$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20010as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support
20011See \`config.log' for more details" "$LINENO" 5; }
20012
20013fi
20014
20015fi
20016
20017  if test "x$ac_cv_enable_winapi" = xno; then :
20018  for ac_header in libintl.h
20019do :
20020  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
20021if test "x$ac_cv_header_libintl_h" = xyes; then :
20022  cat >>confdefs.h <<_ACEOF
20023#define HAVE_LIBINTL_H 1
20024_ACEOF
20025
20026fi
20027
20028done
20029
20030
20031fi
20032
20033    for ac_header in limits.h
20034do :
20035  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
20036if test "x$ac_cv_header_limits_h" = xyes; then :
20037  cat >>confdefs.h <<_ACEOF
20038#define HAVE_LIMITS_H 1
20039_ACEOF
20040
20041fi
20042
20043done
20044
20045
20046    for ac_header in stdlib.h string.h
20047do :
20048  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20049ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20050if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20051  cat >>confdefs.h <<_ACEOF
20052#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20053_ACEOF
20054
20055fi
20056
20057done
20058
20059
20060    for ac_header in wchar.h wctype.h
20061do :
20062  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20063ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20064if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20065  cat >>confdefs.h <<_ACEOF
20066#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20067_ACEOF
20068
20069fi
20070
20071done
20072
20073
20074    for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf
20075do :
20076  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20077ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20078if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20079  cat >>confdefs.h <<_ACEOF
20080#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20081_ACEOF
20082
20083fi
20084done
20085
20086
20087  if test "x$ac_cv_func_fclose" != xyes; then :
20088  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20089$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20090as_fn_error 1 "Missing function: fclose
20091See \`config.log' for more details" "$LINENO" 5; }
20092
20093fi
20094
20095  if test "x$ac_cv_func_feof" != xyes; then :
20096  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20098as_fn_error 1 "Missing function: feof
20099See \`config.log' for more details" "$LINENO" 5; }
20100
20101fi
20102
20103  if test "x$ac_cv_func_fgets" != xyes; then :
20104  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20105$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20106as_fn_error 1 "Missing function: fgets
20107See \`config.log' for more details" "$LINENO" 5; }
20108
20109fi
20110
20111  if test "x$ac_cv_func_fopen" != xyes; then :
20112  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20113$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20114as_fn_error 1 "Missing function: fopen
20115See \`config.log' for more details" "$LINENO" 5; }
20116
20117fi
20118
20119  if test "x$ac_cv_func_fread" != xyes; then :
20120  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20121$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20122as_fn_error 1 "Missing function: fread
20123See \`config.log' for more details" "$LINENO" 5; }
20124
20125fi
20126
20127  if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then :
20128  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20129$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20130as_fn_error 1 "Missing function: fseeko and fseeko64
20131See \`config.log' for more details" "$LINENO" 5; }
20132
20133fi
20134
20135  if test "x$ac_cv_func_fwrite" != xyes; then :
20136  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20138as_fn_error 1 "Missing function: fwrite
20139See \`config.log' for more details" "$LINENO" 5; }
20140
20141fi
20142
20143  if test "x$ac_cv_func_vfprintf" != xyes; then :
20144  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20145$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20146as_fn_error 1 "Missing function: vfprintf
20147See \`config.log' for more details" "$LINENO" 5; }
20148
20149fi
20150
20151  if test "x$ac_cv_enable_wide_character_type" != xno; then :
20152  for ac_func in fgetws
20153do :
20154  ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws"
20155if test "x$ac_cv_func_fgetws" = xyes; then :
20156  cat >>confdefs.h <<_ACEOF
20157#define HAVE_FGETWS 1
20158_ACEOF
20159
20160fi
20161done
20162
20163
20164    if test "x$ac_cv_func_fgetws" != xyes; then :
20165  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20166$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20167as_fn_error 1 "Missing function: fgetws
20168See \`config.log' for more details" "$LINENO" 5; }
20169
20170fi
20171
20172fi
20173
20174    for ac_func in free malloc memcmp memcpy memset realloc
20175do :
20176  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20177ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20178if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20179  cat >>confdefs.h <<_ACEOF
20180#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20181_ACEOF
20182
20183fi
20184done
20185
20186
20187  if test "x$ac_cv_func_free" != xyes; then :
20188  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20189$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20190as_fn_error 1 "Missing function: free
20191See \`config.log' for more details" "$LINENO" 5; }
20192
20193fi
20194
20195  if test "x$ac_cv_func_malloc" != xyes; then :
20196  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20198as_fn_error 1 "Missing function: malloc
20199See \`config.log' for more details" "$LINENO" 5; }
20200
20201fi
20202
20203  if test "x$ac_cv_func_memcmp" != xyes; then :
20204  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20206as_fn_error 1 "Missing function: memcmp
20207See \`config.log' for more details" "$LINENO" 5; }
20208
20209fi
20210
20211  if test "x$ac_cv_func_memcpy" != xyes; then :
20212  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20214as_fn_error 1 "Missing function: memcpy
20215See \`config.log' for more details" "$LINENO" 5; }
20216
20217fi
20218
20219  if test "x$ac_cv_func_memset" != xyes; then :
20220  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20221$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20222as_fn_error 1 "Missing function: memset
20223See \`config.log' for more details" "$LINENO" 5; }
20224
20225fi
20226
20227  if test "x$ac_cv_func_realloc" != xyes; then :
20228  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20230as_fn_error 1 "Missing function: realloc
20231See \`config.log' for more details" "$LINENO" 5; }
20232
20233fi
20234
20235    for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf
20236do :
20237  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20238ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20239if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20240  cat >>confdefs.h <<_ACEOF
20241#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20242_ACEOF
20243
20244fi
20245done
20246
20247
20248  if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then :
20249  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20251as_fn_error 1 "Missing functions: memchr and strchr
20252See \`config.log' for more details" "$LINENO" 5; }
20253
20254fi
20255
20256  if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then :
20257  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20258$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20259as_fn_error 1 "Missing functions: memcmp and strncmp
20260See \`config.log' for more details" "$LINENO" 5; }
20261
20262fi
20263
20264  if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then :
20265  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20266$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20267as_fn_error 1 "Missing functions: memcpy and strncpy
20268See \`config.log' for more details" "$LINENO" 5; }
20269
20270fi
20271
20272  if test "x$ac_cv_func_memrchr" = xyes; then :
20273  ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
20274if test "x$ac_cv_have_decl_memrchr" = xyes; then :
20275  ac_have_decl=1
20276else
20277  ac_have_decl=0
20278fi
20279
20280cat >>confdefs.h <<_ACEOF
20281#define HAVE_DECL_MEMRCHR $ac_have_decl
20282_ACEOF
20283
20284
20285    if test "x$ac_cv_decl_memrchr" != xyes; then :
20286  ac_cv_func_memrchr=no
20287fi
20288
20289fi
20290
20291  if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then :
20292  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20294as_fn_error 1 "Missing functions: strrchr and memrchr
20295See \`config.log' for more details" "$LINENO" 5; }
20296
20297fi
20298
20299  if test "x$ac_cv_func_snprintf" != xyes; then :
20300  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20302as_fn_error 1 "Missing function: snprintf
20303See \`config.log' for more details" "$LINENO" 5; }
20304
20305fi
20306
20307  if test "x$ac_cv_func_sscanf" != xyes; then :
20308  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20309$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20310as_fn_error 1 "Missing function: sscanf
20311See \`config.log' for more details" "$LINENO" 5; }
20312
20313fi
20314
20315  if test "x$ac_cv_func_strlen" != xyes; then :
20316  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20318as_fn_error 1 "Missing function: strlen
20319See \`config.log' for more details" "$LINENO" 5; }
20320
20321fi
20322
20323  if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then :
20324  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20325$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20326as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp
20327See \`config.log' for more details" "$LINENO" 5; }
20328
20329fi
20330
20331  if test "x$ac_cv_func_strstr" != xyes; then :
20332  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20334as_fn_error 1 "Missing function: strstr
20335See \`config.log' for more details" "$LINENO" 5; }
20336
20337fi
20338
20339  if test "x$ac_cv_func_vsnprintf" != xyes; then :
20340  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20342as_fn_error 1 "Missing function: vsnprintf
20343See \`config.log' for more details" "$LINENO" 5; }
20344
20345fi
20346
20347    if test "x$ac_cv_enable_wide_character_type" != xno; then :
20348  for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr
20349do :
20350  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20351ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20352if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20353  cat >>confdefs.h <<_ACEOF
20354#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20355_ACEOF
20356
20357fi
20358done
20359
20360
20361    if test "x$ac_cv_func_swprintf" != xyes; then :
20362  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20363$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20364as_fn_error 1 "Missing function: swprintf
20365See \`config.log' for more details" "$LINENO" 5; }
20366
20367fi
20368
20369    if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then :
20370  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20371$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20372as_fn_error 1 "Missing functions: wmemchr and wcschr
20373See \`config.log' for more details" "$LINENO" 5; }
20374
20375fi
20376
20377    if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then :
20378  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20379$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20380as_fn_error 1 "Missing functions: wmemcmp and wcsncmp
20381See \`config.log' for more details" "$LINENO" 5; }
20382
20383fi
20384
20385    if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then :
20386  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20388as_fn_error 1 "Missing functions: wmemcpy and wcsncpy
20389See \`config.log' for more details" "$LINENO" 5; }
20390
20391fi
20392
20393    if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then :
20394  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20395$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20396as_fn_error 1 "Missing functions: wmemrchr and wcsrchr
20397See \`config.log' for more details" "$LINENO" 5; }
20398
20399fi
20400
20401    if test "x$ac_cv_func_wcslen" != xyes; then :
20402  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20403$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20404as_fn_error 1 "Missing function: wcslen
20405See \`config.log' for more details" "$LINENO" 5; }
20406
20407fi
20408
20409    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 :
20410  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20411$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20412as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower
20413See \`config.log' for more details" "$LINENO" 5; }
20414
20415fi
20416
20417    if test "x$ac_cv_func_wcsstr" != xyes; then :
20418  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20419$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20420as_fn_error 1 "Missing function: wcsstr
20421See \`config.log' for more details" "$LINENO" 5; }
20422
20423fi
20424
20425fi
20426
20427
20428  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5
20429$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; }
20430
20431  SAVE_CFLAGS="$CFLAGS"
20432  CFLAGS="$CFLAGS -Wall -Werror"
20433  ac_ext=c
20434ac_cpp='$CPP $CPPFLAGS'
20435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20437ac_compiler_gnu=$ac_cv_c_compiler_gnu
20438
20439
20440    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441/* end confdefs.h.  */
20442#include <stdio.h>
20443int
20444main ()
20445{
20446printf( "%jd" );
20447  ;
20448  return 0;
20449}
20450_ACEOF
20451if ac_fn_c_try_link "$LINENO"; then :
20452  ac_cv_cv_have_printf_jd=no
20453else
20454  ac_cv_cv_have_printf_jd=yes
20455fi
20456rm -f core conftest.err conftest.$ac_objext \
20457    conftest$ac_exeext conftest.$ac_ext
20458
20459    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20460  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20461/* end confdefs.h.  */
20462#include <sys/types.h>
20463#include <stdio.h>
20464int
20465main ()
20466{
20467printf( "%jd", (off_t) 10 );
20468  ;
20469  return 0;
20470}
20471_ACEOF
20472if ac_fn_c_try_link "$LINENO"; then :
20473  ac_cv_cv_have_printf_jd=yes
20474else
20475  ac_cv_cv_have_printf_jd=no
20476fi
20477rm -f core conftest.err conftest.$ac_objext \
20478    conftest$ac_exeext conftest.$ac_ext
20479
20480fi
20481
20482    if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20483  if test "$cross_compiling" = yes; then :
20484  ac_cv_cv_have_printf_jd=undetermined
20485else
20486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20487/* end confdefs.h.  */
20488#include <sys/types.h>
20489#include <stdio.h>
20490int
20491main ()
20492{
20493char string[ 3 ];
20494if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 );
20495if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
20496  ;
20497  return 0;
20498}
20499_ACEOF
20500if ac_fn_c_try_run "$LINENO"; then :
20501  ac_cv_cv_have_printf_jd=yes
20502else
20503  ac_cv_cv_have_printf_jd=no
20504fi
20505rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20506  conftest.$ac_objext conftest.beam conftest.$ac_ext
20507fi
20508
20509
20510fi
20511
20512  ac_ext=c
20513ac_cpp='$CPP $CPPFLAGS'
20514ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20515ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20516ac_compiler_gnu=$ac_cv_c_compiler_gnu
20517
20518  CFLAGS="$SAVE_CFLAGS"
20519
20520  if test "x$ac_cv_cv_have_printf_jd" = xyes; then :
20521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20522$as_echo "yes" >&6; }
20523
20524$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h
20525
20526else
20527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5
20528$as_echo "$ac_cv_cv_have_printf_jd" >&6; }
20529
20530fi
20531
20532
20533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5
20534$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; }
20535
20536  SAVE_CFLAGS="$CFLAGS"
20537  CFLAGS="$CFLAGS -Wall -Werror"
20538  ac_ext=c
20539ac_cpp='$CPP $CPPFLAGS'
20540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20542ac_compiler_gnu=$ac_cv_c_compiler_gnu
20543
20544
20545    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546/* end confdefs.h.  */
20547#include <stdio.h>
20548int
20549main ()
20550{
20551printf( "%zd" );
20552  ;
20553  return 0;
20554}
20555_ACEOF
20556if ac_fn_c_try_link "$LINENO"; then :
20557  ac_cv_cv_have_printf_zd=no
20558else
20559  ac_cv_cv_have_printf_zd=yes
20560fi
20561rm -f core conftest.err conftest.$ac_objext \
20562    conftest$ac_exeext conftest.$ac_ext
20563
20564    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20565  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566/* end confdefs.h.  */
20567#include <sys/types.h>
20568#include <stdio.h>
20569int
20570main ()
20571{
20572printf( "%zd", (size_t) 10 );
20573  ;
20574  return 0;
20575}
20576_ACEOF
20577if ac_fn_c_try_link "$LINENO"; then :
20578  ac_cv_cv_have_printf_zd=yes
20579else
20580  ac_cv_cv_have_printf_zd=no
20581fi
20582rm -f core conftest.err conftest.$ac_objext \
20583    conftest$ac_exeext conftest.$ac_ext
20584
20585fi
20586
20587    if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20588  if test "$cross_compiling" = yes; then :
20589  ac_cv_cv_have_printf_zd=undetermined
20590else
20591  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592/* end confdefs.h.  */
20593#include <sys/types.h>
20594#include <stdio.h>
20595int
20596main ()
20597{
20598char string[ 3 ];
20599if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 );
20600if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 );
20601  ;
20602  return 0;
20603}
20604_ACEOF
20605if ac_fn_c_try_run "$LINENO"; then :
20606  ac_cv_cv_have_printf_zd=yes
20607else
20608  ac_cv_cv_have_printf_zd=no
20609fi
20610rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20611  conftest.$ac_objext conftest.beam conftest.$ac_ext
20612fi
20613
20614
20615fi
20616
20617  ac_ext=c
20618ac_cpp='$CPP $CPPFLAGS'
20619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621ac_compiler_gnu=$ac_cv_c_compiler_gnu
20622
20623  CFLAGS="$SAVE_CFLAGS"
20624
20625  if test "x$ac_cv_cv_have_printf_zd" = xyes; then :
20626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20627$as_echo "yes" >&6; }
20628
20629$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h
20630
20631else
20632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5
20633$as_echo "$ac_cv_cv_have_printf_zd" >&6; }
20634
20635fi
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20647	if test -n "$ac_tool_prefix"; then
20648  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20649set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20651$as_echo_n "checking for $ac_word... " >&6; }
20652if ${ac_cv_path_PKG_CONFIG+:} false; then :
20653  $as_echo_n "(cached) " >&6
20654else
20655  case $PKG_CONFIG in
20656  [\\/]* | ?:[\\/]*)
20657  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20658  ;;
20659  *)
20660  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20661for as_dir in $PATH
20662do
20663  IFS=$as_save_IFS
20664  test -z "$as_dir" && as_dir=.
20665    for ac_exec_ext in '' $ac_executable_extensions; do
20666  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20667    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20669    break 2
20670  fi
20671done
20672  done
20673IFS=$as_save_IFS
20674
20675  ;;
20676esac
20677fi
20678PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20679if test -n "$PKG_CONFIG"; then
20680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20681$as_echo "$PKG_CONFIG" >&6; }
20682else
20683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20684$as_echo "no" >&6; }
20685fi
20686
20687
20688fi
20689if test -z "$ac_cv_path_PKG_CONFIG"; then
20690  ac_pt_PKG_CONFIG=$PKG_CONFIG
20691  # Extract the first word of "pkg-config", so it can be a program name with args.
20692set dummy pkg-config; ac_word=$2
20693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20694$as_echo_n "checking for $ac_word... " >&6; }
20695if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
20696  $as_echo_n "(cached) " >&6
20697else
20698  case $ac_pt_PKG_CONFIG in
20699  [\\/]* | ?:[\\/]*)
20700  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20701  ;;
20702  *)
20703  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20704for as_dir in $PATH
20705do
20706  IFS=$as_save_IFS
20707  test -z "$as_dir" && as_dir=.
20708    for ac_exec_ext in '' $ac_executable_extensions; do
20709  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20710    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20711    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20712    break 2
20713  fi
20714done
20715  done
20716IFS=$as_save_IFS
20717
20718  ;;
20719esac
20720fi
20721ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20722if test -n "$ac_pt_PKG_CONFIG"; then
20723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20724$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20725else
20726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20727$as_echo "no" >&6; }
20728fi
20729
20730  if test "x$ac_pt_PKG_CONFIG" = x; then
20731    PKG_CONFIG=""
20732  else
20733    case $cross_compiling:$ac_tool_warned in
20734yes:)
20735{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20736$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20737ac_tool_warned=yes ;;
20738esac
20739    PKG_CONFIG=$ac_pt_PKG_CONFIG
20740  fi
20741else
20742  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20743fi
20744
20745fi
20746if test -n "$PKG_CONFIG"; then
20747	_pkg_min_version=0.9.0
20748	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20749$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20750	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20751		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20752$as_echo "yes" >&6; }
20753	else
20754		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20755$as_echo "no" >&6; }
20756		PKG_CONFIG=""
20757	fi
20758fi
20759
20760
20761# Check whether --with-libcerror was given.
20762if test "${with_libcerror+set}" = set; then :
20763  withval=$with_libcerror; ac_cv_with_libcerror=$withval
20764else
20765  ac_cv_with_libcerror=auto-detect
20766fi
20767
20768    { $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
20769$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; }
20770if ${ac_cv_with_libcerror+:} false; then :
20771  $as_echo_n "(cached) " >&6
20772else
20773  ac_cv_with_libcerror=auto-detect
20774fi
20775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5
20776$as_echo "$ac_cv_with_libcerror" >&6; }
20777
20778    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then :
20779  ac_cv_libcerror=no
20780else
20781  ac_cv_libcerror=check
20782        if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then :
20783  if test -d "$ac_cv_with_libcerror"; then :
20784  CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include"
20785        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib"
20786else
20787  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20788$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20789as_fn_error 1 "no such directory: $ac_cv_with_libcerror
20790See \`config.log' for more details" "$LINENO" 5; }
20791
20792fi
20793
20794else
20795        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
20796
20797pkg_failed=no
20798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5
20799$as_echo_n "checking for libcerror... " >&6; }
20800
20801if test -n "$libcerror_CFLAGS"; then
20802    pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS"
20803 elif test -n "$PKG_CONFIG"; then
20804    if test -n "$PKG_CONFIG" && \
20805    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
20806  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
20807  ac_status=$?
20808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20809  test $ac_status = 0; }; then
20810  pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null`
20811		      test "x$?" != "x0" && pkg_failed=yes
20812else
20813  pkg_failed=yes
20814fi
20815 else
20816    pkg_failed=untried
20817fi
20818if test -n "$libcerror_LIBS"; then
20819    pkg_cv_libcerror_LIBS="$libcerror_LIBS"
20820 elif test -n "$PKG_CONFIG"; then
20821    if test -n "$PKG_CONFIG" && \
20822    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5
20823  ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5
20824  ac_status=$?
20825  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20826  test $ac_status = 0; }; then
20827  pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null`
20828		      test "x$?" != "x0" && pkg_failed=yes
20829else
20830  pkg_failed=yes
20831fi
20832 else
20833    pkg_failed=untried
20834fi
20835
20836
20837
20838if test $pkg_failed = yes; then
20839   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20840$as_echo "no" >&6; }
20841
20842if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20843        _pkg_short_errors_supported=yes
20844else
20845        _pkg_short_errors_supported=no
20846fi
20847        if test $_pkg_short_errors_supported = yes; then
20848	        libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
20849        else
20850	        libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1`
20851        fi
20852	# Put the nasty error message in config.log where it belongs
20853	echo "$libcerror_PKG_ERRORS" >&5
20854
20855	ac_cv_libcerror=check
20856elif test $pkg_failed = untried; then
20857     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20858$as_echo "no" >&6; }
20859	ac_cv_libcerror=check
20860else
20861	libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS
20862	libcerror_LIBS=$pkg_cv_libcerror_LIBS
20863        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20864$as_echo "yes" >&6; }
20865	ac_cv_libcerror=yes
20866fi
20867
20868fi
20869      if test "x$ac_cv_libcerror" = xyes; then :
20870  ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS"
20871        ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS"
20872fi
20873
20874fi
20875
20876    if test "x$ac_cv_libcerror" = xcheck; then :
20877        for ac_header in libcerror.h
20878do :
20879  ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default"
20880if test "x$ac_cv_header_libcerror_h" = xyes; then :
20881  cat >>confdefs.h <<_ACEOF
20882#define HAVE_LIBCERROR_H 1
20883_ACEOF
20884
20885fi
20886
20887done
20888
20889
20890      if test "x$ac_cv_header_libcerror_h" = xno; then :
20891  ac_cv_libcerror=no
20892else
20893          ac_cv_libcerror=yes
20894
20895        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5
20896$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; }
20897if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then :
20898  $as_echo_n "(cached) " >&6
20899else
20900  ac_check_lib_save_LIBS=$LIBS
20901LIBS="-lcerror  $LIBS"
20902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20903/* end confdefs.h.  */
20904
20905/* Override any GCC internal prototype to avoid an error.
20906   Use char because int might match the return type of a GCC
20907   builtin and then its argument prototype would still apply.  */
20908#ifdef __cplusplus
20909extern "C"
20910#endif
20911char libcerror_get_version ();
20912int
20913main ()
20914{
20915return libcerror_get_version ();
20916  ;
20917  return 0;
20918}
20919_ACEOF
20920if ac_fn_c_try_link "$LINENO"; then :
20921  ac_cv_lib_cerror_libcerror_get_version=yes
20922else
20923  ac_cv_lib_cerror_libcerror_get_version=no
20924fi
20925rm -f core conftest.err conftest.$ac_objext \
20926    conftest$ac_exeext conftest.$ac_ext
20927LIBS=$ac_check_lib_save_LIBS
20928fi
20929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5
20930$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; }
20931if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then :
20932  ac_cv_libcerror_dummy=yes
20933else
20934  ac_cv_libcerror=no
20935fi
20936
20937
20938                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5
20939$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; }
20940if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then :
20941  $as_echo_n "(cached) " >&6
20942else
20943  ac_check_lib_save_LIBS=$LIBS
20944LIBS="-lcerror  $LIBS"
20945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20946/* end confdefs.h.  */
20947
20948/* Override any GCC internal prototype to avoid an error.
20949   Use char because int might match the return type of a GCC
20950   builtin and then its argument prototype would still apply.  */
20951#ifdef __cplusplus
20952extern "C"
20953#endif
20954char libcerror_error_free ();
20955int
20956main ()
20957{
20958return libcerror_error_free ();
20959  ;
20960  return 0;
20961}
20962_ACEOF
20963if ac_fn_c_try_link "$LINENO"; then :
20964  ac_cv_lib_cerror_libcerror_error_free=yes
20965else
20966  ac_cv_lib_cerror_libcerror_error_free=no
20967fi
20968rm -f core conftest.err conftest.$ac_objext \
20969    conftest$ac_exeext conftest.$ac_ext
20970LIBS=$ac_check_lib_save_LIBS
20971fi
20972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5
20973$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; }
20974if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then :
20975  ac_cv_libcerror_dummy=yes
20976else
20977  ac_cv_libcerror=no
20978fi
20979
20980        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5
20981$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; }
20982if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then :
20983  $as_echo_n "(cached) " >&6
20984else
20985  ac_check_lib_save_LIBS=$LIBS
20986LIBS="-lcerror  $LIBS"
20987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988/* end confdefs.h.  */
20989
20990/* Override any GCC internal prototype to avoid an error.
20991   Use char because int might match the return type of a GCC
20992   builtin and then its argument prototype would still apply.  */
20993#ifdef __cplusplus
20994extern "C"
20995#endif
20996char libcerror_error_set ();
20997int
20998main ()
20999{
21000return libcerror_error_set ();
21001  ;
21002  return 0;
21003}
21004_ACEOF
21005if ac_fn_c_try_link "$LINENO"; then :
21006  ac_cv_lib_cerror_libcerror_error_set=yes
21007else
21008  ac_cv_lib_cerror_libcerror_error_set=no
21009fi
21010rm -f core conftest.err conftest.$ac_objext \
21011    conftest$ac_exeext conftest.$ac_ext
21012LIBS=$ac_check_lib_save_LIBS
21013fi
21014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5
21015$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; }
21016if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then :
21017  ac_cv_libcerror_dummy=yes
21018else
21019  ac_cv_libcerror=no
21020fi
21021
21022        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5
21023$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; }
21024if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then :
21025  $as_echo_n "(cached) " >&6
21026else
21027  ac_check_lib_save_LIBS=$LIBS
21028LIBS="-lcerror  $LIBS"
21029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21030/* end confdefs.h.  */
21031
21032/* Override any GCC internal prototype to avoid an error.
21033   Use char because int might match the return type of a GCC
21034   builtin and then its argument prototype would still apply.  */
21035#ifdef __cplusplus
21036extern "C"
21037#endif
21038char libcerror_error_matches ();
21039int
21040main ()
21041{
21042return libcerror_error_matches ();
21043  ;
21044  return 0;
21045}
21046_ACEOF
21047if ac_fn_c_try_link "$LINENO"; then :
21048  ac_cv_lib_cerror_libcerror_error_matches=yes
21049else
21050  ac_cv_lib_cerror_libcerror_error_matches=no
21051fi
21052rm -f core conftest.err conftest.$ac_objext \
21053    conftest$ac_exeext conftest.$ac_ext
21054LIBS=$ac_check_lib_save_LIBS
21055fi
21056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5
21057$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; }
21058if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then :
21059  ac_cv_libcerror_dummy=yes
21060else
21061  ac_cv_libcerror=no
21062fi
21063
21064        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5
21065$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; }
21066if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then :
21067  $as_echo_n "(cached) " >&6
21068else
21069  ac_check_lib_save_LIBS=$LIBS
21070LIBS="-lcerror  $LIBS"
21071cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072/* end confdefs.h.  */
21073
21074/* Override any GCC internal prototype to avoid an error.
21075   Use char because int might match the return type of a GCC
21076   builtin and then its argument prototype would still apply.  */
21077#ifdef __cplusplus
21078extern "C"
21079#endif
21080char libcerror_error_fprint ();
21081int
21082main ()
21083{
21084return libcerror_error_fprint ();
21085  ;
21086  return 0;
21087}
21088_ACEOF
21089if ac_fn_c_try_link "$LINENO"; then :
21090  ac_cv_lib_cerror_libcerror_error_fprint=yes
21091else
21092  ac_cv_lib_cerror_libcerror_error_fprint=no
21093fi
21094rm -f core conftest.err conftest.$ac_objext \
21095    conftest$ac_exeext conftest.$ac_ext
21096LIBS=$ac_check_lib_save_LIBS
21097fi
21098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5
21099$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; }
21100if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then :
21101  ac_cv_libcerror_dummy=yes
21102else
21103  ac_cv_libcerror=no
21104fi
21105
21106        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5
21107$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; }
21108if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then :
21109  $as_echo_n "(cached) " >&6
21110else
21111  ac_check_lib_save_LIBS=$LIBS
21112LIBS="-lcerror  $LIBS"
21113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21114/* end confdefs.h.  */
21115
21116/* Override any GCC internal prototype to avoid an error.
21117   Use char because int might match the return type of a GCC
21118   builtin and then its argument prototype would still apply.  */
21119#ifdef __cplusplus
21120extern "C"
21121#endif
21122char libcerror_error_sprint ();
21123int
21124main ()
21125{
21126return libcerror_error_sprint ();
21127  ;
21128  return 0;
21129}
21130_ACEOF
21131if ac_fn_c_try_link "$LINENO"; then :
21132  ac_cv_lib_cerror_libcerror_error_sprint=yes
21133else
21134  ac_cv_lib_cerror_libcerror_error_sprint=no
21135fi
21136rm -f core conftest.err conftest.$ac_objext \
21137    conftest$ac_exeext conftest.$ac_ext
21138LIBS=$ac_check_lib_save_LIBS
21139fi
21140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5
21141$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; }
21142if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then :
21143  ac_cv_libcerror_dummy=yes
21144else
21145  ac_cv_libcerror=no
21146fi
21147
21148        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5
21149$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; }
21150if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then :
21151  $as_echo_n "(cached) " >&6
21152else
21153  ac_check_lib_save_LIBS=$LIBS
21154LIBS="-lcerror  $LIBS"
21155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21156/* end confdefs.h.  */
21157
21158/* Override any GCC internal prototype to avoid an error.
21159   Use char because int might match the return type of a GCC
21160   builtin and then its argument prototype would still apply.  */
21161#ifdef __cplusplus
21162extern "C"
21163#endif
21164char libcerror_error_backtrace_fprint ();
21165int
21166main ()
21167{
21168return libcerror_error_backtrace_fprint ();
21169  ;
21170  return 0;
21171}
21172_ACEOF
21173if ac_fn_c_try_link "$LINENO"; then :
21174  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes
21175else
21176  ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no
21177fi
21178rm -f core conftest.err conftest.$ac_objext \
21179    conftest$ac_exeext conftest.$ac_ext
21180LIBS=$ac_check_lib_save_LIBS
21181fi
21182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5
21183$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; }
21184if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then :
21185  ac_cv_libcerror_dummy=yes
21186else
21187  ac_cv_libcerror=no
21188fi
21189
21190        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5
21191$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; }
21192if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then :
21193  $as_echo_n "(cached) " >&6
21194else
21195  ac_check_lib_save_LIBS=$LIBS
21196LIBS="-lcerror  $LIBS"
21197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21198/* end confdefs.h.  */
21199
21200/* Override any GCC internal prototype to avoid an error.
21201   Use char because int might match the return type of a GCC
21202   builtin and then its argument prototype would still apply.  */
21203#ifdef __cplusplus
21204extern "C"
21205#endif
21206char libcerror_error_backtrace_sprint ();
21207int
21208main ()
21209{
21210return libcerror_error_backtrace_sprint ();
21211  ;
21212  return 0;
21213}
21214_ACEOF
21215if ac_fn_c_try_link "$LINENO"; then :
21216  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes
21217else
21218  ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no
21219fi
21220rm -f core conftest.err conftest.$ac_objext \
21221    conftest$ac_exeext conftest.$ac_ext
21222LIBS=$ac_check_lib_save_LIBS
21223fi
21224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5
21225$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; }
21226if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then :
21227  ac_cv_libcerror_dummy=yes
21228else
21229  ac_cv_libcerror=no
21230fi
21231
21232
21233                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5
21234$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; }
21235if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then :
21236  $as_echo_n "(cached) " >&6
21237else
21238  ac_check_lib_save_LIBS=$LIBS
21239LIBS="-lcerror  $LIBS"
21240cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21241/* end confdefs.h.  */
21242
21243/* Override any GCC internal prototype to avoid an error.
21244   Use char because int might match the return type of a GCC
21245   builtin and then its argument prototype would still apply.  */
21246#ifdef __cplusplus
21247extern "C"
21248#endif
21249char libcerror_system_set_error ();
21250int
21251main ()
21252{
21253return libcerror_system_set_error ();
21254  ;
21255  return 0;
21256}
21257_ACEOF
21258if ac_fn_c_try_link "$LINENO"; then :
21259  ac_cv_lib_cerror_libcerror_system_set_error=yes
21260else
21261  ac_cv_lib_cerror_libcerror_system_set_error=no
21262fi
21263rm -f core conftest.err conftest.$ac_objext \
21264    conftest$ac_exeext conftest.$ac_ext
21265LIBS=$ac_check_lib_save_LIBS
21266fi
21267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5
21268$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; }
21269if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then :
21270  ac_cv_libcerror_dummy=yes
21271else
21272  ac_cv_libcerror=no
21273fi
21274
21275
21276        ac_cv_libcerror_LIBADD="-lcerror"
21277fi
21278
21279fi
21280    if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then :
21281  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21283as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror
21284See \`config.log' for more details" "$LINENO" 5; }
21285
21286fi
21287
21288fi
21289
21290  if test "x$ac_cv_libcerror" = xyes; then :
21291
21292$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h
21293
21294
21295fi
21296
21297  if test "x$ac_cv_libcerror" = xyes; then :
21298  HAVE_LIBCERROR=1
21299
21300else
21301  HAVE_LIBCERROR=0
21302
21303
21304fi
21305
21306
21307    if test "x$ac_cv_libcerror" != xyes; then :
21308    for ac_header in stdarg.h varargs.h
21309do :
21310  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21311ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21312if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21313  cat >>confdefs.h <<_ACEOF
21314#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21315_ACEOF
21316
21317fi
21318
21319done
21320
21321
21322  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
21323  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21325as_fn_error 1 "Missing headers: stdarg.h and varargs.h
21326See \`config.log' for more details" "$LINENO" 5; }
21327
21328fi
21329
21330    if test "x$ac_cv_enable_wide_character_type" != xno; then :
21331  for ac_func in wcstombs
21332do :
21333  ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs"
21334if test "x$ac_cv_func_wcstombs" = xyes; then :
21335  cat >>confdefs.h <<_ACEOF
21336#define HAVE_WCSTOMBS 1
21337_ACEOF
21338
21339fi
21340done
21341
21342
21343    if test "x$ac_cv_func_wcstombs" != xyes; then :
21344  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21346as_fn_error 1 "Missing function: wcstombs
21347See \`config.log' for more details" "$LINENO" 5; }
21348
21349fi
21350
21351fi
21352
21353    ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
21354if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
21355  ac_have_decl=1
21356else
21357  ac_have_decl=0
21358fi
21359
21360cat >>confdefs.h <<_ACEOF
21361#define HAVE_DECL_STRERROR_R $ac_have_decl
21362_ACEOF
21363
21364for ac_func in strerror_r
21365do :
21366  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
21367if test "x$ac_cv_func_strerror_r" = xyes; then :
21368  cat >>confdefs.h <<_ACEOF
21369#define HAVE_STRERROR_R 1
21370_ACEOF
21371
21372fi
21373done
21374
21375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
21376$as_echo_n "checking whether strerror_r returns char *... " >&6; }
21377if ${ac_cv_func_strerror_r_char_p+:} false; then :
21378  $as_echo_n "(cached) " >&6
21379else
21380
21381    ac_cv_func_strerror_r_char_p=no
21382    if test $ac_cv_have_decl_strerror_r = yes; then
21383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21384/* end confdefs.h.  */
21385$ac_includes_default
21386int
21387main ()
21388{
21389
21390	  char buf[100];
21391	  char x = *strerror_r (0, buf, sizeof buf);
21392	  char *p = strerror_r (0, buf, sizeof buf);
21393	  return !p || x;
21394
21395  ;
21396  return 0;
21397}
21398_ACEOF
21399if ac_fn_c_try_compile "$LINENO"; then :
21400  ac_cv_func_strerror_r_char_p=yes
21401fi
21402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403    else
21404      # strerror_r is not declared.  Choose between
21405      # systems that have relatively inaccessible declarations for the
21406      # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
21407      # former has a strerror_r that returns char*, while the latter
21408      # has a strerror_r that returns `int'.
21409      # This test should segfault on the DEC system.
21410      if test "$cross_compiling" = yes; then :
21411  :
21412else
21413  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414/* end confdefs.h.  */
21415$ac_includes_default
21416	extern char *strerror_r ();
21417int
21418main ()
21419{
21420char buf[100];
21421	  char x = *strerror_r (0, buf, sizeof buf);
21422	  return ! isalpha (x);
21423  ;
21424  return 0;
21425}
21426_ACEOF
21427if ac_fn_c_try_run "$LINENO"; then :
21428  ac_cv_func_strerror_r_char_p=yes
21429fi
21430rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21431  conftest.$ac_objext conftest.beam conftest.$ac_ext
21432fi
21433
21434    fi
21435
21436fi
21437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
21438$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
21439if test $ac_cv_func_strerror_r_char_p = yes; then
21440
21441$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
21442
21443fi
21444
21445
21446  if test "x$ac_cv_have_decl_strerror_r" != xyes; then :
21447  for ac_func in strerror
21448do :
21449  ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
21450if test "x$ac_cv_func_strerror" = xyes; then :
21451  cat >>confdefs.h <<_ACEOF
21452#define HAVE_STRERROR 1
21453_ACEOF
21454
21455fi
21456done
21457
21458
21459    if test "x$ac_cv_func_strerror" != xyes; then :
21460  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21462as_fn_error 1 "Missing functions: strerror_r and strerror
21463See \`config.log' for more details" "$LINENO" 5; }
21464
21465fi
21466
21467fi
21468
21469  ac_cv_libcerror_CPPFLAGS="-I../libcerror";
21470  ac_cv_libcerror_LIBADD="../libcerror/libcerror.la";
21471
21472  ac_cv_libcerror=local
21473
21474
21475
21476$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h
21477
21478    HAVE_LOCAL_LIBCERROR=1
21479
21480
21481fi
21482
21483   if test "x$ac_cv_libcerror" = xlocal; then
21484  HAVE_LOCAL_LIBCERROR_TRUE=
21485  HAVE_LOCAL_LIBCERROR_FALSE='#'
21486else
21487  HAVE_LOCAL_LIBCERROR_TRUE='#'
21488  HAVE_LOCAL_LIBCERROR_FALSE=
21489fi
21490
21491  if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then :
21492  LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS
21493
21494
21495fi
21496  if test "x$ac_cv_libcerror_LIBADD" != "x"; then :
21497  LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD
21498
21499
21500fi
21501
21502  if test "x$ac_cv_libcerror" = xyes; then :
21503  ax_libcerror_pc_libs_private=-lcerror
21504
21505
21506fi
21507
21508  if test "x$ac_cv_libcerror" = xyes; then :
21509  ax_libcerror_spec_requires=libcerror
21510
21511    ax_libcerror_spec_build_requires=libcerror-devel
21512
21513
21514fi
21515
21516
21517
21518  # Check whether --enable-multi-threading-support was given.
21519if test "${enable_multi_threading_support+set}" = set; then :
21520  enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval
21521else
21522  ac_cv_enable_multi_threading_support=yes
21523fi
21524
21525    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5
21526$as_echo_n "checking whether to enable enable multi-threading support... " >&6; }
21527if ${ac_cv_enable_multi_threading_support+:} false; then :
21528  $as_echo_n "(cached) " >&6
21529else
21530  ac_cv_enable_multi_threading_support=yes
21531fi
21532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5
21533$as_echo "$ac_cv_enable_multi_threading_support" >&6; }
21534
21535
21536# Check whether --with-libcthreads was given.
21537if test "${with_libcthreads+set}" = set; then :
21538  withval=$with_libcthreads; ac_cv_with_libcthreads=$withval
21539else
21540  ac_cv_with_libcthreads=auto-detect
21541fi
21542
21543    { $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
21544$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; }
21545if ${ac_cv_with_libcthreads+:} false; then :
21546  $as_echo_n "(cached) " >&6
21547else
21548  ac_cv_with_libcthreads=auto-detect
21549fi
21550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5
21551$as_echo "$ac_cv_with_libcthreads" >&6; }
21552
21553  if test "x$ac_cv_enable_multi_threading_support" = xno; then :
21554  ac_cv_libcthreads="no"
21555    ac_cv_libcthreads_multi_threading="no"
21556else
21557      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then :
21558  ac_cv_libcthreads=no
21559else
21560  ac_cv_libcthreads=check
21561        if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then :
21562  if test -d "$ac_cv_with_libcthreads"; then :
21563  CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include"
21564        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib"
21565else
21566  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21567$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21568as_fn_error 1 "no such directory: $ac_cv_with_libcthreads
21569See \`config.log' for more details" "$LINENO" 5; }
21570
21571fi
21572
21573else
21574        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
21575
21576pkg_failed=no
21577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5
21578$as_echo_n "checking for libcthreads... " >&6; }
21579
21580if test -n "$libcthreads_CFLAGS"; then
21581    pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS"
21582 elif test -n "$PKG_CONFIG"; then
21583    if test -n "$PKG_CONFIG" && \
21584    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
21585  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
21586  ac_status=$?
21587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21588  test $ac_status = 0; }; then
21589  pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null`
21590		      test "x$?" != "x0" && pkg_failed=yes
21591else
21592  pkg_failed=yes
21593fi
21594 else
21595    pkg_failed=untried
21596fi
21597if test -n "$libcthreads_LIBS"; then
21598    pkg_cv_libcthreads_LIBS="$libcthreads_LIBS"
21599 elif test -n "$PKG_CONFIG"; then
21600    if test -n "$PKG_CONFIG" && \
21601    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5
21602  ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5
21603  ac_status=$?
21604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21605  test $ac_status = 0; }; then
21606  pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null`
21607		      test "x$?" != "x0" && pkg_failed=yes
21608else
21609  pkg_failed=yes
21610fi
21611 else
21612    pkg_failed=untried
21613fi
21614
21615
21616
21617if test $pkg_failed = yes; then
21618   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21619$as_echo "no" >&6; }
21620
21621if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21622        _pkg_short_errors_supported=yes
21623else
21624        _pkg_short_errors_supported=no
21625fi
21626        if test $_pkg_short_errors_supported = yes; then
21627	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
21628        else
21629	        libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1`
21630        fi
21631	# Put the nasty error message in config.log where it belongs
21632	echo "$libcthreads_PKG_ERRORS" >&5
21633
21634	ac_cv_libcthreads=check
21635elif test $pkg_failed = untried; then
21636     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21637$as_echo "no" >&6; }
21638	ac_cv_libcthreads=check
21639else
21640	libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS
21641	libcthreads_LIBS=$pkg_cv_libcthreads_LIBS
21642        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21643$as_echo "yes" >&6; }
21644	ac_cv_libcthreads=yes
21645fi
21646
21647fi
21648      if test "x$ac_cv_libcthreads" = xyes; then :
21649  ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS"
21650        ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS"
21651fi
21652
21653fi
21654
21655    if test "x$ac_cv_libcthreads" = xcheck; then :
21656        for ac_header in libcthreads.h
21657do :
21658  ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default"
21659if test "x$ac_cv_header_libcthreads_h" = xyes; then :
21660  cat >>confdefs.h <<_ACEOF
21661#define HAVE_LIBCTHREADS_H 1
21662_ACEOF
21663
21664fi
21665
21666done
21667
21668
21669      if test "x$ac_cv_header_libcthreads_h" = xno; then :
21670  ac_cv_libcthreads=no
21671else
21672          ac_cv_libcthreads=yes
21673
21674        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5
21675$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; }
21676if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then :
21677  $as_echo_n "(cached) " >&6
21678else
21679  ac_check_lib_save_LIBS=$LIBS
21680LIBS="-lcthreads  $LIBS"
21681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682/* end confdefs.h.  */
21683
21684/* Override any GCC internal prototype to avoid an error.
21685   Use char because int might match the return type of a GCC
21686   builtin and then its argument prototype would still apply.  */
21687#ifdef __cplusplus
21688extern "C"
21689#endif
21690char libcthreads_get_version ();
21691int
21692main ()
21693{
21694return libcthreads_get_version ();
21695  ;
21696  return 0;
21697}
21698_ACEOF
21699if ac_fn_c_try_link "$LINENO"; then :
21700  ac_cv_lib_cthreads_libcthreads_get_version=yes
21701else
21702  ac_cv_lib_cthreads_libcthreads_get_version=no
21703fi
21704rm -f core conftest.err conftest.$ac_objext \
21705    conftest$ac_exeext conftest.$ac_ext
21706LIBS=$ac_check_lib_save_LIBS
21707fi
21708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5
21709$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; }
21710if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then :
21711  ac_cv_libcthreads_dummy=yes
21712else
21713  ac_cv_libcthreads=no
21714fi
21715
21716
21717                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5
21718$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; }
21719if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then :
21720  $as_echo_n "(cached) " >&6
21721else
21722  ac_check_lib_save_LIBS=$LIBS
21723LIBS="-lcthreads  $LIBS"
21724cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725/* end confdefs.h.  */
21726
21727/* Override any GCC internal prototype to avoid an error.
21728   Use char because int might match the return type of a GCC
21729   builtin and then its argument prototype would still apply.  */
21730#ifdef __cplusplus
21731extern "C"
21732#endif
21733char libcthreads_thread_create ();
21734int
21735main ()
21736{
21737return libcthreads_thread_create ();
21738  ;
21739  return 0;
21740}
21741_ACEOF
21742if ac_fn_c_try_link "$LINENO"; then :
21743  ac_cv_lib_cthreads_libcthreads_thread_create=yes
21744else
21745  ac_cv_lib_cthreads_libcthreads_thread_create=no
21746fi
21747rm -f core conftest.err conftest.$ac_objext \
21748    conftest$ac_exeext conftest.$ac_ext
21749LIBS=$ac_check_lib_save_LIBS
21750fi
21751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5
21752$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; }
21753if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then :
21754  ac_cv_libcthreads_dummy=yes
21755else
21756  ac_cv_libcthreads=no
21757fi
21758
21759        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5
21760$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; }
21761if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then :
21762  $as_echo_n "(cached) " >&6
21763else
21764  ac_check_lib_save_LIBS=$LIBS
21765LIBS="-lcthreads  $LIBS"
21766cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767/* end confdefs.h.  */
21768
21769/* Override any GCC internal prototype to avoid an error.
21770   Use char because int might match the return type of a GCC
21771   builtin and then its argument prototype would still apply.  */
21772#ifdef __cplusplus
21773extern "C"
21774#endif
21775char libcthreads_thread_join ();
21776int
21777main ()
21778{
21779return libcthreads_thread_join ();
21780  ;
21781  return 0;
21782}
21783_ACEOF
21784if ac_fn_c_try_link "$LINENO"; then :
21785  ac_cv_lib_cthreads_libcthreads_thread_join=yes
21786else
21787  ac_cv_lib_cthreads_libcthreads_thread_join=no
21788fi
21789rm -f core conftest.err conftest.$ac_objext \
21790    conftest$ac_exeext conftest.$ac_ext
21791LIBS=$ac_check_lib_save_LIBS
21792fi
21793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5
21794$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; }
21795if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then :
21796  ac_cv_libcthreads_dummy=yes
21797else
21798  ac_cv_libcthreads=no
21799fi
21800
21801
21802                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5
21803$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; }
21804if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then :
21805  $as_echo_n "(cached) " >&6
21806else
21807  ac_check_lib_save_LIBS=$LIBS
21808LIBS="-lcthreads  $LIBS"
21809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810/* end confdefs.h.  */
21811
21812/* Override any GCC internal prototype to avoid an error.
21813   Use char because int might match the return type of a GCC
21814   builtin and then its argument prototype would still apply.  */
21815#ifdef __cplusplus
21816extern "C"
21817#endif
21818char libcthreads_thread_attributes_initialize ();
21819int
21820main ()
21821{
21822return libcthreads_thread_attributes_initialize ();
21823  ;
21824  return 0;
21825}
21826_ACEOF
21827if ac_fn_c_try_link "$LINENO"; then :
21828  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes
21829else
21830  ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no
21831fi
21832rm -f core conftest.err conftest.$ac_objext \
21833    conftest$ac_exeext conftest.$ac_ext
21834LIBS=$ac_check_lib_save_LIBS
21835fi
21836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5
21837$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; }
21838if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then :
21839  ac_cv_libcthreads_dummy=yes
21840else
21841  ac_cv_libcthreads=no
21842fi
21843
21844        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5
21845$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; }
21846if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then :
21847  $as_echo_n "(cached) " >&6
21848else
21849  ac_check_lib_save_LIBS=$LIBS
21850LIBS="-lcthreads  $LIBS"
21851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21852/* end confdefs.h.  */
21853
21854/* Override any GCC internal prototype to avoid an error.
21855   Use char because int might match the return type of a GCC
21856   builtin and then its argument prototype would still apply.  */
21857#ifdef __cplusplus
21858extern "C"
21859#endif
21860char libcthreads_thread_attributes_free ();
21861int
21862main ()
21863{
21864return libcthreads_thread_attributes_free ();
21865  ;
21866  return 0;
21867}
21868_ACEOF
21869if ac_fn_c_try_link "$LINENO"; then :
21870  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes
21871else
21872  ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no
21873fi
21874rm -f core conftest.err conftest.$ac_objext \
21875    conftest$ac_exeext conftest.$ac_ext
21876LIBS=$ac_check_lib_save_LIBS
21877fi
21878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5
21879$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; }
21880if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then :
21881  ac_cv_libcthreads_dummy=yes
21882else
21883  ac_cv_libcthreads=no
21884fi
21885
21886
21887                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5
21888$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; }
21889if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then :
21890  $as_echo_n "(cached) " >&6
21891else
21892  ac_check_lib_save_LIBS=$LIBS
21893LIBS="-lcthreads  $LIBS"
21894cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21895/* end confdefs.h.  */
21896
21897/* Override any GCC internal prototype to avoid an error.
21898   Use char because int might match the return type of a GCC
21899   builtin and then its argument prototype would still apply.  */
21900#ifdef __cplusplus
21901extern "C"
21902#endif
21903char libcthreads_condition_initialize ();
21904int
21905main ()
21906{
21907return libcthreads_condition_initialize ();
21908  ;
21909  return 0;
21910}
21911_ACEOF
21912if ac_fn_c_try_link "$LINENO"; then :
21913  ac_cv_lib_cthreads_libcthreads_condition_initialize=yes
21914else
21915  ac_cv_lib_cthreads_libcthreads_condition_initialize=no
21916fi
21917rm -f core conftest.err conftest.$ac_objext \
21918    conftest$ac_exeext conftest.$ac_ext
21919LIBS=$ac_check_lib_save_LIBS
21920fi
21921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5
21922$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; }
21923if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then :
21924  ac_cv_libcthreads_dummy=yes
21925else
21926  ac_cv_libcthreads=no
21927fi
21928
21929        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5
21930$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; }
21931if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then :
21932  $as_echo_n "(cached) " >&6
21933else
21934  ac_check_lib_save_LIBS=$LIBS
21935LIBS="-lcthreads  $LIBS"
21936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21937/* end confdefs.h.  */
21938
21939/* Override any GCC internal prototype to avoid an error.
21940   Use char because int might match the return type of a GCC
21941   builtin and then its argument prototype would still apply.  */
21942#ifdef __cplusplus
21943extern "C"
21944#endif
21945char libcthreads_condition_free ();
21946int
21947main ()
21948{
21949return libcthreads_condition_free ();
21950  ;
21951  return 0;
21952}
21953_ACEOF
21954if ac_fn_c_try_link "$LINENO"; then :
21955  ac_cv_lib_cthreads_libcthreads_condition_free=yes
21956else
21957  ac_cv_lib_cthreads_libcthreads_condition_free=no
21958fi
21959rm -f core conftest.err conftest.$ac_objext \
21960    conftest$ac_exeext conftest.$ac_ext
21961LIBS=$ac_check_lib_save_LIBS
21962fi
21963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5
21964$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; }
21965if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then :
21966  ac_cv_libcthreads_dummy=yes
21967else
21968  ac_cv_libcthreads=no
21969fi
21970
21971        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5
21972$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; }
21973if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then :
21974  $as_echo_n "(cached) " >&6
21975else
21976  ac_check_lib_save_LIBS=$LIBS
21977LIBS="-lcthreads  $LIBS"
21978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21979/* end confdefs.h.  */
21980
21981/* Override any GCC internal prototype to avoid an error.
21982   Use char because int might match the return type of a GCC
21983   builtin and then its argument prototype would still apply.  */
21984#ifdef __cplusplus
21985extern "C"
21986#endif
21987char libcthreads_condition_broadcast ();
21988int
21989main ()
21990{
21991return libcthreads_condition_broadcast ();
21992  ;
21993  return 0;
21994}
21995_ACEOF
21996if ac_fn_c_try_link "$LINENO"; then :
21997  ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes
21998else
21999  ac_cv_lib_cthreads_libcthreads_condition_broadcast=no
22000fi
22001rm -f core conftest.err conftest.$ac_objext \
22002    conftest$ac_exeext conftest.$ac_ext
22003LIBS=$ac_check_lib_save_LIBS
22004fi
22005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5
22006$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; }
22007if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then :
22008  ac_cv_libcthreads_dummy=yes
22009else
22010  ac_cv_libcthreads=no
22011fi
22012
22013        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5
22014$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; }
22015if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then :
22016  $as_echo_n "(cached) " >&6
22017else
22018  ac_check_lib_save_LIBS=$LIBS
22019LIBS="-lcthreads  $LIBS"
22020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22021/* end confdefs.h.  */
22022
22023/* Override any GCC internal prototype to avoid an error.
22024   Use char because int might match the return type of a GCC
22025   builtin and then its argument prototype would still apply.  */
22026#ifdef __cplusplus
22027extern "C"
22028#endif
22029char libcthreads_condition_signal ();
22030int
22031main ()
22032{
22033return libcthreads_condition_signal ();
22034  ;
22035  return 0;
22036}
22037_ACEOF
22038if ac_fn_c_try_link "$LINENO"; then :
22039  ac_cv_lib_cthreads_libcthreads_condition_signal=yes
22040else
22041  ac_cv_lib_cthreads_libcthreads_condition_signal=no
22042fi
22043rm -f core conftest.err conftest.$ac_objext \
22044    conftest$ac_exeext conftest.$ac_ext
22045LIBS=$ac_check_lib_save_LIBS
22046fi
22047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5
22048$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; }
22049if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then :
22050  ac_cv_libcthreads_dummy=yes
22051else
22052  ac_cv_libcthreads=no
22053fi
22054
22055        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5
22056$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; }
22057if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then :
22058  $as_echo_n "(cached) " >&6
22059else
22060  ac_check_lib_save_LIBS=$LIBS
22061LIBS="-lcthreads  $LIBS"
22062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22063/* end confdefs.h.  */
22064
22065/* Override any GCC internal prototype to avoid an error.
22066   Use char because int might match the return type of a GCC
22067   builtin and then its argument prototype would still apply.  */
22068#ifdef __cplusplus
22069extern "C"
22070#endif
22071char libcthreads_condition_wait ();
22072int
22073main ()
22074{
22075return libcthreads_condition_wait ();
22076  ;
22077  return 0;
22078}
22079_ACEOF
22080if ac_fn_c_try_link "$LINENO"; then :
22081  ac_cv_lib_cthreads_libcthreads_condition_wait=yes
22082else
22083  ac_cv_lib_cthreads_libcthreads_condition_wait=no
22084fi
22085rm -f core conftest.err conftest.$ac_objext \
22086    conftest$ac_exeext conftest.$ac_ext
22087LIBS=$ac_check_lib_save_LIBS
22088fi
22089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5
22090$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; }
22091if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then :
22092  ac_cv_libcthreads_dummy=yes
22093else
22094  ac_cv_libcthreads=no
22095fi
22096
22097
22098                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5
22099$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; }
22100if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then :
22101  $as_echo_n "(cached) " >&6
22102else
22103  ac_check_lib_save_LIBS=$LIBS
22104LIBS="-lcthreads  $LIBS"
22105cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106/* end confdefs.h.  */
22107
22108/* Override any GCC internal prototype to avoid an error.
22109   Use char because int might match the return type of a GCC
22110   builtin and then its argument prototype would still apply.  */
22111#ifdef __cplusplus
22112extern "C"
22113#endif
22114char libcthreads_lock_initialize ();
22115int
22116main ()
22117{
22118return libcthreads_lock_initialize ();
22119  ;
22120  return 0;
22121}
22122_ACEOF
22123if ac_fn_c_try_link "$LINENO"; then :
22124  ac_cv_lib_cthreads_libcthreads_lock_initialize=yes
22125else
22126  ac_cv_lib_cthreads_libcthreads_lock_initialize=no
22127fi
22128rm -f core conftest.err conftest.$ac_objext \
22129    conftest$ac_exeext conftest.$ac_ext
22130LIBS=$ac_check_lib_save_LIBS
22131fi
22132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5
22133$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; }
22134if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then :
22135  ac_cv_libcthreads_dummy=yes
22136else
22137  ac_cv_libcthreads=no
22138fi
22139
22140        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5
22141$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; }
22142if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then :
22143  $as_echo_n "(cached) " >&6
22144else
22145  ac_check_lib_save_LIBS=$LIBS
22146LIBS="-lcthreads  $LIBS"
22147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22148/* end confdefs.h.  */
22149
22150/* Override any GCC internal prototype to avoid an error.
22151   Use char because int might match the return type of a GCC
22152   builtin and then its argument prototype would still apply.  */
22153#ifdef __cplusplus
22154extern "C"
22155#endif
22156char libcthreads_lock_free ();
22157int
22158main ()
22159{
22160return libcthreads_lock_free ();
22161  ;
22162  return 0;
22163}
22164_ACEOF
22165if ac_fn_c_try_link "$LINENO"; then :
22166  ac_cv_lib_cthreads_libcthreads_lock_free=yes
22167else
22168  ac_cv_lib_cthreads_libcthreads_lock_free=no
22169fi
22170rm -f core conftest.err conftest.$ac_objext \
22171    conftest$ac_exeext conftest.$ac_ext
22172LIBS=$ac_check_lib_save_LIBS
22173fi
22174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5
22175$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; }
22176if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then :
22177  ac_cv_libcthreads_dummy=yes
22178else
22179  ac_cv_libcthreads=no
22180fi
22181
22182        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5
22183$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; }
22184if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then :
22185  $as_echo_n "(cached) " >&6
22186else
22187  ac_check_lib_save_LIBS=$LIBS
22188LIBS="-lcthreads  $LIBS"
22189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22190/* end confdefs.h.  */
22191
22192/* Override any GCC internal prototype to avoid an error.
22193   Use char because int might match the return type of a GCC
22194   builtin and then its argument prototype would still apply.  */
22195#ifdef __cplusplus
22196extern "C"
22197#endif
22198char libcthreads_lock_grab ();
22199int
22200main ()
22201{
22202return libcthreads_lock_grab ();
22203  ;
22204  return 0;
22205}
22206_ACEOF
22207if ac_fn_c_try_link "$LINENO"; then :
22208  ac_cv_lib_cthreads_libcthreads_lock_grab=yes
22209else
22210  ac_cv_lib_cthreads_libcthreads_lock_grab=no
22211fi
22212rm -f core conftest.err conftest.$ac_objext \
22213    conftest$ac_exeext conftest.$ac_ext
22214LIBS=$ac_check_lib_save_LIBS
22215fi
22216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5
22217$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; }
22218if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then :
22219  ac_cv_libcthreads_dummy=yes
22220else
22221  ac_cv_libcthreads=no
22222fi
22223
22224        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5
22225$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; }
22226if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then :
22227  $as_echo_n "(cached) " >&6
22228else
22229  ac_check_lib_save_LIBS=$LIBS
22230LIBS="-lcthreads  $LIBS"
22231cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22232/* end confdefs.h.  */
22233
22234/* Override any GCC internal prototype to avoid an error.
22235   Use char because int might match the return type of a GCC
22236   builtin and then its argument prototype would still apply.  */
22237#ifdef __cplusplus
22238extern "C"
22239#endif
22240char libcthreads_lock_release ();
22241int
22242main ()
22243{
22244return libcthreads_lock_release ();
22245  ;
22246  return 0;
22247}
22248_ACEOF
22249if ac_fn_c_try_link "$LINENO"; then :
22250  ac_cv_lib_cthreads_libcthreads_lock_release=yes
22251else
22252  ac_cv_lib_cthreads_libcthreads_lock_release=no
22253fi
22254rm -f core conftest.err conftest.$ac_objext \
22255    conftest$ac_exeext conftest.$ac_ext
22256LIBS=$ac_check_lib_save_LIBS
22257fi
22258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5
22259$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; }
22260if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then :
22261  ac_cv_libcthreads_dummy=yes
22262else
22263  ac_cv_libcthreads=no
22264fi
22265
22266
22267                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5
22268$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; }
22269if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then :
22270  $as_echo_n "(cached) " >&6
22271else
22272  ac_check_lib_save_LIBS=$LIBS
22273LIBS="-lcthreads  $LIBS"
22274cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22275/* end confdefs.h.  */
22276
22277/* Override any GCC internal prototype to avoid an error.
22278   Use char because int might match the return type of a GCC
22279   builtin and then its argument prototype would still apply.  */
22280#ifdef __cplusplus
22281extern "C"
22282#endif
22283char libcthreads_mutex_initialize ();
22284int
22285main ()
22286{
22287return libcthreads_mutex_initialize ();
22288  ;
22289  return 0;
22290}
22291_ACEOF
22292if ac_fn_c_try_link "$LINENO"; then :
22293  ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes
22294else
22295  ac_cv_lib_cthreads_libcthreads_mutex_initialize=no
22296fi
22297rm -f core conftest.err conftest.$ac_objext \
22298    conftest$ac_exeext conftest.$ac_ext
22299LIBS=$ac_check_lib_save_LIBS
22300fi
22301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5
22302$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; }
22303if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then :
22304  ac_cv_libcthreads_dummy=yes
22305else
22306  ac_cv_libcthreads=no
22307fi
22308
22309        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5
22310$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; }
22311if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then :
22312  $as_echo_n "(cached) " >&6
22313else
22314  ac_check_lib_save_LIBS=$LIBS
22315LIBS="-lcthreads  $LIBS"
22316cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22317/* end confdefs.h.  */
22318
22319/* Override any GCC internal prototype to avoid an error.
22320   Use char because int might match the return type of a GCC
22321   builtin and then its argument prototype would still apply.  */
22322#ifdef __cplusplus
22323extern "C"
22324#endif
22325char libcthreads_mutex_free ();
22326int
22327main ()
22328{
22329return libcthreads_mutex_free ();
22330  ;
22331  return 0;
22332}
22333_ACEOF
22334if ac_fn_c_try_link "$LINENO"; then :
22335  ac_cv_lib_cthreads_libcthreads_mutex_free=yes
22336else
22337  ac_cv_lib_cthreads_libcthreads_mutex_free=no
22338fi
22339rm -f core conftest.err conftest.$ac_objext \
22340    conftest$ac_exeext conftest.$ac_ext
22341LIBS=$ac_check_lib_save_LIBS
22342fi
22343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5
22344$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; }
22345if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then :
22346  ac_cv_libcthreads_dummy=yes
22347else
22348  ac_cv_libcthreads=no
22349fi
22350
22351        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5
22352$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; }
22353if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then :
22354  $as_echo_n "(cached) " >&6
22355else
22356  ac_check_lib_save_LIBS=$LIBS
22357LIBS="-lcthreads  $LIBS"
22358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22359/* end confdefs.h.  */
22360
22361/* Override any GCC internal prototype to avoid an error.
22362   Use char because int might match the return type of a GCC
22363   builtin and then its argument prototype would still apply.  */
22364#ifdef __cplusplus
22365extern "C"
22366#endif
22367char libcthreads_mutex_grab ();
22368int
22369main ()
22370{
22371return libcthreads_mutex_grab ();
22372  ;
22373  return 0;
22374}
22375_ACEOF
22376if ac_fn_c_try_link "$LINENO"; then :
22377  ac_cv_lib_cthreads_libcthreads_mutex_grab=yes
22378else
22379  ac_cv_lib_cthreads_libcthreads_mutex_grab=no
22380fi
22381rm -f core conftest.err conftest.$ac_objext \
22382    conftest$ac_exeext conftest.$ac_ext
22383LIBS=$ac_check_lib_save_LIBS
22384fi
22385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5
22386$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; }
22387if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then :
22388  ac_cv_libcthreads_dummy=yes
22389else
22390  ac_cv_libcthreads=no
22391fi
22392
22393        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5
22394$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; }
22395if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then :
22396  $as_echo_n "(cached) " >&6
22397else
22398  ac_check_lib_save_LIBS=$LIBS
22399LIBS="-lcthreads  $LIBS"
22400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401/* end confdefs.h.  */
22402
22403/* Override any GCC internal prototype to avoid an error.
22404   Use char because int might match the return type of a GCC
22405   builtin and then its argument prototype would still apply.  */
22406#ifdef __cplusplus
22407extern "C"
22408#endif
22409char libcthreads_mutex_try_grab ();
22410int
22411main ()
22412{
22413return libcthreads_mutex_try_grab ();
22414  ;
22415  return 0;
22416}
22417_ACEOF
22418if ac_fn_c_try_link "$LINENO"; then :
22419  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes
22420else
22421  ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no
22422fi
22423rm -f core conftest.err conftest.$ac_objext \
22424    conftest$ac_exeext conftest.$ac_ext
22425LIBS=$ac_check_lib_save_LIBS
22426fi
22427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5
22428$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; }
22429if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then :
22430  ac_cv_libcthreads_dummy=yes
22431else
22432  ac_cv_libcthreads=no
22433fi
22434
22435        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5
22436$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; }
22437if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then :
22438  $as_echo_n "(cached) " >&6
22439else
22440  ac_check_lib_save_LIBS=$LIBS
22441LIBS="-lcthreads  $LIBS"
22442cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22443/* end confdefs.h.  */
22444
22445/* Override any GCC internal prototype to avoid an error.
22446   Use char because int might match the return type of a GCC
22447   builtin and then its argument prototype would still apply.  */
22448#ifdef __cplusplus
22449extern "C"
22450#endif
22451char libcthreads_mutex_release ();
22452int
22453main ()
22454{
22455return libcthreads_mutex_release ();
22456  ;
22457  return 0;
22458}
22459_ACEOF
22460if ac_fn_c_try_link "$LINENO"; then :
22461  ac_cv_lib_cthreads_libcthreads_mutex_release=yes
22462else
22463  ac_cv_lib_cthreads_libcthreads_mutex_release=no
22464fi
22465rm -f core conftest.err conftest.$ac_objext \
22466    conftest$ac_exeext conftest.$ac_ext
22467LIBS=$ac_check_lib_save_LIBS
22468fi
22469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5
22470$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; }
22471if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then :
22472  ac_cv_libcthreads_dummy=yes
22473else
22474  ac_cv_libcthreads=no
22475fi
22476
22477
22478                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5
22479$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; }
22480if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then :
22481  $as_echo_n "(cached) " >&6
22482else
22483  ac_check_lib_save_LIBS=$LIBS
22484LIBS="-lcthreads  $LIBS"
22485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22486/* end confdefs.h.  */
22487
22488/* Override any GCC internal prototype to avoid an error.
22489   Use char because int might match the return type of a GCC
22490   builtin and then its argument prototype would still apply.  */
22491#ifdef __cplusplus
22492extern "C"
22493#endif
22494char libcthreads_read_write_lock_initialize ();
22495int
22496main ()
22497{
22498return libcthreads_read_write_lock_initialize ();
22499  ;
22500  return 0;
22501}
22502_ACEOF
22503if ac_fn_c_try_link "$LINENO"; then :
22504  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes
22505else
22506  ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no
22507fi
22508rm -f core conftest.err conftest.$ac_objext \
22509    conftest$ac_exeext conftest.$ac_ext
22510LIBS=$ac_check_lib_save_LIBS
22511fi
22512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5
22513$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; }
22514if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then :
22515  ac_cv_libcthreads_dummy=yes
22516else
22517  ac_cv_libcthreads=no
22518fi
22519
22520        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5
22521$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; }
22522if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then :
22523  $as_echo_n "(cached) " >&6
22524else
22525  ac_check_lib_save_LIBS=$LIBS
22526LIBS="-lcthreads  $LIBS"
22527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528/* end confdefs.h.  */
22529
22530/* Override any GCC internal prototype to avoid an error.
22531   Use char because int might match the return type of a GCC
22532   builtin and then its argument prototype would still apply.  */
22533#ifdef __cplusplus
22534extern "C"
22535#endif
22536char libcthreads_read_write_lock_free ();
22537int
22538main ()
22539{
22540return libcthreads_read_write_lock_free ();
22541  ;
22542  return 0;
22543}
22544_ACEOF
22545if ac_fn_c_try_link "$LINENO"; then :
22546  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes
22547else
22548  ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no
22549fi
22550rm -f core conftest.err conftest.$ac_objext \
22551    conftest$ac_exeext conftest.$ac_ext
22552LIBS=$ac_check_lib_save_LIBS
22553fi
22554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5
22555$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; }
22556if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then :
22557  ac_cv_libcthreads_dummy=yes
22558else
22559  ac_cv_libcthreads=no
22560fi
22561
22562        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5
22563$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; }
22564if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then :
22565  $as_echo_n "(cached) " >&6
22566else
22567  ac_check_lib_save_LIBS=$LIBS
22568LIBS="-lcthreads  $LIBS"
22569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570/* end confdefs.h.  */
22571
22572/* Override any GCC internal prototype to avoid an error.
22573   Use char because int might match the return type of a GCC
22574   builtin and then its argument prototype would still apply.  */
22575#ifdef __cplusplus
22576extern "C"
22577#endif
22578char libcthreads_read_write_lock_grab_for_read ();
22579int
22580main ()
22581{
22582return libcthreads_read_write_lock_grab_for_read ();
22583  ;
22584  return 0;
22585}
22586_ACEOF
22587if ac_fn_c_try_link "$LINENO"; then :
22588  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes
22589else
22590  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no
22591fi
22592rm -f core conftest.err conftest.$ac_objext \
22593    conftest$ac_exeext conftest.$ac_ext
22594LIBS=$ac_check_lib_save_LIBS
22595fi
22596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5
22597$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; }
22598if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then :
22599  ac_cv_libcthreads_dummy=yes
22600else
22601  ac_cv_libcthreads=no
22602fi
22603
22604        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5
22605$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; }
22606if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then :
22607  $as_echo_n "(cached) " >&6
22608else
22609  ac_check_lib_save_LIBS=$LIBS
22610LIBS="-lcthreads  $LIBS"
22611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22612/* end confdefs.h.  */
22613
22614/* Override any GCC internal prototype to avoid an error.
22615   Use char because int might match the return type of a GCC
22616   builtin and then its argument prototype would still apply.  */
22617#ifdef __cplusplus
22618extern "C"
22619#endif
22620char libcthreads_read_write_lock_grab_for_write ();
22621int
22622main ()
22623{
22624return libcthreads_read_write_lock_grab_for_write ();
22625  ;
22626  return 0;
22627}
22628_ACEOF
22629if ac_fn_c_try_link "$LINENO"; then :
22630  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes
22631else
22632  ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no
22633fi
22634rm -f core conftest.err conftest.$ac_objext \
22635    conftest$ac_exeext conftest.$ac_ext
22636LIBS=$ac_check_lib_save_LIBS
22637fi
22638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5
22639$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; }
22640if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then :
22641  ac_cv_libcthreads_dummy=yes
22642else
22643  ac_cv_libcthreads=no
22644fi
22645
22646        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5
22647$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; }
22648if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then :
22649  $as_echo_n "(cached) " >&6
22650else
22651  ac_check_lib_save_LIBS=$LIBS
22652LIBS="-lcthreads  $LIBS"
22653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22654/* end confdefs.h.  */
22655
22656/* Override any GCC internal prototype to avoid an error.
22657   Use char because int might match the return type of a GCC
22658   builtin and then its argument prototype would still apply.  */
22659#ifdef __cplusplus
22660extern "C"
22661#endif
22662char libcthreads_read_write_lock_release_for_read ();
22663int
22664main ()
22665{
22666return libcthreads_read_write_lock_release_for_read ();
22667  ;
22668  return 0;
22669}
22670_ACEOF
22671if ac_fn_c_try_link "$LINENO"; then :
22672  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes
22673else
22674  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no
22675fi
22676rm -f core conftest.err conftest.$ac_objext \
22677    conftest$ac_exeext conftest.$ac_ext
22678LIBS=$ac_check_lib_save_LIBS
22679fi
22680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5
22681$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; }
22682if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then :
22683  ac_cv_libcthreads_dummy=yes
22684else
22685  ac_cv_libcthreads=no
22686fi
22687
22688        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5
22689$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; }
22690if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then :
22691  $as_echo_n "(cached) " >&6
22692else
22693  ac_check_lib_save_LIBS=$LIBS
22694LIBS="-lcthreads  $LIBS"
22695cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22696/* end confdefs.h.  */
22697
22698/* Override any GCC internal prototype to avoid an error.
22699   Use char because int might match the return type of a GCC
22700   builtin and then its argument prototype would still apply.  */
22701#ifdef __cplusplus
22702extern "C"
22703#endif
22704char libcthreads_read_write_lock_release_for_write ();
22705int
22706main ()
22707{
22708return libcthreads_read_write_lock_release_for_write ();
22709  ;
22710  return 0;
22711}
22712_ACEOF
22713if ac_fn_c_try_link "$LINENO"; then :
22714  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes
22715else
22716  ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no
22717fi
22718rm -f core conftest.err conftest.$ac_objext \
22719    conftest$ac_exeext conftest.$ac_ext
22720LIBS=$ac_check_lib_save_LIBS
22721fi
22722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5
22723$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; }
22724if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then :
22725  ac_cv_libcthreads_dummy=yes
22726else
22727  ac_cv_libcthreads=no
22728fi
22729
22730
22731                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5
22732$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; }
22733if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then :
22734  $as_echo_n "(cached) " >&6
22735else
22736  ac_check_lib_save_LIBS=$LIBS
22737LIBS="-lcthreads  $LIBS"
22738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22739/* end confdefs.h.  */
22740
22741/* Override any GCC internal prototype to avoid an error.
22742   Use char because int might match the return type of a GCC
22743   builtin and then its argument prototype would still apply.  */
22744#ifdef __cplusplus
22745extern "C"
22746#endif
22747char libcthreads_queue_initialize ();
22748int
22749main ()
22750{
22751return libcthreads_queue_initialize ();
22752  ;
22753  return 0;
22754}
22755_ACEOF
22756if ac_fn_c_try_link "$LINENO"; then :
22757  ac_cv_lib_cthreads_libcthreads_queue_initialize=yes
22758else
22759  ac_cv_lib_cthreads_libcthreads_queue_initialize=no
22760fi
22761rm -f core conftest.err conftest.$ac_objext \
22762    conftest$ac_exeext conftest.$ac_ext
22763LIBS=$ac_check_lib_save_LIBS
22764fi
22765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5
22766$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; }
22767if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then :
22768  ac_cv_libcthreads_dummy=yes
22769else
22770  ac_cv_libcthreads=no
22771fi
22772
22773        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5
22774$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; }
22775if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then :
22776  $as_echo_n "(cached) " >&6
22777else
22778  ac_check_lib_save_LIBS=$LIBS
22779LIBS="-lcthreads  $LIBS"
22780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781/* end confdefs.h.  */
22782
22783/* Override any GCC internal prototype to avoid an error.
22784   Use char because int might match the return type of a GCC
22785   builtin and then its argument prototype would still apply.  */
22786#ifdef __cplusplus
22787extern "C"
22788#endif
22789char libcthreads_queue_free ();
22790int
22791main ()
22792{
22793return libcthreads_queue_free ();
22794  ;
22795  return 0;
22796}
22797_ACEOF
22798if ac_fn_c_try_link "$LINENO"; then :
22799  ac_cv_lib_cthreads_libcthreads_queue_free=yes
22800else
22801  ac_cv_lib_cthreads_libcthreads_queue_free=no
22802fi
22803rm -f core conftest.err conftest.$ac_objext \
22804    conftest$ac_exeext conftest.$ac_ext
22805LIBS=$ac_check_lib_save_LIBS
22806fi
22807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5
22808$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; }
22809if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then :
22810  ac_cv_libcthreads_dummy=yes
22811else
22812  ac_cv_libcthreads=no
22813fi
22814
22815        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5
22816$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; }
22817if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then :
22818  $as_echo_n "(cached) " >&6
22819else
22820  ac_check_lib_save_LIBS=$LIBS
22821LIBS="-lcthreads  $LIBS"
22822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22823/* end confdefs.h.  */
22824
22825/* Override any GCC internal prototype to avoid an error.
22826   Use char because int might match the return type of a GCC
22827   builtin and then its argument prototype would still apply.  */
22828#ifdef __cplusplus
22829extern "C"
22830#endif
22831char libcthreads_queue_type_pop ();
22832int
22833main ()
22834{
22835return libcthreads_queue_type_pop ();
22836  ;
22837  return 0;
22838}
22839_ACEOF
22840if ac_fn_c_try_link "$LINENO"; then :
22841  ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes
22842else
22843  ac_cv_lib_cthreads_libcthreads_queue_type_pop=no
22844fi
22845rm -f core conftest.err conftest.$ac_objext \
22846    conftest$ac_exeext conftest.$ac_ext
22847LIBS=$ac_check_lib_save_LIBS
22848fi
22849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5
22850$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; }
22851if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then :
22852  ac_cv_libcthreads_dummy=yes
22853else
22854  ac_cv_libcthreads=no
22855fi
22856
22857        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5
22858$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; }
22859if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then :
22860  $as_echo_n "(cached) " >&6
22861else
22862  ac_check_lib_save_LIBS=$LIBS
22863LIBS="-lcthreads  $LIBS"
22864cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22865/* end confdefs.h.  */
22866
22867/* Override any GCC internal prototype to avoid an error.
22868   Use char because int might match the return type of a GCC
22869   builtin and then its argument prototype would still apply.  */
22870#ifdef __cplusplus
22871extern "C"
22872#endif
22873char libcthreads_queue_pop ();
22874int
22875main ()
22876{
22877return libcthreads_queue_pop ();
22878  ;
22879  return 0;
22880}
22881_ACEOF
22882if ac_fn_c_try_link "$LINENO"; then :
22883  ac_cv_lib_cthreads_libcthreads_queue_pop=yes
22884else
22885  ac_cv_lib_cthreads_libcthreads_queue_pop=no
22886fi
22887rm -f core conftest.err conftest.$ac_objext \
22888    conftest$ac_exeext conftest.$ac_ext
22889LIBS=$ac_check_lib_save_LIBS
22890fi
22891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5
22892$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; }
22893if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then :
22894  ac_cv_libcthreads_dummy=yes
22895else
22896  ac_cv_libcthreads=no
22897fi
22898
22899        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5
22900$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; }
22901if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then :
22902  $as_echo_n "(cached) " >&6
22903else
22904  ac_check_lib_save_LIBS=$LIBS
22905LIBS="-lcthreads  $LIBS"
22906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22907/* end confdefs.h.  */
22908
22909/* Override any GCC internal prototype to avoid an error.
22910   Use char because int might match the return type of a GCC
22911   builtin and then its argument prototype would still apply.  */
22912#ifdef __cplusplus
22913extern "C"
22914#endif
22915char libcthreads_queue_try_push ();
22916int
22917main ()
22918{
22919return libcthreads_queue_try_push ();
22920  ;
22921  return 0;
22922}
22923_ACEOF
22924if ac_fn_c_try_link "$LINENO"; then :
22925  ac_cv_lib_cthreads_libcthreads_queue_try_push=yes
22926else
22927  ac_cv_lib_cthreads_libcthreads_queue_try_push=no
22928fi
22929rm -f core conftest.err conftest.$ac_objext \
22930    conftest$ac_exeext conftest.$ac_ext
22931LIBS=$ac_check_lib_save_LIBS
22932fi
22933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5
22934$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; }
22935if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then :
22936  ac_cv_libcthreads_dummy=yes
22937else
22938  ac_cv_libcthreads=no
22939fi
22940
22941        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5
22942$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; }
22943if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then :
22944  $as_echo_n "(cached) " >&6
22945else
22946  ac_check_lib_save_LIBS=$LIBS
22947LIBS="-lcthreads  $LIBS"
22948cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949/* end confdefs.h.  */
22950
22951/* Override any GCC internal prototype to avoid an error.
22952   Use char because int might match the return type of a GCC
22953   builtin and then its argument prototype would still apply.  */
22954#ifdef __cplusplus
22955extern "C"
22956#endif
22957char libcthreads_queue_push ();
22958int
22959main ()
22960{
22961return libcthreads_queue_push ();
22962  ;
22963  return 0;
22964}
22965_ACEOF
22966if ac_fn_c_try_link "$LINENO"; then :
22967  ac_cv_lib_cthreads_libcthreads_queue_push=yes
22968else
22969  ac_cv_lib_cthreads_libcthreads_queue_push=no
22970fi
22971rm -f core conftest.err conftest.$ac_objext \
22972    conftest$ac_exeext conftest.$ac_ext
22973LIBS=$ac_check_lib_save_LIBS
22974fi
22975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5
22976$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; }
22977if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then :
22978  ac_cv_libcthreads_dummy=yes
22979else
22980  ac_cv_libcthreads=no
22981fi
22982
22983        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5
22984$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; }
22985if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then :
22986  $as_echo_n "(cached) " >&6
22987else
22988  ac_check_lib_save_LIBS=$LIBS
22989LIBS="-lcthreads  $LIBS"
22990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22991/* end confdefs.h.  */
22992
22993/* Override any GCC internal prototype to avoid an error.
22994   Use char because int might match the return type of a GCC
22995   builtin and then its argument prototype would still apply.  */
22996#ifdef __cplusplus
22997extern "C"
22998#endif
22999char libcthreads_queue_push_sorted ();
23000int
23001main ()
23002{
23003return libcthreads_queue_push_sorted ();
23004  ;
23005  return 0;
23006}
23007_ACEOF
23008if ac_fn_c_try_link "$LINENO"; then :
23009  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes
23010else
23011  ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no
23012fi
23013rm -f core conftest.err conftest.$ac_objext \
23014    conftest$ac_exeext conftest.$ac_ext
23015LIBS=$ac_check_lib_save_LIBS
23016fi
23017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5
23018$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; }
23019if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then :
23020  ac_cv_libcthreads_dummy=yes
23021else
23022  ac_cv_libcthreads=no
23023fi
23024
23025
23026                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5
23027$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; }
23028if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then :
23029  $as_echo_n "(cached) " >&6
23030else
23031  ac_check_lib_save_LIBS=$LIBS
23032LIBS="-lcthreads  $LIBS"
23033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034/* end confdefs.h.  */
23035
23036/* Override any GCC internal prototype to avoid an error.
23037   Use char because int might match the return type of a GCC
23038   builtin and then its argument prototype would still apply.  */
23039#ifdef __cplusplus
23040extern "C"
23041#endif
23042char libcthreads_thread_pool_create ();
23043int
23044main ()
23045{
23046return libcthreads_thread_pool_create ();
23047  ;
23048  return 0;
23049}
23050_ACEOF
23051if ac_fn_c_try_link "$LINENO"; then :
23052  ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes
23053else
23054  ac_cv_lib_cthreads_libcthreads_thread_pool_create=no
23055fi
23056rm -f core conftest.err conftest.$ac_objext \
23057    conftest$ac_exeext conftest.$ac_ext
23058LIBS=$ac_check_lib_save_LIBS
23059fi
23060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5
23061$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; }
23062if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then :
23063  ac_cv_libcthreads_dummy=yes
23064else
23065  ac_cv_libcthreads=no
23066fi
23067
23068        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5
23069$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; }
23070if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then :
23071  $as_echo_n "(cached) " >&6
23072else
23073  ac_check_lib_save_LIBS=$LIBS
23074LIBS="-lcthreads  $LIBS"
23075cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23076/* end confdefs.h.  */
23077
23078/* Override any GCC internal prototype to avoid an error.
23079   Use char because int might match the return type of a GCC
23080   builtin and then its argument prototype would still apply.  */
23081#ifdef __cplusplus
23082extern "C"
23083#endif
23084char libcthreads_thread_pool_push ();
23085int
23086main ()
23087{
23088return libcthreads_thread_pool_push ();
23089  ;
23090  return 0;
23091}
23092_ACEOF
23093if ac_fn_c_try_link "$LINENO"; then :
23094  ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes
23095else
23096  ac_cv_lib_cthreads_libcthreads_thread_pool_push=no
23097fi
23098rm -f core conftest.err conftest.$ac_objext \
23099    conftest$ac_exeext conftest.$ac_ext
23100LIBS=$ac_check_lib_save_LIBS
23101fi
23102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5
23103$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; }
23104if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then :
23105  ac_cv_libcthreads_dummy=yes
23106else
23107  ac_cv_libcthreads=no
23108fi
23109
23110        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5
23111$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; }
23112if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then :
23113  $as_echo_n "(cached) " >&6
23114else
23115  ac_check_lib_save_LIBS=$LIBS
23116LIBS="-lcthreads  $LIBS"
23117cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23118/* end confdefs.h.  */
23119
23120/* Override any GCC internal prototype to avoid an error.
23121   Use char because int might match the return type of a GCC
23122   builtin and then its argument prototype would still apply.  */
23123#ifdef __cplusplus
23124extern "C"
23125#endif
23126char libcthreads_thread_pool_push_sorted ();
23127int
23128main ()
23129{
23130return libcthreads_thread_pool_push_sorted ();
23131  ;
23132  return 0;
23133}
23134_ACEOF
23135if ac_fn_c_try_link "$LINENO"; then :
23136  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes
23137else
23138  ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no
23139fi
23140rm -f core conftest.err conftest.$ac_objext \
23141    conftest$ac_exeext conftest.$ac_ext
23142LIBS=$ac_check_lib_save_LIBS
23143fi
23144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5
23145$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; }
23146if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then :
23147  ac_cv_libcthreads_dummy=yes
23148else
23149  ac_cv_libcthreads=no
23150fi
23151
23152        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5
23153$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; }
23154if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then :
23155  $as_echo_n "(cached) " >&6
23156else
23157  ac_check_lib_save_LIBS=$LIBS
23158LIBS="-lcthreads  $LIBS"
23159cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160/* end confdefs.h.  */
23161
23162/* Override any GCC internal prototype to avoid an error.
23163   Use char because int might match the return type of a GCC
23164   builtin and then its argument prototype would still apply.  */
23165#ifdef __cplusplus
23166extern "C"
23167#endif
23168char libcthreads_thread_pool_join ();
23169int
23170main ()
23171{
23172return libcthreads_thread_pool_join ();
23173  ;
23174  return 0;
23175}
23176_ACEOF
23177if ac_fn_c_try_link "$LINENO"; then :
23178  ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes
23179else
23180  ac_cv_lib_cthreads_libcthreads_thread_pool_join=no
23181fi
23182rm -f core conftest.err conftest.$ac_objext \
23183    conftest$ac_exeext conftest.$ac_ext
23184LIBS=$ac_check_lib_save_LIBS
23185fi
23186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5
23187$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; }
23188if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then :
23189  ac_cv_libcthreads_dummy=yes
23190else
23191  ac_cv_libcthreads=no
23192fi
23193
23194
23195        ac_cv_libcthreads_LIBADD="-lcthreads"
23196fi
23197
23198fi
23199
23200    if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then :
23201  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23203as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads
23204See \`config.log' for more details" "$LINENO" 5; }
23205
23206fi
23207
23208fi
23209
23210  if test "x$ac_cv_libcthreads" = xyes; then :
23211
23212$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h
23213
23214
23215fi
23216
23217  if test "x$ac_cv_libcthreads" = xyes; then :
23218  ac_cv_libcthreads_multi_threading=libcthreads
23219else
23220  ac_cv_libcthreads_multi_threading=no
23221fi
23222
23223  if test "x$ac_cv_libcthreads" = xyes; then :
23224  HAVE_LIBCTHREADS=1
23225
23226else
23227  HAVE_LIBCTHREADS=0
23228
23229
23230fi
23231
23232
23233        if test "x$ac_cv_libcthreads" != xyes; then :
23234  if test "x$ac_cv_enable_winapi" = xno; then :
23235
23236
23237# Check whether --with-pthread was given.
23238if test "${with_pthread+set}" = set; then :
23239  withval=$with_pthread; ac_cv_with_pthread=$withval
23240else
23241  ac_cv_with_pthread=auto-detect
23242fi
23243
23244    { $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
23245$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; }
23246if ${ac_cv_with_pthread+:} false; then :
23247  $as_echo_n "(cached) " >&6
23248else
23249  ac_cv_with_pthread=auto-detect
23250fi
23251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5
23252$as_echo "$ac_cv_with_pthread" >&6; }
23253
23254   if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then :
23255  if test -d "$ac_cv_with_pthread"; then :
23256  CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include"
23257   LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib"
23258else
23259  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5
23260$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;}
23261
23262fi
23263
23264fi
23265
23266 if test "x$ac_cv_with_pthread" = xno; then :
23267  ac_cv_pthread=no
23268else
23269    for ac_header in pthread.h
23270do :
23271  ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
23272if test "x$ac_cv_header_pthread_h" = xyes; then :
23273  cat >>confdefs.h <<_ACEOF
23274#define HAVE_PTHREAD_H 1
23275_ACEOF
23276
23277fi
23278
23279done
23280
23281
23282  if test "x$ac_cv_header_pthread_h" = xno; then :
23283  ac_cv_pthread=no
23284else
23285     ac_cv_pthread=pthread
23286
23287      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
23288$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
23289if ${ac_cv_lib_pthread_pthread_create+:} false; then :
23290  $as_echo_n "(cached) " >&6
23291else
23292  ac_check_lib_save_LIBS=$LIBS
23293LIBS="-lpthread  $LIBS"
23294cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23295/* end confdefs.h.  */
23296
23297/* Override any GCC internal prototype to avoid an error.
23298   Use char because int might match the return type of a GCC
23299   builtin and then its argument prototype would still apply.  */
23300#ifdef __cplusplus
23301extern "C"
23302#endif
23303char pthread_create ();
23304int
23305main ()
23306{
23307return pthread_create ();
23308  ;
23309  return 0;
23310}
23311_ACEOF
23312if ac_fn_c_try_link "$LINENO"; then :
23313  ac_cv_lib_pthread_pthread_create=yes
23314else
23315  ac_cv_lib_pthread_pthread_create=no
23316fi
23317rm -f core conftest.err conftest.$ac_objext \
23318    conftest$ac_exeext conftest.$ac_ext
23319LIBS=$ac_check_lib_save_LIBS
23320fi
23321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
23322$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
23323if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
23324  ac_pthread_dummy=yes
23325else
23326  ac_cv_pthread=no
23327fi
23328
23329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5
23330$as_echo_n "checking for pthread_exit in -lpthread... " >&6; }
23331if ${ac_cv_lib_pthread_pthread_exit+:} false; then :
23332  $as_echo_n "(cached) " >&6
23333else
23334  ac_check_lib_save_LIBS=$LIBS
23335LIBS="-lpthread  $LIBS"
23336cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23337/* end confdefs.h.  */
23338
23339/* Override any GCC internal prototype to avoid an error.
23340   Use char because int might match the return type of a GCC
23341   builtin and then its argument prototype would still apply.  */
23342#ifdef __cplusplus
23343extern "C"
23344#endif
23345char pthread_exit ();
23346int
23347main ()
23348{
23349return pthread_exit ();
23350  ;
23351  return 0;
23352}
23353_ACEOF
23354if ac_fn_c_try_link "$LINENO"; then :
23355  ac_cv_lib_pthread_pthread_exit=yes
23356else
23357  ac_cv_lib_pthread_pthread_exit=no
23358fi
23359rm -f core conftest.err conftest.$ac_objext \
23360    conftest$ac_exeext conftest.$ac_ext
23361LIBS=$ac_check_lib_save_LIBS
23362fi
23363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5
23364$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; }
23365if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then :
23366  ac_pthread_dummy=yes
23367else
23368  ac_cv_pthread=no
23369fi
23370
23371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
23372$as_echo_n "checking for pthread_join in -lpthread... " >&6; }
23373if ${ac_cv_lib_pthread_pthread_join+:} false; then :
23374  $as_echo_n "(cached) " >&6
23375else
23376  ac_check_lib_save_LIBS=$LIBS
23377LIBS="-lpthread  $LIBS"
23378cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379/* end confdefs.h.  */
23380
23381/* Override any GCC internal prototype to avoid an error.
23382   Use char because int might match the return type of a GCC
23383   builtin and then its argument prototype would still apply.  */
23384#ifdef __cplusplus
23385extern "C"
23386#endif
23387char pthread_join ();
23388int
23389main ()
23390{
23391return pthread_join ();
23392  ;
23393  return 0;
23394}
23395_ACEOF
23396if ac_fn_c_try_link "$LINENO"; then :
23397  ac_cv_lib_pthread_pthread_join=yes
23398else
23399  ac_cv_lib_pthread_pthread_join=no
23400fi
23401rm -f core conftest.err conftest.$ac_objext \
23402    conftest$ac_exeext conftest.$ac_ext
23403LIBS=$ac_check_lib_save_LIBS
23404fi
23405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
23406$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
23407if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
23408  ac_pthread_dummy=yes
23409else
23410  ac_cv_pthread=no
23411fi
23412
23413
23414      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5
23415$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; }
23416if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then :
23417  $as_echo_n "(cached) " >&6
23418else
23419  ac_check_lib_save_LIBS=$LIBS
23420LIBS="-lpthread  $LIBS"
23421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23422/* end confdefs.h.  */
23423
23424/* Override any GCC internal prototype to avoid an error.
23425   Use char because int might match the return type of a GCC
23426   builtin and then its argument prototype would still apply.  */
23427#ifdef __cplusplus
23428extern "C"
23429#endif
23430char pthread_cond_init ();
23431int
23432main ()
23433{
23434return pthread_cond_init ();
23435  ;
23436  return 0;
23437}
23438_ACEOF
23439if ac_fn_c_try_link "$LINENO"; then :
23440  ac_cv_lib_pthread_pthread_cond_init=yes
23441else
23442  ac_cv_lib_pthread_pthread_cond_init=no
23443fi
23444rm -f core conftest.err conftest.$ac_objext \
23445    conftest$ac_exeext conftest.$ac_ext
23446LIBS=$ac_check_lib_save_LIBS
23447fi
23448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5
23449$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; }
23450if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then :
23451  ac_pthread_dummy=yes
23452else
23453  ac_cv_pthread=no
23454fi
23455
23456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5
23457$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; }
23458if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then :
23459  $as_echo_n "(cached) " >&6
23460else
23461  ac_check_lib_save_LIBS=$LIBS
23462LIBS="-lpthread  $LIBS"
23463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23464/* end confdefs.h.  */
23465
23466/* Override any GCC internal prototype to avoid an error.
23467   Use char because int might match the return type of a GCC
23468   builtin and then its argument prototype would still apply.  */
23469#ifdef __cplusplus
23470extern "C"
23471#endif
23472char pthread_cond_destroy ();
23473int
23474main ()
23475{
23476return pthread_cond_destroy ();
23477  ;
23478  return 0;
23479}
23480_ACEOF
23481if ac_fn_c_try_link "$LINENO"; then :
23482  ac_cv_lib_pthread_pthread_cond_destroy=yes
23483else
23484  ac_cv_lib_pthread_pthread_cond_destroy=no
23485fi
23486rm -f core conftest.err conftest.$ac_objext \
23487    conftest$ac_exeext conftest.$ac_ext
23488LIBS=$ac_check_lib_save_LIBS
23489fi
23490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5
23491$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; }
23492if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then :
23493  ac_pthread_dummy=yes
23494else
23495  ac_cv_pthread=no
23496fi
23497
23498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5
23499$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; }
23500if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then :
23501  $as_echo_n "(cached) " >&6
23502else
23503  ac_check_lib_save_LIBS=$LIBS
23504LIBS="-lpthread  $LIBS"
23505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23506/* end confdefs.h.  */
23507
23508/* Override any GCC internal prototype to avoid an error.
23509   Use char because int might match the return type of a GCC
23510   builtin and then its argument prototype would still apply.  */
23511#ifdef __cplusplus
23512extern "C"
23513#endif
23514char pthread_cond_broadcast ();
23515int
23516main ()
23517{
23518return pthread_cond_broadcast ();
23519  ;
23520  return 0;
23521}
23522_ACEOF
23523if ac_fn_c_try_link "$LINENO"; then :
23524  ac_cv_lib_pthread_pthread_cond_broadcast=yes
23525else
23526  ac_cv_lib_pthread_pthread_cond_broadcast=no
23527fi
23528rm -f core conftest.err conftest.$ac_objext \
23529    conftest$ac_exeext conftest.$ac_ext
23530LIBS=$ac_check_lib_save_LIBS
23531fi
23532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5
23533$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; }
23534if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then :
23535  ac_pthread_dummy=yes
23536else
23537  ac_cv_pthread=no
23538fi
23539
23540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5
23541$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; }
23542if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then :
23543  $as_echo_n "(cached) " >&6
23544else
23545  ac_check_lib_save_LIBS=$LIBS
23546LIBS="-lpthread  $LIBS"
23547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23548/* end confdefs.h.  */
23549
23550/* Override any GCC internal prototype to avoid an error.
23551   Use char because int might match the return type of a GCC
23552   builtin and then its argument prototype would still apply.  */
23553#ifdef __cplusplus
23554extern "C"
23555#endif
23556char pthread_cond_signal ();
23557int
23558main ()
23559{
23560return pthread_cond_signal ();
23561  ;
23562  return 0;
23563}
23564_ACEOF
23565if ac_fn_c_try_link "$LINENO"; then :
23566  ac_cv_lib_pthread_pthread_cond_signal=yes
23567else
23568  ac_cv_lib_pthread_pthread_cond_signal=no
23569fi
23570rm -f core conftest.err conftest.$ac_objext \
23571    conftest$ac_exeext conftest.$ac_ext
23572LIBS=$ac_check_lib_save_LIBS
23573fi
23574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5
23575$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; }
23576if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then :
23577  ac_pthread_dummy=yes
23578else
23579  ac_cv_pthread=no
23580fi
23581
23582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5
23583$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; }
23584if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then :
23585  $as_echo_n "(cached) " >&6
23586else
23587  ac_check_lib_save_LIBS=$LIBS
23588LIBS="-lpthread  $LIBS"
23589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23590/* end confdefs.h.  */
23591
23592/* Override any GCC internal prototype to avoid an error.
23593   Use char because int might match the return type of a GCC
23594   builtin and then its argument prototype would still apply.  */
23595#ifdef __cplusplus
23596extern "C"
23597#endif
23598char pthread_cond_wait ();
23599int
23600main ()
23601{
23602return pthread_cond_wait ();
23603  ;
23604  return 0;
23605}
23606_ACEOF
23607if ac_fn_c_try_link "$LINENO"; then :
23608  ac_cv_lib_pthread_pthread_cond_wait=yes
23609else
23610  ac_cv_lib_pthread_pthread_cond_wait=no
23611fi
23612rm -f core conftest.err conftest.$ac_objext \
23613    conftest$ac_exeext conftest.$ac_ext
23614LIBS=$ac_check_lib_save_LIBS
23615fi
23616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5
23617$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; }
23618if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then :
23619  ac_pthread_dummy=yes
23620else
23621  ac_cv_pthread=no
23622fi
23623
23624
23625      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
23626$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
23627if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
23628  $as_echo_n "(cached) " >&6
23629else
23630  ac_check_lib_save_LIBS=$LIBS
23631LIBS="-lpthread  $LIBS"
23632cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23633/* end confdefs.h.  */
23634
23635/* Override any GCC internal prototype to avoid an error.
23636   Use char because int might match the return type of a GCC
23637   builtin and then its argument prototype would still apply.  */
23638#ifdef __cplusplus
23639extern "C"
23640#endif
23641char pthread_mutex_init ();
23642int
23643main ()
23644{
23645return pthread_mutex_init ();
23646  ;
23647  return 0;
23648}
23649_ACEOF
23650if ac_fn_c_try_link "$LINENO"; then :
23651  ac_cv_lib_pthread_pthread_mutex_init=yes
23652else
23653  ac_cv_lib_pthread_pthread_mutex_init=no
23654fi
23655rm -f core conftest.err conftest.$ac_objext \
23656    conftest$ac_exeext conftest.$ac_ext
23657LIBS=$ac_check_lib_save_LIBS
23658fi
23659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
23660$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
23661if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
23662  ac_pthread_dummy=yes
23663else
23664  ac_cv_pthread=no
23665fi
23666
23667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5
23668$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; }
23669if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then :
23670  $as_echo_n "(cached) " >&6
23671else
23672  ac_check_lib_save_LIBS=$LIBS
23673LIBS="-lpthread  $LIBS"
23674cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23675/* end confdefs.h.  */
23676
23677/* Override any GCC internal prototype to avoid an error.
23678   Use char because int might match the return type of a GCC
23679   builtin and then its argument prototype would still apply.  */
23680#ifdef __cplusplus
23681extern "C"
23682#endif
23683char pthread_mutex_destroy ();
23684int
23685main ()
23686{
23687return pthread_mutex_destroy ();
23688  ;
23689  return 0;
23690}
23691_ACEOF
23692if ac_fn_c_try_link "$LINENO"; then :
23693  ac_cv_lib_pthread_pthread_mutex_destroy=yes
23694else
23695  ac_cv_lib_pthread_pthread_mutex_destroy=no
23696fi
23697rm -f core conftest.err conftest.$ac_objext \
23698    conftest$ac_exeext conftest.$ac_ext
23699LIBS=$ac_check_lib_save_LIBS
23700fi
23701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5
23702$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; }
23703if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then :
23704  ac_pthread_dummy=yes
23705else
23706  ac_cv_pthread=no
23707fi
23708
23709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
23710$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
23711if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then :
23712  $as_echo_n "(cached) " >&6
23713else
23714  ac_check_lib_save_LIBS=$LIBS
23715LIBS="-lpthread  $LIBS"
23716cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23717/* end confdefs.h.  */
23718
23719/* Override any GCC internal prototype to avoid an error.
23720   Use char because int might match the return type of a GCC
23721   builtin and then its argument prototype would still apply.  */
23722#ifdef __cplusplus
23723extern "C"
23724#endif
23725char pthread_mutex_lock ();
23726int
23727main ()
23728{
23729return pthread_mutex_lock ();
23730  ;
23731  return 0;
23732}
23733_ACEOF
23734if ac_fn_c_try_link "$LINENO"; then :
23735  ac_cv_lib_pthread_pthread_mutex_lock=yes
23736else
23737  ac_cv_lib_pthread_pthread_mutex_lock=no
23738fi
23739rm -f core conftest.err conftest.$ac_objext \
23740    conftest$ac_exeext conftest.$ac_ext
23741LIBS=$ac_check_lib_save_LIBS
23742fi
23743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
23744$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
23745if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then :
23746  ac_pthread_dummy=yes
23747else
23748  ac_cv_pthread=no
23749fi
23750
23751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5
23752$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; }
23753if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then :
23754  $as_echo_n "(cached) " >&6
23755else
23756  ac_check_lib_save_LIBS=$LIBS
23757LIBS="-lpthread  $LIBS"
23758cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23759/* end confdefs.h.  */
23760
23761/* Override any GCC internal prototype to avoid an error.
23762   Use char because int might match the return type of a GCC
23763   builtin and then its argument prototype would still apply.  */
23764#ifdef __cplusplus
23765extern "C"
23766#endif
23767char pthread_mutex_trylock ();
23768int
23769main ()
23770{
23771return pthread_mutex_trylock ();
23772  ;
23773  return 0;
23774}
23775_ACEOF
23776if ac_fn_c_try_link "$LINENO"; then :
23777  ac_cv_lib_pthread_pthread_mutex_trylock=yes
23778else
23779  ac_cv_lib_pthread_pthread_mutex_trylock=no
23780fi
23781rm -f core conftest.err conftest.$ac_objext \
23782    conftest$ac_exeext conftest.$ac_ext
23783LIBS=$ac_check_lib_save_LIBS
23784fi
23785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5
23786$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; }
23787if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then :
23788  ac_pthread_dummy=yes
23789else
23790  ac_cv_pthread=no
23791fi
23792
23793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5
23794$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; }
23795if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then :
23796  $as_echo_n "(cached) " >&6
23797else
23798  ac_check_lib_save_LIBS=$LIBS
23799LIBS="-lpthread  $LIBS"
23800cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801/* end confdefs.h.  */
23802
23803/* Override any GCC internal prototype to avoid an error.
23804   Use char because int might match the return type of a GCC
23805   builtin and then its argument prototype would still apply.  */
23806#ifdef __cplusplus
23807extern "C"
23808#endif
23809char pthread_mutex_unlock ();
23810int
23811main ()
23812{
23813return pthread_mutex_unlock ();
23814  ;
23815  return 0;
23816}
23817_ACEOF
23818if ac_fn_c_try_link "$LINENO"; then :
23819  ac_cv_lib_pthread_pthread_mutex_unlock=yes
23820else
23821  ac_cv_lib_pthread_pthread_mutex_unlock=no
23822fi
23823rm -f core conftest.err conftest.$ac_objext \
23824    conftest$ac_exeext conftest.$ac_ext
23825LIBS=$ac_check_lib_save_LIBS
23826fi
23827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5
23828$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; }
23829if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then :
23830  ac_pthread_dummy=yes
23831else
23832  ac_cv_pthread=no
23833fi
23834
23835
23836      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5
23837$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; }
23838if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then :
23839  $as_echo_n "(cached) " >&6
23840else
23841  ac_check_lib_save_LIBS=$LIBS
23842LIBS="-lpthread  $LIBS"
23843cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23844/* end confdefs.h.  */
23845
23846/* Override any GCC internal prototype to avoid an error.
23847   Use char because int might match the return type of a GCC
23848   builtin and then its argument prototype would still apply.  */
23849#ifdef __cplusplus
23850extern "C"
23851#endif
23852char pthread_rwlock_init ();
23853int
23854main ()
23855{
23856return pthread_rwlock_init ();
23857  ;
23858  return 0;
23859}
23860_ACEOF
23861if ac_fn_c_try_link "$LINENO"; then :
23862  ac_cv_lib_pthread_pthread_rwlock_init=yes
23863else
23864  ac_cv_lib_pthread_pthread_rwlock_init=no
23865fi
23866rm -f core conftest.err conftest.$ac_objext \
23867    conftest$ac_exeext conftest.$ac_ext
23868LIBS=$ac_check_lib_save_LIBS
23869fi
23870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5
23871$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; }
23872if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then :
23873  ac_pthread_dummy=yes
23874else
23875  ac_cv_pthread=no
23876fi
23877
23878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5
23879$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; }
23880if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then :
23881  $as_echo_n "(cached) " >&6
23882else
23883  ac_check_lib_save_LIBS=$LIBS
23884LIBS="-lpthread  $LIBS"
23885cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23886/* end confdefs.h.  */
23887
23888/* Override any GCC internal prototype to avoid an error.
23889   Use char because int might match the return type of a GCC
23890   builtin and then its argument prototype would still apply.  */
23891#ifdef __cplusplus
23892extern "C"
23893#endif
23894char pthread_rwlock_destroy ();
23895int
23896main ()
23897{
23898return pthread_rwlock_destroy ();
23899  ;
23900  return 0;
23901}
23902_ACEOF
23903if ac_fn_c_try_link "$LINENO"; then :
23904  ac_cv_lib_pthread_pthread_rwlock_destroy=yes
23905else
23906  ac_cv_lib_pthread_pthread_rwlock_destroy=no
23907fi
23908rm -f core conftest.err conftest.$ac_objext \
23909    conftest$ac_exeext conftest.$ac_ext
23910LIBS=$ac_check_lib_save_LIBS
23911fi
23912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5
23913$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; }
23914if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then :
23915  ac_pthread_dummy=yes
23916else
23917  ac_cv_pthread=no
23918fi
23919
23920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5
23921$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; }
23922if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then :
23923  $as_echo_n "(cached) " >&6
23924else
23925  ac_check_lib_save_LIBS=$LIBS
23926LIBS="-lpthread  $LIBS"
23927cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23928/* end confdefs.h.  */
23929
23930/* Override any GCC internal prototype to avoid an error.
23931   Use char because int might match the return type of a GCC
23932   builtin and then its argument prototype would still apply.  */
23933#ifdef __cplusplus
23934extern "C"
23935#endif
23936char pthread_rwlock_rdlock ();
23937int
23938main ()
23939{
23940return pthread_rwlock_rdlock ();
23941  ;
23942  return 0;
23943}
23944_ACEOF
23945if ac_fn_c_try_link "$LINENO"; then :
23946  ac_cv_lib_pthread_pthread_rwlock_rdlock=yes
23947else
23948  ac_cv_lib_pthread_pthread_rwlock_rdlock=no
23949fi
23950rm -f core conftest.err conftest.$ac_objext \
23951    conftest$ac_exeext conftest.$ac_ext
23952LIBS=$ac_check_lib_save_LIBS
23953fi
23954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5
23955$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; }
23956if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then :
23957  ac_pthread_dummy=yes
23958else
23959  ac_cv_pthread=no
23960fi
23961
23962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5
23963$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; }
23964if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then :
23965  $as_echo_n "(cached) " >&6
23966else
23967  ac_check_lib_save_LIBS=$LIBS
23968LIBS="-lpthread  $LIBS"
23969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23970/* end confdefs.h.  */
23971
23972/* Override any GCC internal prototype to avoid an error.
23973   Use char because int might match the return type of a GCC
23974   builtin and then its argument prototype would still apply.  */
23975#ifdef __cplusplus
23976extern "C"
23977#endif
23978char pthread_rwlock_wrlock ();
23979int
23980main ()
23981{
23982return pthread_rwlock_wrlock ();
23983  ;
23984  return 0;
23985}
23986_ACEOF
23987if ac_fn_c_try_link "$LINENO"; then :
23988  ac_cv_lib_pthread_pthread_rwlock_wrlock=yes
23989else
23990  ac_cv_lib_pthread_pthread_rwlock_wrlock=no
23991fi
23992rm -f core conftest.err conftest.$ac_objext \
23993    conftest$ac_exeext conftest.$ac_ext
23994LIBS=$ac_check_lib_save_LIBS
23995fi
23996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5
23997$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; }
23998if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then :
23999  ac_pthread_dummy=yes
24000else
24001  ac_cv_pthread=no
24002fi
24003
24004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5
24005$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; }
24006if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then :
24007  $as_echo_n "(cached) " >&6
24008else
24009  ac_check_lib_save_LIBS=$LIBS
24010LIBS="-lpthread  $LIBS"
24011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24012/* end confdefs.h.  */
24013
24014/* Override any GCC internal prototype to avoid an error.
24015   Use char because int might match the return type of a GCC
24016   builtin and then its argument prototype would still apply.  */
24017#ifdef __cplusplus
24018extern "C"
24019#endif
24020char pthread_rwlock_unlock ();
24021int
24022main ()
24023{
24024return pthread_rwlock_unlock ();
24025  ;
24026  return 0;
24027}
24028_ACEOF
24029if ac_fn_c_try_link "$LINENO"; then :
24030  ac_cv_lib_pthread_pthread_rwlock_unlock=yes
24031else
24032  ac_cv_lib_pthread_pthread_rwlock_unlock=no
24033fi
24034rm -f core conftest.err conftest.$ac_objext \
24035    conftest$ac_exeext conftest.$ac_ext
24036LIBS=$ac_check_lib_save_LIBS
24037fi
24038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5
24039$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; }
24040if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then :
24041  ac_pthread_dummy=yes
24042else
24043  ac_cv_pthread=no
24044fi
24045
24046
24047   ac_cv_pthread_LIBADD="-lpthread";
24048
24049fi
24050
24051fi
24052
24053 if test "x$ac_cv_pthread" = xpthread; then :
24054
24055$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
24056
24057
24058fi
24059
24060 if test "x$ac_cv_pthread" != xno; then :
24061  HAVE_PTHREAD=1
24062
24063else
24064  HAVE_PTHREAD=0
24065
24066
24067fi
24068
24069
24070 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then :
24071  PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS
24072
24073
24074fi
24075 if test "x$ac_cv_pthread_LIBADD" != "x"; then :
24076  PTHREAD_LIBADD=$ac_cv_pthread_LIBADD
24077
24078
24079fi
24080
24081 if test "x$ac_cv_pthread" = xpthread; then :
24082  ax_pthread_pc_libs_private=-lpthread
24083
24084
24085fi
24086
24087      ac_cv_libcthreads_multi_threading=$ac_cv_pthread
24088else
24089  ac_cv_libcthreads_multi_threading="winapi"
24090fi
24091
24092  if test "x$ac_cv_libcthreads_multi_threading" != xno; then :
24093  ac_cv_libcthreads_CPPFLAGS="-I../libcthreads";
24094    ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la";
24095
24096    ac_cv_libcthreads=local
24097else
24098  ac_cv_libcthreads=no
24099fi
24100
24101
24102
24103$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h
24104
24105      HAVE_LOCAL_LIBCTHREADS=1
24106
24107
24108fi
24109
24110fi
24111
24112   if test "x$ac_cv_libcthreads" = xlocal; then
24113  HAVE_LOCAL_LIBCTHREADS_TRUE=
24114  HAVE_LOCAL_LIBCTHREADS_FALSE='#'
24115else
24116  HAVE_LOCAL_LIBCTHREADS_TRUE='#'
24117  HAVE_LOCAL_LIBCTHREADS_FALSE=
24118fi
24119
24120  if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then :
24121  LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS
24122
24123
24124fi
24125  if test "x$ac_cv_libcthreads_LIBADD" != "x"; then :
24126  LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD
24127
24128
24129fi
24130
24131  if test "x$ac_cv_libcthreads" != xno; then :
24132
24133$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h
24134
24135    HAVE_MULTI_THREAD_SUPPORT=1
24136
24137else
24138  HAVE_MULTI_THREAD_SUPPORT=0
24139
24140
24141fi
24142
24143  if test "x$ac_cv_libcthreads" = xyes; then :
24144  ax_libcthreads_pc_libs_private=-lcthreads
24145
24146
24147fi
24148
24149  if test "x$ac_cv_libcthreads" = xyes; then :
24150  ax_libcthreads_spec_requires=libcthreads
24151
24152    ax_libcthreads_spec_build_requires=libcthreads-devel
24153
24154
24155fi
24156
24157
24158
24159
24160# Check whether --with-libcdata was given.
24161if test "${with_libcdata+set}" = set; then :
24162  withval=$with_libcdata; ac_cv_with_libcdata=$withval
24163else
24164  ac_cv_with_libcdata=auto-detect
24165fi
24166
24167    { $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
24168$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; }
24169if ${ac_cv_with_libcdata+:} false; then :
24170  $as_echo_n "(cached) " >&6
24171else
24172  ac_cv_with_libcdata=auto-detect
24173fi
24174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5
24175$as_echo "$ac_cv_with_libcdata" >&6; }
24176
24177    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then :
24178  ac_cv_libcdata=no
24179else
24180  ac_cv_libcdata=check
24181        if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then :
24182  if test -d "$ac_cv_with_libcdata"; then :
24183  CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include"
24184        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib"
24185else
24186  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24187$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24188as_fn_error 1 "no such directory: $ac_cv_with_libcdata
24189See \`config.log' for more details" "$LINENO" 5; }
24190
24191fi
24192
24193else
24194        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
24195
24196pkg_failed=no
24197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5
24198$as_echo_n "checking for libcdata... " >&6; }
24199
24200if test -n "$libcdata_CFLAGS"; then
24201    pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS"
24202 elif test -n "$PKG_CONFIG"; then
24203    if test -n "$PKG_CONFIG" && \
24204    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
24205  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
24206  ac_status=$?
24207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24208  test $ac_status = 0; }; then
24209  pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null`
24210		      test "x$?" != "x0" && pkg_failed=yes
24211else
24212  pkg_failed=yes
24213fi
24214 else
24215    pkg_failed=untried
24216fi
24217if test -n "$libcdata_LIBS"; then
24218    pkg_cv_libcdata_LIBS="$libcdata_LIBS"
24219 elif test -n "$PKG_CONFIG"; then
24220    if test -n "$PKG_CONFIG" && \
24221    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5
24222  ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5
24223  ac_status=$?
24224  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24225  test $ac_status = 0; }; then
24226  pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null`
24227		      test "x$?" != "x0" && pkg_failed=yes
24228else
24229  pkg_failed=yes
24230fi
24231 else
24232    pkg_failed=untried
24233fi
24234
24235
24236
24237if test $pkg_failed = yes; then
24238   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24239$as_echo "no" >&6; }
24240
24241if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24242        _pkg_short_errors_supported=yes
24243else
24244        _pkg_short_errors_supported=no
24245fi
24246        if test $_pkg_short_errors_supported = yes; then
24247	        libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
24248        else
24249	        libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1`
24250        fi
24251	# Put the nasty error message in config.log where it belongs
24252	echo "$libcdata_PKG_ERRORS" >&5
24253
24254	ac_cv_libcdata=check
24255elif test $pkg_failed = untried; then
24256     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24257$as_echo "no" >&6; }
24258	ac_cv_libcdata=check
24259else
24260	libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS
24261	libcdata_LIBS=$pkg_cv_libcdata_LIBS
24262        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24263$as_echo "yes" >&6; }
24264	ac_cv_libcdata=yes
24265fi
24266
24267fi
24268      if test "x$ac_cv_libcdata" = xyes; then :
24269  ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS"
24270        ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS"
24271fi
24272
24273fi
24274
24275    if test "x$ac_cv_libcdata" = xcheck; then :
24276        for ac_header in libcdata.h
24277do :
24278  ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default"
24279if test "x$ac_cv_header_libcdata_h" = xyes; then :
24280  cat >>confdefs.h <<_ACEOF
24281#define HAVE_LIBCDATA_H 1
24282_ACEOF
24283
24284fi
24285
24286done
24287
24288
24289      if test "x$ac_cv_header_libcdata_h" = xno; then :
24290  ac_cv_libcdata=no
24291else
24292          ac_cv_libcdata=yes
24293
24294        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5
24295$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; }
24296if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then :
24297  $as_echo_n "(cached) " >&6
24298else
24299  ac_check_lib_save_LIBS=$LIBS
24300LIBS="-lcdata  $LIBS"
24301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24302/* end confdefs.h.  */
24303
24304/* Override any GCC internal prototype to avoid an error.
24305   Use char because int might match the return type of a GCC
24306   builtin and then its argument prototype would still apply.  */
24307#ifdef __cplusplus
24308extern "C"
24309#endif
24310char libcdata_get_version ();
24311int
24312main ()
24313{
24314return libcdata_get_version ();
24315  ;
24316  return 0;
24317}
24318_ACEOF
24319if ac_fn_c_try_link "$LINENO"; then :
24320  ac_cv_lib_cdata_libcdata_get_version=yes
24321else
24322  ac_cv_lib_cdata_libcdata_get_version=no
24323fi
24324rm -f core conftest.err conftest.$ac_objext \
24325    conftest$ac_exeext conftest.$ac_ext
24326LIBS=$ac_check_lib_save_LIBS
24327fi
24328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5
24329$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; }
24330if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then :
24331  ac_cv_libcdata_dummy=yes
24332else
24333  ac_cv_libcdata=no
24334fi
24335
24336
24337                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5
24338$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; }
24339if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then :
24340  $as_echo_n "(cached) " >&6
24341else
24342  ac_check_lib_save_LIBS=$LIBS
24343LIBS="-lcdata  $LIBS"
24344cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24345/* end confdefs.h.  */
24346
24347/* Override any GCC internal prototype to avoid an error.
24348   Use char because int might match the return type of a GCC
24349   builtin and then its argument prototype would still apply.  */
24350#ifdef __cplusplus
24351extern "C"
24352#endif
24353char libcdata_array_initialize ();
24354int
24355main ()
24356{
24357return libcdata_array_initialize ();
24358  ;
24359  return 0;
24360}
24361_ACEOF
24362if ac_fn_c_try_link "$LINENO"; then :
24363  ac_cv_lib_cdata_libcdata_array_initialize=yes
24364else
24365  ac_cv_lib_cdata_libcdata_array_initialize=no
24366fi
24367rm -f core conftest.err conftest.$ac_objext \
24368    conftest$ac_exeext conftest.$ac_ext
24369LIBS=$ac_check_lib_save_LIBS
24370fi
24371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5
24372$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; }
24373if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then :
24374  ac_cv_libcdata_dummy=yes
24375else
24376  ac_cv_libcdata=no
24377fi
24378
24379        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5
24380$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; }
24381if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then :
24382  $as_echo_n "(cached) " >&6
24383else
24384  ac_check_lib_save_LIBS=$LIBS
24385LIBS="-lcdata  $LIBS"
24386cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24387/* end confdefs.h.  */
24388
24389/* Override any GCC internal prototype to avoid an error.
24390   Use char because int might match the return type of a GCC
24391   builtin and then its argument prototype would still apply.  */
24392#ifdef __cplusplus
24393extern "C"
24394#endif
24395char libcdata_array_free ();
24396int
24397main ()
24398{
24399return libcdata_array_free ();
24400  ;
24401  return 0;
24402}
24403_ACEOF
24404if ac_fn_c_try_link "$LINENO"; then :
24405  ac_cv_lib_cdata_libcdata_array_free=yes
24406else
24407  ac_cv_lib_cdata_libcdata_array_free=no
24408fi
24409rm -f core conftest.err conftest.$ac_objext \
24410    conftest$ac_exeext conftest.$ac_ext
24411LIBS=$ac_check_lib_save_LIBS
24412fi
24413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5
24414$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; }
24415if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then :
24416  ac_cv_libcdata_dummy=yes
24417else
24418  ac_cv_libcdata=no
24419fi
24420
24421        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5
24422$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; }
24423if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then :
24424  $as_echo_n "(cached) " >&6
24425else
24426  ac_check_lib_save_LIBS=$LIBS
24427LIBS="-lcdata  $LIBS"
24428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24429/* end confdefs.h.  */
24430
24431/* Override any GCC internal prototype to avoid an error.
24432   Use char because int might match the return type of a GCC
24433   builtin and then its argument prototype would still apply.  */
24434#ifdef __cplusplus
24435extern "C"
24436#endif
24437char libcdata_array_empty ();
24438int
24439main ()
24440{
24441return libcdata_array_empty ();
24442  ;
24443  return 0;
24444}
24445_ACEOF
24446if ac_fn_c_try_link "$LINENO"; then :
24447  ac_cv_lib_cdata_libcdata_array_empty=yes
24448else
24449  ac_cv_lib_cdata_libcdata_array_empty=no
24450fi
24451rm -f core conftest.err conftest.$ac_objext \
24452    conftest$ac_exeext conftest.$ac_ext
24453LIBS=$ac_check_lib_save_LIBS
24454fi
24455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5
24456$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; }
24457if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then :
24458  ac_cv_libcdata_dummy=yes
24459else
24460  ac_cv_libcdata=no
24461fi
24462
24463        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5
24464$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; }
24465if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then :
24466  $as_echo_n "(cached) " >&6
24467else
24468  ac_check_lib_save_LIBS=$LIBS
24469LIBS="-lcdata  $LIBS"
24470cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24471/* end confdefs.h.  */
24472
24473/* Override any GCC internal prototype to avoid an error.
24474   Use char because int might match the return type of a GCC
24475   builtin and then its argument prototype would still apply.  */
24476#ifdef __cplusplus
24477extern "C"
24478#endif
24479char libcdata_array_clone ();
24480int
24481main ()
24482{
24483return libcdata_array_clone ();
24484  ;
24485  return 0;
24486}
24487_ACEOF
24488if ac_fn_c_try_link "$LINENO"; then :
24489  ac_cv_lib_cdata_libcdata_array_clone=yes
24490else
24491  ac_cv_lib_cdata_libcdata_array_clone=no
24492fi
24493rm -f core conftest.err conftest.$ac_objext \
24494    conftest$ac_exeext conftest.$ac_ext
24495LIBS=$ac_check_lib_save_LIBS
24496fi
24497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5
24498$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; }
24499if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then :
24500  ac_cv_libcdata_dummy=yes
24501else
24502  ac_cv_libcdata=no
24503fi
24504
24505        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5
24506$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; }
24507if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then :
24508  $as_echo_n "(cached) " >&6
24509else
24510  ac_check_lib_save_LIBS=$LIBS
24511LIBS="-lcdata  $LIBS"
24512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24513/* end confdefs.h.  */
24514
24515/* Override any GCC internal prototype to avoid an error.
24516   Use char because int might match the return type of a GCC
24517   builtin and then its argument prototype would still apply.  */
24518#ifdef __cplusplus
24519extern "C"
24520#endif
24521char libcdata_array_resize ();
24522int
24523main ()
24524{
24525return libcdata_array_resize ();
24526  ;
24527  return 0;
24528}
24529_ACEOF
24530if ac_fn_c_try_link "$LINENO"; then :
24531  ac_cv_lib_cdata_libcdata_array_resize=yes
24532else
24533  ac_cv_lib_cdata_libcdata_array_resize=no
24534fi
24535rm -f core conftest.err conftest.$ac_objext \
24536    conftest$ac_exeext conftest.$ac_ext
24537LIBS=$ac_check_lib_save_LIBS
24538fi
24539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5
24540$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; }
24541if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then :
24542  ac_cv_libcdata_dummy=yes
24543else
24544  ac_cv_libcdata=no
24545fi
24546
24547        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5
24548$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; }
24549if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then :
24550  $as_echo_n "(cached) " >&6
24551else
24552  ac_check_lib_save_LIBS=$LIBS
24553LIBS="-lcdata  $LIBS"
24554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24555/* end confdefs.h.  */
24556
24557/* Override any GCC internal prototype to avoid an error.
24558   Use char because int might match the return type of a GCC
24559   builtin and then its argument prototype would still apply.  */
24560#ifdef __cplusplus
24561extern "C"
24562#endif
24563char libcdata_array_reverse ();
24564int
24565main ()
24566{
24567return libcdata_array_reverse ();
24568  ;
24569  return 0;
24570}
24571_ACEOF
24572if ac_fn_c_try_link "$LINENO"; then :
24573  ac_cv_lib_cdata_libcdata_array_reverse=yes
24574else
24575  ac_cv_lib_cdata_libcdata_array_reverse=no
24576fi
24577rm -f core conftest.err conftest.$ac_objext \
24578    conftest$ac_exeext conftest.$ac_ext
24579LIBS=$ac_check_lib_save_LIBS
24580fi
24581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5
24582$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; }
24583if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then :
24584  ac_cv_libcdata_dummy=yes
24585else
24586  ac_cv_libcdata=no
24587fi
24588
24589        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5
24590$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; }
24591if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then :
24592  $as_echo_n "(cached) " >&6
24593else
24594  ac_check_lib_save_LIBS=$LIBS
24595LIBS="-lcdata  $LIBS"
24596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597/* end confdefs.h.  */
24598
24599/* Override any GCC internal prototype to avoid an error.
24600   Use char because int might match the return type of a GCC
24601   builtin and then its argument prototype would still apply.  */
24602#ifdef __cplusplus
24603extern "C"
24604#endif
24605char libcdata_array_get_number_of_entries ();
24606int
24607main ()
24608{
24609return libcdata_array_get_number_of_entries ();
24610  ;
24611  return 0;
24612}
24613_ACEOF
24614if ac_fn_c_try_link "$LINENO"; then :
24615  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes
24616else
24617  ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no
24618fi
24619rm -f core conftest.err conftest.$ac_objext \
24620    conftest$ac_exeext conftest.$ac_ext
24621LIBS=$ac_check_lib_save_LIBS
24622fi
24623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5
24624$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; }
24625if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then :
24626  ac_cv_libcdata_dummy=yes
24627else
24628  ac_cv_libcdata=no
24629fi
24630
24631        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5
24632$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; }
24633if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then :
24634  $as_echo_n "(cached) " >&6
24635else
24636  ac_check_lib_save_LIBS=$LIBS
24637LIBS="-lcdata  $LIBS"
24638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24639/* end confdefs.h.  */
24640
24641/* Override any GCC internal prototype to avoid an error.
24642   Use char because int might match the return type of a GCC
24643   builtin and then its argument prototype would still apply.  */
24644#ifdef __cplusplus
24645extern "C"
24646#endif
24647char libcdata_array_get_entry_by_index ();
24648int
24649main ()
24650{
24651return libcdata_array_get_entry_by_index ();
24652  ;
24653  return 0;
24654}
24655_ACEOF
24656if ac_fn_c_try_link "$LINENO"; then :
24657  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes
24658else
24659  ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no
24660fi
24661rm -f core conftest.err conftest.$ac_objext \
24662    conftest$ac_exeext conftest.$ac_ext
24663LIBS=$ac_check_lib_save_LIBS
24664fi
24665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5
24666$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; }
24667if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then :
24668  ac_cv_libcdata_dummy=yes
24669else
24670  ac_cv_libcdata=no
24671fi
24672
24673        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5
24674$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; }
24675if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then :
24676  $as_echo_n "(cached) " >&6
24677else
24678  ac_check_lib_save_LIBS=$LIBS
24679LIBS="-lcdata  $LIBS"
24680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24681/* end confdefs.h.  */
24682
24683/* Override any GCC internal prototype to avoid an error.
24684   Use char because int might match the return type of a GCC
24685   builtin and then its argument prototype would still apply.  */
24686#ifdef __cplusplus
24687extern "C"
24688#endif
24689char libcdata_array_get_entry_by_value ();
24690int
24691main ()
24692{
24693return libcdata_array_get_entry_by_value ();
24694  ;
24695  return 0;
24696}
24697_ACEOF
24698if ac_fn_c_try_link "$LINENO"; then :
24699  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes
24700else
24701  ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no
24702fi
24703rm -f core conftest.err conftest.$ac_objext \
24704    conftest$ac_exeext conftest.$ac_ext
24705LIBS=$ac_check_lib_save_LIBS
24706fi
24707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5
24708$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; }
24709if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then :
24710  ac_cv_libcdata_dummy=yes
24711else
24712  ac_cv_libcdata=no
24713fi
24714
24715        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5
24716$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; }
24717if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then :
24718  $as_echo_n "(cached) " >&6
24719else
24720  ac_check_lib_save_LIBS=$LIBS
24721LIBS="-lcdata  $LIBS"
24722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24723/* end confdefs.h.  */
24724
24725/* Override any GCC internal prototype to avoid an error.
24726   Use char because int might match the return type of a GCC
24727   builtin and then its argument prototype would still apply.  */
24728#ifdef __cplusplus
24729extern "C"
24730#endif
24731char libcdata_array_set_entry_by_index ();
24732int
24733main ()
24734{
24735return libcdata_array_set_entry_by_index ();
24736  ;
24737  return 0;
24738}
24739_ACEOF
24740if ac_fn_c_try_link "$LINENO"; then :
24741  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes
24742else
24743  ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no
24744fi
24745rm -f core conftest.err conftest.$ac_objext \
24746    conftest$ac_exeext conftest.$ac_ext
24747LIBS=$ac_check_lib_save_LIBS
24748fi
24749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5
24750$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; }
24751if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then :
24752  ac_cv_libcdata_dummy=yes
24753else
24754  ac_cv_libcdata=no
24755fi
24756
24757        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5
24758$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; }
24759if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then :
24760  $as_echo_n "(cached) " >&6
24761else
24762  ac_check_lib_save_LIBS=$LIBS
24763LIBS="-lcdata  $LIBS"
24764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24765/* end confdefs.h.  */
24766
24767/* Override any GCC internal prototype to avoid an error.
24768   Use char because int might match the return type of a GCC
24769   builtin and then its argument prototype would still apply.  */
24770#ifdef __cplusplus
24771extern "C"
24772#endif
24773char libcdata_array_prepend_entry ();
24774int
24775main ()
24776{
24777return libcdata_array_prepend_entry ();
24778  ;
24779  return 0;
24780}
24781_ACEOF
24782if ac_fn_c_try_link "$LINENO"; then :
24783  ac_cv_lib_cdata_libcdata_array_prepend_entry=yes
24784else
24785  ac_cv_lib_cdata_libcdata_array_prepend_entry=no
24786fi
24787rm -f core conftest.err conftest.$ac_objext \
24788    conftest$ac_exeext conftest.$ac_ext
24789LIBS=$ac_check_lib_save_LIBS
24790fi
24791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5
24792$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; }
24793if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then :
24794  ac_cv_libcdata_dummy=yes
24795else
24796  ac_cv_libcdata=no
24797fi
24798
24799        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5
24800$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; }
24801if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then :
24802  $as_echo_n "(cached) " >&6
24803else
24804  ac_check_lib_save_LIBS=$LIBS
24805LIBS="-lcdata  $LIBS"
24806cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24807/* end confdefs.h.  */
24808
24809/* Override any GCC internal prototype to avoid an error.
24810   Use char because int might match the return type of a GCC
24811   builtin and then its argument prototype would still apply.  */
24812#ifdef __cplusplus
24813extern "C"
24814#endif
24815char libcdata_array_append_entry ();
24816int
24817main ()
24818{
24819return libcdata_array_append_entry ();
24820  ;
24821  return 0;
24822}
24823_ACEOF
24824if ac_fn_c_try_link "$LINENO"; then :
24825  ac_cv_lib_cdata_libcdata_array_append_entry=yes
24826else
24827  ac_cv_lib_cdata_libcdata_array_append_entry=no
24828fi
24829rm -f core conftest.err conftest.$ac_objext \
24830    conftest$ac_exeext conftest.$ac_ext
24831LIBS=$ac_check_lib_save_LIBS
24832fi
24833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5
24834$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; }
24835if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then :
24836  ac_cv_libcdata_dummy=yes
24837else
24838  ac_cv_libcdata=no
24839fi
24840
24841        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5
24842$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; }
24843if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then :
24844  $as_echo_n "(cached) " >&6
24845else
24846  ac_check_lib_save_LIBS=$LIBS
24847LIBS="-lcdata  $LIBS"
24848cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24849/* end confdefs.h.  */
24850
24851/* Override any GCC internal prototype to avoid an error.
24852   Use char because int might match the return type of a GCC
24853   builtin and then its argument prototype would still apply.  */
24854#ifdef __cplusplus
24855extern "C"
24856#endif
24857char libcdata_array_insert_entry ();
24858int
24859main ()
24860{
24861return libcdata_array_insert_entry ();
24862  ;
24863  return 0;
24864}
24865_ACEOF
24866if ac_fn_c_try_link "$LINENO"; then :
24867  ac_cv_lib_cdata_libcdata_array_insert_entry=yes
24868else
24869  ac_cv_lib_cdata_libcdata_array_insert_entry=no
24870fi
24871rm -f core conftest.err conftest.$ac_objext \
24872    conftest$ac_exeext conftest.$ac_ext
24873LIBS=$ac_check_lib_save_LIBS
24874fi
24875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5
24876$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; }
24877if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then :
24878  ac_cv_libcdata_dummy=yes
24879else
24880  ac_cv_libcdata=no
24881fi
24882
24883        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5
24884$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; }
24885if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then :
24886  $as_echo_n "(cached) " >&6
24887else
24888  ac_check_lib_save_LIBS=$LIBS
24889LIBS="-lcdata  $LIBS"
24890cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24891/* end confdefs.h.  */
24892
24893/* Override any GCC internal prototype to avoid an error.
24894   Use char because int might match the return type of a GCC
24895   builtin and then its argument prototype would still apply.  */
24896#ifdef __cplusplus
24897extern "C"
24898#endif
24899char libcdata_array_remove_entry ();
24900int
24901main ()
24902{
24903return libcdata_array_remove_entry ();
24904  ;
24905  return 0;
24906}
24907_ACEOF
24908if ac_fn_c_try_link "$LINENO"; then :
24909  ac_cv_lib_cdata_libcdata_array_remove_entry=yes
24910else
24911  ac_cv_lib_cdata_libcdata_array_remove_entry=no
24912fi
24913rm -f core conftest.err conftest.$ac_objext \
24914    conftest$ac_exeext conftest.$ac_ext
24915LIBS=$ac_check_lib_save_LIBS
24916fi
24917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5
24918$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; }
24919if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then :
24920  ac_cv_libcdata_dummy=yes
24921else
24922  ac_cv_libcdata=no
24923fi
24924
24925
24926                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5
24927$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; }
24928if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then :
24929  $as_echo_n "(cached) " >&6
24930else
24931  ac_check_lib_save_LIBS=$LIBS
24932LIBS="-lcdata  $LIBS"
24933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24934/* end confdefs.h.  */
24935
24936/* Override any GCC internal prototype to avoid an error.
24937   Use char because int might match the return type of a GCC
24938   builtin and then its argument prototype would still apply.  */
24939#ifdef __cplusplus
24940extern "C"
24941#endif
24942char libfdata_btree_initialize ();
24943int
24944main ()
24945{
24946return libfdata_btree_initialize ();
24947  ;
24948  return 0;
24949}
24950_ACEOF
24951if ac_fn_c_try_link "$LINENO"; then :
24952  ac_cv_lib_cdata_libfdata_btree_initialize=yes
24953else
24954  ac_cv_lib_cdata_libfdata_btree_initialize=no
24955fi
24956rm -f core conftest.err conftest.$ac_objext \
24957    conftest$ac_exeext conftest.$ac_ext
24958LIBS=$ac_check_lib_save_LIBS
24959fi
24960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5
24961$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; }
24962if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then :
24963  ac_cv_libcdata_dummy=yes
24964else
24965  ac_cv_libcdata=no
24966fi
24967
24968        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5
24969$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; }
24970if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then :
24971  $as_echo_n "(cached) " >&6
24972else
24973  ac_check_lib_save_LIBS=$LIBS
24974LIBS="-lcdata  $LIBS"
24975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24976/* end confdefs.h.  */
24977
24978/* Override any GCC internal prototype to avoid an error.
24979   Use char because int might match the return type of a GCC
24980   builtin and then its argument prototype would still apply.  */
24981#ifdef __cplusplus
24982extern "C"
24983#endif
24984char libcdata_btree_free ();
24985int
24986main ()
24987{
24988return libcdata_btree_free ();
24989  ;
24990  return 0;
24991}
24992_ACEOF
24993if ac_fn_c_try_link "$LINENO"; then :
24994  ac_cv_lib_cdata_libcdata_btree_free=yes
24995else
24996  ac_cv_lib_cdata_libcdata_btree_free=no
24997fi
24998rm -f core conftest.err conftest.$ac_objext \
24999    conftest$ac_exeext conftest.$ac_ext
25000LIBS=$ac_check_lib_save_LIBS
25001fi
25002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5
25003$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; }
25004if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then :
25005  ac_cv_libcdata_dummy=yes
25006else
25007  ac_cv_libcdata=no
25008fi
25009
25010        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5
25011$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; }
25012if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then :
25013  $as_echo_n "(cached) " >&6
25014else
25015  ac_check_lib_save_LIBS=$LIBS
25016LIBS="-lcdata  $LIBS"
25017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25018/* end confdefs.h.  */
25019
25020/* Override any GCC internal prototype to avoid an error.
25021   Use char because int might match the return type of a GCC
25022   builtin and then its argument prototype would still apply.  */
25023#ifdef __cplusplus
25024extern "C"
25025#endif
25026char libcdata_btree_get_number_of_values ();
25027int
25028main ()
25029{
25030return libcdata_btree_get_number_of_values ();
25031  ;
25032  return 0;
25033}
25034_ACEOF
25035if ac_fn_c_try_link "$LINENO"; then :
25036  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes
25037else
25038  ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no
25039fi
25040rm -f core conftest.err conftest.$ac_objext \
25041    conftest$ac_exeext conftest.$ac_ext
25042LIBS=$ac_check_lib_save_LIBS
25043fi
25044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5
25045$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; }
25046if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then :
25047  ac_cv_libcdata_dummy=yes
25048else
25049  ac_cv_libcdata=no
25050fi
25051
25052        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5
25053$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; }
25054if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then :
25055  $as_echo_n "(cached) " >&6
25056else
25057  ac_check_lib_save_LIBS=$LIBS
25058LIBS="-lcdata  $LIBS"
25059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25060/* end confdefs.h.  */
25061
25062/* Override any GCC internal prototype to avoid an error.
25063   Use char because int might match the return type of a GCC
25064   builtin and then its argument prototype would still apply.  */
25065#ifdef __cplusplus
25066extern "C"
25067#endif
25068char libcdata_btree_get_value_by_index ();
25069int
25070main ()
25071{
25072return libcdata_btree_get_value_by_index ();
25073  ;
25074  return 0;
25075}
25076_ACEOF
25077if ac_fn_c_try_link "$LINENO"; then :
25078  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes
25079else
25080  ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no
25081fi
25082rm -f core conftest.err conftest.$ac_objext \
25083    conftest$ac_exeext conftest.$ac_ext
25084LIBS=$ac_check_lib_save_LIBS
25085fi
25086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5
25087$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; }
25088if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then :
25089  ac_cv_libcdata_dummy=yes
25090else
25091  ac_cv_libcdata=no
25092fi
25093
25094        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5
25095$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; }
25096if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then :
25097  $as_echo_n "(cached) " >&6
25098else
25099  ac_check_lib_save_LIBS=$LIBS
25100LIBS="-lcdata  $LIBS"
25101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25102/* end confdefs.h.  */
25103
25104/* Override any GCC internal prototype to avoid an error.
25105   Use char because int might match the return type of a GCC
25106   builtin and then its argument prototype would still apply.  */
25107#ifdef __cplusplus
25108extern "C"
25109#endif
25110char libcdata_btree_get_value_by_value ();
25111int
25112main ()
25113{
25114return libcdata_btree_get_value_by_value ();
25115  ;
25116  return 0;
25117}
25118_ACEOF
25119if ac_fn_c_try_link "$LINENO"; then :
25120  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes
25121else
25122  ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no
25123fi
25124rm -f core conftest.err conftest.$ac_objext \
25125    conftest$ac_exeext conftest.$ac_ext
25126LIBS=$ac_check_lib_save_LIBS
25127fi
25128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5
25129$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; }
25130if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then :
25131  ac_cv_libcdata_dummy=yes
25132else
25133  ac_cv_libcdata=no
25134fi
25135
25136        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5
25137$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; }
25138if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then :
25139  $as_echo_n "(cached) " >&6
25140else
25141  ac_check_lib_save_LIBS=$LIBS
25142LIBS="-lcdata  $LIBS"
25143cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144/* end confdefs.h.  */
25145
25146/* Override any GCC internal prototype to avoid an error.
25147   Use char because int might match the return type of a GCC
25148   builtin and then its argument prototype would still apply.  */
25149#ifdef __cplusplus
25150extern "C"
25151#endif
25152char libcdata_btree_insert_value ();
25153int
25154main ()
25155{
25156return libcdata_btree_insert_value ();
25157  ;
25158  return 0;
25159}
25160_ACEOF
25161if ac_fn_c_try_link "$LINENO"; then :
25162  ac_cv_lib_cdata_libcdata_btree_insert_value=yes
25163else
25164  ac_cv_lib_cdata_libcdata_btree_insert_value=no
25165fi
25166rm -f core conftest.err conftest.$ac_objext \
25167    conftest$ac_exeext conftest.$ac_ext
25168LIBS=$ac_check_lib_save_LIBS
25169fi
25170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5
25171$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; }
25172if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then :
25173  ac_cv_libcdata_dummy=yes
25174else
25175  ac_cv_libcdata=no
25176fi
25177
25178        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5
25179$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; }
25180if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then :
25181  $as_echo_n "(cached) " >&6
25182else
25183  ac_check_lib_save_LIBS=$LIBS
25184LIBS="-lcdata  $LIBS"
25185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25186/* end confdefs.h.  */
25187
25188/* Override any GCC internal prototype to avoid an error.
25189   Use char because int might match the return type of a GCC
25190   builtin and then its argument prototype would still apply.  */
25191#ifdef __cplusplus
25192extern "C"
25193#endif
25194char libcdata_btree_replace_value ();
25195int
25196main ()
25197{
25198return libcdata_btree_replace_value ();
25199  ;
25200  return 0;
25201}
25202_ACEOF
25203if ac_fn_c_try_link "$LINENO"; then :
25204  ac_cv_lib_cdata_libcdata_btree_replace_value=yes
25205else
25206  ac_cv_lib_cdata_libcdata_btree_replace_value=no
25207fi
25208rm -f core conftest.err conftest.$ac_objext \
25209    conftest$ac_exeext conftest.$ac_ext
25210LIBS=$ac_check_lib_save_LIBS
25211fi
25212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5
25213$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; }
25214if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then :
25215  ac_cv_libcdata_dummy=yes
25216else
25217  ac_cv_libcdata=no
25218fi
25219
25220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5
25221$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; }
25222if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then :
25223  $as_echo_n "(cached) " >&6
25224else
25225  ac_check_lib_save_LIBS=$LIBS
25226LIBS="-lcdata  $LIBS"
25227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25228/* end confdefs.h.  */
25229
25230/* Override any GCC internal prototype to avoid an error.
25231   Use char because int might match the return type of a GCC
25232   builtin and then its argument prototype would still apply.  */
25233#ifdef __cplusplus
25234extern "C"
25235#endif
25236char libcdata_btree_remove_value ();
25237int
25238main ()
25239{
25240return libcdata_btree_remove_value ();
25241  ;
25242  return 0;
25243}
25244_ACEOF
25245if ac_fn_c_try_link "$LINENO"; then :
25246  ac_cv_lib_cdata_libcdata_btree_remove_value=yes
25247else
25248  ac_cv_lib_cdata_libcdata_btree_remove_value=no
25249fi
25250rm -f core conftest.err conftest.$ac_objext \
25251    conftest$ac_exeext conftest.$ac_ext
25252LIBS=$ac_check_lib_save_LIBS
25253fi
25254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5
25255$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; }
25256if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then :
25257  ac_cv_libcdata_dummy=yes
25258else
25259  ac_cv_libcdata=no
25260fi
25261
25262
25263                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5
25264$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; }
25265if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then :
25266  $as_echo_n "(cached) " >&6
25267else
25268  ac_check_lib_save_LIBS=$LIBS
25269LIBS="-lcdata  $LIBS"
25270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271/* end confdefs.h.  */
25272
25273/* Override any GCC internal prototype to avoid an error.
25274   Use char because int might match the return type of a GCC
25275   builtin and then its argument prototype would still apply.  */
25276#ifdef __cplusplus
25277extern "C"
25278#endif
25279char libcdata_list_initialize ();
25280int
25281main ()
25282{
25283return libcdata_list_initialize ();
25284  ;
25285  return 0;
25286}
25287_ACEOF
25288if ac_fn_c_try_link "$LINENO"; then :
25289  ac_cv_lib_cdata_libcdata_list_initialize=yes
25290else
25291  ac_cv_lib_cdata_libcdata_list_initialize=no
25292fi
25293rm -f core conftest.err conftest.$ac_objext \
25294    conftest$ac_exeext conftest.$ac_ext
25295LIBS=$ac_check_lib_save_LIBS
25296fi
25297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5
25298$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; }
25299if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then :
25300  ac_cv_libcdata_dummy=yes
25301else
25302  ac_cv_libcdata=no
25303fi
25304
25305        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5
25306$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; }
25307if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then :
25308  $as_echo_n "(cached) " >&6
25309else
25310  ac_check_lib_save_LIBS=$LIBS
25311LIBS="-lcdata  $LIBS"
25312cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25313/* end confdefs.h.  */
25314
25315/* Override any GCC internal prototype to avoid an error.
25316   Use char because int might match the return type of a GCC
25317   builtin and then its argument prototype would still apply.  */
25318#ifdef __cplusplus
25319extern "C"
25320#endif
25321char libcdata_list_free ();
25322int
25323main ()
25324{
25325return libcdata_list_free ();
25326  ;
25327  return 0;
25328}
25329_ACEOF
25330if ac_fn_c_try_link "$LINENO"; then :
25331  ac_cv_lib_cdata_libcdata_list_free=yes
25332else
25333  ac_cv_lib_cdata_libcdata_list_free=no
25334fi
25335rm -f core conftest.err conftest.$ac_objext \
25336    conftest$ac_exeext conftest.$ac_ext
25337LIBS=$ac_check_lib_save_LIBS
25338fi
25339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5
25340$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; }
25341if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then :
25342  ac_cv_libcdata_dummy=yes
25343else
25344  ac_cv_libcdata=no
25345fi
25346
25347        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5
25348$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; }
25349if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then :
25350  $as_echo_n "(cached) " >&6
25351else
25352  ac_check_lib_save_LIBS=$LIBS
25353LIBS="-lcdata  $LIBS"
25354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25355/* end confdefs.h.  */
25356
25357/* Override any GCC internal prototype to avoid an error.
25358   Use char because int might match the return type of a GCC
25359   builtin and then its argument prototype would still apply.  */
25360#ifdef __cplusplus
25361extern "C"
25362#endif
25363char libcdata_list_empty ();
25364int
25365main ()
25366{
25367return libcdata_list_empty ();
25368  ;
25369  return 0;
25370}
25371_ACEOF
25372if ac_fn_c_try_link "$LINENO"; then :
25373  ac_cv_lib_cdata_libcdata_list_empty=yes
25374else
25375  ac_cv_lib_cdata_libcdata_list_empty=no
25376fi
25377rm -f core conftest.err conftest.$ac_objext \
25378    conftest$ac_exeext conftest.$ac_ext
25379LIBS=$ac_check_lib_save_LIBS
25380fi
25381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5
25382$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; }
25383if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then :
25384  ac_cv_libcdata_dummy=yes
25385else
25386  ac_cv_libcdata=no
25387fi
25388
25389        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5
25390$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; }
25391if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then :
25392  $as_echo_n "(cached) " >&6
25393else
25394  ac_check_lib_save_LIBS=$LIBS
25395LIBS="-lcdata  $LIBS"
25396cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25397/* end confdefs.h.  */
25398
25399/* Override any GCC internal prototype to avoid an error.
25400   Use char because int might match the return type of a GCC
25401   builtin and then its argument prototype would still apply.  */
25402#ifdef __cplusplus
25403extern "C"
25404#endif
25405char libcdata_list_clone ();
25406int
25407main ()
25408{
25409return libcdata_list_clone ();
25410  ;
25411  return 0;
25412}
25413_ACEOF
25414if ac_fn_c_try_link "$LINENO"; then :
25415  ac_cv_lib_cdata_libcdata_list_clone=yes
25416else
25417  ac_cv_lib_cdata_libcdata_list_clone=no
25418fi
25419rm -f core conftest.err conftest.$ac_objext \
25420    conftest$ac_exeext conftest.$ac_ext
25421LIBS=$ac_check_lib_save_LIBS
25422fi
25423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5
25424$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; }
25425if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then :
25426  ac_cv_libcdata_dummy=yes
25427else
25428  ac_cv_libcdata=no
25429fi
25430
25431        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5
25432$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; }
25433if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then :
25434  $as_echo_n "(cached) " >&6
25435else
25436  ac_check_lib_save_LIBS=$LIBS
25437LIBS="-lcdata  $LIBS"
25438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25439/* end confdefs.h.  */
25440
25441/* Override any GCC internal prototype to avoid an error.
25442   Use char because int might match the return type of a GCC
25443   builtin and then its argument prototype would still apply.  */
25444#ifdef __cplusplus
25445extern "C"
25446#endif
25447char libcdata_list_get_number_of_elements ();
25448int
25449main ()
25450{
25451return libcdata_list_get_number_of_elements ();
25452  ;
25453  return 0;
25454}
25455_ACEOF
25456if ac_fn_c_try_link "$LINENO"; then :
25457  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes
25458else
25459  ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no
25460fi
25461rm -f core conftest.err conftest.$ac_objext \
25462    conftest$ac_exeext conftest.$ac_ext
25463LIBS=$ac_check_lib_save_LIBS
25464fi
25465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5
25466$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; }
25467if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then :
25468  ac_cv_libcdata_dummy=yes
25469else
25470  ac_cv_libcdata=no
25471fi
25472
25473        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5
25474$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; }
25475if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then :
25476  $as_echo_n "(cached) " >&6
25477else
25478  ac_check_lib_save_LIBS=$LIBS
25479LIBS="-lcdata  $LIBS"
25480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25481/* end confdefs.h.  */
25482
25483/* Override any GCC internal prototype to avoid an error.
25484   Use char because int might match the return type of a GCC
25485   builtin and then its argument prototype would still apply.  */
25486#ifdef __cplusplus
25487extern "C"
25488#endif
25489char libcdata_list_get_first_element ();
25490int
25491main ()
25492{
25493return libcdata_list_get_first_element ();
25494  ;
25495  return 0;
25496}
25497_ACEOF
25498if ac_fn_c_try_link "$LINENO"; then :
25499  ac_cv_lib_cdata_libcdata_list_get_first_element=yes
25500else
25501  ac_cv_lib_cdata_libcdata_list_get_first_element=no
25502fi
25503rm -f core conftest.err conftest.$ac_objext \
25504    conftest$ac_exeext conftest.$ac_ext
25505LIBS=$ac_check_lib_save_LIBS
25506fi
25507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5
25508$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; }
25509if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then :
25510  ac_cv_libcdata_dummy=yes
25511else
25512  ac_cv_libcdata=no
25513fi
25514
25515        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5
25516$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; }
25517if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then :
25518  $as_echo_n "(cached) " >&6
25519else
25520  ac_check_lib_save_LIBS=$LIBS
25521LIBS="-lcdata  $LIBS"
25522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25523/* end confdefs.h.  */
25524
25525/* Override any GCC internal prototype to avoid an error.
25526   Use char because int might match the return type of a GCC
25527   builtin and then its argument prototype would still apply.  */
25528#ifdef __cplusplus
25529extern "C"
25530#endif
25531char libcdata_list_get_last_element ();
25532int
25533main ()
25534{
25535return libcdata_list_get_last_element ();
25536  ;
25537  return 0;
25538}
25539_ACEOF
25540if ac_fn_c_try_link "$LINENO"; then :
25541  ac_cv_lib_cdata_libcdata_list_get_last_element=yes
25542else
25543  ac_cv_lib_cdata_libcdata_list_get_last_element=no
25544fi
25545rm -f core conftest.err conftest.$ac_objext \
25546    conftest$ac_exeext conftest.$ac_ext
25547LIBS=$ac_check_lib_save_LIBS
25548fi
25549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5
25550$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; }
25551if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then :
25552  ac_cv_libcdata_dummy=yes
25553else
25554  ac_cv_libcdata=no
25555fi
25556
25557        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5
25558$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; }
25559if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then :
25560  $as_echo_n "(cached) " >&6
25561else
25562  ac_check_lib_save_LIBS=$LIBS
25563LIBS="-lcdata  $LIBS"
25564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25565/* end confdefs.h.  */
25566
25567/* Override any GCC internal prototype to avoid an error.
25568   Use char because int might match the return type of a GCC
25569   builtin and then its argument prototype would still apply.  */
25570#ifdef __cplusplus
25571extern "C"
25572#endif
25573char libcdata_list_get_element_by_index ();
25574int
25575main ()
25576{
25577return libcdata_list_get_element_by_index ();
25578  ;
25579  return 0;
25580}
25581_ACEOF
25582if ac_fn_c_try_link "$LINENO"; then :
25583  ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes
25584else
25585  ac_cv_lib_cdata_libcdata_list_get_element_by_index=no
25586fi
25587rm -f core conftest.err conftest.$ac_objext \
25588    conftest$ac_exeext conftest.$ac_ext
25589LIBS=$ac_check_lib_save_LIBS
25590fi
25591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5
25592$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; }
25593if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then :
25594  ac_cv_libcdata_dummy=yes
25595else
25596  ac_cv_libcdata=no
25597fi
25598
25599        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5
25600$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; }
25601if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then :
25602  $as_echo_n "(cached) " >&6
25603else
25604  ac_check_lib_save_LIBS=$LIBS
25605LIBS="-lcdata  $LIBS"
25606cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25607/* end confdefs.h.  */
25608
25609/* Override any GCC internal prototype to avoid an error.
25610   Use char because int might match the return type of a GCC
25611   builtin and then its argument prototype would still apply.  */
25612#ifdef __cplusplus
25613extern "C"
25614#endif
25615char libcdata_list_get_value_by_index ();
25616int
25617main ()
25618{
25619return libcdata_list_get_value_by_index ();
25620  ;
25621  return 0;
25622}
25623_ACEOF
25624if ac_fn_c_try_link "$LINENO"; then :
25625  ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes
25626else
25627  ac_cv_lib_cdata_libcdata_list_get_value_by_index=no
25628fi
25629rm -f core conftest.err conftest.$ac_objext \
25630    conftest$ac_exeext conftest.$ac_ext
25631LIBS=$ac_check_lib_save_LIBS
25632fi
25633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5
25634$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; }
25635if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then :
25636  ac_cv_libcdata_dummy=yes
25637else
25638  ac_cv_libcdata=no
25639fi
25640
25641        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5
25642$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; }
25643if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then :
25644  $as_echo_n "(cached) " >&6
25645else
25646  ac_check_lib_save_LIBS=$LIBS
25647LIBS="-lcdata  $LIBS"
25648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25649/* end confdefs.h.  */
25650
25651/* Override any GCC internal prototype to avoid an error.
25652   Use char because int might match the return type of a GCC
25653   builtin and then its argument prototype would still apply.  */
25654#ifdef __cplusplus
25655extern "C"
25656#endif
25657char libcdata_list_prepend_element ();
25658int
25659main ()
25660{
25661return libcdata_list_prepend_element ();
25662  ;
25663  return 0;
25664}
25665_ACEOF
25666if ac_fn_c_try_link "$LINENO"; then :
25667  ac_cv_lib_cdata_libcdata_list_prepend_element=yes
25668else
25669  ac_cv_lib_cdata_libcdata_list_prepend_element=no
25670fi
25671rm -f core conftest.err conftest.$ac_objext \
25672    conftest$ac_exeext conftest.$ac_ext
25673LIBS=$ac_check_lib_save_LIBS
25674fi
25675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5
25676$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; }
25677if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then :
25678  ac_cv_libcdata_dummy=yes
25679else
25680  ac_cv_libcdata=no
25681fi
25682
25683        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5
25684$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; }
25685if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then :
25686  $as_echo_n "(cached) " >&6
25687else
25688  ac_check_lib_save_LIBS=$LIBS
25689LIBS="-lcdata  $LIBS"
25690cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25691/* end confdefs.h.  */
25692
25693/* Override any GCC internal prototype to avoid an error.
25694   Use char because int might match the return type of a GCC
25695   builtin and then its argument prototype would still apply.  */
25696#ifdef __cplusplus
25697extern "C"
25698#endif
25699char libcdata_list_prepend_value ();
25700int
25701main ()
25702{
25703return libcdata_list_prepend_value ();
25704  ;
25705  return 0;
25706}
25707_ACEOF
25708if ac_fn_c_try_link "$LINENO"; then :
25709  ac_cv_lib_cdata_libcdata_list_prepend_value=yes
25710else
25711  ac_cv_lib_cdata_libcdata_list_prepend_value=no
25712fi
25713rm -f core conftest.err conftest.$ac_objext \
25714    conftest$ac_exeext conftest.$ac_ext
25715LIBS=$ac_check_lib_save_LIBS
25716fi
25717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5
25718$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; }
25719if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then :
25720  ac_cv_libcdata_dummy=yes
25721else
25722  ac_cv_libcdata=no
25723fi
25724
25725        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5
25726$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; }
25727if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then :
25728  $as_echo_n "(cached) " >&6
25729else
25730  ac_check_lib_save_LIBS=$LIBS
25731LIBS="-lcdata  $LIBS"
25732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25733/* end confdefs.h.  */
25734
25735/* Override any GCC internal prototype to avoid an error.
25736   Use char because int might match the return type of a GCC
25737   builtin and then its argument prototype would still apply.  */
25738#ifdef __cplusplus
25739extern "C"
25740#endif
25741char libcdata_list_append_element ();
25742int
25743main ()
25744{
25745return libcdata_list_append_element ();
25746  ;
25747  return 0;
25748}
25749_ACEOF
25750if ac_fn_c_try_link "$LINENO"; then :
25751  ac_cv_lib_cdata_libcdata_list_append_element=yes
25752else
25753  ac_cv_lib_cdata_libcdata_list_append_element=no
25754fi
25755rm -f core conftest.err conftest.$ac_objext \
25756    conftest$ac_exeext conftest.$ac_ext
25757LIBS=$ac_check_lib_save_LIBS
25758fi
25759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5
25760$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; }
25761if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then :
25762  ac_cv_libcdata_dummy=yes
25763else
25764  ac_cv_libcdata=no
25765fi
25766
25767        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5
25768$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; }
25769if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then :
25770  $as_echo_n "(cached) " >&6
25771else
25772  ac_check_lib_save_LIBS=$LIBS
25773LIBS="-lcdata  $LIBS"
25774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25775/* end confdefs.h.  */
25776
25777/* Override any GCC internal prototype to avoid an error.
25778   Use char because int might match the return type of a GCC
25779   builtin and then its argument prototype would still apply.  */
25780#ifdef __cplusplus
25781extern "C"
25782#endif
25783char libcdata_list_append_value ();
25784int
25785main ()
25786{
25787return libcdata_list_append_value ();
25788  ;
25789  return 0;
25790}
25791_ACEOF
25792if ac_fn_c_try_link "$LINENO"; then :
25793  ac_cv_lib_cdata_libcdata_list_append_value=yes
25794else
25795  ac_cv_lib_cdata_libcdata_list_append_value=no
25796fi
25797rm -f core conftest.err conftest.$ac_objext \
25798    conftest$ac_exeext conftest.$ac_ext
25799LIBS=$ac_check_lib_save_LIBS
25800fi
25801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5
25802$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; }
25803if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then :
25804  ac_cv_libcdata_dummy=yes
25805else
25806  ac_cv_libcdata=no
25807fi
25808
25809        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5
25810$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; }
25811if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then :
25812  $as_echo_n "(cached) " >&6
25813else
25814  ac_check_lib_save_LIBS=$LIBS
25815LIBS="-lcdata  $LIBS"
25816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25817/* end confdefs.h.  */
25818
25819/* Override any GCC internal prototype to avoid an error.
25820   Use char because int might match the return type of a GCC
25821   builtin and then its argument prototype would still apply.  */
25822#ifdef __cplusplus
25823extern "C"
25824#endif
25825char libcdata_list_insert_element ();
25826int
25827main ()
25828{
25829return libcdata_list_insert_element ();
25830  ;
25831  return 0;
25832}
25833_ACEOF
25834if ac_fn_c_try_link "$LINENO"; then :
25835  ac_cv_lib_cdata_libcdata_list_insert_element=yes
25836else
25837  ac_cv_lib_cdata_libcdata_list_insert_element=no
25838fi
25839rm -f core conftest.err conftest.$ac_objext \
25840    conftest$ac_exeext conftest.$ac_ext
25841LIBS=$ac_check_lib_save_LIBS
25842fi
25843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5
25844$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; }
25845if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then :
25846  ac_cv_libcdata_dummy=yes
25847else
25848  ac_cv_libcdata=no
25849fi
25850
25851        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5
25852$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; }
25853if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then :
25854  $as_echo_n "(cached) " >&6
25855else
25856  ac_check_lib_save_LIBS=$LIBS
25857LIBS="-lcdata  $LIBS"
25858cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25859/* end confdefs.h.  */
25860
25861/* Override any GCC internal prototype to avoid an error.
25862   Use char because int might match the return type of a GCC
25863   builtin and then its argument prototype would still apply.  */
25864#ifdef __cplusplus
25865extern "C"
25866#endif
25867char libcdata_list_insert_value ();
25868int
25869main ()
25870{
25871return libcdata_list_insert_value ();
25872  ;
25873  return 0;
25874}
25875_ACEOF
25876if ac_fn_c_try_link "$LINENO"; then :
25877  ac_cv_lib_cdata_libcdata_list_insert_value=yes
25878else
25879  ac_cv_lib_cdata_libcdata_list_insert_value=no
25880fi
25881rm -f core conftest.err conftest.$ac_objext \
25882    conftest$ac_exeext conftest.$ac_ext
25883LIBS=$ac_check_lib_save_LIBS
25884fi
25885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5
25886$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; }
25887if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then :
25888  ac_cv_libcdata_dummy=yes
25889else
25890  ac_cv_libcdata=no
25891fi
25892
25893        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5
25894$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; }
25895if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then :
25896  $as_echo_n "(cached) " >&6
25897else
25898  ac_check_lib_save_LIBS=$LIBS
25899LIBS="-lcdata  $LIBS"
25900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25901/* end confdefs.h.  */
25902
25903/* Override any GCC internal prototype to avoid an error.
25904   Use char because int might match the return type of a GCC
25905   builtin and then its argument prototype would still apply.  */
25906#ifdef __cplusplus
25907extern "C"
25908#endif
25909char libcdata_list_remove_element ();
25910int
25911main ()
25912{
25913return libcdata_list_remove_element ();
25914  ;
25915  return 0;
25916}
25917_ACEOF
25918if ac_fn_c_try_link "$LINENO"; then :
25919  ac_cv_lib_cdata_libcdata_list_remove_element=yes
25920else
25921  ac_cv_lib_cdata_libcdata_list_remove_element=no
25922fi
25923rm -f core conftest.err conftest.$ac_objext \
25924    conftest$ac_exeext conftest.$ac_ext
25925LIBS=$ac_check_lib_save_LIBS
25926fi
25927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5
25928$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; }
25929if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then :
25930  ac_cv_libcdata_dummy=yes
25931else
25932  ac_cv_libcdata=no
25933fi
25934
25935
25936                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5
25937$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; }
25938if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then :
25939  $as_echo_n "(cached) " >&6
25940else
25941  ac_check_lib_save_LIBS=$LIBS
25942LIBS="-lcdata  $LIBS"
25943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25944/* end confdefs.h.  */
25945
25946/* Override any GCC internal prototype to avoid an error.
25947   Use char because int might match the return type of a GCC
25948   builtin and then its argument prototype would still apply.  */
25949#ifdef __cplusplus
25950extern "C"
25951#endif
25952char libcdata_list_element_initialize ();
25953int
25954main ()
25955{
25956return libcdata_list_element_initialize ();
25957  ;
25958  return 0;
25959}
25960_ACEOF
25961if ac_fn_c_try_link "$LINENO"; then :
25962  ac_cv_lib_cdata_libcdata_list_element_initialize=yes
25963else
25964  ac_cv_lib_cdata_libcdata_list_element_initialize=no
25965fi
25966rm -f core conftest.err conftest.$ac_objext \
25967    conftest$ac_exeext conftest.$ac_ext
25968LIBS=$ac_check_lib_save_LIBS
25969fi
25970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5
25971$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; }
25972if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then :
25973  ac_cv_libcdata_dummy=yes
25974else
25975  ac_cv_libcdata=no
25976fi
25977
25978        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5
25979$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; }
25980if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then :
25981  $as_echo_n "(cached) " >&6
25982else
25983  ac_check_lib_save_LIBS=$LIBS
25984LIBS="-lcdata  $LIBS"
25985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25986/* end confdefs.h.  */
25987
25988/* Override any GCC internal prototype to avoid an error.
25989   Use char because int might match the return type of a GCC
25990   builtin and then its argument prototype would still apply.  */
25991#ifdef __cplusplus
25992extern "C"
25993#endif
25994char libcdata_list_element_free ();
25995int
25996main ()
25997{
25998return libcdata_list_element_free ();
25999  ;
26000  return 0;
26001}
26002_ACEOF
26003if ac_fn_c_try_link "$LINENO"; then :
26004  ac_cv_lib_cdata_libcdata_list_element_free=yes
26005else
26006  ac_cv_lib_cdata_libcdata_list_element_free=no
26007fi
26008rm -f core conftest.err conftest.$ac_objext \
26009    conftest$ac_exeext conftest.$ac_ext
26010LIBS=$ac_check_lib_save_LIBS
26011fi
26012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5
26013$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; }
26014if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then :
26015  ac_cv_libcdata_dummy=yes
26016else
26017  ac_cv_libcdata=no
26018fi
26019
26020        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5
26021$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; }
26022if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then :
26023  $as_echo_n "(cached) " >&6
26024else
26025  ac_check_lib_save_LIBS=$LIBS
26026LIBS="-lcdata  $LIBS"
26027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26028/* end confdefs.h.  */
26029
26030/* Override any GCC internal prototype to avoid an error.
26031   Use char because int might match the return type of a GCC
26032   builtin and then its argument prototype would still apply.  */
26033#ifdef __cplusplus
26034extern "C"
26035#endif
26036char libcdata_list_element_get_value ();
26037int
26038main ()
26039{
26040return libcdata_list_element_get_value ();
26041  ;
26042  return 0;
26043}
26044_ACEOF
26045if ac_fn_c_try_link "$LINENO"; then :
26046  ac_cv_lib_cdata_libcdata_list_element_get_value=yes
26047else
26048  ac_cv_lib_cdata_libcdata_list_element_get_value=no
26049fi
26050rm -f core conftest.err conftest.$ac_objext \
26051    conftest$ac_exeext conftest.$ac_ext
26052LIBS=$ac_check_lib_save_LIBS
26053fi
26054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5
26055$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; }
26056if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then :
26057  ac_cv_libcdata_dummy=yes
26058else
26059  ac_cv_libcdata=no
26060fi
26061
26062        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5
26063$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; }
26064if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then :
26065  $as_echo_n "(cached) " >&6
26066else
26067  ac_check_lib_save_LIBS=$LIBS
26068LIBS="-lcdata  $LIBS"
26069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26070/* end confdefs.h.  */
26071
26072/* Override any GCC internal prototype to avoid an error.
26073   Use char because int might match the return type of a GCC
26074   builtin and then its argument prototype would still apply.  */
26075#ifdef __cplusplus
26076extern "C"
26077#endif
26078char libcdata_list_element_set_value ();
26079int
26080main ()
26081{
26082return libcdata_list_element_set_value ();
26083  ;
26084  return 0;
26085}
26086_ACEOF
26087if ac_fn_c_try_link "$LINENO"; then :
26088  ac_cv_lib_cdata_libcdata_list_element_set_value=yes
26089else
26090  ac_cv_lib_cdata_libcdata_list_element_set_value=no
26091fi
26092rm -f core conftest.err conftest.$ac_objext \
26093    conftest$ac_exeext conftest.$ac_ext
26094LIBS=$ac_check_lib_save_LIBS
26095fi
26096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5
26097$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; }
26098if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then :
26099  ac_cv_libcdata_dummy=yes
26100else
26101  ac_cv_libcdata=no
26102fi
26103
26104        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5
26105$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; }
26106if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then :
26107  $as_echo_n "(cached) " >&6
26108else
26109  ac_check_lib_save_LIBS=$LIBS
26110LIBS="-lcdata  $LIBS"
26111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26112/* end confdefs.h.  */
26113
26114/* Override any GCC internal prototype to avoid an error.
26115   Use char because int might match the return type of a GCC
26116   builtin and then its argument prototype would still apply.  */
26117#ifdef __cplusplus
26118extern "C"
26119#endif
26120char libcdata_list_element_get_previous_element ();
26121int
26122main ()
26123{
26124return libcdata_list_element_get_previous_element ();
26125  ;
26126  return 0;
26127}
26128_ACEOF
26129if ac_fn_c_try_link "$LINENO"; then :
26130  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes
26131else
26132  ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no
26133fi
26134rm -f core conftest.err conftest.$ac_objext \
26135    conftest$ac_exeext conftest.$ac_ext
26136LIBS=$ac_check_lib_save_LIBS
26137fi
26138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5
26139$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; }
26140if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then :
26141  ac_cv_libcdata_dummy=yes
26142else
26143  ac_cv_libcdata=no
26144fi
26145
26146        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5
26147$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; }
26148if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then :
26149  $as_echo_n "(cached) " >&6
26150else
26151  ac_check_lib_save_LIBS=$LIBS
26152LIBS="-lcdata  $LIBS"
26153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26154/* end confdefs.h.  */
26155
26156/* Override any GCC internal prototype to avoid an error.
26157   Use char because int might match the return type of a GCC
26158   builtin and then its argument prototype would still apply.  */
26159#ifdef __cplusplus
26160extern "C"
26161#endif
26162char libcdata_list_element_set_previous_element ();
26163int
26164main ()
26165{
26166return libcdata_list_element_set_previous_element ();
26167  ;
26168  return 0;
26169}
26170_ACEOF
26171if ac_fn_c_try_link "$LINENO"; then :
26172  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes
26173else
26174  ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no
26175fi
26176rm -f core conftest.err conftest.$ac_objext \
26177    conftest$ac_exeext conftest.$ac_ext
26178LIBS=$ac_check_lib_save_LIBS
26179fi
26180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5
26181$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; }
26182if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then :
26183  ac_cv_libcdata_dummy=yes
26184else
26185  ac_cv_libcdata=no
26186fi
26187
26188        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5
26189$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; }
26190if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then :
26191  $as_echo_n "(cached) " >&6
26192else
26193  ac_check_lib_save_LIBS=$LIBS
26194LIBS="-lcdata  $LIBS"
26195cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26196/* end confdefs.h.  */
26197
26198/* Override any GCC internal prototype to avoid an error.
26199   Use char because int might match the return type of a GCC
26200   builtin and then its argument prototype would still apply.  */
26201#ifdef __cplusplus
26202extern "C"
26203#endif
26204char libcdata_list_element_get_next_element ();
26205int
26206main ()
26207{
26208return libcdata_list_element_get_next_element ();
26209  ;
26210  return 0;
26211}
26212_ACEOF
26213if ac_fn_c_try_link "$LINENO"; then :
26214  ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes
26215else
26216  ac_cv_lib_cdata_libcdata_list_element_get_next_element=no
26217fi
26218rm -f core conftest.err conftest.$ac_objext \
26219    conftest$ac_exeext conftest.$ac_ext
26220LIBS=$ac_check_lib_save_LIBS
26221fi
26222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5
26223$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; }
26224if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then :
26225  ac_cv_libcdata_dummy=yes
26226else
26227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5
26228$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; }
26229if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then :
26230  $as_echo_n "(cached) " >&6
26231else
26232  ac_check_lib_save_LIBS=$LIBS
26233LIBS="-lcdata  $LIBS"
26234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26235/* end confdefs.h.  */
26236
26237/* Override any GCC internal prototype to avoid an error.
26238   Use char because int might match the return type of a GCC
26239   builtin and then its argument prototype would still apply.  */
26240#ifdef __cplusplus
26241extern "C"
26242#endif
26243char libcdata_list_element_set_next_element ();
26244int
26245main ()
26246{
26247return libcdata_list_element_set_next_element ();
26248  ;
26249  return 0;
26250}
26251_ACEOF
26252if ac_fn_c_try_link "$LINENO"; then :
26253  ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes
26254else
26255  ac_cv_lib_cdata_libcdata_list_element_set_next_element=no
26256fi
26257rm -f core conftest.err conftest.$ac_objext \
26258    conftest$ac_exeext conftest.$ac_ext
26259LIBS=$ac_check_lib_save_LIBS
26260fi
26261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5
26262$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; }
26263if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then :
26264  ac_cv_libcdata_dummy=yes
26265else
26266  ac_cv_libcdata=no
26267fi
26268
26269        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5
26270$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; }
26271if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then :
26272  $as_echo_n "(cached) " >&6
26273else
26274  ac_check_lib_save_LIBS=$LIBS
26275LIBS="-lcdata  $LIBS"
26276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26277/* end confdefs.h.  */
26278
26279/* Override any GCC internal prototype to avoid an error.
26280   Use char because int might match the return type of a GCC
26281   builtin and then its argument prototype would still apply.  */
26282#ifdef __cplusplus
26283extern "C"
26284#endif
26285char libcdata_list_element_get_elements ();
26286int
26287main ()
26288{
26289return libcdata_list_element_get_elements ();
26290  ;
26291  return 0;
26292}
26293_ACEOF
26294if ac_fn_c_try_link "$LINENO"; then :
26295  ac_cv_lib_cdata_libcdata_list_element_get_elements=yes
26296else
26297  ac_cv_lib_cdata_libcdata_list_element_get_elements=no
26298fi
26299rm -f core conftest.err conftest.$ac_objext \
26300    conftest$ac_exeext conftest.$ac_ext
26301LIBS=$ac_check_lib_save_LIBS
26302fi
26303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5
26304$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; }
26305if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then :
26306  ac_cv_libcdata_dummy=yes
26307else
26308  ac_cv_libcdata=no
26309fi
26310
26311        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5
26312$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; }
26313if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then :
26314  $as_echo_n "(cached) " >&6
26315else
26316  ac_check_lib_save_LIBS=$LIBS
26317LIBS="-lcdata  $LIBS"
26318cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26319/* end confdefs.h.  */
26320
26321/* Override any GCC internal prototype to avoid an error.
26322   Use char because int might match the return type of a GCC
26323   builtin and then its argument prototype would still apply.  */
26324#ifdef __cplusplus
26325extern "C"
26326#endif
26327char libcdata_list_element_set_elements ();
26328int
26329main ()
26330{
26331return libcdata_list_element_set_elements ();
26332  ;
26333  return 0;
26334}
26335_ACEOF
26336if ac_fn_c_try_link "$LINENO"; then :
26337  ac_cv_lib_cdata_libcdata_list_element_set_elements=yes
26338else
26339  ac_cv_lib_cdata_libcdata_list_element_set_elements=no
26340fi
26341rm -f core conftest.err conftest.$ac_objext \
26342    conftest$ac_exeext conftest.$ac_ext
26343LIBS=$ac_check_lib_save_LIBS
26344fi
26345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5
26346$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; }
26347if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then :
26348  ac_cv_libcdata_dummy=yes
26349else
26350  ac_cv_libcdata=no
26351fi
26352
26353          ac_cv_libcdata=no
26354fi
26355
26356
26357                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5
26358$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; }
26359if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then :
26360  $as_echo_n "(cached) " >&6
26361else
26362  ac_check_lib_save_LIBS=$LIBS
26363LIBS="-lcdata  $LIBS"
26364cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26365/* end confdefs.h.  */
26366
26367/* Override any GCC internal prototype to avoid an error.
26368   Use char because int might match the return type of a GCC
26369   builtin and then its argument prototype would still apply.  */
26370#ifdef __cplusplus
26371extern "C"
26372#endif
26373char libcdata_range_list_initialize ();
26374int
26375main ()
26376{
26377return libcdata_range_list_initialize ();
26378  ;
26379  return 0;
26380}
26381_ACEOF
26382if ac_fn_c_try_link "$LINENO"; then :
26383  ac_cv_lib_cdata_libcdata_range_list_initialize=yes
26384else
26385  ac_cv_lib_cdata_libcdata_range_list_initialize=no
26386fi
26387rm -f core conftest.err conftest.$ac_objext \
26388    conftest$ac_exeext conftest.$ac_ext
26389LIBS=$ac_check_lib_save_LIBS
26390fi
26391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5
26392$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; }
26393if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then :
26394  ac_cv_libcdata_dummy=yes
26395else
26396  ac_cv_libcdata=no
26397fi
26398
26399        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5
26400$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; }
26401if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then :
26402  $as_echo_n "(cached) " >&6
26403else
26404  ac_check_lib_save_LIBS=$LIBS
26405LIBS="-lcdata  $LIBS"
26406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26407/* end confdefs.h.  */
26408
26409/* Override any GCC internal prototype to avoid an error.
26410   Use char because int might match the return type of a GCC
26411   builtin and then its argument prototype would still apply.  */
26412#ifdef __cplusplus
26413extern "C"
26414#endif
26415char libcdata_range_list_free ();
26416int
26417main ()
26418{
26419return libcdata_range_list_free ();
26420  ;
26421  return 0;
26422}
26423_ACEOF
26424if ac_fn_c_try_link "$LINENO"; then :
26425  ac_cv_lib_cdata_libcdata_range_list_free=yes
26426else
26427  ac_cv_lib_cdata_libcdata_range_list_free=no
26428fi
26429rm -f core conftest.err conftest.$ac_objext \
26430    conftest$ac_exeext conftest.$ac_ext
26431LIBS=$ac_check_lib_save_LIBS
26432fi
26433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5
26434$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; }
26435if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then :
26436  ac_cv_libcdata_dummy=yes
26437else
26438  ac_cv_libcdata=no
26439fi
26440
26441        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5
26442$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; }
26443if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then :
26444  $as_echo_n "(cached) " >&6
26445else
26446  ac_check_lib_save_LIBS=$LIBS
26447LIBS="-lcdata  $LIBS"
26448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449/* end confdefs.h.  */
26450
26451/* Override any GCC internal prototype to avoid an error.
26452   Use char because int might match the return type of a GCC
26453   builtin and then its argument prototype would still apply.  */
26454#ifdef __cplusplus
26455extern "C"
26456#endif
26457char libcdata_range_list_empty ();
26458int
26459main ()
26460{
26461return libcdata_range_list_empty ();
26462  ;
26463  return 0;
26464}
26465_ACEOF
26466if ac_fn_c_try_link "$LINENO"; then :
26467  ac_cv_lib_cdata_libcdata_range_list_empty=yes
26468else
26469  ac_cv_lib_cdata_libcdata_range_list_empty=no
26470fi
26471rm -f core conftest.err conftest.$ac_objext \
26472    conftest$ac_exeext conftest.$ac_ext
26473LIBS=$ac_check_lib_save_LIBS
26474fi
26475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5
26476$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; }
26477if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then :
26478  ac_cv_libcdata_dummy=yes
26479else
26480  ac_cv_libcdata=no
26481fi
26482
26483        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5
26484$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; }
26485if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then :
26486  $as_echo_n "(cached) " >&6
26487else
26488  ac_check_lib_save_LIBS=$LIBS
26489LIBS="-lcdata  $LIBS"
26490cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26491/* end confdefs.h.  */
26492
26493/* Override any GCC internal prototype to avoid an error.
26494   Use char because int might match the return type of a GCC
26495   builtin and then its argument prototype would still apply.  */
26496#ifdef __cplusplus
26497extern "C"
26498#endif
26499char libcdata_range_list_clone ();
26500int
26501main ()
26502{
26503return libcdata_range_list_clone ();
26504  ;
26505  return 0;
26506}
26507_ACEOF
26508if ac_fn_c_try_link "$LINENO"; then :
26509  ac_cv_lib_cdata_libcdata_range_list_clone=yes
26510else
26511  ac_cv_lib_cdata_libcdata_range_list_clone=no
26512fi
26513rm -f core conftest.err conftest.$ac_objext \
26514    conftest$ac_exeext conftest.$ac_ext
26515LIBS=$ac_check_lib_save_LIBS
26516fi
26517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5
26518$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; }
26519if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then :
26520  ac_cv_libcdata_dummy=yes
26521else
26522  ac_cv_libcdata=no
26523fi
26524
26525        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5
26526$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; }
26527if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then :
26528  $as_echo_n "(cached) " >&6
26529else
26530  ac_check_lib_save_LIBS=$LIBS
26531LIBS="-lcdata  $LIBS"
26532cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26533/* end confdefs.h.  */
26534
26535/* Override any GCC internal prototype to avoid an error.
26536   Use char because int might match the return type of a GCC
26537   builtin and then its argument prototype would still apply.  */
26538#ifdef __cplusplus
26539extern "C"
26540#endif
26541char libcdata_range_list_get_number_of_elements ();
26542int
26543main ()
26544{
26545return libcdata_range_list_get_number_of_elements ();
26546  ;
26547  return 0;
26548}
26549_ACEOF
26550if ac_fn_c_try_link "$LINENO"; then :
26551  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes
26552else
26553  ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no
26554fi
26555rm -f core conftest.err conftest.$ac_objext \
26556    conftest$ac_exeext conftest.$ac_ext
26557LIBS=$ac_check_lib_save_LIBS
26558fi
26559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5
26560$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; }
26561if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then :
26562  ac_cv_libcdata_dummy=yes
26563else
26564  ac_cv_libcdata=no
26565fi
26566
26567        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5
26568$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; }
26569if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then :
26570  $as_echo_n "(cached) " >&6
26571else
26572  ac_check_lib_save_LIBS=$LIBS
26573LIBS="-lcdata  $LIBS"
26574cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26575/* end confdefs.h.  */
26576
26577/* Override any GCC internal prototype to avoid an error.
26578   Use char because int might match the return type of a GCC
26579   builtin and then its argument prototype would still apply.  */
26580#ifdef __cplusplus
26581extern "C"
26582#endif
26583char libcdata_range_list_insert_range ();
26584int
26585main ()
26586{
26587return libcdata_range_list_insert_range ();
26588  ;
26589  return 0;
26590}
26591_ACEOF
26592if ac_fn_c_try_link "$LINENO"; then :
26593  ac_cv_lib_cdata_libcdata_range_list_insert_range=yes
26594else
26595  ac_cv_lib_cdata_libcdata_range_list_insert_range=no
26596fi
26597rm -f core conftest.err conftest.$ac_objext \
26598    conftest$ac_exeext conftest.$ac_ext
26599LIBS=$ac_check_lib_save_LIBS
26600fi
26601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5
26602$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; }
26603if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then :
26604  ac_cv_libcdata_dummy=yes
26605else
26606  ac_cv_libcdata=no
26607fi
26608
26609        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5
26610$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; }
26611if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then :
26612  $as_echo_n "(cached) " >&6
26613else
26614  ac_check_lib_save_LIBS=$LIBS
26615LIBS="-lcdata  $LIBS"
26616cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26617/* end confdefs.h.  */
26618
26619/* Override any GCC internal prototype to avoid an error.
26620   Use char because int might match the return type of a GCC
26621   builtin and then its argument prototype would still apply.  */
26622#ifdef __cplusplus
26623extern "C"
26624#endif
26625char libcdata_range_list_insert_range_list ();
26626int
26627main ()
26628{
26629return libcdata_range_list_insert_range_list ();
26630  ;
26631  return 0;
26632}
26633_ACEOF
26634if ac_fn_c_try_link "$LINENO"; then :
26635  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes
26636else
26637  ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no
26638fi
26639rm -f core conftest.err conftest.$ac_objext \
26640    conftest$ac_exeext conftest.$ac_ext
26641LIBS=$ac_check_lib_save_LIBS
26642fi
26643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5
26644$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; }
26645if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then :
26646  ac_cv_libcdata_dummy=yes
26647else
26648  ac_cv_libcdata=no
26649fi
26650
26651        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5
26652$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; }
26653if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then :
26654  $as_echo_n "(cached) " >&6
26655else
26656  ac_check_lib_save_LIBS=$LIBS
26657LIBS="-lcdata  $LIBS"
26658cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26659/* end confdefs.h.  */
26660
26661/* Override any GCC internal prototype to avoid an error.
26662   Use char because int might match the return type of a GCC
26663   builtin and then its argument prototype would still apply.  */
26664#ifdef __cplusplus
26665extern "C"
26666#endif
26667char libcdata_range_list_remove_range ();
26668int
26669main ()
26670{
26671return libcdata_range_list_remove_range ();
26672  ;
26673  return 0;
26674}
26675_ACEOF
26676if ac_fn_c_try_link "$LINENO"; then :
26677  ac_cv_lib_cdata_libcdata_range_list_remove_range=yes
26678else
26679  ac_cv_lib_cdata_libcdata_range_list_remove_range=no
26680fi
26681rm -f core conftest.err conftest.$ac_objext \
26682    conftest$ac_exeext conftest.$ac_ext
26683LIBS=$ac_check_lib_save_LIBS
26684fi
26685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5
26686$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; }
26687if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then :
26688  ac_cv_libcdata_dummy=yes
26689else
26690  ac_cv_libcdata=no
26691fi
26692
26693        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5
26694$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; }
26695if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then :
26696  $as_echo_n "(cached) " >&6
26697else
26698  ac_check_lib_save_LIBS=$LIBS
26699LIBS="-lcdata  $LIBS"
26700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26701/* end confdefs.h.  */
26702
26703/* Override any GCC internal prototype to avoid an error.
26704   Use char because int might match the return type of a GCC
26705   builtin and then its argument prototype would still apply.  */
26706#ifdef __cplusplus
26707extern "C"
26708#endif
26709char libcdata_range_list_get_range_by_index ();
26710int
26711main ()
26712{
26713return libcdata_range_list_get_range_by_index ();
26714  ;
26715  return 0;
26716}
26717_ACEOF
26718if ac_fn_c_try_link "$LINENO"; then :
26719  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes
26720else
26721  ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no
26722fi
26723rm -f core conftest.err conftest.$ac_objext \
26724    conftest$ac_exeext conftest.$ac_ext
26725LIBS=$ac_check_lib_save_LIBS
26726fi
26727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5
26728$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; }
26729if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then :
26730  ac_cv_libcdata_dummy=yes
26731else
26732  ac_cv_libcdata=no
26733fi
26734
26735        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5
26736$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; }
26737if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then :
26738  $as_echo_n "(cached) " >&6
26739else
26740  ac_check_lib_save_LIBS=$LIBS
26741LIBS="-lcdata  $LIBS"
26742cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26743/* end confdefs.h.  */
26744
26745/* Override any GCC internal prototype to avoid an error.
26746   Use char because int might match the return type of a GCC
26747   builtin and then its argument prototype would still apply.  */
26748#ifdef __cplusplus
26749extern "C"
26750#endif
26751char libcdata_range_list_get_range_at_offset ();
26752int
26753main ()
26754{
26755return libcdata_range_list_get_range_at_offset ();
26756  ;
26757  return 0;
26758}
26759_ACEOF
26760if ac_fn_c_try_link "$LINENO"; then :
26761  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes
26762else
26763  ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no
26764fi
26765rm -f core conftest.err conftest.$ac_objext \
26766    conftest$ac_exeext conftest.$ac_ext
26767LIBS=$ac_check_lib_save_LIBS
26768fi
26769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5
26770$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; }
26771if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then :
26772  ac_cv_libcdata_dummy=yes
26773else
26774  ac_cv_libcdata=no
26775fi
26776
26777        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5
26778$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; }
26779if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then :
26780  $as_echo_n "(cached) " >&6
26781else
26782  ac_check_lib_save_LIBS=$LIBS
26783LIBS="-lcdata  $LIBS"
26784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26785/* end confdefs.h.  */
26786
26787/* Override any GCC internal prototype to avoid an error.
26788   Use char because int might match the return type of a GCC
26789   builtin and then its argument prototype would still apply.  */
26790#ifdef __cplusplus
26791extern "C"
26792#endif
26793char libcdata_range_list_range_is_present ();
26794int
26795main ()
26796{
26797return libcdata_range_list_range_is_present ();
26798  ;
26799  return 0;
26800}
26801_ACEOF
26802if ac_fn_c_try_link "$LINENO"; then :
26803  ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes
26804else
26805  ac_cv_lib_cdata_libcdata_range_list_range_is_present=no
26806fi
26807rm -f core conftest.err conftest.$ac_objext \
26808    conftest$ac_exeext conftest.$ac_ext
26809LIBS=$ac_check_lib_save_LIBS
26810fi
26811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5
26812$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; }
26813if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then :
26814  ac_cv_libcdata_dummy=yes
26815else
26816  ac_cv_libcdata=no
26817fi
26818
26819        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5
26820$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; }
26821if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then :
26822  $as_echo_n "(cached) " >&6
26823else
26824  ac_check_lib_save_LIBS=$LIBS
26825LIBS="-lcdata  $LIBS"
26826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26827/* end confdefs.h.  */
26828
26829/* Override any GCC internal prototype to avoid an error.
26830   Use char because int might match the return type of a GCC
26831   builtin and then its argument prototype would still apply.  */
26832#ifdef __cplusplus
26833extern "C"
26834#endif
26835char libcdata_range_list_get_spanning_range ();
26836int
26837main ()
26838{
26839return libcdata_range_list_get_spanning_range ();
26840  ;
26841  return 0;
26842}
26843_ACEOF
26844if ac_fn_c_try_link "$LINENO"; then :
26845  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes
26846else
26847  ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no
26848fi
26849rm -f core conftest.err conftest.$ac_objext \
26850    conftest$ac_exeext conftest.$ac_ext
26851LIBS=$ac_check_lib_save_LIBS
26852fi
26853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5
26854$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; }
26855if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then :
26856  ac_cv_libcdata_dummy=yes
26857else
26858  ac_cv_libcdata=no
26859fi
26860
26861
26862                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5
26863$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; }
26864if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then :
26865  $as_echo_n "(cached) " >&6
26866else
26867  ac_check_lib_save_LIBS=$LIBS
26868LIBS="-lcdata  $LIBS"
26869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26870/* end confdefs.h.  */
26871
26872/* Override any GCC internal prototype to avoid an error.
26873   Use char because int might match the return type of a GCC
26874   builtin and then its argument prototype would still apply.  */
26875#ifdef __cplusplus
26876extern "C"
26877#endif
26878char libcdata_tree_node_initialize ();
26879int
26880main ()
26881{
26882return libcdata_tree_node_initialize ();
26883  ;
26884  return 0;
26885}
26886_ACEOF
26887if ac_fn_c_try_link "$LINENO"; then :
26888  ac_cv_lib_cdata_libcdata_tree_node_initialize=yes
26889else
26890  ac_cv_lib_cdata_libcdata_tree_node_initialize=no
26891fi
26892rm -f core conftest.err conftest.$ac_objext \
26893    conftest$ac_exeext conftest.$ac_ext
26894LIBS=$ac_check_lib_save_LIBS
26895fi
26896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5
26897$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; }
26898if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then :
26899  ac_cv_libcdata_dummy=yes
26900else
26901  ac_cv_libcdata=no
26902fi
26903
26904        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5
26905$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; }
26906if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then :
26907  $as_echo_n "(cached) " >&6
26908else
26909  ac_check_lib_save_LIBS=$LIBS
26910LIBS="-lcdata  $LIBS"
26911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26912/* end confdefs.h.  */
26913
26914/* Override any GCC internal prototype to avoid an error.
26915   Use char because int might match the return type of a GCC
26916   builtin and then its argument prototype would still apply.  */
26917#ifdef __cplusplus
26918extern "C"
26919#endif
26920char libcdata_tree_node_free ();
26921int
26922main ()
26923{
26924return libcdata_tree_node_free ();
26925  ;
26926  return 0;
26927}
26928_ACEOF
26929if ac_fn_c_try_link "$LINENO"; then :
26930  ac_cv_lib_cdata_libcdata_tree_node_free=yes
26931else
26932  ac_cv_lib_cdata_libcdata_tree_node_free=no
26933fi
26934rm -f core conftest.err conftest.$ac_objext \
26935    conftest$ac_exeext conftest.$ac_ext
26936LIBS=$ac_check_lib_save_LIBS
26937fi
26938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5
26939$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; }
26940if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then :
26941  ac_cv_libcdata_dummy=yes
26942else
26943  ac_cv_libcdata=no
26944fi
26945
26946        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5
26947$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; }
26948if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then :
26949  $as_echo_n "(cached) " >&6
26950else
26951  ac_check_lib_save_LIBS=$LIBS
26952LIBS="-lcdata  $LIBS"
26953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26954/* end confdefs.h.  */
26955
26956/* Override any GCC internal prototype to avoid an error.
26957   Use char because int might match the return type of a GCC
26958   builtin and then its argument prototype would still apply.  */
26959#ifdef __cplusplus
26960extern "C"
26961#endif
26962char libcdata_tree_node_empty ();
26963int
26964main ()
26965{
26966return libcdata_tree_node_empty ();
26967  ;
26968  return 0;
26969}
26970_ACEOF
26971if ac_fn_c_try_link "$LINENO"; then :
26972  ac_cv_lib_cdata_libcdata_tree_node_empty=yes
26973else
26974  ac_cv_lib_cdata_libcdata_tree_node_empty=no
26975fi
26976rm -f core conftest.err conftest.$ac_objext \
26977    conftest$ac_exeext conftest.$ac_ext
26978LIBS=$ac_check_lib_save_LIBS
26979fi
26980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5
26981$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; }
26982if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then :
26983  ac_cv_libcdata_dummy=yes
26984else
26985  ac_cv_libcdata=no
26986fi
26987
26988        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5
26989$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; }
26990if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then :
26991  $as_echo_n "(cached) " >&6
26992else
26993  ac_check_lib_save_LIBS=$LIBS
26994LIBS="-lcdata  $LIBS"
26995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26996/* end confdefs.h.  */
26997
26998/* Override any GCC internal prototype to avoid an error.
26999   Use char because int might match the return type of a GCC
27000   builtin and then its argument prototype would still apply.  */
27001#ifdef __cplusplus
27002extern "C"
27003#endif
27004char libcdata_tree_node_clone ();
27005int
27006main ()
27007{
27008return libcdata_tree_node_clone ();
27009  ;
27010  return 0;
27011}
27012_ACEOF
27013if ac_fn_c_try_link "$LINENO"; then :
27014  ac_cv_lib_cdata_libcdata_tree_node_clone=yes
27015else
27016  ac_cv_lib_cdata_libcdata_tree_node_clone=no
27017fi
27018rm -f core conftest.err conftest.$ac_objext \
27019    conftest$ac_exeext conftest.$ac_ext
27020LIBS=$ac_check_lib_save_LIBS
27021fi
27022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5
27023$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; }
27024if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then :
27025  ac_cv_libcdata_dummy=yes
27026else
27027  ac_cv_libcdata=no
27028fi
27029
27030        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5
27031$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; }
27032if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then :
27033  $as_echo_n "(cached) " >&6
27034else
27035  ac_check_lib_save_LIBS=$LIBS
27036LIBS="-lcdata  $LIBS"
27037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27038/* end confdefs.h.  */
27039
27040/* Override any GCC internal prototype to avoid an error.
27041   Use char because int might match the return type of a GCC
27042   builtin and then its argument prototype would still apply.  */
27043#ifdef __cplusplus
27044extern "C"
27045#endif
27046char libcdata_tree_node_get_value ();
27047int
27048main ()
27049{
27050return libcdata_tree_node_get_value ();
27051  ;
27052  return 0;
27053}
27054_ACEOF
27055if ac_fn_c_try_link "$LINENO"; then :
27056  ac_cv_lib_cdata_libcdata_tree_node_get_value=yes
27057else
27058  ac_cv_lib_cdata_libcdata_tree_node_get_value=no
27059fi
27060rm -f core conftest.err conftest.$ac_objext \
27061    conftest$ac_exeext conftest.$ac_ext
27062LIBS=$ac_check_lib_save_LIBS
27063fi
27064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5
27065$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; }
27066if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then :
27067  ac_cv_libcdata_dummy=yes
27068else
27069  ac_cv_libcdata=no
27070fi
27071
27072        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5
27073$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; }
27074if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then :
27075  $as_echo_n "(cached) " >&6
27076else
27077  ac_check_lib_save_LIBS=$LIBS
27078LIBS="-lcdata  $LIBS"
27079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27080/* end confdefs.h.  */
27081
27082/* Override any GCC internal prototype to avoid an error.
27083   Use char because int might match the return type of a GCC
27084   builtin and then its argument prototype would still apply.  */
27085#ifdef __cplusplus
27086extern "C"
27087#endif
27088char libcdata_tree_node_set_value ();
27089int
27090main ()
27091{
27092return libcdata_tree_node_set_value ();
27093  ;
27094  return 0;
27095}
27096_ACEOF
27097if ac_fn_c_try_link "$LINENO"; then :
27098  ac_cv_lib_cdata_libcdata_tree_node_set_value=yes
27099else
27100  ac_cv_lib_cdata_libcdata_tree_node_set_value=no
27101fi
27102rm -f core conftest.err conftest.$ac_objext \
27103    conftest$ac_exeext conftest.$ac_ext
27104LIBS=$ac_check_lib_save_LIBS
27105fi
27106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5
27107$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; }
27108if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then :
27109  ac_cv_libcdata_dummy=yes
27110else
27111  ac_cv_libcdata=no
27112fi
27113
27114        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5
27115$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; }
27116if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then :
27117  $as_echo_n "(cached) " >&6
27118else
27119  ac_check_lib_save_LIBS=$LIBS
27120LIBS="-lcdata  $LIBS"
27121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27122/* end confdefs.h.  */
27123
27124/* Override any GCC internal prototype to avoid an error.
27125   Use char because int might match the return type of a GCC
27126   builtin and then its argument prototype would still apply.  */
27127#ifdef __cplusplus
27128extern "C"
27129#endif
27130char libcdata_tree_node_get_parent_node ();
27131int
27132main ()
27133{
27134return libcdata_tree_node_get_parent_node ();
27135  ;
27136  return 0;
27137}
27138_ACEOF
27139if ac_fn_c_try_link "$LINENO"; then :
27140  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes
27141else
27142  ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no
27143fi
27144rm -f core conftest.err conftest.$ac_objext \
27145    conftest$ac_exeext conftest.$ac_ext
27146LIBS=$ac_check_lib_save_LIBS
27147fi
27148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5
27149$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; }
27150if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then :
27151  ac_cv_libcdata_dummy=yes
27152else
27153  ac_cv_libcdata=no
27154fi
27155
27156        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5
27157$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; }
27158if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then :
27159  $as_echo_n "(cached) " >&6
27160else
27161  ac_check_lib_save_LIBS=$LIBS
27162LIBS="-lcdata  $LIBS"
27163cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27164/* end confdefs.h.  */
27165
27166/* Override any GCC internal prototype to avoid an error.
27167   Use char because int might match the return type of a GCC
27168   builtin and then its argument prototype would still apply.  */
27169#ifdef __cplusplus
27170extern "C"
27171#endif
27172char libcdata_tree_node_set_parent_node ();
27173int
27174main ()
27175{
27176return libcdata_tree_node_set_parent_node ();
27177  ;
27178  return 0;
27179}
27180_ACEOF
27181if ac_fn_c_try_link "$LINENO"; then :
27182  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes
27183else
27184  ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no
27185fi
27186rm -f core conftest.err conftest.$ac_objext \
27187    conftest$ac_exeext conftest.$ac_ext
27188LIBS=$ac_check_lib_save_LIBS
27189fi
27190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5
27191$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; }
27192if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then :
27193  ac_cv_libcdata_dummy=yes
27194else
27195  ac_cv_libcdata=no
27196fi
27197
27198        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5
27199$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; }
27200if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then :
27201  $as_echo_n "(cached) " >&6
27202else
27203  ac_check_lib_save_LIBS=$LIBS
27204LIBS="-lcdata  $LIBS"
27205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27206/* end confdefs.h.  */
27207
27208/* Override any GCC internal prototype to avoid an error.
27209   Use char because int might match the return type of a GCC
27210   builtin and then its argument prototype would still apply.  */
27211#ifdef __cplusplus
27212extern "C"
27213#endif
27214char libcdata_tree_node_get_previous_node ();
27215int
27216main ()
27217{
27218return libcdata_tree_node_get_previous_node ();
27219  ;
27220  return 0;
27221}
27222_ACEOF
27223if ac_fn_c_try_link "$LINENO"; then :
27224  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes
27225else
27226  ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no
27227fi
27228rm -f core conftest.err conftest.$ac_objext \
27229    conftest$ac_exeext conftest.$ac_ext
27230LIBS=$ac_check_lib_save_LIBS
27231fi
27232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5
27233$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; }
27234if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then :
27235  ac_cv_libcdata_dummy=yes
27236else
27237  ac_cv_libcdata=no
27238fi
27239
27240        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5
27241$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; }
27242if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then :
27243  $as_echo_n "(cached) " >&6
27244else
27245  ac_check_lib_save_LIBS=$LIBS
27246LIBS="-lcdata  $LIBS"
27247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27248/* end confdefs.h.  */
27249
27250/* Override any GCC internal prototype to avoid an error.
27251   Use char because int might match the return type of a GCC
27252   builtin and then its argument prototype would still apply.  */
27253#ifdef __cplusplus
27254extern "C"
27255#endif
27256char libcdata_tree_node_set_previous_node ();
27257int
27258main ()
27259{
27260return libcdata_tree_node_set_previous_node ();
27261  ;
27262  return 0;
27263}
27264_ACEOF
27265if ac_fn_c_try_link "$LINENO"; then :
27266  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes
27267else
27268  ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no
27269fi
27270rm -f core conftest.err conftest.$ac_objext \
27271    conftest$ac_exeext conftest.$ac_ext
27272LIBS=$ac_check_lib_save_LIBS
27273fi
27274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5
27275$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; }
27276if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then :
27277  ac_cv_libcdata_dummy=yes
27278else
27279  ac_cv_libcdata=no
27280fi
27281
27282        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5
27283$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; }
27284if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then :
27285  $as_echo_n "(cached) " >&6
27286else
27287  ac_check_lib_save_LIBS=$LIBS
27288LIBS="-lcdata  $LIBS"
27289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27290/* end confdefs.h.  */
27291
27292/* Override any GCC internal prototype to avoid an error.
27293   Use char because int might match the return type of a GCC
27294   builtin and then its argument prototype would still apply.  */
27295#ifdef __cplusplus
27296extern "C"
27297#endif
27298char libcdata_tree_node_get_next_node ();
27299int
27300main ()
27301{
27302return libcdata_tree_node_get_next_node ();
27303  ;
27304  return 0;
27305}
27306_ACEOF
27307if ac_fn_c_try_link "$LINENO"; then :
27308  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes
27309else
27310  ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no
27311fi
27312rm -f core conftest.err conftest.$ac_objext \
27313    conftest$ac_exeext conftest.$ac_ext
27314LIBS=$ac_check_lib_save_LIBS
27315fi
27316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5
27317$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; }
27318if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then :
27319  ac_cv_libcdata_dummy=yes
27320else
27321  ac_cv_libcdata=no
27322fi
27323
27324        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5
27325$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; }
27326if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then :
27327  $as_echo_n "(cached) " >&6
27328else
27329  ac_check_lib_save_LIBS=$LIBS
27330LIBS="-lcdata  $LIBS"
27331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27332/* end confdefs.h.  */
27333
27334/* Override any GCC internal prototype to avoid an error.
27335   Use char because int might match the return type of a GCC
27336   builtin and then its argument prototype would still apply.  */
27337#ifdef __cplusplus
27338extern "C"
27339#endif
27340char libcdata_tree_node_set_next_node ();
27341int
27342main ()
27343{
27344return libcdata_tree_node_set_next_node ();
27345  ;
27346  return 0;
27347}
27348_ACEOF
27349if ac_fn_c_try_link "$LINENO"; then :
27350  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes
27351else
27352  ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no
27353fi
27354rm -f core conftest.err conftest.$ac_objext \
27355    conftest$ac_exeext conftest.$ac_ext
27356LIBS=$ac_check_lib_save_LIBS
27357fi
27358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5
27359$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; }
27360if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then :
27361  ac_cv_libcdata_dummy=yes
27362else
27363  ac_cv_libcdata=no
27364fi
27365
27366        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5
27367$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; }
27368if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then :
27369  $as_echo_n "(cached) " >&6
27370else
27371  ac_check_lib_save_LIBS=$LIBS
27372LIBS="-lcdata  $LIBS"
27373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27374/* end confdefs.h.  */
27375
27376/* Override any GCC internal prototype to avoid an error.
27377   Use char because int might match the return type of a GCC
27378   builtin and then its argument prototype would still apply.  */
27379#ifdef __cplusplus
27380extern "C"
27381#endif
27382char libcdata_tree_node_get_nodes ();
27383int
27384main ()
27385{
27386return libcdata_tree_node_get_nodes ();
27387  ;
27388  return 0;
27389}
27390_ACEOF
27391if ac_fn_c_try_link "$LINENO"; then :
27392  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes
27393else
27394  ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no
27395fi
27396rm -f core conftest.err conftest.$ac_objext \
27397    conftest$ac_exeext conftest.$ac_ext
27398LIBS=$ac_check_lib_save_LIBS
27399fi
27400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5
27401$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; }
27402if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then :
27403  ac_cv_libcdata_dummy=yes
27404else
27405  ac_cv_libcdata=no
27406fi
27407
27408        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5
27409$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; }
27410if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then :
27411  $as_echo_n "(cached) " >&6
27412else
27413  ac_check_lib_save_LIBS=$LIBS
27414LIBS="-lcdata  $LIBS"
27415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27416/* end confdefs.h.  */
27417
27418/* Override any GCC internal prototype to avoid an error.
27419   Use char because int might match the return type of a GCC
27420   builtin and then its argument prototype would still apply.  */
27421#ifdef __cplusplus
27422extern "C"
27423#endif
27424char libcdata_tree_node_set_nodes ();
27425int
27426main ()
27427{
27428return libcdata_tree_node_set_nodes ();
27429  ;
27430  return 0;
27431}
27432_ACEOF
27433if ac_fn_c_try_link "$LINENO"; then :
27434  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes
27435else
27436  ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no
27437fi
27438rm -f core conftest.err conftest.$ac_objext \
27439    conftest$ac_exeext conftest.$ac_ext
27440LIBS=$ac_check_lib_save_LIBS
27441fi
27442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5
27443$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; }
27444if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then :
27445  ac_cv_libcdata_dummy=yes
27446else
27447  ac_cv_libcdata=no
27448fi
27449
27450        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5
27451$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; }
27452if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then :
27453  $as_echo_n "(cached) " >&6
27454else
27455  ac_check_lib_save_LIBS=$LIBS
27456LIBS="-lcdata  $LIBS"
27457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27458/* end confdefs.h.  */
27459
27460/* Override any GCC internal prototype to avoid an error.
27461   Use char because int might match the return type of a GCC
27462   builtin and then its argument prototype would still apply.  */
27463#ifdef __cplusplus
27464extern "C"
27465#endif
27466char libcdata_tree_node_append_node ();
27467int
27468main ()
27469{
27470return libcdata_tree_node_append_node ();
27471  ;
27472  return 0;
27473}
27474_ACEOF
27475if ac_fn_c_try_link "$LINENO"; then :
27476  ac_cv_lib_cdata_libcdata_tree_node_append_node=yes
27477else
27478  ac_cv_lib_cdata_libcdata_tree_node_append_node=no
27479fi
27480rm -f core conftest.err conftest.$ac_objext \
27481    conftest$ac_exeext conftest.$ac_ext
27482LIBS=$ac_check_lib_save_LIBS
27483fi
27484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5
27485$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; }
27486if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then :
27487  ac_cv_libcdata_dummy=yes
27488else
27489  ac_cv_libcdata=no
27490fi
27491
27492        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5
27493$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; }
27494if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then :
27495  $as_echo_n "(cached) " >&6
27496else
27497  ac_check_lib_save_LIBS=$LIBS
27498LIBS="-lcdata  $LIBS"
27499cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27500/* end confdefs.h.  */
27501
27502/* Override any GCC internal prototype to avoid an error.
27503   Use char because int might match the return type of a GCC
27504   builtin and then its argument prototype would still apply.  */
27505#ifdef __cplusplus
27506extern "C"
27507#endif
27508char libcdata_tree_node_append_value ();
27509int
27510main ()
27511{
27512return libcdata_tree_node_append_value ();
27513  ;
27514  return 0;
27515}
27516_ACEOF
27517if ac_fn_c_try_link "$LINENO"; then :
27518  ac_cv_lib_cdata_libcdata_tree_node_append_value=yes
27519else
27520  ac_cv_lib_cdata_libcdata_tree_node_append_value=no
27521fi
27522rm -f core conftest.err conftest.$ac_objext \
27523    conftest$ac_exeext conftest.$ac_ext
27524LIBS=$ac_check_lib_save_LIBS
27525fi
27526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5
27527$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; }
27528if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then :
27529  ac_cv_libcdata_dummy=yes
27530else
27531  ac_cv_libcdata=no
27532fi
27533
27534        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5
27535$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; }
27536if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then :
27537  $as_echo_n "(cached) " >&6
27538else
27539  ac_check_lib_save_LIBS=$LIBS
27540LIBS="-lcdata  $LIBS"
27541cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27542/* end confdefs.h.  */
27543
27544/* Override any GCC internal prototype to avoid an error.
27545   Use char because int might match the return type of a GCC
27546   builtin and then its argument prototype would still apply.  */
27547#ifdef __cplusplus
27548extern "C"
27549#endif
27550char libcdata_tree_node_insert_node ();
27551int
27552main ()
27553{
27554return libcdata_tree_node_insert_node ();
27555  ;
27556  return 0;
27557}
27558_ACEOF
27559if ac_fn_c_try_link "$LINENO"; then :
27560  ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes
27561else
27562  ac_cv_lib_cdata_libcdata_tree_node_insert_node=no
27563fi
27564rm -f core conftest.err conftest.$ac_objext \
27565    conftest$ac_exeext conftest.$ac_ext
27566LIBS=$ac_check_lib_save_LIBS
27567fi
27568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5
27569$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; }
27570if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then :
27571  ac_cv_libcdata_dummy=yes
27572else
27573  ac_cv_libcdata=no
27574fi
27575
27576        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5
27577$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; }
27578if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then :
27579  $as_echo_n "(cached) " >&6
27580else
27581  ac_check_lib_save_LIBS=$LIBS
27582LIBS="-lcdata  $LIBS"
27583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27584/* end confdefs.h.  */
27585
27586/* Override any GCC internal prototype to avoid an error.
27587   Use char because int might match the return type of a GCC
27588   builtin and then its argument prototype would still apply.  */
27589#ifdef __cplusplus
27590extern "C"
27591#endif
27592char libcdata_tree_node_insert_value ();
27593int
27594main ()
27595{
27596return libcdata_tree_node_insert_value ();
27597  ;
27598  return 0;
27599}
27600_ACEOF
27601if ac_fn_c_try_link "$LINENO"; then :
27602  ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes
27603else
27604  ac_cv_lib_cdata_libcdata_tree_node_insert_value=no
27605fi
27606rm -f core conftest.err conftest.$ac_objext \
27607    conftest$ac_exeext conftest.$ac_ext
27608LIBS=$ac_check_lib_save_LIBS
27609fi
27610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5
27611$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; }
27612if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then :
27613  ac_cv_libcdata_dummy=yes
27614else
27615  ac_cv_libcdata=no
27616fi
27617
27618        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5
27619$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; }
27620if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then :
27621  $as_echo_n "(cached) " >&6
27622else
27623  ac_check_lib_save_LIBS=$LIBS
27624LIBS="-lcdata  $LIBS"
27625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27626/* end confdefs.h.  */
27627
27628/* Override any GCC internal prototype to avoid an error.
27629   Use char because int might match the return type of a GCC
27630   builtin and then its argument prototype would still apply.  */
27631#ifdef __cplusplus
27632extern "C"
27633#endif
27634char libcdata_tree_node_replace_node ();
27635int
27636main ()
27637{
27638return libcdata_tree_node_replace_node ();
27639  ;
27640  return 0;
27641}
27642_ACEOF
27643if ac_fn_c_try_link "$LINENO"; then :
27644  ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes
27645else
27646  ac_cv_lib_cdata_libcdata_tree_node_replace_node=no
27647fi
27648rm -f core conftest.err conftest.$ac_objext \
27649    conftest$ac_exeext conftest.$ac_ext
27650LIBS=$ac_check_lib_save_LIBS
27651fi
27652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5
27653$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; }
27654if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then :
27655  ac_cv_libcdata_dummy=yes
27656else
27657  ac_cv_libcdata=no
27658fi
27659
27660        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5
27661$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; }
27662if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then :
27663  $as_echo_n "(cached) " >&6
27664else
27665  ac_check_lib_save_LIBS=$LIBS
27666LIBS="-lcdata  $LIBS"
27667cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27668/* end confdefs.h.  */
27669
27670/* Override any GCC internal prototype to avoid an error.
27671   Use char because int might match the return type of a GCC
27672   builtin and then its argument prototype would still apply.  */
27673#ifdef __cplusplus
27674extern "C"
27675#endif
27676char libcdata_tree_node_remove_node ();
27677int
27678main ()
27679{
27680return libcdata_tree_node_remove_node ();
27681  ;
27682  return 0;
27683}
27684_ACEOF
27685if ac_fn_c_try_link "$LINENO"; then :
27686  ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes
27687else
27688  ac_cv_lib_cdata_libcdata_tree_node_remove_node=no
27689fi
27690rm -f core conftest.err conftest.$ac_objext \
27691    conftest$ac_exeext conftest.$ac_ext
27692LIBS=$ac_check_lib_save_LIBS
27693fi
27694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5
27695$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; }
27696if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then :
27697  ac_cv_libcdata_dummy=yes
27698else
27699  ac_cv_libcdata=no
27700fi
27701
27702        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5
27703$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; }
27704if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then :
27705  $as_echo_n "(cached) " >&6
27706else
27707  ac_check_lib_save_LIBS=$LIBS
27708LIBS="-lcdata  $LIBS"
27709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27710/* end confdefs.h.  */
27711
27712/* Override any GCC internal prototype to avoid an error.
27713   Use char because int might match the return type of a GCC
27714   builtin and then its argument prototype would still apply.  */
27715#ifdef __cplusplus
27716extern "C"
27717#endif
27718char libcdata_tree_node_get_number_of_sub_nodes ();
27719int
27720main ()
27721{
27722return libcdata_tree_node_get_number_of_sub_nodes ();
27723  ;
27724  return 0;
27725}
27726_ACEOF
27727if ac_fn_c_try_link "$LINENO"; then :
27728  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes
27729else
27730  ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no
27731fi
27732rm -f core conftest.err conftest.$ac_objext \
27733    conftest$ac_exeext conftest.$ac_ext
27734LIBS=$ac_check_lib_save_LIBS
27735fi
27736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5
27737$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; }
27738if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then :
27739  ac_cv_libcdata_dummy=yes
27740else
27741  ac_cv_libcdata=no
27742fi
27743
27744        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5
27745$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; }
27746if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then :
27747  $as_echo_n "(cached) " >&6
27748else
27749  ac_check_lib_save_LIBS=$LIBS
27750LIBS="-lcdata  $LIBS"
27751cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27752/* end confdefs.h.  */
27753
27754/* Override any GCC internal prototype to avoid an error.
27755   Use char because int might match the return type of a GCC
27756   builtin and then its argument prototype would still apply.  */
27757#ifdef __cplusplus
27758extern "C"
27759#endif
27760char libcdata_tree_node_get_sub_node_by_index ();
27761int
27762main ()
27763{
27764return libcdata_tree_node_get_sub_node_by_index ();
27765  ;
27766  return 0;
27767}
27768_ACEOF
27769if ac_fn_c_try_link "$LINENO"; then :
27770  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes
27771else
27772  ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no
27773fi
27774rm -f core conftest.err conftest.$ac_objext \
27775    conftest$ac_exeext conftest.$ac_ext
27776LIBS=$ac_check_lib_save_LIBS
27777fi
27778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5
27779$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; }
27780if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then :
27781  ac_cv_libcdata_dummy=yes
27782else
27783  ac_cv_libcdata=no
27784fi
27785
27786        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5
27787$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; }
27788if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then :
27789  $as_echo_n "(cached) " >&6
27790else
27791  ac_check_lib_save_LIBS=$LIBS
27792LIBS="-lcdata  $LIBS"
27793cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27794/* end confdefs.h.  */
27795
27796/* Override any GCC internal prototype to avoid an error.
27797   Use char because int might match the return type of a GCC
27798   builtin and then its argument prototype would still apply.  */
27799#ifdef __cplusplus
27800extern "C"
27801#endif
27802char libcdata_tree_node_get_leaf_node_list ();
27803int
27804main ()
27805{
27806return libcdata_tree_node_get_leaf_node_list ();
27807  ;
27808  return 0;
27809}
27810_ACEOF
27811if ac_fn_c_try_link "$LINENO"; then :
27812  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes
27813else
27814  ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no
27815fi
27816rm -f core conftest.err conftest.$ac_objext \
27817    conftest$ac_exeext conftest.$ac_ext
27818LIBS=$ac_check_lib_save_LIBS
27819fi
27820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5
27821$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; }
27822if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then :
27823  ac_cv_libcdata_dummy=yes
27824else
27825  ac_cv_libcdata=no
27826fi
27827
27828
27829        ac_cv_libcdata_LIBADD="-lcdata"
27830fi
27831
27832fi
27833    if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then :
27834  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27835$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27836as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata
27837See \`config.log' for more details" "$LINENO" 5; }
27838
27839fi
27840
27841fi
27842
27843  if test "x$ac_cv_libcdata" = xyes; then :
27844
27845$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h
27846
27847
27848fi
27849
27850  if test "x$ac_cv_libcdata" = xyes; then :
27851  HAVE_LIBCDATA=1
27852
27853else
27854  HAVE_LIBCDATA=0
27855
27856
27857fi
27858
27859
27860    if test "x$ac_cv_libcdata" != xyes; then :
27861
27862  ac_cv_libcdata_CPPFLAGS="-I../libcdata";
27863  ac_cv_libcdata_LIBADD="../libcdata/libcdata.la";
27864
27865  ac_cv_libcdata=local
27866
27867
27868
27869$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h
27870
27871    HAVE_LOCAL_LIBCDATA=1
27872
27873
27874fi
27875
27876   if test "x$ac_cv_libcdata" = xlocal; then
27877  HAVE_LOCAL_LIBCDATA_TRUE=
27878  HAVE_LOCAL_LIBCDATA_FALSE='#'
27879else
27880  HAVE_LOCAL_LIBCDATA_TRUE='#'
27881  HAVE_LOCAL_LIBCDATA_FALSE=
27882fi
27883
27884  if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then :
27885  LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS
27886
27887
27888fi
27889  if test "x$ac_cv_libcdata_LIBADD" != "x"; then :
27890  LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD
27891
27892
27893fi
27894
27895  if test "x$ac_cv_libcdata" = xyes; then :
27896  ax_libcdata_pc_libs_private=-lcdata
27897
27898
27899fi
27900
27901  if test "x$ac_cv_libcdata" = xyes; then :
27902  ax_libcdata_spec_requires=libcdata
27903
27904    ax_libcdata_spec_build_requires=libcdata-devel
27905
27906
27907fi
27908
27909
27910
27911
27912# Check whether --with-libclocale was given.
27913if test "${with_libclocale+set}" = set; then :
27914  withval=$with_libclocale; ac_cv_with_libclocale=$withval
27915else
27916  ac_cv_with_libclocale=auto-detect
27917fi
27918
27919    { $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
27920$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; }
27921if ${ac_cv_with_libclocale+:} false; then :
27922  $as_echo_n "(cached) " >&6
27923else
27924  ac_cv_with_libclocale=auto-detect
27925fi
27926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5
27927$as_echo "$ac_cv_with_libclocale" >&6; }
27928
27929    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then :
27930  ac_cv_libclocale=no
27931else
27932  ac_cv_libclocale=check
27933        if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then :
27934  if test -d "$ac_cv_with_libclocale"; then :
27935  CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include"
27936        LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib"
27937else
27938  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27940as_fn_error 1 "no such directory: $ac_cv_with_libclocale
27941See \`config.log' for more details" "$LINENO" 5; }
27942
27943fi
27944
27945else
27946        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
27947
27948pkg_failed=no
27949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5
27950$as_echo_n "checking for libclocale... " >&6; }
27951
27952if test -n "$libclocale_CFLAGS"; then
27953    pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS"
27954 elif test -n "$PKG_CONFIG"; then
27955    if test -n "$PKG_CONFIG" && \
27956    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
27957  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
27958  ac_status=$?
27959  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27960  test $ac_status = 0; }; then
27961  pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null`
27962		      test "x$?" != "x0" && pkg_failed=yes
27963else
27964  pkg_failed=yes
27965fi
27966 else
27967    pkg_failed=untried
27968fi
27969if test -n "$libclocale_LIBS"; then
27970    pkg_cv_libclocale_LIBS="$libclocale_LIBS"
27971 elif test -n "$PKG_CONFIG"; then
27972    if test -n "$PKG_CONFIG" && \
27973    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5
27974  ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5
27975  ac_status=$?
27976  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27977  test $ac_status = 0; }; then
27978  pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null`
27979		      test "x$?" != "x0" && pkg_failed=yes
27980else
27981  pkg_failed=yes
27982fi
27983 else
27984    pkg_failed=untried
27985fi
27986
27987
27988
27989if test $pkg_failed = yes; then
27990   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27991$as_echo "no" >&6; }
27992
27993if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27994        _pkg_short_errors_supported=yes
27995else
27996        _pkg_short_errors_supported=no
27997fi
27998        if test $_pkg_short_errors_supported = yes; then
27999	        libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
28000        else
28001	        libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1`
28002        fi
28003	# Put the nasty error message in config.log where it belongs
28004	echo "$libclocale_PKG_ERRORS" >&5
28005
28006	ac_cv_libclocale=check
28007elif test $pkg_failed = untried; then
28008     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28009$as_echo "no" >&6; }
28010	ac_cv_libclocale=check
28011else
28012	libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS
28013	libclocale_LIBS=$pkg_cv_libclocale_LIBS
28014        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28015$as_echo "yes" >&6; }
28016	ac_cv_libclocale=yes
28017fi
28018
28019fi
28020      if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
28021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
28022$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
28023if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then :
28024  $as_echo_n "(cached) " >&6
28025else
28026  ac_ext=c
28027ac_cpp='$CPP $CPPFLAGS'
28028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28030ac_compiler_gnu=$ac_cv_c_compiler_gnu
28031
28032          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28033/* end confdefs.h.  */
28034#include <libclocale/features.h>
28035int
28036main ()
28037{
28038#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 )
28039#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined
28040#endif
28041  ;
28042  return 0;
28043}
28044_ACEOF
28045if ac_fn_c_try_compile "$LINENO"; then :
28046  ac_cv_header_libclocale_features_h_have_wide_character_type=yes
28047else
28048  ac_cv_header_libclocale_features_h_have_wide_character_type=no
28049fi
28050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28051          ac_ext=c
28052ac_cpp='$CPP $CPPFLAGS'
28053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28055ac_compiler_gnu=$ac_cv_c_compiler_gnu
28056
28057fi
28058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5
28059$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; }
28060
28061        if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then :
28062  ac_cv_libclocale=no
28063fi
28064
28065fi
28066      if test "x$ac_cv_libclocale" = xyes; then :
28067  ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS"
28068        ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS"
28069fi
28070
28071fi
28072
28073    if test "x$ac_cv_libclocale" = xcheck; then :
28074        for ac_header in libclocale.h
28075do :
28076  ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default"
28077if test "x$ac_cv_header_libclocale_h" = xyes; then :
28078  cat >>confdefs.h <<_ACEOF
28079#define HAVE_LIBCLOCALE_H 1
28080_ACEOF
28081
28082fi
28083
28084done
28085
28086
28087      if test "x$ac_cv_header_libclocale_h" = xno; then :
28088  ac_cv_libclocale=no
28089else
28090          ac_cv_libclocale=yes
28091
28092        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5
28093$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; }
28094if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then :
28095  $as_echo_n "(cached) " >&6
28096else
28097  ac_check_lib_save_LIBS=$LIBS
28098LIBS="-lclocale  $LIBS"
28099cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28100/* end confdefs.h.  */
28101
28102/* Override any GCC internal prototype to avoid an error.
28103   Use char because int might match the return type of a GCC
28104   builtin and then its argument prototype would still apply.  */
28105#ifdef __cplusplus
28106extern "C"
28107#endif
28108char libclocale_get_version ();
28109int
28110main ()
28111{
28112return libclocale_get_version ();
28113  ;
28114  return 0;
28115}
28116_ACEOF
28117if ac_fn_c_try_link "$LINENO"; then :
28118  ac_cv_lib_clocale_libclocale_get_version=yes
28119else
28120  ac_cv_lib_clocale_libclocale_get_version=no
28121fi
28122rm -f core conftest.err conftest.$ac_objext \
28123    conftest$ac_exeext conftest.$ac_ext
28124LIBS=$ac_check_lib_save_LIBS
28125fi
28126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5
28127$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; }
28128if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then :
28129  ac_cv_libclocale_dummy=yes
28130else
28131  ac_cv_libclocale=no
28132fi
28133
28134
28135                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5
28136$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; }
28137if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then :
28138  $as_echo_n "(cached) " >&6
28139else
28140  ac_check_lib_save_LIBS=$LIBS
28141LIBS="-lclocale  $LIBS"
28142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28143/* end confdefs.h.  */
28144
28145/* Override any GCC internal prototype to avoid an error.
28146   Use char because int might match the return type of a GCC
28147   builtin and then its argument prototype would still apply.  */
28148#ifdef __cplusplus
28149extern "C"
28150#endif
28151char libclocale_codepage ();
28152int
28153main ()
28154{
28155return libclocale_codepage ();
28156  ;
28157  return 0;
28158}
28159_ACEOF
28160if ac_fn_c_try_link "$LINENO"; then :
28161  ac_cv_lib_clocale_libclocale_codepage=yes
28162else
28163  ac_cv_lib_clocale_libclocale_codepage=no
28164fi
28165rm -f core conftest.err conftest.$ac_objext \
28166    conftest$ac_exeext conftest.$ac_ext
28167LIBS=$ac_check_lib_save_LIBS
28168fi
28169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5
28170$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; }
28171if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then :
28172  ac_cv_libclocale_dummy=yes
28173else
28174  ac_cv_libclocale=no
28175fi
28176
28177        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5
28178$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; }
28179if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then :
28180  $as_echo_n "(cached) " >&6
28181else
28182  ac_check_lib_save_LIBS=$LIBS
28183LIBS="-lclocale  $LIBS"
28184cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28185/* end confdefs.h.  */
28186
28187/* Override any GCC internal prototype to avoid an error.
28188   Use char because int might match the return type of a GCC
28189   builtin and then its argument prototype would still apply.  */
28190#ifdef __cplusplus
28191extern "C"
28192#endif
28193char libclocale_codepage_get ();
28194int
28195main ()
28196{
28197return libclocale_codepage_get ();
28198  ;
28199  return 0;
28200}
28201_ACEOF
28202if ac_fn_c_try_link "$LINENO"; then :
28203  ac_cv_lib_clocale_libclocale_codepage_get=yes
28204else
28205  ac_cv_lib_clocale_libclocale_codepage_get=no
28206fi
28207rm -f core conftest.err conftest.$ac_objext \
28208    conftest$ac_exeext conftest.$ac_ext
28209LIBS=$ac_check_lib_save_LIBS
28210fi
28211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5
28212$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; }
28213if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then :
28214  ac_cv_libclocale_dummy=yes
28215else
28216  ac_cv_libclocale=no
28217fi
28218
28219        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5
28220$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; }
28221if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then :
28222  $as_echo_n "(cached) " >&6
28223else
28224  ac_check_lib_save_LIBS=$LIBS
28225LIBS="-lclocale  $LIBS"
28226cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28227/* end confdefs.h.  */
28228
28229/* Override any GCC internal prototype to avoid an error.
28230   Use char because int might match the return type of a GCC
28231   builtin and then its argument prototype would still apply.  */
28232#ifdef __cplusplus
28233extern "C"
28234#endif
28235char libclocale_codepage_set ();
28236int
28237main ()
28238{
28239return libclocale_codepage_set ();
28240  ;
28241  return 0;
28242}
28243_ACEOF
28244if ac_fn_c_try_link "$LINENO"; then :
28245  ac_cv_lib_clocale_libclocale_codepage_set=yes
28246else
28247  ac_cv_lib_clocale_libclocale_codepage_set=no
28248fi
28249rm -f core conftest.err conftest.$ac_objext \
28250    conftest$ac_exeext conftest.$ac_ext
28251LIBS=$ac_check_lib_save_LIBS
28252fi
28253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5
28254$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; }
28255if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then :
28256  ac_cv_libclocale_dummy=yes
28257else
28258  ac_cv_libclocale=no
28259fi
28260
28261        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5
28262$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; }
28263if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then :
28264  $as_echo_n "(cached) " >&6
28265else
28266  ac_check_lib_save_LIBS=$LIBS
28267LIBS="-lclocale  $LIBS"
28268cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28269/* end confdefs.h.  */
28270
28271/* Override any GCC internal prototype to avoid an error.
28272   Use char because int might match the return type of a GCC
28273   builtin and then its argument prototype would still apply.  */
28274#ifdef __cplusplus
28275extern "C"
28276#endif
28277char libclocale_codepage_copy_from_string ();
28278int
28279main ()
28280{
28281return libclocale_codepage_copy_from_string ();
28282  ;
28283  return 0;
28284}
28285_ACEOF
28286if ac_fn_c_try_link "$LINENO"; then :
28287  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes
28288else
28289  ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no
28290fi
28291rm -f core conftest.err conftest.$ac_objext \
28292    conftest$ac_exeext conftest.$ac_ext
28293LIBS=$ac_check_lib_save_LIBS
28294fi
28295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5
28296$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; }
28297if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then :
28298  ac_cv_libclocale_dummy=yes
28299else
28300  ac_cv_libclocale=no
28301fi
28302
28303
28304        if test "x$ac_cv_enable_wide_character_type" != xno; then :
28305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5
28306$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; }
28307if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then :
28308  $as_echo_n "(cached) " >&6
28309else
28310  ac_check_lib_save_LIBS=$LIBS
28311LIBS="-lclocale  $LIBS"
28312cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313/* end confdefs.h.  */
28314
28315/* Override any GCC internal prototype to avoid an error.
28316   Use char because int might match the return type of a GCC
28317   builtin and then its argument prototype would still apply.  */
28318#ifdef __cplusplus
28319extern "C"
28320#endif
28321char libclocale_codepage_copy_from_string_wide ();
28322int
28323main ()
28324{
28325return libclocale_codepage_copy_from_string_wide ();
28326  ;
28327  return 0;
28328}
28329_ACEOF
28330if ac_fn_c_try_link "$LINENO"; then :
28331  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes
28332else
28333  ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no
28334fi
28335rm -f core conftest.err conftest.$ac_objext \
28336    conftest$ac_exeext conftest.$ac_ext
28337LIBS=$ac_check_lib_save_LIBS
28338fi
28339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5
28340$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; }
28341if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then :
28342  ac_cv_libclocale_dummy=yes
28343else
28344  ac_cv_libclocale=no
28345fi
28346
28347
28348fi
28349
28350                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5
28351$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; }
28352if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then :
28353  $as_echo_n "(cached) " >&6
28354else
28355  ac_check_lib_save_LIBS=$LIBS
28356LIBS="-lclocale  $LIBS"
28357cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28358/* end confdefs.h.  */
28359
28360/* Override any GCC internal prototype to avoid an error.
28361   Use char because int might match the return type of a GCC
28362   builtin and then its argument prototype would still apply.  */
28363#ifdef __cplusplus
28364extern "C"
28365#endif
28366char libclocale_locale_get_codepage ();
28367int
28368main ()
28369{
28370return libclocale_locale_get_codepage ();
28371  ;
28372  return 0;
28373}
28374_ACEOF
28375if ac_fn_c_try_link "$LINENO"; then :
28376  ac_cv_lib_clocale_libclocale_locale_get_codepage=yes
28377else
28378  ac_cv_lib_clocale_libclocale_locale_get_codepage=no
28379fi
28380rm -f core conftest.err conftest.$ac_objext \
28381    conftest$ac_exeext conftest.$ac_ext
28382LIBS=$ac_check_lib_save_LIBS
28383fi
28384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5
28385$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; }
28386if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then :
28387  ac_cv_libclocale_dummy=yes
28388else
28389  ac_cv_libclocale=no
28390fi
28391
28392        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5
28393$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; }
28394if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then :
28395  $as_echo_n "(cached) " >&6
28396else
28397  ac_check_lib_save_LIBS=$LIBS
28398LIBS="-lclocale  $LIBS"
28399cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28400/* end confdefs.h.  */
28401
28402/* Override any GCC internal prototype to avoid an error.
28403   Use char because int might match the return type of a GCC
28404   builtin and then its argument prototype would still apply.  */
28405#ifdef __cplusplus
28406extern "C"
28407#endif
28408char libclocale_locale_get_decimal_point ();
28409int
28410main ()
28411{
28412return libclocale_locale_get_decimal_point ();
28413  ;
28414  return 0;
28415}
28416_ACEOF
28417if ac_fn_c_try_link "$LINENO"; then :
28418  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes
28419else
28420  ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no
28421fi
28422rm -f core conftest.err conftest.$ac_objext \
28423    conftest$ac_exeext conftest.$ac_ext
28424LIBS=$ac_check_lib_save_LIBS
28425fi
28426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5
28427$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; }
28428if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then :
28429  ac_cv_libclocale_dummy=yes
28430else
28431  ac_cv_libclocale=no
28432fi
28433
28434
28435                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5
28436$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; }
28437if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then :
28438  $as_echo_n "(cached) " >&6
28439else
28440  ac_check_lib_save_LIBS=$LIBS
28441LIBS="-lclocale  $LIBS"
28442cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28443/* end confdefs.h.  */
28444
28445/* Override any GCC internal prototype to avoid an error.
28446   Use char because int might match the return type of a GCC
28447   builtin and then its argument prototype would still apply.  */
28448#ifdef __cplusplus
28449extern "C"
28450#endif
28451char libclocale_initialize ();
28452int
28453main ()
28454{
28455return libclocale_initialize ();
28456  ;
28457  return 0;
28458}
28459_ACEOF
28460if ac_fn_c_try_link "$LINENO"; then :
28461  ac_cv_lib_clocale_libclocale_initialize=yes
28462else
28463  ac_cv_lib_clocale_libclocale_initialize=no
28464fi
28465rm -f core conftest.err conftest.$ac_objext \
28466    conftest$ac_exeext conftest.$ac_ext
28467LIBS=$ac_check_lib_save_LIBS
28468fi
28469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5
28470$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; }
28471if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then :
28472  ac_cv_libclocale_dummy=yes
28473else
28474  ac_cv_libclocale=no
28475fi
28476
28477
28478        ac_cv_libclocale_LIBADD="-lclocale"
28479fi
28480
28481fi
28482    if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then :
28483  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28484$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28485as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale
28486See \`config.log' for more details" "$LINENO" 5; }
28487
28488fi
28489
28490fi
28491
28492  if test "x$ac_cv_libclocale" = xyes; then :
28493
28494$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h
28495
28496
28497fi
28498
28499  if test "x$ac_cv_libclocale" = xyes; then :
28500  HAVE_LIBCLOCALE=1
28501
28502else
28503  HAVE_LIBCLOCALE=0
28504
28505
28506fi
28507
28508
28509    if test "x$ac_cv_libclocale" != xyes; then :
28510    for ac_header in langinfo.h locale.h
28511do :
28512  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28513ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
28514if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
28515  cat >>confdefs.h <<_ACEOF
28516#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28517_ACEOF
28518
28519fi
28520
28521done
28522
28523
28524    for ac_func in getenv
28525do :
28526  ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
28527if test "x$ac_cv_func_getenv" = xyes; then :
28528  cat >>confdefs.h <<_ACEOF
28529#define HAVE_GETENV 1
28530_ACEOF
28531
28532fi
28533done
28534
28535
28536  if test "x$ac_cv_func_getenv" != xyes; then :
28537  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28539as_fn_error 1 "Missing function: getenv
28540See \`config.log' for more details" "$LINENO" 5; }
28541
28542fi
28543
28544    if test "x$ac_cv_enable_winapi" = xno; then :
28545  for ac_func in localeconv
28546do :
28547  ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv"
28548if test "x$ac_cv_func_localeconv" = xyes; then :
28549  cat >>confdefs.h <<_ACEOF
28550#define HAVE_LOCALECONV 1
28551_ACEOF
28552
28553fi
28554done
28555
28556
28557    if test "x$ac_cv_func_localeconv" != xyes; then :
28558  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28559$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28560as_fn_error 1 "Missing function: localeconv
28561See \`config.log' for more details" "$LINENO" 5; }
28562
28563fi
28564
28565fi
28566
28567  for ac_func in setlocale
28568do :
28569  ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
28570if test "x$ac_cv_func_setlocale" = xyes; then :
28571  cat >>confdefs.h <<_ACEOF
28572#define HAVE_SETLOCALE 1
28573_ACEOF
28574
28575fi
28576done
28577
28578
28579  if test "x$ac_cv_func_setlocale" != xyes; then :
28580  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28581$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28582as_fn_error 1 "Missing function: setlocale
28583See \`config.log' for more details" "$LINENO" 5; }
28584
28585fi
28586
28587  for ac_func in nl_langinfo
28588do :
28589  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
28590if test "x$ac_cv_func_nl_langinfo" = xyes; then :
28591  cat >>confdefs.h <<_ACEOF
28592#define HAVE_NL_LANGINFO 1
28593_ACEOF
28594
28595fi
28596done
28597
28598
28599  if test "x$ac_cv_func_nl_langinfo" = xyes; then :
28600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5
28601$as_echo_n "checking for nl_langinfo CODESET support... " >&6; }
28602if ${ac_cv_cv_langinfo_codeset+:} false; then :
28603  $as_echo_n "(cached) " >&6
28604else
28605  ac_ext=c
28606ac_cpp='$CPP $CPPFLAGS'
28607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28609ac_compiler_gnu=$ac_cv_c_compiler_gnu
28610
28611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28612/* end confdefs.h.  */
28613#include <langinfo.h>
28614int
28615main ()
28616{
28617char* charset = nl_langinfo( CODESET );
28618  ;
28619  return 0;
28620}
28621_ACEOF
28622if ac_fn_c_try_link "$LINENO"; then :
28623  ac_cv_cv_langinfo_codeset=yes
28624else
28625  ac_cv_cv_langinfo_codeset=no
28626fi
28627rm -f core conftest.err conftest.$ac_objext \
28628    conftest$ac_exeext conftest.$ac_ext
28629      ac_ext=c
28630ac_cpp='$CPP $CPPFLAGS'
28631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633ac_compiler_gnu=$ac_cv_c_compiler_gnu
28634
28635fi
28636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5
28637$as_echo "$ac_cv_cv_langinfo_codeset" >&6; }
28638else
28639  ac_cv_cv_langinfo_codeset=no
28640fi
28641
28642  if test "x$ac_cv_cv_langinfo_codeset" = xyes; then :
28643
28644$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
28645
28646
28647fi
28648
28649
28650  ac_cv_libclocale_CPPFLAGS="-I../libclocale";
28651  ac_cv_libclocale_LIBADD="../libclocale/libclocale.la";
28652
28653  ac_cv_libclocale=local
28654
28655
28656
28657$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h
28658
28659    HAVE_LOCAL_LIBCLOCALE=1
28660
28661
28662fi
28663
28664   if test "x$ac_cv_libclocale" = xlocal; then
28665  HAVE_LOCAL_LIBCLOCALE_TRUE=
28666  HAVE_LOCAL_LIBCLOCALE_FALSE='#'
28667else
28668  HAVE_LOCAL_LIBCLOCALE_TRUE='#'
28669  HAVE_LOCAL_LIBCLOCALE_FALSE=
28670fi
28671
28672  if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then :
28673  LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS
28674
28675
28676fi
28677  if test "x$ac_cv_libclocale_LIBADD" != "x"; then :
28678  LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD
28679
28680
28681fi
28682
28683  if test "x$ac_cv_libclocale" = xyes; then :
28684  ax_libclocale_pc_libs_private=-lclocale
28685
28686
28687fi
28688
28689  if test "x$ac_cv_libclocale" = xyes; then :
28690  ax_libclocale_spec_requires=libclocale
28691
28692    ax_libclocale_spec_build_requires=libclocale-devel
28693
28694
28695fi
28696
28697
28698
28699
28700# Check whether --with-libcnotify was given.
28701if test "${with_libcnotify+set}" = set; then :
28702  withval=$with_libcnotify; ac_cv_with_libcnotify=$withval
28703else
28704  ac_cv_with_libcnotify=auto-detect
28705fi
28706
28707    { $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
28708$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; }
28709if ${ac_cv_with_libcnotify+:} false; then :
28710  $as_echo_n "(cached) " >&6
28711else
28712  ac_cv_with_libcnotify=auto-detect
28713fi
28714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5
28715$as_echo "$ac_cv_with_libcnotify" >&6; }
28716
28717    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then :
28718  ac_cv_libcnotify=no
28719else
28720  ac_cv_libcnotify=check
28721        if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then :
28722  if test -d "$ac_cv_with_libcnotify"; then :
28723  CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include"
28724        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib"
28725else
28726  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28728as_fn_error 1 "no such directory: $ac_cv_with_libcnotify
28729See \`config.log' for more details" "$LINENO" 5; }
28730
28731fi
28732
28733else
28734        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
28735
28736pkg_failed=no
28737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5
28738$as_echo_n "checking for libcnotify... " >&6; }
28739
28740if test -n "$libcnotify_CFLAGS"; then
28741    pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS"
28742 elif test -n "$PKG_CONFIG"; then
28743    if test -n "$PKG_CONFIG" && \
28744    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
28745  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
28746  ac_status=$?
28747  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28748  test $ac_status = 0; }; then
28749  pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null`
28750		      test "x$?" != "x0" && pkg_failed=yes
28751else
28752  pkg_failed=yes
28753fi
28754 else
28755    pkg_failed=untried
28756fi
28757if test -n "$libcnotify_LIBS"; then
28758    pkg_cv_libcnotify_LIBS="$libcnotify_LIBS"
28759 elif test -n "$PKG_CONFIG"; then
28760    if test -n "$PKG_CONFIG" && \
28761    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5
28762  ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5
28763  ac_status=$?
28764  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28765  test $ac_status = 0; }; then
28766  pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null`
28767		      test "x$?" != "x0" && pkg_failed=yes
28768else
28769  pkg_failed=yes
28770fi
28771 else
28772    pkg_failed=untried
28773fi
28774
28775
28776
28777if test $pkg_failed = yes; then
28778   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28779$as_echo "no" >&6; }
28780
28781if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28782        _pkg_short_errors_supported=yes
28783else
28784        _pkg_short_errors_supported=no
28785fi
28786        if test $_pkg_short_errors_supported = yes; then
28787	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
28788        else
28789	        libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1`
28790        fi
28791	# Put the nasty error message in config.log where it belongs
28792	echo "$libcnotify_PKG_ERRORS" >&5
28793
28794	ac_cv_libcnotify=check
28795elif test $pkg_failed = untried; then
28796     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28797$as_echo "no" >&6; }
28798	ac_cv_libcnotify=check
28799else
28800	libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS
28801	libcnotify_LIBS=$pkg_cv_libcnotify_LIBS
28802        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28803$as_echo "yes" >&6; }
28804	ac_cv_libcnotify=yes
28805fi
28806
28807fi
28808      if test "x$ac_cv_libcnotify" = xyes; then :
28809  ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS"
28810        ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS"
28811fi
28812
28813fi
28814
28815    if test "x$ac_cv_libcnotify" = xcheck; then :
28816        for ac_header in libcnotify.h
28817do :
28818  ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default"
28819if test "x$ac_cv_header_libcnotify_h" = xyes; then :
28820  cat >>confdefs.h <<_ACEOF
28821#define HAVE_LIBCNOTIFY_H 1
28822_ACEOF
28823
28824fi
28825
28826done
28827
28828
28829      if test "x$ac_cv_header_libcnotify_h" = xno; then :
28830  ac_cv_libcnotify=no
28831else
28832          ac_cv_libcnotify=yes
28833
28834        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5
28835$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; }
28836if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then :
28837  $as_echo_n "(cached) " >&6
28838else
28839  ac_check_lib_save_LIBS=$LIBS
28840LIBS="-lcnotify  $LIBS"
28841cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28842/* end confdefs.h.  */
28843
28844/* Override any GCC internal prototype to avoid an error.
28845   Use char because int might match the return type of a GCC
28846   builtin and then its argument prototype would still apply.  */
28847#ifdef __cplusplus
28848extern "C"
28849#endif
28850char libcnotify_get_version ();
28851int
28852main ()
28853{
28854return libcnotify_get_version ();
28855  ;
28856  return 0;
28857}
28858_ACEOF
28859if ac_fn_c_try_link "$LINENO"; then :
28860  ac_cv_lib_cnotify_libcnotify_get_version=yes
28861else
28862  ac_cv_lib_cnotify_libcnotify_get_version=no
28863fi
28864rm -f core conftest.err conftest.$ac_objext \
28865    conftest$ac_exeext conftest.$ac_ext
28866LIBS=$ac_check_lib_save_LIBS
28867fi
28868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5
28869$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; }
28870if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then :
28871  ac_cv_libcnotify_dummy=yes
28872else
28873  ac_cv_libcnotify=no
28874fi
28875
28876
28877                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5
28878$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; }
28879if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then :
28880  $as_echo_n "(cached) " >&6
28881else
28882  ac_check_lib_save_LIBS=$LIBS
28883LIBS="-lcnotify  $LIBS"
28884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28885/* end confdefs.h.  */
28886
28887/* Override any GCC internal prototype to avoid an error.
28888   Use char because int might match the return type of a GCC
28889   builtin and then its argument prototype would still apply.  */
28890#ifdef __cplusplus
28891extern "C"
28892#endif
28893char libcnotify_printf ();
28894int
28895main ()
28896{
28897return libcnotify_printf ();
28898  ;
28899  return 0;
28900}
28901_ACEOF
28902if ac_fn_c_try_link "$LINENO"; then :
28903  ac_cv_lib_cnotify_libcnotify_printf=yes
28904else
28905  ac_cv_lib_cnotify_libcnotify_printf=no
28906fi
28907rm -f core conftest.err conftest.$ac_objext \
28908    conftest$ac_exeext conftest.$ac_ext
28909LIBS=$ac_check_lib_save_LIBS
28910fi
28911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5
28912$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; }
28913if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then :
28914  ac_cv_libcnotify_dummy=yes
28915else
28916  ac_cv_libcnotify=no
28917fi
28918
28919        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5
28920$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; }
28921if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then :
28922  $as_echo_n "(cached) " >&6
28923else
28924  ac_check_lib_save_LIBS=$LIBS
28925LIBS="-lcnotify  $LIBS"
28926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28927/* end confdefs.h.  */
28928
28929/* Override any GCC internal prototype to avoid an error.
28930   Use char because int might match the return type of a GCC
28931   builtin and then its argument prototype would still apply.  */
28932#ifdef __cplusplus
28933extern "C"
28934#endif
28935char libcnotify_print_data ();
28936int
28937main ()
28938{
28939return libcnotify_print_data ();
28940  ;
28941  return 0;
28942}
28943_ACEOF
28944if ac_fn_c_try_link "$LINENO"; then :
28945  ac_cv_lib_cnotify_libcnotify_print_data=yes
28946else
28947  ac_cv_lib_cnotify_libcnotify_print_data=no
28948fi
28949rm -f core conftest.err conftest.$ac_objext \
28950    conftest$ac_exeext conftest.$ac_ext
28951LIBS=$ac_check_lib_save_LIBS
28952fi
28953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5
28954$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; }
28955if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then :
28956  ac_cv_libcnotify_dummy=yes
28957else
28958  ac_cv_libcnotify=no
28959fi
28960
28961        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5
28962$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; }
28963if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then :
28964  $as_echo_n "(cached) " >&6
28965else
28966  ac_check_lib_save_LIBS=$LIBS
28967LIBS="-lcnotify  $LIBS"
28968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28969/* end confdefs.h.  */
28970
28971/* Override any GCC internal prototype to avoid an error.
28972   Use char because int might match the return type of a GCC
28973   builtin and then its argument prototype would still apply.  */
28974#ifdef __cplusplus
28975extern "C"
28976#endif
28977char libcnotify_print_error_backtrace ();
28978int
28979main ()
28980{
28981return libcnotify_print_error_backtrace ();
28982  ;
28983  return 0;
28984}
28985_ACEOF
28986if ac_fn_c_try_link "$LINENO"; then :
28987  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes
28988else
28989  ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no
28990fi
28991rm -f core conftest.err conftest.$ac_objext \
28992    conftest$ac_exeext conftest.$ac_ext
28993LIBS=$ac_check_lib_save_LIBS
28994fi
28995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5
28996$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; }
28997if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then :
28998  ac_cv_libcnotify_dummy=yes
28999else
29000  ac_cv_libcnotify=no
29001fi
29002
29003
29004                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5
29005$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; }
29006if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then :
29007  $as_echo_n "(cached) " >&6
29008else
29009  ac_check_lib_save_LIBS=$LIBS
29010LIBS="-lcnotify  $LIBS"
29011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29012/* end confdefs.h.  */
29013
29014/* Override any GCC internal prototype to avoid an error.
29015   Use char because int might match the return type of a GCC
29016   builtin and then its argument prototype would still apply.  */
29017#ifdef __cplusplus
29018extern "C"
29019#endif
29020char libcnotify_stream_set ();
29021int
29022main ()
29023{
29024return libcnotify_stream_set ();
29025  ;
29026  return 0;
29027}
29028_ACEOF
29029if ac_fn_c_try_link "$LINENO"; then :
29030  ac_cv_lib_cnotify_libcnotify_stream_set=yes
29031else
29032  ac_cv_lib_cnotify_libcnotify_stream_set=no
29033fi
29034rm -f core conftest.err conftest.$ac_objext \
29035    conftest$ac_exeext conftest.$ac_ext
29036LIBS=$ac_check_lib_save_LIBS
29037fi
29038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5
29039$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; }
29040if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then :
29041  ac_cv_libcnotify_dummy=yes
29042else
29043  ac_cv_libcnotify=no
29044fi
29045
29046        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5
29047$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; }
29048if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then :
29049  $as_echo_n "(cached) " >&6
29050else
29051  ac_check_lib_save_LIBS=$LIBS
29052LIBS="-lcnotify  $LIBS"
29053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29054/* end confdefs.h.  */
29055
29056/* Override any GCC internal prototype to avoid an error.
29057   Use char because int might match the return type of a GCC
29058   builtin and then its argument prototype would still apply.  */
29059#ifdef __cplusplus
29060extern "C"
29061#endif
29062char libcnotify_stream_open ();
29063int
29064main ()
29065{
29066return libcnotify_stream_open ();
29067  ;
29068  return 0;
29069}
29070_ACEOF
29071if ac_fn_c_try_link "$LINENO"; then :
29072  ac_cv_lib_cnotify_libcnotify_stream_open=yes
29073else
29074  ac_cv_lib_cnotify_libcnotify_stream_open=no
29075fi
29076rm -f core conftest.err conftest.$ac_objext \
29077    conftest$ac_exeext conftest.$ac_ext
29078LIBS=$ac_check_lib_save_LIBS
29079fi
29080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5
29081$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; }
29082if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then :
29083  ac_cv_libcnotify_dummy=yes
29084else
29085  ac_cv_libcnotify=no
29086fi
29087
29088        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5
29089$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; }
29090if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then :
29091  $as_echo_n "(cached) " >&6
29092else
29093  ac_check_lib_save_LIBS=$LIBS
29094LIBS="-lcnotify  $LIBS"
29095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29096/* end confdefs.h.  */
29097
29098/* Override any GCC internal prototype to avoid an error.
29099   Use char because int might match the return type of a GCC
29100   builtin and then its argument prototype would still apply.  */
29101#ifdef __cplusplus
29102extern "C"
29103#endif
29104char libcnotify_stream_close ();
29105int
29106main ()
29107{
29108return libcnotify_stream_close ();
29109  ;
29110  return 0;
29111}
29112_ACEOF
29113if ac_fn_c_try_link "$LINENO"; then :
29114  ac_cv_lib_cnotify_libcnotify_stream_close=yes
29115else
29116  ac_cv_lib_cnotify_libcnotify_stream_close=no
29117fi
29118rm -f core conftest.err conftest.$ac_objext \
29119    conftest$ac_exeext conftest.$ac_ext
29120LIBS=$ac_check_lib_save_LIBS
29121fi
29122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5
29123$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; }
29124if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then :
29125  ac_cv_libcnotify_dummy=yes
29126else
29127  ac_cv_libcnotify=no
29128fi
29129
29130
29131                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5
29132$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; }
29133if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then :
29134  $as_echo_n "(cached) " >&6
29135else
29136  ac_check_lib_save_LIBS=$LIBS
29137LIBS="-lcnotify  $LIBS"
29138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139/* end confdefs.h.  */
29140
29141/* Override any GCC internal prototype to avoid an error.
29142   Use char because int might match the return type of a GCC
29143   builtin and then its argument prototype would still apply.  */
29144#ifdef __cplusplus
29145extern "C"
29146#endif
29147char libcnotify_verbose_set ();
29148int
29149main ()
29150{
29151return libcnotify_verbose_set ();
29152  ;
29153  return 0;
29154}
29155_ACEOF
29156if ac_fn_c_try_link "$LINENO"; then :
29157  ac_cv_lib_cnotify_libcnotify_verbose_set=yes
29158else
29159  ac_cv_lib_cnotify_libcnotify_verbose_set=no
29160fi
29161rm -f core conftest.err conftest.$ac_objext \
29162    conftest$ac_exeext conftest.$ac_ext
29163LIBS=$ac_check_lib_save_LIBS
29164fi
29165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5
29166$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; }
29167if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then :
29168  ac_cv_libcnotify_dummy=yes
29169else
29170  ac_cv_libcnotify=no
29171fi
29172
29173
29174        ac_cv_libcnotify_LIBADD="-lcnotify"
29175fi
29176
29177fi
29178    if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then :
29179  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29181as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify
29182See \`config.log' for more details" "$LINENO" 5; }
29183
29184fi
29185
29186fi
29187
29188  if test "x$ac_cv_libcnotify" = xyes; then :
29189
29190$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h
29191
29192
29193fi
29194
29195  if test "x$ac_cv_libcnotify" = xyes; then :
29196  HAVE_LIBCNOTIFY=1
29197
29198else
29199  HAVE_LIBCNOTIFY=0
29200
29201
29202fi
29203
29204
29205    if test "x$ac_cv_libcnotify" != xyes; then :
29206    for ac_header in stdarg.h varargs.h
29207do :
29208  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29209ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
29210if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
29211  cat >>confdefs.h <<_ACEOF
29212#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29213_ACEOF
29214
29215fi
29216
29217done
29218
29219
29220  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
29221  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29222$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29223as_fn_error 1 "Missing headers: stdarg.h and varargs.h
29224See \`config.log' for more details" "$LINENO" 5; }
29225
29226fi
29227
29228    for ac_header in errno.h
29229do :
29230  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
29231if test "x$ac_cv_header_errno_h" = xyes; then :
29232  cat >>confdefs.h <<_ACEOF
29233#define HAVE_ERRNO_H 1
29234_ACEOF
29235
29236fi
29237
29238done
29239
29240
29241  ac_cv_libcnotify_CPPFLAGS="-I../libcnotify";
29242  ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la";
29243
29244  ac_cv_libcnotify=local
29245
29246
29247
29248$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h
29249
29250    HAVE_LOCAL_LIBCNOTIFY=1
29251
29252
29253fi
29254
29255   if test "x$ac_cv_libcnotify" = xlocal; then
29256  HAVE_LOCAL_LIBCNOTIFY_TRUE=
29257  HAVE_LOCAL_LIBCNOTIFY_FALSE='#'
29258else
29259  HAVE_LOCAL_LIBCNOTIFY_TRUE='#'
29260  HAVE_LOCAL_LIBCNOTIFY_FALSE=
29261fi
29262
29263  if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then :
29264  LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS
29265
29266
29267fi
29268  if test "x$ac_cv_libcnotify_LIBADD" != "x"; then :
29269  LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD
29270
29271
29272fi
29273
29274  if test "x$ac_cv_libcnotify" = xyes; then :
29275  ax_libcnotify_pc_libs_private=-lcnotify
29276
29277
29278fi
29279
29280  if test "x$ac_cv_libcnotify" = xyes; then :
29281  ax_libcnotify_spec_requires=libcnotify
29282
29283    ax_libcnotify_spec_build_requires=libcnotify-devel
29284
29285
29286fi
29287
29288
29289
29290
29291# Check whether --with-libcsplit was given.
29292if test "${with_libcsplit+set}" = set; then :
29293  withval=$with_libcsplit; ac_cv_with_libcsplit=$withval
29294else
29295  ac_cv_with_libcsplit=auto-detect
29296fi
29297
29298    { $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
29299$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; }
29300if ${ac_cv_with_libcsplit+:} false; then :
29301  $as_echo_n "(cached) " >&6
29302else
29303  ac_cv_with_libcsplit=auto-detect
29304fi
29305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5
29306$as_echo "$ac_cv_with_libcsplit" >&6; }
29307
29308    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then :
29309  ac_cv_libcsplit=no
29310else
29311  ac_cv_libcsplit=check
29312        if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then :
29313  if test -d "$ac_cv_with_libcsplit"; then :
29314  CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include"
29315        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib"
29316else
29317  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29318$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29319as_fn_error 1 "no such directory: $ac_cv_with_libcsplit
29320See \`config.log' for more details" "$LINENO" 5; }
29321
29322fi
29323
29324else
29325        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
29326
29327pkg_failed=no
29328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5
29329$as_echo_n "checking for libcsplit... " >&6; }
29330
29331if test -n "$libcsplit_CFLAGS"; then
29332    pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS"
29333 elif test -n "$PKG_CONFIG"; then
29334    if test -n "$PKG_CONFIG" && \
29335    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
29336  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
29337  ac_status=$?
29338  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29339  test $ac_status = 0; }; then
29340  pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null`
29341		      test "x$?" != "x0" && pkg_failed=yes
29342else
29343  pkg_failed=yes
29344fi
29345 else
29346    pkg_failed=untried
29347fi
29348if test -n "$libcsplit_LIBS"; then
29349    pkg_cv_libcsplit_LIBS="$libcsplit_LIBS"
29350 elif test -n "$PKG_CONFIG"; then
29351    if test -n "$PKG_CONFIG" && \
29352    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5
29353  ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5
29354  ac_status=$?
29355  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29356  test $ac_status = 0; }; then
29357  pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null`
29358		      test "x$?" != "x0" && pkg_failed=yes
29359else
29360  pkg_failed=yes
29361fi
29362 else
29363    pkg_failed=untried
29364fi
29365
29366
29367
29368if test $pkg_failed = yes; then
29369   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29370$as_echo "no" >&6; }
29371
29372if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29373        _pkg_short_errors_supported=yes
29374else
29375        _pkg_short_errors_supported=no
29376fi
29377        if test $_pkg_short_errors_supported = yes; then
29378	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
29379        else
29380	        libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1`
29381        fi
29382	# Put the nasty error message in config.log where it belongs
29383	echo "$libcsplit_PKG_ERRORS" >&5
29384
29385	ac_cv_libcsplit=check
29386elif test $pkg_failed = untried; then
29387     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29388$as_echo "no" >&6; }
29389	ac_cv_libcsplit=check
29390else
29391	libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS
29392	libcsplit_LIBS=$pkg_cv_libcsplit_LIBS
29393        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29394$as_echo "yes" >&6; }
29395	ac_cv_libcsplit=yes
29396fi
29397
29398fi
29399      if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
29400  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
29401$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
29402if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then :
29403  $as_echo_n "(cached) " >&6
29404else
29405  ac_ext=c
29406ac_cpp='$CPP $CPPFLAGS'
29407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409ac_compiler_gnu=$ac_cv_c_compiler_gnu
29410
29411          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29412/* end confdefs.h.  */
29413#include <libcsplit/features.h>
29414int
29415main ()
29416{
29417#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 )
29418#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined
29419#endif
29420  ;
29421  return 0;
29422}
29423_ACEOF
29424if ac_fn_c_try_compile "$LINENO"; then :
29425  ac_cv_header_libcsplit_features_h_have_wide_character_type=yes
29426else
29427  ac_cv_header_libcsplit_features_h_have_wide_character_type=no
29428fi
29429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29430          ac_ext=c
29431ac_cpp='$CPP $CPPFLAGS'
29432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434ac_compiler_gnu=$ac_cv_c_compiler_gnu
29435
29436fi
29437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5
29438$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; }
29439
29440         if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then :
29441  ac_cv_libcsplit=no
29442fi
29443
29444fi
29445      if test "x$ac_cv_libcsplit" = xyes; then :
29446  ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS"
29447        ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS"
29448fi
29449
29450fi
29451
29452    if test "x$ac_cv_libcsplit" = xcheck; then :
29453        for ac_header in libcsplit.h
29454do :
29455  ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default"
29456if test "x$ac_cv_header_libcsplit_h" = xyes; then :
29457  cat >>confdefs.h <<_ACEOF
29458#define HAVE_LIBCSPLIT_H 1
29459_ACEOF
29460
29461fi
29462
29463done
29464
29465
29466      if test "x$ac_cv_header_libcsplit_h" = xno; then :
29467  ac_cv_libcsplit=no
29468else
29469          ac_cv_libcsplit=yes
29470
29471        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5
29472$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; }
29473if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then :
29474  $as_echo_n "(cached) " >&6
29475else
29476  ac_check_lib_save_LIBS=$LIBS
29477LIBS="-lcsplit  $LIBS"
29478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29479/* end confdefs.h.  */
29480
29481/* Override any GCC internal prototype to avoid an error.
29482   Use char because int might match the return type of a GCC
29483   builtin and then its argument prototype would still apply.  */
29484#ifdef __cplusplus
29485extern "C"
29486#endif
29487char libcsplit_get_version ();
29488int
29489main ()
29490{
29491return libcsplit_get_version ();
29492  ;
29493  return 0;
29494}
29495_ACEOF
29496if ac_fn_c_try_link "$LINENO"; then :
29497  ac_cv_lib_csplit_libcsplit_get_version=yes
29498else
29499  ac_cv_lib_csplit_libcsplit_get_version=no
29500fi
29501rm -f core conftest.err conftest.$ac_objext \
29502    conftest$ac_exeext conftest.$ac_ext
29503LIBS=$ac_check_lib_save_LIBS
29504fi
29505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5
29506$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; }
29507if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then :
29508  ac_cv_libcsplit_dummy=yes
29509else
29510  ac_cv_libcsplit=no
29511fi
29512
29513
29514                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5
29515$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; }
29516if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then :
29517  $as_echo_n "(cached) " >&6
29518else
29519  ac_check_lib_save_LIBS=$LIBS
29520LIBS="-lcsplit  $LIBS"
29521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29522/* end confdefs.h.  */
29523
29524/* Override any GCC internal prototype to avoid an error.
29525   Use char because int might match the return type of a GCC
29526   builtin and then its argument prototype would still apply.  */
29527#ifdef __cplusplus
29528extern "C"
29529#endif
29530char libcsplit_narrow_string_split ();
29531int
29532main ()
29533{
29534return libcsplit_narrow_string_split ();
29535  ;
29536  return 0;
29537}
29538_ACEOF
29539if ac_fn_c_try_link "$LINENO"; then :
29540  ac_cv_lib_csplit_libcsplit_narrow_string_split=yes
29541else
29542  ac_cv_lib_csplit_libcsplit_narrow_string_split=no
29543fi
29544rm -f core conftest.err conftest.$ac_objext \
29545    conftest$ac_exeext conftest.$ac_ext
29546LIBS=$ac_check_lib_save_LIBS
29547fi
29548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5
29549$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; }
29550if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then :
29551  ac_cv_libcsplit_dummy=yes
29552else
29553  ac_cv_libcsplit=no
29554fi
29555
29556
29557                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5
29558$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; }
29559if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then :
29560  $as_echo_n "(cached) " >&6
29561else
29562  ac_check_lib_save_LIBS=$LIBS
29563LIBS="-lcsplit  $LIBS"
29564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29565/* end confdefs.h.  */
29566
29567/* Override any GCC internal prototype to avoid an error.
29568   Use char because int might match the return type of a GCC
29569   builtin and then its argument prototype would still apply.  */
29570#ifdef __cplusplus
29571extern "C"
29572#endif
29573char libcsplit_narrow_split_string_free ();
29574int
29575main ()
29576{
29577return libcsplit_narrow_split_string_free ();
29578  ;
29579  return 0;
29580}
29581_ACEOF
29582if ac_fn_c_try_link "$LINENO"; then :
29583  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes
29584else
29585  ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no
29586fi
29587rm -f core conftest.err conftest.$ac_objext \
29588    conftest$ac_exeext conftest.$ac_ext
29589LIBS=$ac_check_lib_save_LIBS
29590fi
29591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5
29592$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; }
29593if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then :
29594  ac_cv_libcsplit_dummy=yes
29595else
29596  ac_cv_libcsplit=no
29597fi
29598
29599        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5
29600$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; }
29601if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then :
29602  $as_echo_n "(cached) " >&6
29603else
29604  ac_check_lib_save_LIBS=$LIBS
29605LIBS="-lcsplit  $LIBS"
29606cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29607/* end confdefs.h.  */
29608
29609/* Override any GCC internal prototype to avoid an error.
29610   Use char because int might match the return type of a GCC
29611   builtin and then its argument prototype would still apply.  */
29612#ifdef __cplusplus
29613extern "C"
29614#endif
29615char libcsplit_narrow_split_string_get_string ();
29616int
29617main ()
29618{
29619return libcsplit_narrow_split_string_get_string ();
29620  ;
29621  return 0;
29622}
29623_ACEOF
29624if ac_fn_c_try_link "$LINENO"; then :
29625  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes
29626else
29627  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no
29628fi
29629rm -f core conftest.err conftest.$ac_objext \
29630    conftest$ac_exeext conftest.$ac_ext
29631LIBS=$ac_check_lib_save_LIBS
29632fi
29633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5
29634$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; }
29635if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then :
29636  ac_cv_libcsplit_dummy=yes
29637else
29638  ac_cv_libcsplit=no
29639fi
29640
29641        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5
29642$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; }
29643if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then :
29644  $as_echo_n "(cached) " >&6
29645else
29646  ac_check_lib_save_LIBS=$LIBS
29647LIBS="-lcsplit  $LIBS"
29648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29649/* end confdefs.h.  */
29650
29651/* Override any GCC internal prototype to avoid an error.
29652   Use char because int might match the return type of a GCC
29653   builtin and then its argument prototype would still apply.  */
29654#ifdef __cplusplus
29655extern "C"
29656#endif
29657char libcsplit_narrow_split_string_get_number_of_segments ();
29658int
29659main ()
29660{
29661return libcsplit_narrow_split_string_get_number_of_segments ();
29662  ;
29663  return 0;
29664}
29665_ACEOF
29666if ac_fn_c_try_link "$LINENO"; then :
29667  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes
29668else
29669  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no
29670fi
29671rm -f core conftest.err conftest.$ac_objext \
29672    conftest$ac_exeext conftest.$ac_ext
29673LIBS=$ac_check_lib_save_LIBS
29674fi
29675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5
29676$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; }
29677if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then :
29678  ac_cv_libcsplit_dummy=yes
29679else
29680  ac_cv_libcsplit=no
29681fi
29682
29683        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5
29684$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; }
29685if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then :
29686  $as_echo_n "(cached) " >&6
29687else
29688  ac_check_lib_save_LIBS=$LIBS
29689LIBS="-lcsplit  $LIBS"
29690cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691/* end confdefs.h.  */
29692
29693/* Override any GCC internal prototype to avoid an error.
29694   Use char because int might match the return type of a GCC
29695   builtin and then its argument prototype would still apply.  */
29696#ifdef __cplusplus
29697extern "C"
29698#endif
29699char libcsplit_narrow_split_string_get_segment_by_index ();
29700int
29701main ()
29702{
29703return libcsplit_narrow_split_string_get_segment_by_index ();
29704  ;
29705  return 0;
29706}
29707_ACEOF
29708if ac_fn_c_try_link "$LINENO"; then :
29709  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes
29710else
29711  ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no
29712fi
29713rm -f core conftest.err conftest.$ac_objext \
29714    conftest$ac_exeext conftest.$ac_ext
29715LIBS=$ac_check_lib_save_LIBS
29716fi
29717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5
29718$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; }
29719if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then :
29720  ac_cv_libcsplit_dummy=yes
29721else
29722  ac_cv_libcsplit=no
29723fi
29724
29725        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5
29726$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; }
29727if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then :
29728  $as_echo_n "(cached) " >&6
29729else
29730  ac_check_lib_save_LIBS=$LIBS
29731LIBS="-lcsplit  $LIBS"
29732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29733/* end confdefs.h.  */
29734
29735/* Override any GCC internal prototype to avoid an error.
29736   Use char because int might match the return type of a GCC
29737   builtin and then its argument prototype would still apply.  */
29738#ifdef __cplusplus
29739extern "C"
29740#endif
29741char libcsplit_narrow_split_string_set_segment_by_index ();
29742int
29743main ()
29744{
29745return libcsplit_narrow_split_string_set_segment_by_index ();
29746  ;
29747  return 0;
29748}
29749_ACEOF
29750if ac_fn_c_try_link "$LINENO"; then :
29751  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes
29752else
29753  ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no
29754fi
29755rm -f core conftest.err conftest.$ac_objext \
29756    conftest$ac_exeext conftest.$ac_ext
29757LIBS=$ac_check_lib_save_LIBS
29758fi
29759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5
29760$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; }
29761if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then :
29762  ac_cv_libcsplit_dummy=yes
29763else
29764  ac_cv_libcsplit=no
29765fi
29766
29767
29768                if test "x$ac_cv_enable_wide_character_type" != xno; then :
29769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5
29770$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; }
29771if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then :
29772  $as_echo_n "(cached) " >&6
29773else
29774  ac_check_lib_save_LIBS=$LIBS
29775LIBS="-lcsplit  $LIBS"
29776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29777/* end confdefs.h.  */
29778
29779/* Override any GCC internal prototype to avoid an error.
29780   Use char because int might match the return type of a GCC
29781   builtin and then its argument prototype would still apply.  */
29782#ifdef __cplusplus
29783extern "C"
29784#endif
29785char libcsplit_wide_string_split ();
29786int
29787main ()
29788{
29789return libcsplit_wide_string_split ();
29790  ;
29791  return 0;
29792}
29793_ACEOF
29794if ac_fn_c_try_link "$LINENO"; then :
29795  ac_cv_lib_csplit_libcsplit_wide_string_split=yes
29796else
29797  ac_cv_lib_csplit_libcsplit_wide_string_split=no
29798fi
29799rm -f core conftest.err conftest.$ac_objext \
29800    conftest$ac_exeext conftest.$ac_ext
29801LIBS=$ac_check_lib_save_LIBS
29802fi
29803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5
29804$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; }
29805if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then :
29806  ac_cv_libcsplit_dummy=yes
29807else
29808  ac_cv_libcsplit=no
29809fi
29810
29811
29812                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5
29813$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; }
29814if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then :
29815  $as_echo_n "(cached) " >&6
29816else
29817  ac_check_lib_save_LIBS=$LIBS
29818LIBS="-lcsplit  $LIBS"
29819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29820/* end confdefs.h.  */
29821
29822/* Override any GCC internal prototype to avoid an error.
29823   Use char because int might match the return type of a GCC
29824   builtin and then its argument prototype would still apply.  */
29825#ifdef __cplusplus
29826extern "C"
29827#endif
29828char libcsplit_wide_split_string_free ();
29829int
29830main ()
29831{
29832return libcsplit_wide_split_string_free ();
29833  ;
29834  return 0;
29835}
29836_ACEOF
29837if ac_fn_c_try_link "$LINENO"; then :
29838  ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes
29839else
29840  ac_cv_lib_csplit_libcsplit_wide_split_string_free=no
29841fi
29842rm -f core conftest.err conftest.$ac_objext \
29843    conftest$ac_exeext conftest.$ac_ext
29844LIBS=$ac_check_lib_save_LIBS
29845fi
29846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5
29847$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; }
29848if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then :
29849  ac_cv_libcsplit_dummy=yes
29850else
29851  ac_cv_libcsplit=no
29852fi
29853
29854          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5
29855$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; }
29856if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then :
29857  $as_echo_n "(cached) " >&6
29858else
29859  ac_check_lib_save_LIBS=$LIBS
29860LIBS="-lcsplit  $LIBS"
29861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29862/* end confdefs.h.  */
29863
29864/* Override any GCC internal prototype to avoid an error.
29865   Use char because int might match the return type of a GCC
29866   builtin and then its argument prototype would still apply.  */
29867#ifdef __cplusplus
29868extern "C"
29869#endif
29870char libcsplit_wide_split_string_get_string ();
29871int
29872main ()
29873{
29874return libcsplit_wide_split_string_get_string ();
29875  ;
29876  return 0;
29877}
29878_ACEOF
29879if ac_fn_c_try_link "$LINENO"; then :
29880  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes
29881else
29882  ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no
29883fi
29884rm -f core conftest.err conftest.$ac_objext \
29885    conftest$ac_exeext conftest.$ac_ext
29886LIBS=$ac_check_lib_save_LIBS
29887fi
29888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5
29889$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; }
29890if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then :
29891  ac_cv_libcsplit_dummy=yes
29892else
29893  ac_cv_libcsplit=no
29894fi
29895
29896          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5
29897$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; }
29898if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then :
29899  $as_echo_n "(cached) " >&6
29900else
29901  ac_check_lib_save_LIBS=$LIBS
29902LIBS="-lcsplit  $LIBS"
29903cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29904/* end confdefs.h.  */
29905
29906/* Override any GCC internal prototype to avoid an error.
29907   Use char because int might match the return type of a GCC
29908   builtin and then its argument prototype would still apply.  */
29909#ifdef __cplusplus
29910extern "C"
29911#endif
29912char libcsplit_wide_split_string_get_number_of_segments ();
29913int
29914main ()
29915{
29916return libcsplit_wide_split_string_get_number_of_segments ();
29917  ;
29918  return 0;
29919}
29920_ACEOF
29921if ac_fn_c_try_link "$LINENO"; then :
29922  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes
29923else
29924  ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no
29925fi
29926rm -f core conftest.err conftest.$ac_objext \
29927    conftest$ac_exeext conftest.$ac_ext
29928LIBS=$ac_check_lib_save_LIBS
29929fi
29930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5
29931$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; }
29932if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then :
29933  ac_cv_libcsplit_dummy=yes
29934else
29935  ac_cv_libcsplit=no
29936fi
29937
29938          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5
29939$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; }
29940if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then :
29941  $as_echo_n "(cached) " >&6
29942else
29943  ac_check_lib_save_LIBS=$LIBS
29944LIBS="-lcsplit  $LIBS"
29945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29946/* end confdefs.h.  */
29947
29948/* Override any GCC internal prototype to avoid an error.
29949   Use char because int might match the return type of a GCC
29950   builtin and then its argument prototype would still apply.  */
29951#ifdef __cplusplus
29952extern "C"
29953#endif
29954char libcsplit_wide_split_string_get_segment_by_index ();
29955int
29956main ()
29957{
29958return libcsplit_wide_split_string_get_segment_by_index ();
29959  ;
29960  return 0;
29961}
29962_ACEOF
29963if ac_fn_c_try_link "$LINENO"; then :
29964  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes
29965else
29966  ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no
29967fi
29968rm -f core conftest.err conftest.$ac_objext \
29969    conftest$ac_exeext conftest.$ac_ext
29970LIBS=$ac_check_lib_save_LIBS
29971fi
29972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5
29973$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; }
29974if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then :
29975  ac_cv_libcsplit_dummy=yes
29976else
29977  ac_cv_libcsplit=no
29978fi
29979
29980          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5
29981$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; }
29982if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then :
29983  $as_echo_n "(cached) " >&6
29984else
29985  ac_check_lib_save_LIBS=$LIBS
29986LIBS="-lcsplit  $LIBS"
29987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29988/* end confdefs.h.  */
29989
29990/* Override any GCC internal prototype to avoid an error.
29991   Use char because int might match the return type of a GCC
29992   builtin and then its argument prototype would still apply.  */
29993#ifdef __cplusplus
29994extern "C"
29995#endif
29996char libcsplit_wide_split_string_set_segment_by_index ();
29997int
29998main ()
29999{
30000return libcsplit_wide_split_string_set_segment_by_index ();
30001  ;
30002  return 0;
30003}
30004_ACEOF
30005if ac_fn_c_try_link "$LINENO"; then :
30006  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes
30007else
30008  ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no
30009fi
30010rm -f core conftest.err conftest.$ac_objext \
30011    conftest$ac_exeext conftest.$ac_ext
30012LIBS=$ac_check_lib_save_LIBS
30013fi
30014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5
30015$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; }
30016if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then :
30017  ac_cv_libcsplit_dummy=yes
30018else
30019  ac_cv_libcsplit=no
30020fi
30021
30022
30023fi
30024
30025        ac_cv_libcsplit_LIBADD="-lcsplit"
30026fi
30027
30028fi
30029    if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then :
30030  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30032as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit
30033See \`config.log' for more details" "$LINENO" 5; }
30034
30035fi
30036
30037fi
30038
30039  if test "x$ac_cv_libcsplit" = xyes; then :
30040
30041$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h
30042
30043
30044fi
30045
30046  if test "x$ac_cv_libcsplit" = xyes; then :
30047  HAVE_LIBCSPLIT=1
30048
30049else
30050  HAVE_LIBCSPLIT=0
30051
30052
30053fi
30054
30055
30056    if test "x$ac_cv_libcsplit" != xyes; then :
30057
30058  ac_cv_libcsplit_CPPFLAGS="-I../libcsplit";
30059  ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la";
30060
30061  ac_cv_libcsplit=local
30062
30063
30064
30065$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h
30066
30067    HAVE_LOCAL_LIBCSPLIT=1
30068
30069
30070fi
30071
30072   if test "x$ac_cv_libcsplit" = xlocal; then
30073  HAVE_LOCAL_LIBCSPLIT_TRUE=
30074  HAVE_LOCAL_LIBCSPLIT_FALSE='#'
30075else
30076  HAVE_LOCAL_LIBCSPLIT_TRUE='#'
30077  HAVE_LOCAL_LIBCSPLIT_FALSE=
30078fi
30079
30080  if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then :
30081  LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS
30082
30083
30084fi
30085  if test "x$ac_cv_libcsplit_LIBADD" != "x"; then :
30086  LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD
30087
30088
30089fi
30090
30091  if test "x$ac_cv_libcsplit" = xyes; then :
30092  ax_libcsplit_pc_libs_private=-lcsplit
30093
30094
30095fi
30096
30097  if test "x$ac_cv_libcsplit" = xyes; then :
30098  ax_libcsplit_spec_requires=libcsplit
30099
30100    ax_libcsplit_spec_build_requires=libcsplit-devel
30101
30102
30103fi
30104
30105
30106
30107
30108# Check whether --with-libuna was given.
30109if test "${with_libuna+set}" = set; then :
30110  withval=$with_libuna; ac_cv_with_libuna=$withval
30111else
30112  ac_cv_with_libuna=auto-detect
30113fi
30114
30115    { $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
30116$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; }
30117if ${ac_cv_with_libuna+:} false; then :
30118  $as_echo_n "(cached) " >&6
30119else
30120  ac_cv_with_libuna=auto-detect
30121fi
30122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5
30123$as_echo "$ac_cv_with_libuna" >&6; }
30124
30125    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then :
30126  ac_cv_libuna=no
30127else
30128  ac_cv_libuna=check
30129        if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then :
30130  if test -d "$ac_cv_with_libuna"; then :
30131  CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include"
30132        LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib"
30133else
30134  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30135$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30136as_fn_error 1 "no such directory: $ac_cv_with_libuna
30137See \`config.log' for more details" "$LINENO" 5; }
30138
30139fi
30140
30141else
30142        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
30143
30144pkg_failed=no
30145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5
30146$as_echo_n "checking for libuna... " >&6; }
30147
30148if test -n "$libuna_CFLAGS"; then
30149    pkg_cv_libuna_CFLAGS="$libuna_CFLAGS"
30150 elif test -n "$PKG_CONFIG"; then
30151    if test -n "$PKG_CONFIG" && \
30152    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5
30153  ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5
30154  ac_status=$?
30155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30156  test $ac_status = 0; }; then
30157  pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null`
30158		      test "x$?" != "x0" && pkg_failed=yes
30159else
30160  pkg_failed=yes
30161fi
30162 else
30163    pkg_failed=untried
30164fi
30165if test -n "$libuna_LIBS"; then
30166    pkg_cv_libuna_LIBS="$libuna_LIBS"
30167 elif test -n "$PKG_CONFIG"; then
30168    if test -n "$PKG_CONFIG" && \
30169    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5
30170  ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5
30171  ac_status=$?
30172  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30173  test $ac_status = 0; }; then
30174  pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null`
30175		      test "x$?" != "x0" && pkg_failed=yes
30176else
30177  pkg_failed=yes
30178fi
30179 else
30180    pkg_failed=untried
30181fi
30182
30183
30184
30185if test $pkg_failed = yes; then
30186   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30187$as_echo "no" >&6; }
30188
30189if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30190        _pkg_short_errors_supported=yes
30191else
30192        _pkg_short_errors_supported=no
30193fi
30194        if test $_pkg_short_errors_supported = yes; then
30195	        libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1`
30196        else
30197	        libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1`
30198        fi
30199	# Put the nasty error message in config.log where it belongs
30200	echo "$libuna_PKG_ERRORS" >&5
30201
30202	ac_cv_libuna=check
30203elif test $pkg_failed = untried; then
30204     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30205$as_echo "no" >&6; }
30206	ac_cv_libuna=check
30207else
30208	libuna_CFLAGS=$pkg_cv_libuna_CFLAGS
30209	libuna_LIBS=$pkg_cv_libuna_LIBS
30210        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30211$as_echo "yes" >&6; }
30212	ac_cv_libuna=yes
30213fi
30214
30215fi
30216      if test "x$ac_cv_libuna" = xyes; then :
30217  ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS"
30218        ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS"
30219fi
30220
30221fi
30222
30223    if test "x$ac_cv_libuna" = xcheck; then :
30224        for ac_header in libuna.h
30225do :
30226  ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default"
30227if test "x$ac_cv_header_libuna_h" = xyes; then :
30228  cat >>confdefs.h <<_ACEOF
30229#define HAVE_LIBUNA_H 1
30230_ACEOF
30231
30232fi
30233
30234done
30235
30236
30237      if test "x$ac_cv_header_libuna_h" = xno; then :
30238  ac_cv_libuna=no
30239else
30240          ac_cv_libuna=yes
30241
30242        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5
30243$as_echo_n "checking for libuna_get_version in -luna... " >&6; }
30244if ${ac_cv_lib_una_libuna_get_version+:} false; then :
30245  $as_echo_n "(cached) " >&6
30246else
30247  ac_check_lib_save_LIBS=$LIBS
30248LIBS="-luna  $LIBS"
30249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30250/* end confdefs.h.  */
30251
30252/* Override any GCC internal prototype to avoid an error.
30253   Use char because int might match the return type of a GCC
30254   builtin and then its argument prototype would still apply.  */
30255#ifdef __cplusplus
30256extern "C"
30257#endif
30258char libuna_get_version ();
30259int
30260main ()
30261{
30262return libuna_get_version ();
30263  ;
30264  return 0;
30265}
30266_ACEOF
30267if ac_fn_c_try_link "$LINENO"; then :
30268  ac_cv_lib_una_libuna_get_version=yes
30269else
30270  ac_cv_lib_una_libuna_get_version=no
30271fi
30272rm -f core conftest.err conftest.$ac_objext \
30273    conftest$ac_exeext conftest.$ac_ext
30274LIBS=$ac_check_lib_save_LIBS
30275fi
30276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5
30277$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; }
30278if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then :
30279  ac_cv_libuna_dummy=yes
30280else
30281  ac_cv_libuna=no
30282fi
30283
30284
30285                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5
30286$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; }
30287if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then :
30288  $as_echo_n "(cached) " >&6
30289else
30290  ac_check_lib_save_LIBS=$LIBS
30291LIBS="-luna  $LIBS"
30292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30293/* end confdefs.h.  */
30294
30295/* Override any GCC internal prototype to avoid an error.
30296   Use char because int might match the return type of a GCC
30297   builtin and then its argument prototype would still apply.  */
30298#ifdef __cplusplus
30299extern "C"
30300#endif
30301char libuna_base16_stream_size_to_byte_stream ();
30302int
30303main ()
30304{
30305return libuna_base16_stream_size_to_byte_stream ();
30306  ;
30307  return 0;
30308}
30309_ACEOF
30310if ac_fn_c_try_link "$LINENO"; then :
30311  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes
30312else
30313  ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no
30314fi
30315rm -f core conftest.err conftest.$ac_objext \
30316    conftest$ac_exeext conftest.$ac_ext
30317LIBS=$ac_check_lib_save_LIBS
30318fi
30319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5
30320$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; }
30321if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then :
30322  ac_cv_libuna_dummy=yes
30323else
30324  ac_cv_libuna=no
30325fi
30326
30327        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5
30328$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; }
30329if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then :
30330  $as_echo_n "(cached) " >&6
30331else
30332  ac_check_lib_save_LIBS=$LIBS
30333LIBS="-luna  $LIBS"
30334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30335/* end confdefs.h.  */
30336
30337/* Override any GCC internal prototype to avoid an error.
30338   Use char because int might match the return type of a GCC
30339   builtin and then its argument prototype would still apply.  */
30340#ifdef __cplusplus
30341extern "C"
30342#endif
30343char libuna_base16_stream_copy_to_byte_stream ();
30344int
30345main ()
30346{
30347return libuna_base16_stream_copy_to_byte_stream ();
30348  ;
30349  return 0;
30350}
30351_ACEOF
30352if ac_fn_c_try_link "$LINENO"; then :
30353  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes
30354else
30355  ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no
30356fi
30357rm -f core conftest.err conftest.$ac_objext \
30358    conftest$ac_exeext conftest.$ac_ext
30359LIBS=$ac_check_lib_save_LIBS
30360fi
30361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5
30362$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; }
30363if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then :
30364  ac_cv_libuna_dummy=yes
30365else
30366  ac_cv_libuna=no
30367fi
30368
30369        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5
30370$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; }
30371if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then :
30372  $as_echo_n "(cached) " >&6
30373else
30374  ac_check_lib_save_LIBS=$LIBS
30375LIBS="-luna  $LIBS"
30376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377/* end confdefs.h.  */
30378
30379/* Override any GCC internal prototype to avoid an error.
30380   Use char because int might match the return type of a GCC
30381   builtin and then its argument prototype would still apply.  */
30382#ifdef __cplusplus
30383extern "C"
30384#endif
30385char libuna_base16_stream_size_from_byte_stream ();
30386int
30387main ()
30388{
30389return libuna_base16_stream_size_from_byte_stream ();
30390  ;
30391  return 0;
30392}
30393_ACEOF
30394if ac_fn_c_try_link "$LINENO"; then :
30395  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes
30396else
30397  ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no
30398fi
30399rm -f core conftest.err conftest.$ac_objext \
30400    conftest$ac_exeext conftest.$ac_ext
30401LIBS=$ac_check_lib_save_LIBS
30402fi
30403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5
30404$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; }
30405if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then :
30406  ac_cv_libuna_dummy=yes
30407else
30408  ac_cv_libuna=no
30409fi
30410
30411        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5
30412$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; }
30413if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then :
30414  $as_echo_n "(cached) " >&6
30415else
30416  ac_check_lib_save_LIBS=$LIBS
30417LIBS="-luna  $LIBS"
30418cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30419/* end confdefs.h.  */
30420
30421/* Override any GCC internal prototype to avoid an error.
30422   Use char because int might match the return type of a GCC
30423   builtin and then its argument prototype would still apply.  */
30424#ifdef __cplusplus
30425extern "C"
30426#endif
30427char libuna_base16_stream_copy_from_byte_stream ();
30428int
30429main ()
30430{
30431return libuna_base16_stream_copy_from_byte_stream ();
30432  ;
30433  return 0;
30434}
30435_ACEOF
30436if ac_fn_c_try_link "$LINENO"; then :
30437  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes
30438else
30439  ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no
30440fi
30441rm -f core conftest.err conftest.$ac_objext \
30442    conftest$ac_exeext conftest.$ac_ext
30443LIBS=$ac_check_lib_save_LIBS
30444fi
30445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5
30446$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; }
30447if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then :
30448  ac_cv_libuna_dummy=yes
30449else
30450  ac_cv_libuna=no
30451fi
30452
30453        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5
30454$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
30455if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then :
30456  $as_echo_n "(cached) " >&6
30457else
30458  ac_check_lib_save_LIBS=$LIBS
30459LIBS="-luna  $LIBS"
30460cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30461/* end confdefs.h.  */
30462
30463/* Override any GCC internal prototype to avoid an error.
30464   Use char because int might match the return type of a GCC
30465   builtin and then its argument prototype would still apply.  */
30466#ifdef __cplusplus
30467extern "C"
30468#endif
30469char libuna_base16_stream_with_index_copy_from_byte_stream ();
30470int
30471main ()
30472{
30473return libuna_base16_stream_with_index_copy_from_byte_stream ();
30474  ;
30475  return 0;
30476}
30477_ACEOF
30478if ac_fn_c_try_link "$LINENO"; then :
30479  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes
30480else
30481  ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no
30482fi
30483rm -f core conftest.err conftest.$ac_objext \
30484    conftest$ac_exeext conftest.$ac_ext
30485LIBS=$ac_check_lib_save_LIBS
30486fi
30487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5
30488$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; }
30489if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then :
30490  ac_cv_libuna_dummy=yes
30491else
30492  ac_cv_libuna=no
30493fi
30494
30495
30496                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5
30497$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; }
30498if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then :
30499  $as_echo_n "(cached) " >&6
30500else
30501  ac_check_lib_save_LIBS=$LIBS
30502LIBS="-luna  $LIBS"
30503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30504/* end confdefs.h.  */
30505
30506/* Override any GCC internal prototype to avoid an error.
30507   Use char because int might match the return type of a GCC
30508   builtin and then its argument prototype would still apply.  */
30509#ifdef __cplusplus
30510extern "C"
30511#endif
30512char libuna_base32_quintuplet_copy_from_base32_stream ();
30513int
30514main ()
30515{
30516return libuna_base32_quintuplet_copy_from_base32_stream ();
30517  ;
30518  return 0;
30519}
30520_ACEOF
30521if ac_fn_c_try_link "$LINENO"; then :
30522  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes
30523else
30524  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no
30525fi
30526rm -f core conftest.err conftest.$ac_objext \
30527    conftest$ac_exeext conftest.$ac_ext
30528LIBS=$ac_check_lib_save_LIBS
30529fi
30530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5
30531$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; }
30532if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then :
30533  ac_cv_libuna_dummy=yes
30534else
30535  ac_cv_libuna=no
30536fi
30537
30538        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5
30539$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; }
30540if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then :
30541  $as_echo_n "(cached) " >&6
30542else
30543  ac_check_lib_save_LIBS=$LIBS
30544LIBS="-luna  $LIBS"
30545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546/* end confdefs.h.  */
30547
30548/* Override any GCC internal prototype to avoid an error.
30549   Use char because int might match the return type of a GCC
30550   builtin and then its argument prototype would still apply.  */
30551#ifdef __cplusplus
30552extern "C"
30553#endif
30554char libuna_base32_quintuplet_copy_to_base32_stream ();
30555int
30556main ()
30557{
30558return libuna_base32_quintuplet_copy_to_base32_stream ();
30559  ;
30560  return 0;
30561}
30562_ACEOF
30563if ac_fn_c_try_link "$LINENO"; then :
30564  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes
30565else
30566  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no
30567fi
30568rm -f core conftest.err conftest.$ac_objext \
30569    conftest$ac_exeext conftest.$ac_ext
30570LIBS=$ac_check_lib_save_LIBS
30571fi
30572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5
30573$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; }
30574if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then :
30575  ac_cv_libuna_dummy=yes
30576else
30577  ac_cv_libuna=no
30578fi
30579
30580        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5
30581$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; }
30582if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then :
30583  $as_echo_n "(cached) " >&6
30584else
30585  ac_check_lib_save_LIBS=$LIBS
30586LIBS="-luna  $LIBS"
30587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30588/* end confdefs.h.  */
30589
30590/* Override any GCC internal prototype to avoid an error.
30591   Use char because int might match the return type of a GCC
30592   builtin and then its argument prototype would still apply.  */
30593#ifdef __cplusplus
30594extern "C"
30595#endif
30596char libuna_base32_quintuplet_copy_from_byte_stream ();
30597int
30598main ()
30599{
30600return libuna_base32_quintuplet_copy_from_byte_stream ();
30601  ;
30602  return 0;
30603}
30604_ACEOF
30605if ac_fn_c_try_link "$LINENO"; then :
30606  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes
30607else
30608  ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no
30609fi
30610rm -f core conftest.err conftest.$ac_objext \
30611    conftest$ac_exeext conftest.$ac_ext
30612LIBS=$ac_check_lib_save_LIBS
30613fi
30614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5
30615$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; }
30616if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then :
30617  ac_cv_libuna_dummy=yes
30618else
30619  ac_cv_libuna=no
30620fi
30621
30622        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5
30623$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; }
30624if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then :
30625  $as_echo_n "(cached) " >&6
30626else
30627  ac_check_lib_save_LIBS=$LIBS
30628LIBS="-luna  $LIBS"
30629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30630/* end confdefs.h.  */
30631
30632/* Override any GCC internal prototype to avoid an error.
30633   Use char because int might match the return type of a GCC
30634   builtin and then its argument prototype would still apply.  */
30635#ifdef __cplusplus
30636extern "C"
30637#endif
30638char libuna_base32_quintuplet_copy_to_byte_stream ();
30639int
30640main ()
30641{
30642return libuna_base32_quintuplet_copy_to_byte_stream ();
30643  ;
30644  return 0;
30645}
30646_ACEOF
30647if ac_fn_c_try_link "$LINENO"; then :
30648  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes
30649else
30650  ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no
30651fi
30652rm -f core conftest.err conftest.$ac_objext \
30653    conftest$ac_exeext conftest.$ac_ext
30654LIBS=$ac_check_lib_save_LIBS
30655fi
30656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5
30657$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; }
30658if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then :
30659  ac_cv_libuna_dummy=yes
30660else
30661  ac_cv_libuna=no
30662fi
30663
30664
30665        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5
30666$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; }
30667if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then :
30668  $as_echo_n "(cached) " >&6
30669else
30670  ac_check_lib_save_LIBS=$LIBS
30671LIBS="-luna  $LIBS"
30672cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30673/* end confdefs.h.  */
30674
30675/* Override any GCC internal prototype to avoid an error.
30676   Use char because int might match the return type of a GCC
30677   builtin and then its argument prototype would still apply.  */
30678#ifdef __cplusplus
30679extern "C"
30680#endif
30681char libuna_base32_stream_size_to_byte_stream ();
30682int
30683main ()
30684{
30685return libuna_base32_stream_size_to_byte_stream ();
30686  ;
30687  return 0;
30688}
30689_ACEOF
30690if ac_fn_c_try_link "$LINENO"; then :
30691  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes
30692else
30693  ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no
30694fi
30695rm -f core conftest.err conftest.$ac_objext \
30696    conftest$ac_exeext conftest.$ac_ext
30697LIBS=$ac_check_lib_save_LIBS
30698fi
30699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5
30700$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; }
30701if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then :
30702  ac_cv_libuna_dummy=yes
30703else
30704  ac_cv_libuna=no
30705fi
30706
30707        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5
30708$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; }
30709if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then :
30710  $as_echo_n "(cached) " >&6
30711else
30712  ac_check_lib_save_LIBS=$LIBS
30713LIBS="-luna  $LIBS"
30714cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30715/* end confdefs.h.  */
30716
30717/* Override any GCC internal prototype to avoid an error.
30718   Use char because int might match the return type of a GCC
30719   builtin and then its argument prototype would still apply.  */
30720#ifdef __cplusplus
30721extern "C"
30722#endif
30723char libuna_base32_stream_copy_to_byte_stream ();
30724int
30725main ()
30726{
30727return libuna_base32_stream_copy_to_byte_stream ();
30728  ;
30729  return 0;
30730}
30731_ACEOF
30732if ac_fn_c_try_link "$LINENO"; then :
30733  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes
30734else
30735  ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no
30736fi
30737rm -f core conftest.err conftest.$ac_objext \
30738    conftest$ac_exeext conftest.$ac_ext
30739LIBS=$ac_check_lib_save_LIBS
30740fi
30741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5
30742$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; }
30743if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then :
30744  ac_cv_libuna_dummy=yes
30745else
30746  ac_cv_libuna=no
30747fi
30748
30749        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5
30750$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; }
30751if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then :
30752  $as_echo_n "(cached) " >&6
30753else
30754  ac_check_lib_save_LIBS=$LIBS
30755LIBS="-luna  $LIBS"
30756cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30757/* end confdefs.h.  */
30758
30759/* Override any GCC internal prototype to avoid an error.
30760   Use char because int might match the return type of a GCC
30761   builtin and then its argument prototype would still apply.  */
30762#ifdef __cplusplus
30763extern "C"
30764#endif
30765char libuna_base32_stream_size_from_byte_stream ();
30766int
30767main ()
30768{
30769return libuna_base32_stream_size_from_byte_stream ();
30770  ;
30771  return 0;
30772}
30773_ACEOF
30774if ac_fn_c_try_link "$LINENO"; then :
30775  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes
30776else
30777  ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no
30778fi
30779rm -f core conftest.err conftest.$ac_objext \
30780    conftest$ac_exeext conftest.$ac_ext
30781LIBS=$ac_check_lib_save_LIBS
30782fi
30783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5
30784$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; }
30785if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then :
30786  ac_cv_libuna_dummy=yes
30787else
30788  ac_cv_libuna=no
30789fi
30790
30791        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5
30792$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; }
30793if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then :
30794  $as_echo_n "(cached) " >&6
30795else
30796  ac_check_lib_save_LIBS=$LIBS
30797LIBS="-luna  $LIBS"
30798cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30799/* end confdefs.h.  */
30800
30801/* Override any GCC internal prototype to avoid an error.
30802   Use char because int might match the return type of a GCC
30803   builtin and then its argument prototype would still apply.  */
30804#ifdef __cplusplus
30805extern "C"
30806#endif
30807char libuna_base32_stream_copy_from_byte_stream ();
30808int
30809main ()
30810{
30811return libuna_base32_stream_copy_from_byte_stream ();
30812  ;
30813  return 0;
30814}
30815_ACEOF
30816if ac_fn_c_try_link "$LINENO"; then :
30817  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes
30818else
30819  ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no
30820fi
30821rm -f core conftest.err conftest.$ac_objext \
30822    conftest$ac_exeext conftest.$ac_ext
30823LIBS=$ac_check_lib_save_LIBS
30824fi
30825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5
30826$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; }
30827if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then :
30828  ac_cv_libuna_dummy=yes
30829else
30830  ac_cv_libuna=no
30831fi
30832
30833        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5
30834$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
30835if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then :
30836  $as_echo_n "(cached) " >&6
30837else
30838  ac_check_lib_save_LIBS=$LIBS
30839LIBS="-luna  $LIBS"
30840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30841/* end confdefs.h.  */
30842
30843/* Override any GCC internal prototype to avoid an error.
30844   Use char because int might match the return type of a GCC
30845   builtin and then its argument prototype would still apply.  */
30846#ifdef __cplusplus
30847extern "C"
30848#endif
30849char libuna_base32_stream_with_index_copy_from_byte_stream ();
30850int
30851main ()
30852{
30853return libuna_base32_stream_with_index_copy_from_byte_stream ();
30854  ;
30855  return 0;
30856}
30857_ACEOF
30858if ac_fn_c_try_link "$LINENO"; then :
30859  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes
30860else
30861  ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no
30862fi
30863rm -f core conftest.err conftest.$ac_objext \
30864    conftest$ac_exeext conftest.$ac_ext
30865LIBS=$ac_check_lib_save_LIBS
30866fi
30867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5
30868$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; }
30869if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then :
30870  ac_cv_libuna_dummy=yes
30871else
30872  ac_cv_libuna=no
30873fi
30874
30875
30876                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5
30877$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; }
30878if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then :
30879  $as_echo_n "(cached) " >&6
30880else
30881  ac_check_lib_save_LIBS=$LIBS
30882LIBS="-luna  $LIBS"
30883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30884/* end confdefs.h.  */
30885
30886/* Override any GCC internal prototype to avoid an error.
30887   Use char because int might match the return type of a GCC
30888   builtin and then its argument prototype would still apply.  */
30889#ifdef __cplusplus
30890extern "C"
30891#endif
30892char libuna_base64_triplet_copy_from_base64_stream ();
30893int
30894main ()
30895{
30896return libuna_base64_triplet_copy_from_base64_stream ();
30897  ;
30898  return 0;
30899}
30900_ACEOF
30901if ac_fn_c_try_link "$LINENO"; then :
30902  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes
30903else
30904  ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no
30905fi
30906rm -f core conftest.err conftest.$ac_objext \
30907    conftest$ac_exeext conftest.$ac_ext
30908LIBS=$ac_check_lib_save_LIBS
30909fi
30910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5
30911$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; }
30912if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then :
30913  ac_cv_libuna_dummy=yes
30914else
30915  ac_cv_libuna=no
30916fi
30917
30918        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5
30919$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; }
30920if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then :
30921  $as_echo_n "(cached) " >&6
30922else
30923  ac_check_lib_save_LIBS=$LIBS
30924LIBS="-luna  $LIBS"
30925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30926/* end confdefs.h.  */
30927
30928/* Override any GCC internal prototype to avoid an error.
30929   Use char because int might match the return type of a GCC
30930   builtin and then its argument prototype would still apply.  */
30931#ifdef __cplusplus
30932extern "C"
30933#endif
30934char libuna_base64_triplet_copy_to_base64_stream ();
30935int
30936main ()
30937{
30938return libuna_base64_triplet_copy_to_base64_stream ();
30939  ;
30940  return 0;
30941}
30942_ACEOF
30943if ac_fn_c_try_link "$LINENO"; then :
30944  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes
30945else
30946  ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no
30947fi
30948rm -f core conftest.err conftest.$ac_objext \
30949    conftest$ac_exeext conftest.$ac_ext
30950LIBS=$ac_check_lib_save_LIBS
30951fi
30952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5
30953$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; }
30954if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then :
30955  ac_cv_libuna_dummy=yes
30956else
30957  ac_cv_libuna=no
30958fi
30959
30960        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5
30961$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; }
30962if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then :
30963  $as_echo_n "(cached) " >&6
30964else
30965  ac_check_lib_save_LIBS=$LIBS
30966LIBS="-luna  $LIBS"
30967cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30968/* end confdefs.h.  */
30969
30970/* Override any GCC internal prototype to avoid an error.
30971   Use char because int might match the return type of a GCC
30972   builtin and then its argument prototype would still apply.  */
30973#ifdef __cplusplus
30974extern "C"
30975#endif
30976char libuna_base64_triplet_copy_from_byte_stream ();
30977int
30978main ()
30979{
30980return libuna_base64_triplet_copy_from_byte_stream ();
30981  ;
30982  return 0;
30983}
30984_ACEOF
30985if ac_fn_c_try_link "$LINENO"; then :
30986  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes
30987else
30988  ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no
30989fi
30990rm -f core conftest.err conftest.$ac_objext \
30991    conftest$ac_exeext conftest.$ac_ext
30992LIBS=$ac_check_lib_save_LIBS
30993fi
30994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5
30995$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; }
30996if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then :
30997  ac_cv_libuna_dummy=yes
30998else
30999  ac_cv_libuna=no
31000fi
31001
31002        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5
31003$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; }
31004if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then :
31005  $as_echo_n "(cached) " >&6
31006else
31007  ac_check_lib_save_LIBS=$LIBS
31008LIBS="-luna  $LIBS"
31009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31010/* end confdefs.h.  */
31011
31012/* Override any GCC internal prototype to avoid an error.
31013   Use char because int might match the return type of a GCC
31014   builtin and then its argument prototype would still apply.  */
31015#ifdef __cplusplus
31016extern "C"
31017#endif
31018char libuna_base64_triplet_copy_to_byte_stream ();
31019int
31020main ()
31021{
31022return libuna_base64_triplet_copy_to_byte_stream ();
31023  ;
31024  return 0;
31025}
31026_ACEOF
31027if ac_fn_c_try_link "$LINENO"; then :
31028  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes
31029else
31030  ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no
31031fi
31032rm -f core conftest.err conftest.$ac_objext \
31033    conftest$ac_exeext conftest.$ac_ext
31034LIBS=$ac_check_lib_save_LIBS
31035fi
31036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5
31037$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; }
31038if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then :
31039  ac_cv_libuna_dummy=yes
31040else
31041  ac_cv_libuna=no
31042fi
31043
31044
31045        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5
31046$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; }
31047if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then :
31048  $as_echo_n "(cached) " >&6
31049else
31050  ac_check_lib_save_LIBS=$LIBS
31051LIBS="-luna  $LIBS"
31052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31053/* end confdefs.h.  */
31054
31055/* Override any GCC internal prototype to avoid an error.
31056   Use char because int might match the return type of a GCC
31057   builtin and then its argument prototype would still apply.  */
31058#ifdef __cplusplus
31059extern "C"
31060#endif
31061char libuna_base64_stream_size_to_byte_stream ();
31062int
31063main ()
31064{
31065return libuna_base64_stream_size_to_byte_stream ();
31066  ;
31067  return 0;
31068}
31069_ACEOF
31070if ac_fn_c_try_link "$LINENO"; then :
31071  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes
31072else
31073  ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no
31074fi
31075rm -f core conftest.err conftest.$ac_objext \
31076    conftest$ac_exeext conftest.$ac_ext
31077LIBS=$ac_check_lib_save_LIBS
31078fi
31079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5
31080$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; }
31081if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then :
31082  ac_cv_libuna_dummy=yes
31083else
31084  ac_cv_libuna=no
31085fi
31086
31087        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5
31088$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; }
31089if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then :
31090  $as_echo_n "(cached) " >&6
31091else
31092  ac_check_lib_save_LIBS=$LIBS
31093LIBS="-luna  $LIBS"
31094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095/* end confdefs.h.  */
31096
31097/* Override any GCC internal prototype to avoid an error.
31098   Use char because int might match the return type of a GCC
31099   builtin and then its argument prototype would still apply.  */
31100#ifdef __cplusplus
31101extern "C"
31102#endif
31103char libuna_base64_stream_copy_to_byte_stream ();
31104int
31105main ()
31106{
31107return libuna_base64_stream_copy_to_byte_stream ();
31108  ;
31109  return 0;
31110}
31111_ACEOF
31112if ac_fn_c_try_link "$LINENO"; then :
31113  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes
31114else
31115  ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no
31116fi
31117rm -f core conftest.err conftest.$ac_objext \
31118    conftest$ac_exeext conftest.$ac_ext
31119LIBS=$ac_check_lib_save_LIBS
31120fi
31121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5
31122$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; }
31123if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then :
31124  ac_cv_libuna_dummy=yes
31125else
31126  ac_cv_libuna=no
31127fi
31128
31129        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5
31130$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; }
31131if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then :
31132  $as_echo_n "(cached) " >&6
31133else
31134  ac_check_lib_save_LIBS=$LIBS
31135LIBS="-luna  $LIBS"
31136cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31137/* end confdefs.h.  */
31138
31139/* Override any GCC internal prototype to avoid an error.
31140   Use char because int might match the return type of a GCC
31141   builtin and then its argument prototype would still apply.  */
31142#ifdef __cplusplus
31143extern "C"
31144#endif
31145char libuna_base64_stream_size_from_byte_stream ();
31146int
31147main ()
31148{
31149return libuna_base64_stream_size_from_byte_stream ();
31150  ;
31151  return 0;
31152}
31153_ACEOF
31154if ac_fn_c_try_link "$LINENO"; then :
31155  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes
31156else
31157  ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no
31158fi
31159rm -f core conftest.err conftest.$ac_objext \
31160    conftest$ac_exeext conftest.$ac_ext
31161LIBS=$ac_check_lib_save_LIBS
31162fi
31163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5
31164$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; }
31165if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then :
31166  ac_cv_libuna_dummy=yes
31167else
31168  ac_cv_libuna=no
31169fi
31170
31171        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5
31172$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; }
31173if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then :
31174  $as_echo_n "(cached) " >&6
31175else
31176  ac_check_lib_save_LIBS=$LIBS
31177LIBS="-luna  $LIBS"
31178cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31179/* end confdefs.h.  */
31180
31181/* Override any GCC internal prototype to avoid an error.
31182   Use char because int might match the return type of a GCC
31183   builtin and then its argument prototype would still apply.  */
31184#ifdef __cplusplus
31185extern "C"
31186#endif
31187char libuna_base64_stream_copy_from_byte_stream ();
31188int
31189main ()
31190{
31191return libuna_base64_stream_copy_from_byte_stream ();
31192  ;
31193  return 0;
31194}
31195_ACEOF
31196if ac_fn_c_try_link "$LINENO"; then :
31197  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes
31198else
31199  ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no
31200fi
31201rm -f core conftest.err conftest.$ac_objext \
31202    conftest$ac_exeext conftest.$ac_ext
31203LIBS=$ac_check_lib_save_LIBS
31204fi
31205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5
31206$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; }
31207if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then :
31208  ac_cv_libuna_dummy=yes
31209else
31210  ac_cv_libuna=no
31211fi
31212
31213        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5
31214$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; }
31215if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then :
31216  $as_echo_n "(cached) " >&6
31217else
31218  ac_check_lib_save_LIBS=$LIBS
31219LIBS="-luna  $LIBS"
31220cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31221/* end confdefs.h.  */
31222
31223/* Override any GCC internal prototype to avoid an error.
31224   Use char because int might match the return type of a GCC
31225   builtin and then its argument prototype would still apply.  */
31226#ifdef __cplusplus
31227extern "C"
31228#endif
31229char libuna_base64_stream_with_index_copy_from_byte_stream ();
31230int
31231main ()
31232{
31233return libuna_base64_stream_with_index_copy_from_byte_stream ();
31234  ;
31235  return 0;
31236}
31237_ACEOF
31238if ac_fn_c_try_link "$LINENO"; then :
31239  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes
31240else
31241  ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no
31242fi
31243rm -f core conftest.err conftest.$ac_objext \
31244    conftest$ac_exeext conftest.$ac_ext
31245LIBS=$ac_check_lib_save_LIBS
31246fi
31247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5
31248$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; }
31249if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then :
31250  ac_cv_libuna_dummy=yes
31251else
31252  ac_cv_libuna=no
31253fi
31254
31255
31256                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5
31257$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; }
31258if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then :
31259  $as_echo_n "(cached) " >&6
31260else
31261  ac_check_lib_save_LIBS=$LIBS
31262LIBS="-luna  $LIBS"
31263cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264/* end confdefs.h.  */
31265
31266/* Override any GCC internal prototype to avoid an error.
31267   Use char because int might match the return type of a GCC
31268   builtin and then its argument prototype would still apply.  */
31269#ifdef __cplusplus
31270extern "C"
31271#endif
31272char libuna_byte_stream_size_from_utf8 ();
31273int
31274main ()
31275{
31276return libuna_byte_stream_size_from_utf8 ();
31277  ;
31278  return 0;
31279}
31280_ACEOF
31281if ac_fn_c_try_link "$LINENO"; then :
31282  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes
31283else
31284  ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no
31285fi
31286rm -f core conftest.err conftest.$ac_objext \
31287    conftest$ac_exeext conftest.$ac_ext
31288LIBS=$ac_check_lib_save_LIBS
31289fi
31290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5
31291$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; }
31292if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then :
31293  ac_cv_libuna_dummy=yes
31294else
31295  ac_cv_libuna=no
31296fi
31297
31298        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5
31299$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; }
31300if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then :
31301  $as_echo_n "(cached) " >&6
31302else
31303  ac_check_lib_save_LIBS=$LIBS
31304LIBS="-luna  $LIBS"
31305cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31306/* end confdefs.h.  */
31307
31308/* Override any GCC internal prototype to avoid an error.
31309   Use char because int might match the return type of a GCC
31310   builtin and then its argument prototype would still apply.  */
31311#ifdef __cplusplus
31312extern "C"
31313#endif
31314char libuna_byte_stream_copy_from_utf8 ();
31315int
31316main ()
31317{
31318return libuna_byte_stream_copy_from_utf8 ();
31319  ;
31320  return 0;
31321}
31322_ACEOF
31323if ac_fn_c_try_link "$LINENO"; then :
31324  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes
31325else
31326  ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no
31327fi
31328rm -f core conftest.err conftest.$ac_objext \
31329    conftest$ac_exeext conftest.$ac_ext
31330LIBS=$ac_check_lib_save_LIBS
31331fi
31332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5
31333$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; }
31334if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then :
31335  ac_cv_libuna_dummy=yes
31336else
31337  ac_cv_libuna=no
31338fi
31339
31340        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5
31341$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; }
31342if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then :
31343  $as_echo_n "(cached) " >&6
31344else
31345  ac_check_lib_save_LIBS=$LIBS
31346LIBS="-luna  $LIBS"
31347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31348/* end confdefs.h.  */
31349
31350/* Override any GCC internal prototype to avoid an error.
31351   Use char because int might match the return type of a GCC
31352   builtin and then its argument prototype would still apply.  */
31353#ifdef __cplusplus
31354extern "C"
31355#endif
31356char libuna_byte_stream_size_from_utf16 ();
31357int
31358main ()
31359{
31360return libuna_byte_stream_size_from_utf16 ();
31361  ;
31362  return 0;
31363}
31364_ACEOF
31365if ac_fn_c_try_link "$LINENO"; then :
31366  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes
31367else
31368  ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no
31369fi
31370rm -f core conftest.err conftest.$ac_objext \
31371    conftest$ac_exeext conftest.$ac_ext
31372LIBS=$ac_check_lib_save_LIBS
31373fi
31374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5
31375$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; }
31376if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then :
31377  ac_cv_libuna_dummy=yes
31378else
31379  ac_cv_libuna=no
31380fi
31381
31382        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5
31383$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; }
31384if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then :
31385  $as_echo_n "(cached) " >&6
31386else
31387  ac_check_lib_save_LIBS=$LIBS
31388LIBS="-luna  $LIBS"
31389cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31390/* end confdefs.h.  */
31391
31392/* Override any GCC internal prototype to avoid an error.
31393   Use char because int might match the return type of a GCC
31394   builtin and then its argument prototype would still apply.  */
31395#ifdef __cplusplus
31396extern "C"
31397#endif
31398char libuna_byte_stream_copy_from_utf16 ();
31399int
31400main ()
31401{
31402return libuna_byte_stream_copy_from_utf16 ();
31403  ;
31404  return 0;
31405}
31406_ACEOF
31407if ac_fn_c_try_link "$LINENO"; then :
31408  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes
31409else
31410  ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no
31411fi
31412rm -f core conftest.err conftest.$ac_objext \
31413    conftest$ac_exeext conftest.$ac_ext
31414LIBS=$ac_check_lib_save_LIBS
31415fi
31416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5
31417$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; }
31418if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then :
31419  ac_cv_libuna_dummy=yes
31420else
31421  ac_cv_libuna=no
31422fi
31423
31424        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5
31425$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; }
31426if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then :
31427  $as_echo_n "(cached) " >&6
31428else
31429  ac_check_lib_save_LIBS=$LIBS
31430LIBS="-luna  $LIBS"
31431cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31432/* end confdefs.h.  */
31433
31434/* Override any GCC internal prototype to avoid an error.
31435   Use char because int might match the return type of a GCC
31436   builtin and then its argument prototype would still apply.  */
31437#ifdef __cplusplus
31438extern "C"
31439#endif
31440char libuna_byte_stream_size_from_utf32 ();
31441int
31442main ()
31443{
31444return libuna_byte_stream_size_from_utf32 ();
31445  ;
31446  return 0;
31447}
31448_ACEOF
31449if ac_fn_c_try_link "$LINENO"; then :
31450  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes
31451else
31452  ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no
31453fi
31454rm -f core conftest.err conftest.$ac_objext \
31455    conftest$ac_exeext conftest.$ac_ext
31456LIBS=$ac_check_lib_save_LIBS
31457fi
31458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5
31459$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; }
31460if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then :
31461  ac_cv_libuna_dummy=yes
31462else
31463  ac_cv_libuna=no
31464fi
31465
31466        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5
31467$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; }
31468if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then :
31469  $as_echo_n "(cached) " >&6
31470else
31471  ac_check_lib_save_LIBS=$LIBS
31472LIBS="-luna  $LIBS"
31473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474/* end confdefs.h.  */
31475
31476/* Override any GCC internal prototype to avoid an error.
31477   Use char because int might match the return type of a GCC
31478   builtin and then its argument prototype would still apply.  */
31479#ifdef __cplusplus
31480extern "C"
31481#endif
31482char libuna_byte_stream_copy_from_utf32 ();
31483int
31484main ()
31485{
31486return libuna_byte_stream_copy_from_utf32 ();
31487  ;
31488  return 0;
31489}
31490_ACEOF
31491if ac_fn_c_try_link "$LINENO"; then :
31492  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes
31493else
31494  ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no
31495fi
31496rm -f core conftest.err conftest.$ac_objext \
31497    conftest$ac_exeext conftest.$ac_ext
31498LIBS=$ac_check_lib_save_LIBS
31499fi
31500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5
31501$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; }
31502if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then :
31503  ac_cv_libuna_dummy=yes
31504else
31505  ac_cv_libuna=no
31506fi
31507
31508
31509                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5
31510$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; }
31511if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then :
31512  $as_echo_n "(cached) " >&6
31513else
31514  ac_check_lib_save_LIBS=$LIBS
31515LIBS="-luna  $LIBS"
31516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31517/* end confdefs.h.  */
31518
31519/* Override any GCC internal prototype to avoid an error.
31520   Use char because int might match the return type of a GCC
31521   builtin and then its argument prototype would still apply.  */
31522#ifdef __cplusplus
31523extern "C"
31524#endif
31525char libuna_utf8_stream_size_from_utf8 ();
31526int
31527main ()
31528{
31529return libuna_utf8_stream_size_from_utf8 ();
31530  ;
31531  return 0;
31532}
31533_ACEOF
31534if ac_fn_c_try_link "$LINENO"; then :
31535  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes
31536else
31537  ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no
31538fi
31539rm -f core conftest.err conftest.$ac_objext \
31540    conftest$ac_exeext conftest.$ac_ext
31541LIBS=$ac_check_lib_save_LIBS
31542fi
31543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5
31544$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; }
31545if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then :
31546  ac_cv_libuna_dummy=yes
31547else
31548  ac_cv_libuna=no
31549fi
31550
31551        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5
31552$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; }
31553if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then :
31554  $as_echo_n "(cached) " >&6
31555else
31556  ac_check_lib_save_LIBS=$LIBS
31557LIBS="-luna  $LIBS"
31558cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31559/* end confdefs.h.  */
31560
31561/* Override any GCC internal prototype to avoid an error.
31562   Use char because int might match the return type of a GCC
31563   builtin and then its argument prototype would still apply.  */
31564#ifdef __cplusplus
31565extern "C"
31566#endif
31567char libuna_utf8_stream_copy_from_utf8 ();
31568int
31569main ()
31570{
31571return libuna_utf8_stream_copy_from_utf8 ();
31572  ;
31573  return 0;
31574}
31575_ACEOF
31576if ac_fn_c_try_link "$LINENO"; then :
31577  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes
31578else
31579  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no
31580fi
31581rm -f core conftest.err conftest.$ac_objext \
31582    conftest$ac_exeext conftest.$ac_ext
31583LIBS=$ac_check_lib_save_LIBS
31584fi
31585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5
31586$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; }
31587if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then :
31588  ac_cv_libuna_dummy=yes
31589else
31590  ac_cv_libuna=no
31591fi
31592
31593        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5
31594$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; }
31595if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then :
31596  $as_echo_n "(cached) " >&6
31597else
31598  ac_check_lib_save_LIBS=$LIBS
31599LIBS="-luna  $LIBS"
31600cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31601/* end confdefs.h.  */
31602
31603/* Override any GCC internal prototype to avoid an error.
31604   Use char because int might match the return type of a GCC
31605   builtin and then its argument prototype would still apply.  */
31606#ifdef __cplusplus
31607extern "C"
31608#endif
31609char libuna_utf8_stream_size_from_utf16 ();
31610int
31611main ()
31612{
31613return libuna_utf8_stream_size_from_utf16 ();
31614  ;
31615  return 0;
31616}
31617_ACEOF
31618if ac_fn_c_try_link "$LINENO"; then :
31619  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes
31620else
31621  ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no
31622fi
31623rm -f core conftest.err conftest.$ac_objext \
31624    conftest$ac_exeext conftest.$ac_ext
31625LIBS=$ac_check_lib_save_LIBS
31626fi
31627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5
31628$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; }
31629if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then :
31630  ac_cv_libuna_dummy=yes
31631else
31632  ac_cv_libuna=no
31633fi
31634
31635        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5
31636$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; }
31637if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then :
31638  $as_echo_n "(cached) " >&6
31639else
31640  ac_check_lib_save_LIBS=$LIBS
31641LIBS="-luna  $LIBS"
31642cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31643/* end confdefs.h.  */
31644
31645/* Override any GCC internal prototype to avoid an error.
31646   Use char because int might match the return type of a GCC
31647   builtin and then its argument prototype would still apply.  */
31648#ifdef __cplusplus
31649extern "C"
31650#endif
31651char libuna_utf8_stream_copy_from_utf16 ();
31652int
31653main ()
31654{
31655return libuna_utf8_stream_copy_from_utf16 ();
31656  ;
31657  return 0;
31658}
31659_ACEOF
31660if ac_fn_c_try_link "$LINENO"; then :
31661  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes
31662else
31663  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no
31664fi
31665rm -f core conftest.err conftest.$ac_objext \
31666    conftest$ac_exeext conftest.$ac_ext
31667LIBS=$ac_check_lib_save_LIBS
31668fi
31669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5
31670$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; }
31671if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then :
31672  ac_cv_libuna_dummy=yes
31673else
31674  ac_cv_libuna=no
31675fi
31676
31677        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5
31678$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; }
31679if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then :
31680  $as_echo_n "(cached) " >&6
31681else
31682  ac_check_lib_save_LIBS=$LIBS
31683LIBS="-luna  $LIBS"
31684cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31685/* end confdefs.h.  */
31686
31687/* Override any GCC internal prototype to avoid an error.
31688   Use char because int might match the return type of a GCC
31689   builtin and then its argument prototype would still apply.  */
31690#ifdef __cplusplus
31691extern "C"
31692#endif
31693char libuna_utf8_stream_size_from_utf32 ();
31694int
31695main ()
31696{
31697return libuna_utf8_stream_size_from_utf32 ();
31698  ;
31699  return 0;
31700}
31701_ACEOF
31702if ac_fn_c_try_link "$LINENO"; then :
31703  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes
31704else
31705  ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no
31706fi
31707rm -f core conftest.err conftest.$ac_objext \
31708    conftest$ac_exeext conftest.$ac_ext
31709LIBS=$ac_check_lib_save_LIBS
31710fi
31711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5
31712$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; }
31713if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then :
31714  ac_cv_libuna_dummy=yes
31715else
31716  ac_cv_libuna=no
31717fi
31718
31719        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5
31720$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; }
31721if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then :
31722  $as_echo_n "(cached) " >&6
31723else
31724  ac_check_lib_save_LIBS=$LIBS
31725LIBS="-luna  $LIBS"
31726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31727/* end confdefs.h.  */
31728
31729/* Override any GCC internal prototype to avoid an error.
31730   Use char because int might match the return type of a GCC
31731   builtin and then its argument prototype would still apply.  */
31732#ifdef __cplusplus
31733extern "C"
31734#endif
31735char libuna_utf8_stream_copy_from_utf32 ();
31736int
31737main ()
31738{
31739return libuna_utf8_stream_copy_from_utf32 ();
31740  ;
31741  return 0;
31742}
31743_ACEOF
31744if ac_fn_c_try_link "$LINENO"; then :
31745  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes
31746else
31747  ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no
31748fi
31749rm -f core conftest.err conftest.$ac_objext \
31750    conftest$ac_exeext conftest.$ac_ext
31751LIBS=$ac_check_lib_save_LIBS
31752fi
31753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5
31754$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; }
31755if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then :
31756  ac_cv_libuna_dummy=yes
31757else
31758  ac_cv_libuna=no
31759fi
31760
31761
31762                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5
31763$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; }
31764if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then :
31765  $as_echo_n "(cached) " >&6
31766else
31767  ac_check_lib_save_LIBS=$LIBS
31768LIBS="-luna  $LIBS"
31769cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31770/* end confdefs.h.  */
31771
31772/* Override any GCC internal prototype to avoid an error.
31773   Use char because int might match the return type of a GCC
31774   builtin and then its argument prototype would still apply.  */
31775#ifdef __cplusplus
31776extern "C"
31777#endif
31778char libuna_utf16_stream_size_from_utf8 ();
31779int
31780main ()
31781{
31782return libuna_utf16_stream_size_from_utf8 ();
31783  ;
31784  return 0;
31785}
31786_ACEOF
31787if ac_fn_c_try_link "$LINENO"; then :
31788  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes
31789else
31790  ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no
31791fi
31792rm -f core conftest.err conftest.$ac_objext \
31793    conftest$ac_exeext conftest.$ac_ext
31794LIBS=$ac_check_lib_save_LIBS
31795fi
31796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5
31797$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; }
31798if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then :
31799  ac_cv_libuna_dummy=yes
31800else
31801  ac_cv_libuna=no
31802fi
31803
31804        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5
31805$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; }
31806if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then :
31807  $as_echo_n "(cached) " >&6
31808else
31809  ac_check_lib_save_LIBS=$LIBS
31810LIBS="-luna  $LIBS"
31811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31812/* end confdefs.h.  */
31813
31814/* Override any GCC internal prototype to avoid an error.
31815   Use char because int might match the return type of a GCC
31816   builtin and then its argument prototype would still apply.  */
31817#ifdef __cplusplus
31818extern "C"
31819#endif
31820char libuna_utf16_stream_copy_from_utf8 ();
31821int
31822main ()
31823{
31824return libuna_utf16_stream_copy_from_utf8 ();
31825  ;
31826  return 0;
31827}
31828_ACEOF
31829if ac_fn_c_try_link "$LINENO"; then :
31830  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes
31831else
31832  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no
31833fi
31834rm -f core conftest.err conftest.$ac_objext \
31835    conftest$ac_exeext conftest.$ac_ext
31836LIBS=$ac_check_lib_save_LIBS
31837fi
31838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5
31839$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; }
31840if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then :
31841  ac_cv_libuna_dummy=yes
31842else
31843  ac_cv_libuna=no
31844fi
31845
31846        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5
31847$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; }
31848if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then :
31849  $as_echo_n "(cached) " >&6
31850else
31851  ac_check_lib_save_LIBS=$LIBS
31852LIBS="-luna  $LIBS"
31853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31854/* end confdefs.h.  */
31855
31856/* Override any GCC internal prototype to avoid an error.
31857   Use char because int might match the return type of a GCC
31858   builtin and then its argument prototype would still apply.  */
31859#ifdef __cplusplus
31860extern "C"
31861#endif
31862char libuna_utf16_stream_size_from_utf16 ();
31863int
31864main ()
31865{
31866return libuna_utf16_stream_size_from_utf16 ();
31867  ;
31868  return 0;
31869}
31870_ACEOF
31871if ac_fn_c_try_link "$LINENO"; then :
31872  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes
31873else
31874  ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no
31875fi
31876rm -f core conftest.err conftest.$ac_objext \
31877    conftest$ac_exeext conftest.$ac_ext
31878LIBS=$ac_check_lib_save_LIBS
31879fi
31880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5
31881$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; }
31882if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then :
31883  ac_cv_libuna_dummy=yes
31884else
31885  ac_cv_libuna=no
31886fi
31887
31888        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5
31889$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; }
31890if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then :
31891  $as_echo_n "(cached) " >&6
31892else
31893  ac_check_lib_save_LIBS=$LIBS
31894LIBS="-luna  $LIBS"
31895cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31896/* end confdefs.h.  */
31897
31898/* Override any GCC internal prototype to avoid an error.
31899   Use char because int might match the return type of a GCC
31900   builtin and then its argument prototype would still apply.  */
31901#ifdef __cplusplus
31902extern "C"
31903#endif
31904char libuna_utf16_stream_copy_from_utf16 ();
31905int
31906main ()
31907{
31908return libuna_utf16_stream_copy_from_utf16 ();
31909  ;
31910  return 0;
31911}
31912_ACEOF
31913if ac_fn_c_try_link "$LINENO"; then :
31914  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes
31915else
31916  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no
31917fi
31918rm -f core conftest.err conftest.$ac_objext \
31919    conftest$ac_exeext conftest.$ac_ext
31920LIBS=$ac_check_lib_save_LIBS
31921fi
31922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5
31923$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; }
31924if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then :
31925  ac_cv_libuna_dummy=yes
31926else
31927  ac_cv_libuna=no
31928fi
31929
31930        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5
31931$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; }
31932if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then :
31933  $as_echo_n "(cached) " >&6
31934else
31935  ac_check_lib_save_LIBS=$LIBS
31936LIBS="-luna  $LIBS"
31937cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31938/* end confdefs.h.  */
31939
31940/* Override any GCC internal prototype to avoid an error.
31941   Use char because int might match the return type of a GCC
31942   builtin and then its argument prototype would still apply.  */
31943#ifdef __cplusplus
31944extern "C"
31945#endif
31946char libuna_utf16_stream_size_from_utf32 ();
31947int
31948main ()
31949{
31950return libuna_utf16_stream_size_from_utf32 ();
31951  ;
31952  return 0;
31953}
31954_ACEOF
31955if ac_fn_c_try_link "$LINENO"; then :
31956  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes
31957else
31958  ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no
31959fi
31960rm -f core conftest.err conftest.$ac_objext \
31961    conftest$ac_exeext conftest.$ac_ext
31962LIBS=$ac_check_lib_save_LIBS
31963fi
31964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5
31965$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; }
31966if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then :
31967  ac_cv_libuna_dummy=yes
31968else
31969  ac_cv_libuna=no
31970fi
31971
31972        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5
31973$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; }
31974if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then :
31975  $as_echo_n "(cached) " >&6
31976else
31977  ac_check_lib_save_LIBS=$LIBS
31978LIBS="-luna  $LIBS"
31979cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31980/* end confdefs.h.  */
31981
31982/* Override any GCC internal prototype to avoid an error.
31983   Use char because int might match the return type of a GCC
31984   builtin and then its argument prototype would still apply.  */
31985#ifdef __cplusplus
31986extern "C"
31987#endif
31988char libuna_utf16_stream_copy_from_utf32 ();
31989int
31990main ()
31991{
31992return libuna_utf16_stream_copy_from_utf32 ();
31993  ;
31994  return 0;
31995}
31996_ACEOF
31997if ac_fn_c_try_link "$LINENO"; then :
31998  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes
31999else
32000  ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no
32001fi
32002rm -f core conftest.err conftest.$ac_objext \
32003    conftest$ac_exeext conftest.$ac_ext
32004LIBS=$ac_check_lib_save_LIBS
32005fi
32006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5
32007$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; }
32008if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then :
32009  ac_cv_libuna_dummy=yes
32010else
32011  ac_cv_libuna=no
32012fi
32013
32014
32015                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5
32016$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; }
32017if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then :
32018  $as_echo_n "(cached) " >&6
32019else
32020  ac_check_lib_save_LIBS=$LIBS
32021LIBS="-luna  $LIBS"
32022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32023/* end confdefs.h.  */
32024
32025/* Override any GCC internal prototype to avoid an error.
32026   Use char because int might match the return type of a GCC
32027   builtin and then its argument prototype would still apply.  */
32028#ifdef __cplusplus
32029extern "C"
32030#endif
32031char libuna_utf32_stream_size_from_utf8 ();
32032int
32033main ()
32034{
32035return libuna_utf32_stream_size_from_utf8 ();
32036  ;
32037  return 0;
32038}
32039_ACEOF
32040if ac_fn_c_try_link "$LINENO"; then :
32041  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes
32042else
32043  ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no
32044fi
32045rm -f core conftest.err conftest.$ac_objext \
32046    conftest$ac_exeext conftest.$ac_ext
32047LIBS=$ac_check_lib_save_LIBS
32048fi
32049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5
32050$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; }
32051if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then :
32052  ac_cv_libuna_dummy=yes
32053else
32054  ac_cv_libuna=no
32055fi
32056
32057        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5
32058$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; }
32059if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then :
32060  $as_echo_n "(cached) " >&6
32061else
32062  ac_check_lib_save_LIBS=$LIBS
32063LIBS="-luna  $LIBS"
32064cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32065/* end confdefs.h.  */
32066
32067/* Override any GCC internal prototype to avoid an error.
32068   Use char because int might match the return type of a GCC
32069   builtin and then its argument prototype would still apply.  */
32070#ifdef __cplusplus
32071extern "C"
32072#endif
32073char libuna_utf32_stream_copy_from_utf8 ();
32074int
32075main ()
32076{
32077return libuna_utf32_stream_copy_from_utf8 ();
32078  ;
32079  return 0;
32080}
32081_ACEOF
32082if ac_fn_c_try_link "$LINENO"; then :
32083  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes
32084else
32085  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no
32086fi
32087rm -f core conftest.err conftest.$ac_objext \
32088    conftest$ac_exeext conftest.$ac_ext
32089LIBS=$ac_check_lib_save_LIBS
32090fi
32091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5
32092$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; }
32093if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then :
32094  ac_cv_libuna_dummy=yes
32095else
32096  ac_cv_libuna=no
32097fi
32098
32099        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5
32100$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; }
32101if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then :
32102  $as_echo_n "(cached) " >&6
32103else
32104  ac_check_lib_save_LIBS=$LIBS
32105LIBS="-luna  $LIBS"
32106cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32107/* end confdefs.h.  */
32108
32109/* Override any GCC internal prototype to avoid an error.
32110   Use char because int might match the return type of a GCC
32111   builtin and then its argument prototype would still apply.  */
32112#ifdef __cplusplus
32113extern "C"
32114#endif
32115char libuna_utf32_stream_size_from_utf16 ();
32116int
32117main ()
32118{
32119return libuna_utf32_stream_size_from_utf16 ();
32120  ;
32121  return 0;
32122}
32123_ACEOF
32124if ac_fn_c_try_link "$LINENO"; then :
32125  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes
32126else
32127  ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no
32128fi
32129rm -f core conftest.err conftest.$ac_objext \
32130    conftest$ac_exeext conftest.$ac_ext
32131LIBS=$ac_check_lib_save_LIBS
32132fi
32133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5
32134$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; }
32135if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then :
32136  ac_cv_libuna_dummy=yes
32137else
32138  ac_cv_libuna=no
32139fi
32140
32141        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5
32142$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; }
32143if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then :
32144  $as_echo_n "(cached) " >&6
32145else
32146  ac_check_lib_save_LIBS=$LIBS
32147LIBS="-luna  $LIBS"
32148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32149/* end confdefs.h.  */
32150
32151/* Override any GCC internal prototype to avoid an error.
32152   Use char because int might match the return type of a GCC
32153   builtin and then its argument prototype would still apply.  */
32154#ifdef __cplusplus
32155extern "C"
32156#endif
32157char libuna_utf32_stream_copy_from_utf16 ();
32158int
32159main ()
32160{
32161return libuna_utf32_stream_copy_from_utf16 ();
32162  ;
32163  return 0;
32164}
32165_ACEOF
32166if ac_fn_c_try_link "$LINENO"; then :
32167  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes
32168else
32169  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no
32170fi
32171rm -f core conftest.err conftest.$ac_objext \
32172    conftest$ac_exeext conftest.$ac_ext
32173LIBS=$ac_check_lib_save_LIBS
32174fi
32175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5
32176$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; }
32177if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then :
32178  ac_cv_libuna_dummy=yes
32179else
32180  ac_cv_libuna=no
32181fi
32182
32183        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5
32184$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; }
32185if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then :
32186  $as_echo_n "(cached) " >&6
32187else
32188  ac_check_lib_save_LIBS=$LIBS
32189LIBS="-luna  $LIBS"
32190cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32191/* end confdefs.h.  */
32192
32193/* Override any GCC internal prototype to avoid an error.
32194   Use char because int might match the return type of a GCC
32195   builtin and then its argument prototype would still apply.  */
32196#ifdef __cplusplus
32197extern "C"
32198#endif
32199char libuna_utf32_stream_size_from_utf32 ();
32200int
32201main ()
32202{
32203return libuna_utf32_stream_size_from_utf32 ();
32204  ;
32205  return 0;
32206}
32207_ACEOF
32208if ac_fn_c_try_link "$LINENO"; then :
32209  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes
32210else
32211  ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no
32212fi
32213rm -f core conftest.err conftest.$ac_objext \
32214    conftest$ac_exeext conftest.$ac_ext
32215LIBS=$ac_check_lib_save_LIBS
32216fi
32217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5
32218$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; }
32219if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then :
32220  ac_cv_libuna_dummy=yes
32221else
32222  ac_cv_libuna=no
32223fi
32224
32225        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5
32226$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; }
32227if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then :
32228  $as_echo_n "(cached) " >&6
32229else
32230  ac_check_lib_save_LIBS=$LIBS
32231LIBS="-luna  $LIBS"
32232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32233/* end confdefs.h.  */
32234
32235/* Override any GCC internal prototype to avoid an error.
32236   Use char because int might match the return type of a GCC
32237   builtin and then its argument prototype would still apply.  */
32238#ifdef __cplusplus
32239extern "C"
32240#endif
32241char libuna_utf32_stream_copy_from_utf32 ();
32242int
32243main ()
32244{
32245return libuna_utf32_stream_copy_from_utf32 ();
32246  ;
32247  return 0;
32248}
32249_ACEOF
32250if ac_fn_c_try_link "$LINENO"; then :
32251  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes
32252else
32253  ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no
32254fi
32255rm -f core conftest.err conftest.$ac_objext \
32256    conftest$ac_exeext conftest.$ac_ext
32257LIBS=$ac_check_lib_save_LIBS
32258fi
32259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5
32260$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; }
32261if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then :
32262  ac_cv_libuna_dummy=yes
32263else
32264  ac_cv_libuna=no
32265fi
32266
32267
32268                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5
32269$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; }
32270if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then :
32271  $as_echo_n "(cached) " >&6
32272else
32273  ac_check_lib_save_LIBS=$LIBS
32274LIBS="-luna  $LIBS"
32275cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32276/* end confdefs.h.  */
32277
32278/* Override any GCC internal prototype to avoid an error.
32279   Use char because int might match the return type of a GCC
32280   builtin and then its argument prototype would still apply.  */
32281#ifdef __cplusplus
32282extern "C"
32283#endif
32284char libuna_utf8_string_size_from_byte_stream ();
32285int
32286main ()
32287{
32288return libuna_utf8_string_size_from_byte_stream ();
32289  ;
32290  return 0;
32291}
32292_ACEOF
32293if ac_fn_c_try_link "$LINENO"; then :
32294  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes
32295else
32296  ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no
32297fi
32298rm -f core conftest.err conftest.$ac_objext \
32299    conftest$ac_exeext conftest.$ac_ext
32300LIBS=$ac_check_lib_save_LIBS
32301fi
32302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5
32303$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; }
32304if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then :
32305  ac_cv_libuna_dummy=yes
32306else
32307  ac_cv_libuna=no
32308fi
32309
32310        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5
32311$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; }
32312if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then :
32313  $as_echo_n "(cached) " >&6
32314else
32315  ac_check_lib_save_LIBS=$LIBS
32316LIBS="-luna  $LIBS"
32317cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32318/* end confdefs.h.  */
32319
32320/* Override any GCC internal prototype to avoid an error.
32321   Use char because int might match the return type of a GCC
32322   builtin and then its argument prototype would still apply.  */
32323#ifdef __cplusplus
32324extern "C"
32325#endif
32326char libuna_utf8_string_copy_from_byte_stream ();
32327int
32328main ()
32329{
32330return libuna_utf8_string_copy_from_byte_stream ();
32331  ;
32332  return 0;
32333}
32334_ACEOF
32335if ac_fn_c_try_link "$LINENO"; then :
32336  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes
32337else
32338  ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no
32339fi
32340rm -f core conftest.err conftest.$ac_objext \
32341    conftest$ac_exeext conftest.$ac_ext
32342LIBS=$ac_check_lib_save_LIBS
32343fi
32344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5
32345$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; }
32346if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then :
32347  ac_cv_libuna_dummy=yes
32348else
32349  ac_cv_libuna=no
32350fi
32351
32352        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5
32353$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; }
32354if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then :
32355  $as_echo_n "(cached) " >&6
32356else
32357  ac_check_lib_save_LIBS=$LIBS
32358LIBS="-luna  $LIBS"
32359cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32360/* end confdefs.h.  */
32361
32362/* Override any GCC internal prototype to avoid an error.
32363   Use char because int might match the return type of a GCC
32364   builtin and then its argument prototype would still apply.  */
32365#ifdef __cplusplus
32366extern "C"
32367#endif
32368char libuna_utf8_string_with_index_copy_from_byte_stream ();
32369int
32370main ()
32371{
32372return libuna_utf8_string_with_index_copy_from_byte_stream ();
32373  ;
32374  return 0;
32375}
32376_ACEOF
32377if ac_fn_c_try_link "$LINENO"; then :
32378  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes
32379else
32380  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no
32381fi
32382rm -f core conftest.err conftest.$ac_objext \
32383    conftest$ac_exeext conftest.$ac_ext
32384LIBS=$ac_check_lib_save_LIBS
32385fi
32386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5
32387$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; }
32388if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then :
32389  ac_cv_libuna_dummy=yes
32390else
32391  ac_cv_libuna=no
32392fi
32393
32394        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5
32395$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; }
32396if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then :
32397  $as_echo_n "(cached) " >&6
32398else
32399  ac_check_lib_save_LIBS=$LIBS
32400LIBS="-luna  $LIBS"
32401cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32402/* end confdefs.h.  */
32403
32404/* Override any GCC internal prototype to avoid an error.
32405   Use char because int might match the return type of a GCC
32406   builtin and then its argument prototype would still apply.  */
32407#ifdef __cplusplus
32408extern "C"
32409#endif
32410char libuna_utf8_string_size_from_utf7_stream ();
32411int
32412main ()
32413{
32414return libuna_utf8_string_size_from_utf7_stream ();
32415  ;
32416  return 0;
32417}
32418_ACEOF
32419if ac_fn_c_try_link "$LINENO"; then :
32420  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes
32421else
32422  ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no
32423fi
32424rm -f core conftest.err conftest.$ac_objext \
32425    conftest$ac_exeext conftest.$ac_ext
32426LIBS=$ac_check_lib_save_LIBS
32427fi
32428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5
32429$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; }
32430if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then :
32431  ac_cv_libuna_dummy=yes
32432else
32433  ac_cv_libuna=no
32434fi
32435
32436        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5
32437$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; }
32438if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then :
32439  $as_echo_n "(cached) " >&6
32440else
32441  ac_check_lib_save_LIBS=$LIBS
32442LIBS="-luna  $LIBS"
32443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32444/* end confdefs.h.  */
32445
32446/* Override any GCC internal prototype to avoid an error.
32447   Use char because int might match the return type of a GCC
32448   builtin and then its argument prototype would still apply.  */
32449#ifdef __cplusplus
32450extern "C"
32451#endif
32452char libuna_utf8_string_copy_from_utf7_stream ();
32453int
32454main ()
32455{
32456return libuna_utf8_string_copy_from_utf7_stream ();
32457  ;
32458  return 0;
32459}
32460_ACEOF
32461if ac_fn_c_try_link "$LINENO"; then :
32462  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes
32463else
32464  ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no
32465fi
32466rm -f core conftest.err conftest.$ac_objext \
32467    conftest$ac_exeext conftest.$ac_ext
32468LIBS=$ac_check_lib_save_LIBS
32469fi
32470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5
32471$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; }
32472if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then :
32473  ac_cv_libuna_dummy=yes
32474else
32475  ac_cv_libuna=no
32476fi
32477
32478        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5
32479$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
32480if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then :
32481  $as_echo_n "(cached) " >&6
32482else
32483  ac_check_lib_save_LIBS=$LIBS
32484LIBS="-luna  $LIBS"
32485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32486/* end confdefs.h.  */
32487
32488/* Override any GCC internal prototype to avoid an error.
32489   Use char because int might match the return type of a GCC
32490   builtin and then its argument prototype would still apply.  */
32491#ifdef __cplusplus
32492extern "C"
32493#endif
32494char libuna_utf8_string_with_index_copy_from_utf7_stream ();
32495int
32496main ()
32497{
32498return libuna_utf8_string_with_index_copy_from_utf7_stream ();
32499  ;
32500  return 0;
32501}
32502_ACEOF
32503if ac_fn_c_try_link "$LINENO"; then :
32504  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes
32505else
32506  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no
32507fi
32508rm -f core conftest.err conftest.$ac_objext \
32509    conftest$ac_exeext conftest.$ac_ext
32510LIBS=$ac_check_lib_save_LIBS
32511fi
32512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5
32513$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; }
32514if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then :
32515  ac_cv_libuna_dummy=yes
32516else
32517  ac_cv_libuna=no
32518fi
32519
32520        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5
32521$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; }
32522if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then :
32523  $as_echo_n "(cached) " >&6
32524else
32525  ac_check_lib_save_LIBS=$LIBS
32526LIBS="-luna  $LIBS"
32527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32528/* end confdefs.h.  */
32529
32530/* Override any GCC internal prototype to avoid an error.
32531   Use char because int might match the return type of a GCC
32532   builtin and then its argument prototype would still apply.  */
32533#ifdef __cplusplus
32534extern "C"
32535#endif
32536char libuna_utf8_string_size_from_utf8_stream ();
32537int
32538main ()
32539{
32540return libuna_utf8_string_size_from_utf8_stream ();
32541  ;
32542  return 0;
32543}
32544_ACEOF
32545if ac_fn_c_try_link "$LINENO"; then :
32546  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes
32547else
32548  ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no
32549fi
32550rm -f core conftest.err conftest.$ac_objext \
32551    conftest$ac_exeext conftest.$ac_ext
32552LIBS=$ac_check_lib_save_LIBS
32553fi
32554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5
32555$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; }
32556if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then :
32557  ac_cv_libuna_dummy=yes
32558else
32559  ac_cv_libuna=no
32560fi
32561
32562        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5
32563$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; }
32564if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then :
32565  $as_echo_n "(cached) " >&6
32566else
32567  ac_check_lib_save_LIBS=$LIBS
32568LIBS="-luna  $LIBS"
32569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32570/* end confdefs.h.  */
32571
32572/* Override any GCC internal prototype to avoid an error.
32573   Use char because int might match the return type of a GCC
32574   builtin and then its argument prototype would still apply.  */
32575#ifdef __cplusplus
32576extern "C"
32577#endif
32578char libuna_utf8_string_copy_from_utf8_stream ();
32579int
32580main ()
32581{
32582return libuna_utf8_string_copy_from_utf8_stream ();
32583  ;
32584  return 0;
32585}
32586_ACEOF
32587if ac_fn_c_try_link "$LINENO"; then :
32588  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes
32589else
32590  ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no
32591fi
32592rm -f core conftest.err conftest.$ac_objext \
32593    conftest$ac_exeext conftest.$ac_ext
32594LIBS=$ac_check_lib_save_LIBS
32595fi
32596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5
32597$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; }
32598if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then :
32599  ac_cv_libuna_dummy=yes
32600else
32601  ac_cv_libuna=no
32602fi
32603
32604        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5
32605$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
32606if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then :
32607  $as_echo_n "(cached) " >&6
32608else
32609  ac_check_lib_save_LIBS=$LIBS
32610LIBS="-luna  $LIBS"
32611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32612/* end confdefs.h.  */
32613
32614/* Override any GCC internal prototype to avoid an error.
32615   Use char because int might match the return type of a GCC
32616   builtin and then its argument prototype would still apply.  */
32617#ifdef __cplusplus
32618extern "C"
32619#endif
32620char libuna_utf8_string_with_index_copy_from_utf8_stream ();
32621int
32622main ()
32623{
32624return libuna_utf8_string_with_index_copy_from_utf8_stream ();
32625  ;
32626  return 0;
32627}
32628_ACEOF
32629if ac_fn_c_try_link "$LINENO"; then :
32630  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes
32631else
32632  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no
32633fi
32634rm -f core conftest.err conftest.$ac_objext \
32635    conftest$ac_exeext conftest.$ac_ext
32636LIBS=$ac_check_lib_save_LIBS
32637fi
32638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5
32639$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; }
32640if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then :
32641  ac_cv_libuna_dummy=yes
32642else
32643  ac_cv_libuna=no
32644fi
32645
32646        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5
32647$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; }
32648if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then :
32649  $as_echo_n "(cached) " >&6
32650else
32651  ac_check_lib_save_LIBS=$LIBS
32652LIBS="-luna  $LIBS"
32653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32654/* end confdefs.h.  */
32655
32656/* Override any GCC internal prototype to avoid an error.
32657   Use char because int might match the return type of a GCC
32658   builtin and then its argument prototype would still apply.  */
32659#ifdef __cplusplus
32660extern "C"
32661#endif
32662char libuna_utf8_string_size_from_utf16_stream ();
32663int
32664main ()
32665{
32666return libuna_utf8_string_size_from_utf16_stream ();
32667  ;
32668  return 0;
32669}
32670_ACEOF
32671if ac_fn_c_try_link "$LINENO"; then :
32672  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes
32673else
32674  ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no
32675fi
32676rm -f core conftest.err conftest.$ac_objext \
32677    conftest$ac_exeext conftest.$ac_ext
32678LIBS=$ac_check_lib_save_LIBS
32679fi
32680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5
32681$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; }
32682if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then :
32683  ac_cv_libuna_dummy=yes
32684else
32685  ac_cv_libuna=no
32686fi
32687
32688        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5
32689$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; }
32690if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then :
32691  $as_echo_n "(cached) " >&6
32692else
32693  ac_check_lib_save_LIBS=$LIBS
32694LIBS="-luna  $LIBS"
32695cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32696/* end confdefs.h.  */
32697
32698/* Override any GCC internal prototype to avoid an error.
32699   Use char because int might match the return type of a GCC
32700   builtin and then its argument prototype would still apply.  */
32701#ifdef __cplusplus
32702extern "C"
32703#endif
32704char libuna_utf8_string_copy_from_utf16_stream ();
32705int
32706main ()
32707{
32708return libuna_utf8_string_copy_from_utf16_stream ();
32709  ;
32710  return 0;
32711}
32712_ACEOF
32713if ac_fn_c_try_link "$LINENO"; then :
32714  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes
32715else
32716  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no
32717fi
32718rm -f core conftest.err conftest.$ac_objext \
32719    conftest$ac_exeext conftest.$ac_ext
32720LIBS=$ac_check_lib_save_LIBS
32721fi
32722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5
32723$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; }
32724if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then :
32725  ac_cv_libuna_dummy=yes
32726else
32727  ac_cv_libuna=no
32728fi
32729
32730        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5
32731$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
32732if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then :
32733  $as_echo_n "(cached) " >&6
32734else
32735  ac_check_lib_save_LIBS=$LIBS
32736LIBS="-luna  $LIBS"
32737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32738/* end confdefs.h.  */
32739
32740/* Override any GCC internal prototype to avoid an error.
32741   Use char because int might match the return type of a GCC
32742   builtin and then its argument prototype would still apply.  */
32743#ifdef __cplusplus
32744extern "C"
32745#endif
32746char libuna_utf8_string_with_index_copy_from_utf16_stream ();
32747int
32748main ()
32749{
32750return libuna_utf8_string_with_index_copy_from_utf16_stream ();
32751  ;
32752  return 0;
32753}
32754_ACEOF
32755if ac_fn_c_try_link "$LINENO"; then :
32756  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes
32757else
32758  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no
32759fi
32760rm -f core conftest.err conftest.$ac_objext \
32761    conftest$ac_exeext conftest.$ac_ext
32762LIBS=$ac_check_lib_save_LIBS
32763fi
32764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5
32765$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; }
32766if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then :
32767  ac_cv_libuna_dummy=yes
32768else
32769  ac_cv_libuna=no
32770fi
32771
32772        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5
32773$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; }
32774if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then :
32775  $as_echo_n "(cached) " >&6
32776else
32777  ac_check_lib_save_LIBS=$LIBS
32778LIBS="-luna  $LIBS"
32779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32780/* end confdefs.h.  */
32781
32782/* Override any GCC internal prototype to avoid an error.
32783   Use char because int might match the return type of a GCC
32784   builtin and then its argument prototype would still apply.  */
32785#ifdef __cplusplus
32786extern "C"
32787#endif
32788char libuna_utf8_string_size_from_utf32_stream ();
32789int
32790main ()
32791{
32792return libuna_utf8_string_size_from_utf32_stream ();
32793  ;
32794  return 0;
32795}
32796_ACEOF
32797if ac_fn_c_try_link "$LINENO"; then :
32798  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes
32799else
32800  ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no
32801fi
32802rm -f core conftest.err conftest.$ac_objext \
32803    conftest$ac_exeext conftest.$ac_ext
32804LIBS=$ac_check_lib_save_LIBS
32805fi
32806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5
32807$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; }
32808if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then :
32809  ac_cv_libuna_dummy=yes
32810else
32811  ac_cv_libuna=no
32812fi
32813
32814        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5
32815$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; }
32816if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then :
32817  $as_echo_n "(cached) " >&6
32818else
32819  ac_check_lib_save_LIBS=$LIBS
32820LIBS="-luna  $LIBS"
32821cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32822/* end confdefs.h.  */
32823
32824/* Override any GCC internal prototype to avoid an error.
32825   Use char because int might match the return type of a GCC
32826   builtin and then its argument prototype would still apply.  */
32827#ifdef __cplusplus
32828extern "C"
32829#endif
32830char libuna_utf8_string_copy_from_utf32_stream ();
32831int
32832main ()
32833{
32834return libuna_utf8_string_copy_from_utf32_stream ();
32835  ;
32836  return 0;
32837}
32838_ACEOF
32839if ac_fn_c_try_link "$LINENO"; then :
32840  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes
32841else
32842  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no
32843fi
32844rm -f core conftest.err conftest.$ac_objext \
32845    conftest$ac_exeext conftest.$ac_ext
32846LIBS=$ac_check_lib_save_LIBS
32847fi
32848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5
32849$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; }
32850if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then :
32851  ac_cv_libuna_dummy=yes
32852else
32853  ac_cv_libuna=no
32854fi
32855
32856        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5
32857$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
32858if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then :
32859  $as_echo_n "(cached) " >&6
32860else
32861  ac_check_lib_save_LIBS=$LIBS
32862LIBS="-luna  $LIBS"
32863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32864/* end confdefs.h.  */
32865
32866/* Override any GCC internal prototype to avoid an error.
32867   Use char because int might match the return type of a GCC
32868   builtin and then its argument prototype would still apply.  */
32869#ifdef __cplusplus
32870extern "C"
32871#endif
32872char libuna_utf8_string_with_index_copy_from_utf32_stream ();
32873int
32874main ()
32875{
32876return libuna_utf8_string_with_index_copy_from_utf32_stream ();
32877  ;
32878  return 0;
32879}
32880_ACEOF
32881if ac_fn_c_try_link "$LINENO"; then :
32882  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes
32883else
32884  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no
32885fi
32886rm -f core conftest.err conftest.$ac_objext \
32887    conftest$ac_exeext conftest.$ac_ext
32888LIBS=$ac_check_lib_save_LIBS
32889fi
32890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5
32891$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; }
32892if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then :
32893  ac_cv_libuna_dummy=yes
32894else
32895  ac_cv_libuna=no
32896fi
32897
32898        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5
32899$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; }
32900if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then :
32901  $as_echo_n "(cached) " >&6
32902else
32903  ac_check_lib_save_LIBS=$LIBS
32904LIBS="-luna  $LIBS"
32905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32906/* end confdefs.h.  */
32907
32908/* Override any GCC internal prototype to avoid an error.
32909   Use char because int might match the return type of a GCC
32910   builtin and then its argument prototype would still apply.  */
32911#ifdef __cplusplus
32912extern "C"
32913#endif
32914char libuna_utf8_string_size_from_utf16 ();
32915int
32916main ()
32917{
32918return libuna_utf8_string_size_from_utf16 ();
32919  ;
32920  return 0;
32921}
32922_ACEOF
32923if ac_fn_c_try_link "$LINENO"; then :
32924  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes
32925else
32926  ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no
32927fi
32928rm -f core conftest.err conftest.$ac_objext \
32929    conftest$ac_exeext conftest.$ac_ext
32930LIBS=$ac_check_lib_save_LIBS
32931fi
32932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5
32933$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; }
32934if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then :
32935  ac_cv_libuna_dummy=yes
32936else
32937  ac_cv_libuna=no
32938fi
32939
32940        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5
32941$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; }
32942if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then :
32943  $as_echo_n "(cached) " >&6
32944else
32945  ac_check_lib_save_LIBS=$LIBS
32946LIBS="-luna  $LIBS"
32947cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32948/* end confdefs.h.  */
32949
32950/* Override any GCC internal prototype to avoid an error.
32951   Use char because int might match the return type of a GCC
32952   builtin and then its argument prototype would still apply.  */
32953#ifdef __cplusplus
32954extern "C"
32955#endif
32956char libuna_utf8_string_copy_from_utf16 ();
32957int
32958main ()
32959{
32960return libuna_utf8_string_copy_from_utf16 ();
32961  ;
32962  return 0;
32963}
32964_ACEOF
32965if ac_fn_c_try_link "$LINENO"; then :
32966  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes
32967else
32968  ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no
32969fi
32970rm -f core conftest.err conftest.$ac_objext \
32971    conftest$ac_exeext conftest.$ac_ext
32972LIBS=$ac_check_lib_save_LIBS
32973fi
32974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5
32975$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; }
32976if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then :
32977  ac_cv_libuna_dummy=yes
32978else
32979  ac_cv_libuna=no
32980fi
32981
32982        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5
32983$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; }
32984if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then :
32985  $as_echo_n "(cached) " >&6
32986else
32987  ac_check_lib_save_LIBS=$LIBS
32988LIBS="-luna  $LIBS"
32989cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32990/* end confdefs.h.  */
32991
32992/* Override any GCC internal prototype to avoid an error.
32993   Use char because int might match the return type of a GCC
32994   builtin and then its argument prototype would still apply.  */
32995#ifdef __cplusplus
32996extern "C"
32997#endif
32998char libuna_utf8_string_with_index_copy_from_utf16 ();
32999int
33000main ()
33001{
33002return libuna_utf8_string_with_index_copy_from_utf16 ();
33003  ;
33004  return 0;
33005}
33006_ACEOF
33007if ac_fn_c_try_link "$LINENO"; then :
33008  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes
33009else
33010  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no
33011fi
33012rm -f core conftest.err conftest.$ac_objext \
33013    conftest$ac_exeext conftest.$ac_ext
33014LIBS=$ac_check_lib_save_LIBS
33015fi
33016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5
33017$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; }
33018if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then :
33019  ac_cv_libuna_dummy=yes
33020else
33021  ac_cv_libuna=no
33022fi
33023
33024        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5
33025$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; }
33026if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then :
33027  $as_echo_n "(cached) " >&6
33028else
33029  ac_check_lib_save_LIBS=$LIBS
33030LIBS="-luna  $LIBS"
33031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032/* end confdefs.h.  */
33033
33034/* Override any GCC internal prototype to avoid an error.
33035   Use char because int might match the return type of a GCC
33036   builtin and then its argument prototype would still apply.  */
33037#ifdef __cplusplus
33038extern "C"
33039#endif
33040char libuna_utf8_string_size_from_utf32 ();
33041int
33042main ()
33043{
33044return libuna_utf8_string_size_from_utf32 ();
33045  ;
33046  return 0;
33047}
33048_ACEOF
33049if ac_fn_c_try_link "$LINENO"; then :
33050  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes
33051else
33052  ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no
33053fi
33054rm -f core conftest.err conftest.$ac_objext \
33055    conftest$ac_exeext conftest.$ac_ext
33056LIBS=$ac_check_lib_save_LIBS
33057fi
33058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5
33059$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; }
33060if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then :
33061  ac_cv_libuna_dummy=yes
33062else
33063  ac_cv_libuna=no
33064fi
33065
33066        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5
33067$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; }
33068if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then :
33069  $as_echo_n "(cached) " >&6
33070else
33071  ac_check_lib_save_LIBS=$LIBS
33072LIBS="-luna  $LIBS"
33073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33074/* end confdefs.h.  */
33075
33076/* Override any GCC internal prototype to avoid an error.
33077   Use char because int might match the return type of a GCC
33078   builtin and then its argument prototype would still apply.  */
33079#ifdef __cplusplus
33080extern "C"
33081#endif
33082char libuna_utf8_string_copy_from_utf32 ();
33083int
33084main ()
33085{
33086return libuna_utf8_string_copy_from_utf32 ();
33087  ;
33088  return 0;
33089}
33090_ACEOF
33091if ac_fn_c_try_link "$LINENO"; then :
33092  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes
33093else
33094  ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no
33095fi
33096rm -f core conftest.err conftest.$ac_objext \
33097    conftest$ac_exeext conftest.$ac_ext
33098LIBS=$ac_check_lib_save_LIBS
33099fi
33100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5
33101$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; }
33102if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then :
33103  ac_cv_libuna_dummy=yes
33104else
33105  ac_cv_libuna=no
33106fi
33107
33108        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5
33109$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; }
33110if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then :
33111  $as_echo_n "(cached) " >&6
33112else
33113  ac_check_lib_save_LIBS=$LIBS
33114LIBS="-luna  $LIBS"
33115cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33116/* end confdefs.h.  */
33117
33118/* Override any GCC internal prototype to avoid an error.
33119   Use char because int might match the return type of a GCC
33120   builtin and then its argument prototype would still apply.  */
33121#ifdef __cplusplus
33122extern "C"
33123#endif
33124char libuna_utf8_string_with_index_copy_from_utf32 ();
33125int
33126main ()
33127{
33128return libuna_utf8_string_with_index_copy_from_utf32 ();
33129  ;
33130  return 0;
33131}
33132_ACEOF
33133if ac_fn_c_try_link "$LINENO"; then :
33134  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes
33135else
33136  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no
33137fi
33138rm -f core conftest.err conftest.$ac_objext \
33139    conftest$ac_exeext conftest.$ac_ext
33140LIBS=$ac_check_lib_save_LIBS
33141fi
33142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5
33143$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; }
33144if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then :
33145  ac_cv_libuna_dummy=yes
33146else
33147  ac_cv_libuna=no
33148fi
33149
33150        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5
33151$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; }
33152if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then :
33153  $as_echo_n "(cached) " >&6
33154else
33155  ac_check_lib_save_LIBS=$LIBS
33156LIBS="-luna  $LIBS"
33157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33158/* end confdefs.h.  */
33159
33160/* Override any GCC internal prototype to avoid an error.
33161   Use char because int might match the return type of a GCC
33162   builtin and then its argument prototype would still apply.  */
33163#ifdef __cplusplus
33164extern "C"
33165#endif
33166char libuna_utf8_string_size_from_scsu_stream ();
33167int
33168main ()
33169{
33170return libuna_utf8_string_size_from_scsu_stream ();
33171  ;
33172  return 0;
33173}
33174_ACEOF
33175if ac_fn_c_try_link "$LINENO"; then :
33176  ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes
33177else
33178  ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no
33179fi
33180rm -f core conftest.err conftest.$ac_objext \
33181    conftest$ac_exeext conftest.$ac_ext
33182LIBS=$ac_check_lib_save_LIBS
33183fi
33184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5
33185$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; }
33186if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then :
33187  ac_cv_libuna_dummy=yes
33188else
33189  ac_cv_libuna=no
33190fi
33191
33192        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5
33193$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; }
33194if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then :
33195  $as_echo_n "(cached) " >&6
33196else
33197  ac_check_lib_save_LIBS=$LIBS
33198LIBS="-luna  $LIBS"
33199cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33200/* end confdefs.h.  */
33201
33202/* Override any GCC internal prototype to avoid an error.
33203   Use char because int might match the return type of a GCC
33204   builtin and then its argument prototype would still apply.  */
33205#ifdef __cplusplus
33206extern "C"
33207#endif
33208char libuna_utf8_string_copy_from_scsu_stream ();
33209int
33210main ()
33211{
33212return libuna_utf8_string_copy_from_scsu_stream ();
33213  ;
33214  return 0;
33215}
33216_ACEOF
33217if ac_fn_c_try_link "$LINENO"; then :
33218  ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes
33219else
33220  ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no
33221fi
33222rm -f core conftest.err conftest.$ac_objext \
33223    conftest$ac_exeext conftest.$ac_ext
33224LIBS=$ac_check_lib_save_LIBS
33225fi
33226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5
33227$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; }
33228if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then :
33229  ac_cv_libuna_dummy=yes
33230else
33231  ac_cv_libuna=no
33232fi
33233
33234        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5
33235$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
33236if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then :
33237  $as_echo_n "(cached) " >&6
33238else
33239  ac_check_lib_save_LIBS=$LIBS
33240LIBS="-luna  $LIBS"
33241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33242/* end confdefs.h.  */
33243
33244/* Override any GCC internal prototype to avoid an error.
33245   Use char because int might match the return type of a GCC
33246   builtin and then its argument prototype would still apply.  */
33247#ifdef __cplusplus
33248extern "C"
33249#endif
33250char libuna_utf8_string_with_index_copy_from_scsu_stream ();
33251int
33252main ()
33253{
33254return libuna_utf8_string_with_index_copy_from_scsu_stream ();
33255  ;
33256  return 0;
33257}
33258_ACEOF
33259if ac_fn_c_try_link "$LINENO"; then :
33260  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes
33261else
33262  ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no
33263fi
33264rm -f core conftest.err conftest.$ac_objext \
33265    conftest$ac_exeext conftest.$ac_ext
33266LIBS=$ac_check_lib_save_LIBS
33267fi
33268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5
33269$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; }
33270if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then :
33271  ac_cv_libuna_dummy=yes
33272else
33273  ac_cv_libuna=no
33274fi
33275
33276
33277                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5
33278$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; }
33279if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then :
33280  $as_echo_n "(cached) " >&6
33281else
33282  ac_check_lib_save_LIBS=$LIBS
33283LIBS="-luna  $LIBS"
33284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33285/* end confdefs.h.  */
33286
33287/* Override any GCC internal prototype to avoid an error.
33288   Use char because int might match the return type of a GCC
33289   builtin and then its argument prototype would still apply.  */
33290#ifdef __cplusplus
33291extern "C"
33292#endif
33293char libuna_utf16_string_size_from_byte_stream ();
33294int
33295main ()
33296{
33297return libuna_utf16_string_size_from_byte_stream ();
33298  ;
33299  return 0;
33300}
33301_ACEOF
33302if ac_fn_c_try_link "$LINENO"; then :
33303  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes
33304else
33305  ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no
33306fi
33307rm -f core conftest.err conftest.$ac_objext \
33308    conftest$ac_exeext conftest.$ac_ext
33309LIBS=$ac_check_lib_save_LIBS
33310fi
33311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5
33312$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; }
33313if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then :
33314  ac_cv_libuna_dummy=yes
33315else
33316  ac_cv_libuna=no
33317fi
33318
33319        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5
33320$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; }
33321if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then :
33322  $as_echo_n "(cached) " >&6
33323else
33324  ac_check_lib_save_LIBS=$LIBS
33325LIBS="-luna  $LIBS"
33326cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33327/* end confdefs.h.  */
33328
33329/* Override any GCC internal prototype to avoid an error.
33330   Use char because int might match the return type of a GCC
33331   builtin and then its argument prototype would still apply.  */
33332#ifdef __cplusplus
33333extern "C"
33334#endif
33335char libuna_utf16_string_copy_from_byte_stream ();
33336int
33337main ()
33338{
33339return libuna_utf16_string_copy_from_byte_stream ();
33340  ;
33341  return 0;
33342}
33343_ACEOF
33344if ac_fn_c_try_link "$LINENO"; then :
33345  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes
33346else
33347  ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no
33348fi
33349rm -f core conftest.err conftest.$ac_objext \
33350    conftest$ac_exeext conftest.$ac_ext
33351LIBS=$ac_check_lib_save_LIBS
33352fi
33353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5
33354$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; }
33355if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then :
33356  ac_cv_libuna_dummy=yes
33357else
33358  ac_cv_libuna=no
33359fi
33360
33361        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5
33362$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; }
33363if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then :
33364  $as_echo_n "(cached) " >&6
33365else
33366  ac_check_lib_save_LIBS=$LIBS
33367LIBS="-luna  $LIBS"
33368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33369/* end confdefs.h.  */
33370
33371/* Override any GCC internal prototype to avoid an error.
33372   Use char because int might match the return type of a GCC
33373   builtin and then its argument prototype would still apply.  */
33374#ifdef __cplusplus
33375extern "C"
33376#endif
33377char libuna_utf16_string_with_index_copy_from_byte_stream ();
33378int
33379main ()
33380{
33381return libuna_utf16_string_with_index_copy_from_byte_stream ();
33382  ;
33383  return 0;
33384}
33385_ACEOF
33386if ac_fn_c_try_link "$LINENO"; then :
33387  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes
33388else
33389  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no
33390fi
33391rm -f core conftest.err conftest.$ac_objext \
33392    conftest$ac_exeext conftest.$ac_ext
33393LIBS=$ac_check_lib_save_LIBS
33394fi
33395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5
33396$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; }
33397if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then :
33398  ac_cv_libuna_dummy=yes
33399else
33400  ac_cv_libuna=no
33401fi
33402
33403        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5
33404$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; }
33405if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then :
33406  $as_echo_n "(cached) " >&6
33407else
33408  ac_check_lib_save_LIBS=$LIBS
33409LIBS="-luna  $LIBS"
33410cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33411/* end confdefs.h.  */
33412
33413/* Override any GCC internal prototype to avoid an error.
33414   Use char because int might match the return type of a GCC
33415   builtin and then its argument prototype would still apply.  */
33416#ifdef __cplusplus
33417extern "C"
33418#endif
33419char libuna_utf16_string_size_from_utf7_stream ();
33420int
33421main ()
33422{
33423return libuna_utf16_string_size_from_utf7_stream ();
33424  ;
33425  return 0;
33426}
33427_ACEOF
33428if ac_fn_c_try_link "$LINENO"; then :
33429  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes
33430else
33431  ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no
33432fi
33433rm -f core conftest.err conftest.$ac_objext \
33434    conftest$ac_exeext conftest.$ac_ext
33435LIBS=$ac_check_lib_save_LIBS
33436fi
33437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5
33438$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; }
33439if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then :
33440  ac_cv_libuna_dummy=yes
33441else
33442  ac_cv_libuna=no
33443fi
33444
33445        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5
33446$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; }
33447if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then :
33448  $as_echo_n "(cached) " >&6
33449else
33450  ac_check_lib_save_LIBS=$LIBS
33451LIBS="-luna  $LIBS"
33452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33453/* end confdefs.h.  */
33454
33455/* Override any GCC internal prototype to avoid an error.
33456   Use char because int might match the return type of a GCC
33457   builtin and then its argument prototype would still apply.  */
33458#ifdef __cplusplus
33459extern "C"
33460#endif
33461char libuna_utf16_string_copy_from_utf7_stream ();
33462int
33463main ()
33464{
33465return libuna_utf16_string_copy_from_utf7_stream ();
33466  ;
33467  return 0;
33468}
33469_ACEOF
33470if ac_fn_c_try_link "$LINENO"; then :
33471  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes
33472else
33473  ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no
33474fi
33475rm -f core conftest.err conftest.$ac_objext \
33476    conftest$ac_exeext conftest.$ac_ext
33477LIBS=$ac_check_lib_save_LIBS
33478fi
33479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5
33480$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; }
33481if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then :
33482  ac_cv_libuna_dummy=yes
33483else
33484  ac_cv_libuna=no
33485fi
33486
33487        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5
33488$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
33489if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then :
33490  $as_echo_n "(cached) " >&6
33491else
33492  ac_check_lib_save_LIBS=$LIBS
33493LIBS="-luna  $LIBS"
33494cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33495/* end confdefs.h.  */
33496
33497/* Override any GCC internal prototype to avoid an error.
33498   Use char because int might match the return type of a GCC
33499   builtin and then its argument prototype would still apply.  */
33500#ifdef __cplusplus
33501extern "C"
33502#endif
33503char libuna_utf16_string_with_index_copy_from_utf7_stream ();
33504int
33505main ()
33506{
33507return libuna_utf16_string_with_index_copy_from_utf7_stream ();
33508  ;
33509  return 0;
33510}
33511_ACEOF
33512if ac_fn_c_try_link "$LINENO"; then :
33513  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes
33514else
33515  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no
33516fi
33517rm -f core conftest.err conftest.$ac_objext \
33518    conftest$ac_exeext conftest.$ac_ext
33519LIBS=$ac_check_lib_save_LIBS
33520fi
33521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5
33522$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; }
33523if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then :
33524  ac_cv_libuna_dummy=yes
33525else
33526  ac_cv_libuna=no
33527fi
33528
33529        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5
33530$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; }
33531if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then :
33532  $as_echo_n "(cached) " >&6
33533else
33534  ac_check_lib_save_LIBS=$LIBS
33535LIBS="-luna  $LIBS"
33536cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33537/* end confdefs.h.  */
33538
33539/* Override any GCC internal prototype to avoid an error.
33540   Use char because int might match the return type of a GCC
33541   builtin and then its argument prototype would still apply.  */
33542#ifdef __cplusplus
33543extern "C"
33544#endif
33545char libuna_utf16_string_size_from_utf8_stream ();
33546int
33547main ()
33548{
33549return libuna_utf16_string_size_from_utf8_stream ();
33550  ;
33551  return 0;
33552}
33553_ACEOF
33554if ac_fn_c_try_link "$LINENO"; then :
33555  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes
33556else
33557  ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no
33558fi
33559rm -f core conftest.err conftest.$ac_objext \
33560    conftest$ac_exeext conftest.$ac_ext
33561LIBS=$ac_check_lib_save_LIBS
33562fi
33563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5
33564$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; }
33565if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then :
33566  ac_cv_libuna_dummy=yes
33567else
33568  ac_cv_libuna=no
33569fi
33570
33571        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5
33572$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; }
33573if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then :
33574  $as_echo_n "(cached) " >&6
33575else
33576  ac_check_lib_save_LIBS=$LIBS
33577LIBS="-luna  $LIBS"
33578cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33579/* end confdefs.h.  */
33580
33581/* Override any GCC internal prototype to avoid an error.
33582   Use char because int might match the return type of a GCC
33583   builtin and then its argument prototype would still apply.  */
33584#ifdef __cplusplus
33585extern "C"
33586#endif
33587char libuna_utf16_string_copy_from_utf8_stream ();
33588int
33589main ()
33590{
33591return libuna_utf16_string_copy_from_utf8_stream ();
33592  ;
33593  return 0;
33594}
33595_ACEOF
33596if ac_fn_c_try_link "$LINENO"; then :
33597  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes
33598else
33599  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no
33600fi
33601rm -f core conftest.err conftest.$ac_objext \
33602    conftest$ac_exeext conftest.$ac_ext
33603LIBS=$ac_check_lib_save_LIBS
33604fi
33605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5
33606$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; }
33607if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then :
33608  ac_cv_libuna_dummy=yes
33609else
33610  ac_cv_libuna=no
33611fi
33612
33613        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5
33614$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
33615if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then :
33616  $as_echo_n "(cached) " >&6
33617else
33618  ac_check_lib_save_LIBS=$LIBS
33619LIBS="-luna  $LIBS"
33620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33621/* end confdefs.h.  */
33622
33623/* Override any GCC internal prototype to avoid an error.
33624   Use char because int might match the return type of a GCC
33625   builtin and then its argument prototype would still apply.  */
33626#ifdef __cplusplus
33627extern "C"
33628#endif
33629char libuna_utf16_string_with_index_copy_from_utf8_stream ();
33630int
33631main ()
33632{
33633return libuna_utf16_string_with_index_copy_from_utf8_stream ();
33634  ;
33635  return 0;
33636}
33637_ACEOF
33638if ac_fn_c_try_link "$LINENO"; then :
33639  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes
33640else
33641  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no
33642fi
33643rm -f core conftest.err conftest.$ac_objext \
33644    conftest$ac_exeext conftest.$ac_ext
33645LIBS=$ac_check_lib_save_LIBS
33646fi
33647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5
33648$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; }
33649if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then :
33650  ac_cv_libuna_dummy=yes
33651else
33652  ac_cv_libuna=no
33653fi
33654
33655        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5
33656$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; }
33657if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then :
33658  $as_echo_n "(cached) " >&6
33659else
33660  ac_check_lib_save_LIBS=$LIBS
33661LIBS="-luna  $LIBS"
33662cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33663/* end confdefs.h.  */
33664
33665/* Override any GCC internal prototype to avoid an error.
33666   Use char because int might match the return type of a GCC
33667   builtin and then its argument prototype would still apply.  */
33668#ifdef __cplusplus
33669extern "C"
33670#endif
33671char libuna_utf16_string_size_from_utf16_stream ();
33672int
33673main ()
33674{
33675return libuna_utf16_string_size_from_utf16_stream ();
33676  ;
33677  return 0;
33678}
33679_ACEOF
33680if ac_fn_c_try_link "$LINENO"; then :
33681  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes
33682else
33683  ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no
33684fi
33685rm -f core conftest.err conftest.$ac_objext \
33686    conftest$ac_exeext conftest.$ac_ext
33687LIBS=$ac_check_lib_save_LIBS
33688fi
33689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5
33690$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; }
33691if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then :
33692  ac_cv_libuna_dummy=yes
33693else
33694  ac_cv_libuna=no
33695fi
33696
33697        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5
33698$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; }
33699if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then :
33700  $as_echo_n "(cached) " >&6
33701else
33702  ac_check_lib_save_LIBS=$LIBS
33703LIBS="-luna  $LIBS"
33704cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33705/* end confdefs.h.  */
33706
33707/* Override any GCC internal prototype to avoid an error.
33708   Use char because int might match the return type of a GCC
33709   builtin and then its argument prototype would still apply.  */
33710#ifdef __cplusplus
33711extern "C"
33712#endif
33713char libuna_utf16_string_copy_from_utf16_stream ();
33714int
33715main ()
33716{
33717return libuna_utf16_string_copy_from_utf16_stream ();
33718  ;
33719  return 0;
33720}
33721_ACEOF
33722if ac_fn_c_try_link "$LINENO"; then :
33723  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes
33724else
33725  ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no
33726fi
33727rm -f core conftest.err conftest.$ac_objext \
33728    conftest$ac_exeext conftest.$ac_ext
33729LIBS=$ac_check_lib_save_LIBS
33730fi
33731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5
33732$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; }
33733if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then :
33734  ac_cv_libuna_dummy=yes
33735else
33736  ac_cv_libuna=no
33737fi
33738
33739        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5
33740$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
33741if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then :
33742  $as_echo_n "(cached) " >&6
33743else
33744  ac_check_lib_save_LIBS=$LIBS
33745LIBS="-luna  $LIBS"
33746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33747/* end confdefs.h.  */
33748
33749/* Override any GCC internal prototype to avoid an error.
33750   Use char because int might match the return type of a GCC
33751   builtin and then its argument prototype would still apply.  */
33752#ifdef __cplusplus
33753extern "C"
33754#endif
33755char libuna_utf16_string_with_index_copy_from_utf16_stream ();
33756int
33757main ()
33758{
33759return libuna_utf16_string_with_index_copy_from_utf16_stream ();
33760  ;
33761  return 0;
33762}
33763_ACEOF
33764if ac_fn_c_try_link "$LINENO"; then :
33765  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes
33766else
33767  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no
33768fi
33769rm -f core conftest.err conftest.$ac_objext \
33770    conftest$ac_exeext conftest.$ac_ext
33771LIBS=$ac_check_lib_save_LIBS
33772fi
33773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5
33774$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; }
33775if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then :
33776  ac_cv_libuna_dummy=yes
33777else
33778  ac_cv_libuna=no
33779fi
33780
33781        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5
33782$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; }
33783if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then :
33784  $as_echo_n "(cached) " >&6
33785else
33786  ac_check_lib_save_LIBS=$LIBS
33787LIBS="-luna  $LIBS"
33788cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33789/* end confdefs.h.  */
33790
33791/* Override any GCC internal prototype to avoid an error.
33792   Use char because int might match the return type of a GCC
33793   builtin and then its argument prototype would still apply.  */
33794#ifdef __cplusplus
33795extern "C"
33796#endif
33797char libuna_utf16_string_size_from_utf32_stream ();
33798int
33799main ()
33800{
33801return libuna_utf16_string_size_from_utf32_stream ();
33802  ;
33803  return 0;
33804}
33805_ACEOF
33806if ac_fn_c_try_link "$LINENO"; then :
33807  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes
33808else
33809  ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no
33810fi
33811rm -f core conftest.err conftest.$ac_objext \
33812    conftest$ac_exeext conftest.$ac_ext
33813LIBS=$ac_check_lib_save_LIBS
33814fi
33815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5
33816$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; }
33817if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then :
33818  ac_cv_libuna_dummy=yes
33819else
33820  ac_cv_libuna=no
33821fi
33822
33823        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5
33824$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; }
33825if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then :
33826  $as_echo_n "(cached) " >&6
33827else
33828  ac_check_lib_save_LIBS=$LIBS
33829LIBS="-luna  $LIBS"
33830cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33831/* end confdefs.h.  */
33832
33833/* Override any GCC internal prototype to avoid an error.
33834   Use char because int might match the return type of a GCC
33835   builtin and then its argument prototype would still apply.  */
33836#ifdef __cplusplus
33837extern "C"
33838#endif
33839char libuna_utf16_string_copy_from_utf32_stream ();
33840int
33841main ()
33842{
33843return libuna_utf16_string_copy_from_utf32_stream ();
33844  ;
33845  return 0;
33846}
33847_ACEOF
33848if ac_fn_c_try_link "$LINENO"; then :
33849  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes
33850else
33851  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no
33852fi
33853rm -f core conftest.err conftest.$ac_objext \
33854    conftest$ac_exeext conftest.$ac_ext
33855LIBS=$ac_check_lib_save_LIBS
33856fi
33857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5
33858$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; }
33859if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then :
33860  ac_cv_libuna_dummy=yes
33861else
33862  ac_cv_libuna=no
33863fi
33864
33865        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5
33866$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
33867if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then :
33868  $as_echo_n "(cached) " >&6
33869else
33870  ac_check_lib_save_LIBS=$LIBS
33871LIBS="-luna  $LIBS"
33872cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33873/* end confdefs.h.  */
33874
33875/* Override any GCC internal prototype to avoid an error.
33876   Use char because int might match the return type of a GCC
33877   builtin and then its argument prototype would still apply.  */
33878#ifdef __cplusplus
33879extern "C"
33880#endif
33881char libuna_utf16_string_with_index_copy_from_utf32_stream ();
33882int
33883main ()
33884{
33885return libuna_utf16_string_with_index_copy_from_utf32_stream ();
33886  ;
33887  return 0;
33888}
33889_ACEOF
33890if ac_fn_c_try_link "$LINENO"; then :
33891  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes
33892else
33893  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no
33894fi
33895rm -f core conftest.err conftest.$ac_objext \
33896    conftest$ac_exeext conftest.$ac_ext
33897LIBS=$ac_check_lib_save_LIBS
33898fi
33899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5
33900$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; }
33901if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then :
33902  ac_cv_libuna_dummy=yes
33903else
33904  ac_cv_libuna=no
33905fi
33906
33907        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5
33908$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; }
33909if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then :
33910  $as_echo_n "(cached) " >&6
33911else
33912  ac_check_lib_save_LIBS=$LIBS
33913LIBS="-luna  $LIBS"
33914cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33915/* end confdefs.h.  */
33916
33917/* Override any GCC internal prototype to avoid an error.
33918   Use char because int might match the return type of a GCC
33919   builtin and then its argument prototype would still apply.  */
33920#ifdef __cplusplus
33921extern "C"
33922#endif
33923char libuna_utf16_string_size_from_utf8 ();
33924int
33925main ()
33926{
33927return libuna_utf16_string_size_from_utf8 ();
33928  ;
33929  return 0;
33930}
33931_ACEOF
33932if ac_fn_c_try_link "$LINENO"; then :
33933  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes
33934else
33935  ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no
33936fi
33937rm -f core conftest.err conftest.$ac_objext \
33938    conftest$ac_exeext conftest.$ac_ext
33939LIBS=$ac_check_lib_save_LIBS
33940fi
33941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5
33942$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; }
33943if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then :
33944  ac_cv_libuna_dummy=yes
33945else
33946  ac_cv_libuna=no
33947fi
33948
33949        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5
33950$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; }
33951if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then :
33952  $as_echo_n "(cached) " >&6
33953else
33954  ac_check_lib_save_LIBS=$LIBS
33955LIBS="-luna  $LIBS"
33956cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33957/* end confdefs.h.  */
33958
33959/* Override any GCC internal prototype to avoid an error.
33960   Use char because int might match the return type of a GCC
33961   builtin and then its argument prototype would still apply.  */
33962#ifdef __cplusplus
33963extern "C"
33964#endif
33965char libuna_utf16_string_copy_from_utf8 ();
33966int
33967main ()
33968{
33969return libuna_utf16_string_copy_from_utf8 ();
33970  ;
33971  return 0;
33972}
33973_ACEOF
33974if ac_fn_c_try_link "$LINENO"; then :
33975  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes
33976else
33977  ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no
33978fi
33979rm -f core conftest.err conftest.$ac_objext \
33980    conftest$ac_exeext conftest.$ac_ext
33981LIBS=$ac_check_lib_save_LIBS
33982fi
33983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5
33984$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; }
33985if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then :
33986  ac_cv_libuna_dummy=yes
33987else
33988  ac_cv_libuna=no
33989fi
33990
33991        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5
33992$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; }
33993if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then :
33994  $as_echo_n "(cached) " >&6
33995else
33996  ac_check_lib_save_LIBS=$LIBS
33997LIBS="-luna  $LIBS"
33998cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999/* end confdefs.h.  */
34000
34001/* Override any GCC internal prototype to avoid an error.
34002   Use char because int might match the return type of a GCC
34003   builtin and then its argument prototype would still apply.  */
34004#ifdef __cplusplus
34005extern "C"
34006#endif
34007char libuna_utf16_string_with_index_copy_from_utf8 ();
34008int
34009main ()
34010{
34011return libuna_utf16_string_with_index_copy_from_utf8 ();
34012  ;
34013  return 0;
34014}
34015_ACEOF
34016if ac_fn_c_try_link "$LINENO"; then :
34017  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes
34018else
34019  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no
34020fi
34021rm -f core conftest.err conftest.$ac_objext \
34022    conftest$ac_exeext conftest.$ac_ext
34023LIBS=$ac_check_lib_save_LIBS
34024fi
34025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5
34026$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; }
34027if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then :
34028  ac_cv_libuna_dummy=yes
34029else
34030  ac_cv_libuna=no
34031fi
34032
34033        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5
34034$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; }
34035if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then :
34036  $as_echo_n "(cached) " >&6
34037else
34038  ac_check_lib_save_LIBS=$LIBS
34039LIBS="-luna  $LIBS"
34040cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34041/* end confdefs.h.  */
34042
34043/* Override any GCC internal prototype to avoid an error.
34044   Use char because int might match the return type of a GCC
34045   builtin and then its argument prototype would still apply.  */
34046#ifdef __cplusplus
34047extern "C"
34048#endif
34049char libuna_utf16_string_size_from_utf32 ();
34050int
34051main ()
34052{
34053return libuna_utf16_string_size_from_utf32 ();
34054  ;
34055  return 0;
34056}
34057_ACEOF
34058if ac_fn_c_try_link "$LINENO"; then :
34059  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes
34060else
34061  ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no
34062fi
34063rm -f core conftest.err conftest.$ac_objext \
34064    conftest$ac_exeext conftest.$ac_ext
34065LIBS=$ac_check_lib_save_LIBS
34066fi
34067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5
34068$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; }
34069if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then :
34070  ac_cv_libuna_dummy=yes
34071else
34072  ac_cv_libuna=no
34073fi
34074
34075        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5
34076$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; }
34077if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then :
34078  $as_echo_n "(cached) " >&6
34079else
34080  ac_check_lib_save_LIBS=$LIBS
34081LIBS="-luna  $LIBS"
34082cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34083/* end confdefs.h.  */
34084
34085/* Override any GCC internal prototype to avoid an error.
34086   Use char because int might match the return type of a GCC
34087   builtin and then its argument prototype would still apply.  */
34088#ifdef __cplusplus
34089extern "C"
34090#endif
34091char libuna_utf16_string_copy_from_utf32 ();
34092int
34093main ()
34094{
34095return libuna_utf16_string_copy_from_utf32 ();
34096  ;
34097  return 0;
34098}
34099_ACEOF
34100if ac_fn_c_try_link "$LINENO"; then :
34101  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes
34102else
34103  ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no
34104fi
34105rm -f core conftest.err conftest.$ac_objext \
34106    conftest$ac_exeext conftest.$ac_ext
34107LIBS=$ac_check_lib_save_LIBS
34108fi
34109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5
34110$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; }
34111if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then :
34112  ac_cv_libuna_dummy=yes
34113else
34114  ac_cv_libuna=no
34115fi
34116
34117        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5
34118$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; }
34119if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then :
34120  $as_echo_n "(cached) " >&6
34121else
34122  ac_check_lib_save_LIBS=$LIBS
34123LIBS="-luna  $LIBS"
34124cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34125/* end confdefs.h.  */
34126
34127/* Override any GCC internal prototype to avoid an error.
34128   Use char because int might match the return type of a GCC
34129   builtin and then its argument prototype would still apply.  */
34130#ifdef __cplusplus
34131extern "C"
34132#endif
34133char libuna_utf16_string_with_index_copy_from_utf32 ();
34134int
34135main ()
34136{
34137return libuna_utf16_string_with_index_copy_from_utf32 ();
34138  ;
34139  return 0;
34140}
34141_ACEOF
34142if ac_fn_c_try_link "$LINENO"; then :
34143  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes
34144else
34145  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no
34146fi
34147rm -f core conftest.err conftest.$ac_objext \
34148    conftest$ac_exeext conftest.$ac_ext
34149LIBS=$ac_check_lib_save_LIBS
34150fi
34151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5
34152$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; }
34153if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then :
34154  ac_cv_libuna_dummy=yes
34155else
34156  ac_cv_libuna=no
34157fi
34158
34159        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5
34160$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; }
34161if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then :
34162  $as_echo_n "(cached) " >&6
34163else
34164  ac_check_lib_save_LIBS=$LIBS
34165LIBS="-luna  $LIBS"
34166cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34167/* end confdefs.h.  */
34168
34169/* Override any GCC internal prototype to avoid an error.
34170   Use char because int might match the return type of a GCC
34171   builtin and then its argument prototype would still apply.  */
34172#ifdef __cplusplus
34173extern "C"
34174#endif
34175char libuna_utf16_string_size_from_scsu_stream ();
34176int
34177main ()
34178{
34179return libuna_utf16_string_size_from_scsu_stream ();
34180  ;
34181  return 0;
34182}
34183_ACEOF
34184if ac_fn_c_try_link "$LINENO"; then :
34185  ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes
34186else
34187  ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no
34188fi
34189rm -f core conftest.err conftest.$ac_objext \
34190    conftest$ac_exeext conftest.$ac_ext
34191LIBS=$ac_check_lib_save_LIBS
34192fi
34193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5
34194$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; }
34195if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then :
34196  ac_cv_libuna_dummy=yes
34197else
34198  ac_cv_libuna=no
34199fi
34200
34201        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5
34202$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; }
34203if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then :
34204  $as_echo_n "(cached) " >&6
34205else
34206  ac_check_lib_save_LIBS=$LIBS
34207LIBS="-luna  $LIBS"
34208cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34209/* end confdefs.h.  */
34210
34211/* Override any GCC internal prototype to avoid an error.
34212   Use char because int might match the return type of a GCC
34213   builtin and then its argument prototype would still apply.  */
34214#ifdef __cplusplus
34215extern "C"
34216#endif
34217char libuna_utf16_string_copy_from_scsu_stream ();
34218int
34219main ()
34220{
34221return libuna_utf16_string_copy_from_scsu_stream ();
34222  ;
34223  return 0;
34224}
34225_ACEOF
34226if ac_fn_c_try_link "$LINENO"; then :
34227  ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes
34228else
34229  ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no
34230fi
34231rm -f core conftest.err conftest.$ac_objext \
34232    conftest$ac_exeext conftest.$ac_ext
34233LIBS=$ac_check_lib_save_LIBS
34234fi
34235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5
34236$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; }
34237if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then :
34238  ac_cv_libuna_dummy=yes
34239else
34240  ac_cv_libuna=no
34241fi
34242
34243        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5
34244$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
34245if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then :
34246  $as_echo_n "(cached) " >&6
34247else
34248  ac_check_lib_save_LIBS=$LIBS
34249LIBS="-luna  $LIBS"
34250cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34251/* end confdefs.h.  */
34252
34253/* Override any GCC internal prototype to avoid an error.
34254   Use char because int might match the return type of a GCC
34255   builtin and then its argument prototype would still apply.  */
34256#ifdef __cplusplus
34257extern "C"
34258#endif
34259char libuna_utf16_string_with_index_copy_from_scsu_stream ();
34260int
34261main ()
34262{
34263return libuna_utf16_string_with_index_copy_from_scsu_stream ();
34264  ;
34265  return 0;
34266}
34267_ACEOF
34268if ac_fn_c_try_link "$LINENO"; then :
34269  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes
34270else
34271  ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no
34272fi
34273rm -f core conftest.err conftest.$ac_objext \
34274    conftest$ac_exeext conftest.$ac_ext
34275LIBS=$ac_check_lib_save_LIBS
34276fi
34277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5
34278$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; }
34279if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then :
34280  ac_cv_libuna_dummy=yes
34281else
34282  ac_cv_libuna=no
34283fi
34284
34285
34286                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5
34287$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; }
34288if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then :
34289  $as_echo_n "(cached) " >&6
34290else
34291  ac_check_lib_save_LIBS=$LIBS
34292LIBS="-luna  $LIBS"
34293cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34294/* end confdefs.h.  */
34295
34296/* Override any GCC internal prototype to avoid an error.
34297   Use char because int might match the return type of a GCC
34298   builtin and then its argument prototype would still apply.  */
34299#ifdef __cplusplus
34300extern "C"
34301#endif
34302char libuna_utf32_string_size_from_byte_stream ();
34303int
34304main ()
34305{
34306return libuna_utf32_string_size_from_byte_stream ();
34307  ;
34308  return 0;
34309}
34310_ACEOF
34311if ac_fn_c_try_link "$LINENO"; then :
34312  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes
34313else
34314  ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no
34315fi
34316rm -f core conftest.err conftest.$ac_objext \
34317    conftest$ac_exeext conftest.$ac_ext
34318LIBS=$ac_check_lib_save_LIBS
34319fi
34320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5
34321$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; }
34322if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then :
34323  ac_cv_libuna_dummy=yes
34324else
34325  ac_cv_libuna=no
34326fi
34327
34328        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5
34329$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; }
34330if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then :
34331  $as_echo_n "(cached) " >&6
34332else
34333  ac_check_lib_save_LIBS=$LIBS
34334LIBS="-luna  $LIBS"
34335cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336/* end confdefs.h.  */
34337
34338/* Override any GCC internal prototype to avoid an error.
34339   Use char because int might match the return type of a GCC
34340   builtin and then its argument prototype would still apply.  */
34341#ifdef __cplusplus
34342extern "C"
34343#endif
34344char libuna_utf32_string_copy_from_byte_stream ();
34345int
34346main ()
34347{
34348return libuna_utf32_string_copy_from_byte_stream ();
34349  ;
34350  return 0;
34351}
34352_ACEOF
34353if ac_fn_c_try_link "$LINENO"; then :
34354  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes
34355else
34356  ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no
34357fi
34358rm -f core conftest.err conftest.$ac_objext \
34359    conftest$ac_exeext conftest.$ac_ext
34360LIBS=$ac_check_lib_save_LIBS
34361fi
34362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5
34363$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; }
34364if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then :
34365  ac_cv_libuna_dummy=yes
34366else
34367  ac_cv_libuna=no
34368fi
34369
34370        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5
34371$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; }
34372if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then :
34373  $as_echo_n "(cached) " >&6
34374else
34375  ac_check_lib_save_LIBS=$LIBS
34376LIBS="-luna  $LIBS"
34377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34378/* end confdefs.h.  */
34379
34380/* Override any GCC internal prototype to avoid an error.
34381   Use char because int might match the return type of a GCC
34382   builtin and then its argument prototype would still apply.  */
34383#ifdef __cplusplus
34384extern "C"
34385#endif
34386char libuna_utf32_string_with_index_copy_from_byte_stream ();
34387int
34388main ()
34389{
34390return libuna_utf32_string_with_index_copy_from_byte_stream ();
34391  ;
34392  return 0;
34393}
34394_ACEOF
34395if ac_fn_c_try_link "$LINENO"; then :
34396  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes
34397else
34398  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no
34399fi
34400rm -f core conftest.err conftest.$ac_objext \
34401    conftest$ac_exeext conftest.$ac_ext
34402LIBS=$ac_check_lib_save_LIBS
34403fi
34404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5
34405$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; }
34406if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then :
34407  ac_cv_libuna_dummy=yes
34408else
34409  ac_cv_libuna=no
34410fi
34411
34412        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5
34413$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; }
34414if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then :
34415  $as_echo_n "(cached) " >&6
34416else
34417  ac_check_lib_save_LIBS=$LIBS
34418LIBS="-luna  $LIBS"
34419cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34420/* end confdefs.h.  */
34421
34422/* Override any GCC internal prototype to avoid an error.
34423   Use char because int might match the return type of a GCC
34424   builtin and then its argument prototype would still apply.  */
34425#ifdef __cplusplus
34426extern "C"
34427#endif
34428char libuna_utf32_string_size_from_utf7_stream ();
34429int
34430main ()
34431{
34432return libuna_utf32_string_size_from_utf7_stream ();
34433  ;
34434  return 0;
34435}
34436_ACEOF
34437if ac_fn_c_try_link "$LINENO"; then :
34438  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes
34439else
34440  ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no
34441fi
34442rm -f core conftest.err conftest.$ac_objext \
34443    conftest$ac_exeext conftest.$ac_ext
34444LIBS=$ac_check_lib_save_LIBS
34445fi
34446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5
34447$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; }
34448if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then :
34449  ac_cv_libuna_dummy=yes
34450else
34451  ac_cv_libuna=no
34452fi
34453
34454        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5
34455$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; }
34456if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then :
34457  $as_echo_n "(cached) " >&6
34458else
34459  ac_check_lib_save_LIBS=$LIBS
34460LIBS="-luna  $LIBS"
34461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34462/* end confdefs.h.  */
34463
34464/* Override any GCC internal prototype to avoid an error.
34465   Use char because int might match the return type of a GCC
34466   builtin and then its argument prototype would still apply.  */
34467#ifdef __cplusplus
34468extern "C"
34469#endif
34470char libuna_utf32_string_copy_from_utf7_stream ();
34471int
34472main ()
34473{
34474return libuna_utf32_string_copy_from_utf7_stream ();
34475  ;
34476  return 0;
34477}
34478_ACEOF
34479if ac_fn_c_try_link "$LINENO"; then :
34480  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes
34481else
34482  ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no
34483fi
34484rm -f core conftest.err conftest.$ac_objext \
34485    conftest$ac_exeext conftest.$ac_ext
34486LIBS=$ac_check_lib_save_LIBS
34487fi
34488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5
34489$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; }
34490if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then :
34491  ac_cv_libuna_dummy=yes
34492else
34493  ac_cv_libuna=no
34494fi
34495
34496        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5
34497$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; }
34498if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then :
34499  $as_echo_n "(cached) " >&6
34500else
34501  ac_check_lib_save_LIBS=$LIBS
34502LIBS="-luna  $LIBS"
34503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34504/* end confdefs.h.  */
34505
34506/* Override any GCC internal prototype to avoid an error.
34507   Use char because int might match the return type of a GCC
34508   builtin and then its argument prototype would still apply.  */
34509#ifdef __cplusplus
34510extern "C"
34511#endif
34512char libuna_utf32_string_with_index_copy_from_utf7_stream ();
34513int
34514main ()
34515{
34516return libuna_utf32_string_with_index_copy_from_utf7_stream ();
34517  ;
34518  return 0;
34519}
34520_ACEOF
34521if ac_fn_c_try_link "$LINENO"; then :
34522  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes
34523else
34524  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no
34525fi
34526rm -f core conftest.err conftest.$ac_objext \
34527    conftest$ac_exeext conftest.$ac_ext
34528LIBS=$ac_check_lib_save_LIBS
34529fi
34530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5
34531$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; }
34532if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then :
34533  ac_cv_libuna_dummy=yes
34534else
34535  ac_cv_libuna=no
34536fi
34537
34538        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5
34539$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; }
34540if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then :
34541  $as_echo_n "(cached) " >&6
34542else
34543  ac_check_lib_save_LIBS=$LIBS
34544LIBS="-luna  $LIBS"
34545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34546/* end confdefs.h.  */
34547
34548/* Override any GCC internal prototype to avoid an error.
34549   Use char because int might match the return type of a GCC
34550   builtin and then its argument prototype would still apply.  */
34551#ifdef __cplusplus
34552extern "C"
34553#endif
34554char libuna_utf32_string_size_from_utf8_stream ();
34555int
34556main ()
34557{
34558return libuna_utf32_string_size_from_utf8_stream ();
34559  ;
34560  return 0;
34561}
34562_ACEOF
34563if ac_fn_c_try_link "$LINENO"; then :
34564  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes
34565else
34566  ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no
34567fi
34568rm -f core conftest.err conftest.$ac_objext \
34569    conftest$ac_exeext conftest.$ac_ext
34570LIBS=$ac_check_lib_save_LIBS
34571fi
34572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5
34573$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; }
34574if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then :
34575  ac_cv_libuna_dummy=yes
34576else
34577  ac_cv_libuna=no
34578fi
34579
34580        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5
34581$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; }
34582if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then :
34583  $as_echo_n "(cached) " >&6
34584else
34585  ac_check_lib_save_LIBS=$LIBS
34586LIBS="-luna  $LIBS"
34587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34588/* end confdefs.h.  */
34589
34590/* Override any GCC internal prototype to avoid an error.
34591   Use char because int might match the return type of a GCC
34592   builtin and then its argument prototype would still apply.  */
34593#ifdef __cplusplus
34594extern "C"
34595#endif
34596char libuna_utf32_string_copy_from_utf8_stream ();
34597int
34598main ()
34599{
34600return libuna_utf32_string_copy_from_utf8_stream ();
34601  ;
34602  return 0;
34603}
34604_ACEOF
34605if ac_fn_c_try_link "$LINENO"; then :
34606  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes
34607else
34608  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no
34609fi
34610rm -f core conftest.err conftest.$ac_objext \
34611    conftest$ac_exeext conftest.$ac_ext
34612LIBS=$ac_check_lib_save_LIBS
34613fi
34614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5
34615$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; }
34616if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then :
34617  ac_cv_libuna_dummy=yes
34618else
34619  ac_cv_libuna=no
34620fi
34621
34622        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5
34623$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; }
34624if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then :
34625  $as_echo_n "(cached) " >&6
34626else
34627  ac_check_lib_save_LIBS=$LIBS
34628LIBS="-luna  $LIBS"
34629cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34630/* end confdefs.h.  */
34631
34632/* Override any GCC internal prototype to avoid an error.
34633   Use char because int might match the return type of a GCC
34634   builtin and then its argument prototype would still apply.  */
34635#ifdef __cplusplus
34636extern "C"
34637#endif
34638char libuna_utf32_string_with_index_copy_from_utf8_stream ();
34639int
34640main ()
34641{
34642return libuna_utf32_string_with_index_copy_from_utf8_stream ();
34643  ;
34644  return 0;
34645}
34646_ACEOF
34647if ac_fn_c_try_link "$LINENO"; then :
34648  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes
34649else
34650  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no
34651fi
34652rm -f core conftest.err conftest.$ac_objext \
34653    conftest$ac_exeext conftest.$ac_ext
34654LIBS=$ac_check_lib_save_LIBS
34655fi
34656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5
34657$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; }
34658if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then :
34659  ac_cv_libuna_dummy=yes
34660else
34661  ac_cv_libuna=no
34662fi
34663
34664        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5
34665$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; }
34666if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then :
34667  $as_echo_n "(cached) " >&6
34668else
34669  ac_check_lib_save_LIBS=$LIBS
34670LIBS="-luna  $LIBS"
34671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34672/* end confdefs.h.  */
34673
34674/* Override any GCC internal prototype to avoid an error.
34675   Use char because int might match the return type of a GCC
34676   builtin and then its argument prototype would still apply.  */
34677#ifdef __cplusplus
34678extern "C"
34679#endif
34680char libuna_utf32_string_size_from_utf16_stream ();
34681int
34682main ()
34683{
34684return libuna_utf32_string_size_from_utf16_stream ();
34685  ;
34686  return 0;
34687}
34688_ACEOF
34689if ac_fn_c_try_link "$LINENO"; then :
34690  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes
34691else
34692  ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no
34693fi
34694rm -f core conftest.err conftest.$ac_objext \
34695    conftest$ac_exeext conftest.$ac_ext
34696LIBS=$ac_check_lib_save_LIBS
34697fi
34698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5
34699$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; }
34700if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then :
34701  ac_cv_libuna_dummy=yes
34702else
34703  ac_cv_libuna=no
34704fi
34705
34706        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5
34707$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; }
34708if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then :
34709  $as_echo_n "(cached) " >&6
34710else
34711  ac_check_lib_save_LIBS=$LIBS
34712LIBS="-luna  $LIBS"
34713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34714/* end confdefs.h.  */
34715
34716/* Override any GCC internal prototype to avoid an error.
34717   Use char because int might match the return type of a GCC
34718   builtin and then its argument prototype would still apply.  */
34719#ifdef __cplusplus
34720extern "C"
34721#endif
34722char libuna_utf32_string_copy_from_utf16_stream ();
34723int
34724main ()
34725{
34726return libuna_utf32_string_copy_from_utf16_stream ();
34727  ;
34728  return 0;
34729}
34730_ACEOF
34731if ac_fn_c_try_link "$LINENO"; then :
34732  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes
34733else
34734  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no
34735fi
34736rm -f core conftest.err conftest.$ac_objext \
34737    conftest$ac_exeext conftest.$ac_ext
34738LIBS=$ac_check_lib_save_LIBS
34739fi
34740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5
34741$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; }
34742if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then :
34743  ac_cv_libuna_dummy=yes
34744else
34745  ac_cv_libuna=no
34746fi
34747
34748        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5
34749$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; }
34750if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then :
34751  $as_echo_n "(cached) " >&6
34752else
34753  ac_check_lib_save_LIBS=$LIBS
34754LIBS="-luna  $LIBS"
34755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34756/* end confdefs.h.  */
34757
34758/* Override any GCC internal prototype to avoid an error.
34759   Use char because int might match the return type of a GCC
34760   builtin and then its argument prototype would still apply.  */
34761#ifdef __cplusplus
34762extern "C"
34763#endif
34764char libuna_utf32_string_with_index_copy_from_utf16_stream ();
34765int
34766main ()
34767{
34768return libuna_utf32_string_with_index_copy_from_utf16_stream ();
34769  ;
34770  return 0;
34771}
34772_ACEOF
34773if ac_fn_c_try_link "$LINENO"; then :
34774  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes
34775else
34776  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no
34777fi
34778rm -f core conftest.err conftest.$ac_objext \
34779    conftest$ac_exeext conftest.$ac_ext
34780LIBS=$ac_check_lib_save_LIBS
34781fi
34782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5
34783$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; }
34784if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then :
34785  ac_cv_libuna_dummy=yes
34786else
34787  ac_cv_libuna=no
34788fi
34789
34790        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5
34791$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; }
34792if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then :
34793  $as_echo_n "(cached) " >&6
34794else
34795  ac_check_lib_save_LIBS=$LIBS
34796LIBS="-luna  $LIBS"
34797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34798/* end confdefs.h.  */
34799
34800/* Override any GCC internal prototype to avoid an error.
34801   Use char because int might match the return type of a GCC
34802   builtin and then its argument prototype would still apply.  */
34803#ifdef __cplusplus
34804extern "C"
34805#endif
34806char libuna_utf32_string_size_from_utf32_stream ();
34807int
34808main ()
34809{
34810return libuna_utf32_string_size_from_utf32_stream ();
34811  ;
34812  return 0;
34813}
34814_ACEOF
34815if ac_fn_c_try_link "$LINENO"; then :
34816  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes
34817else
34818  ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no
34819fi
34820rm -f core conftest.err conftest.$ac_objext \
34821    conftest$ac_exeext conftest.$ac_ext
34822LIBS=$ac_check_lib_save_LIBS
34823fi
34824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5
34825$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; }
34826if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then :
34827  ac_cv_libuna_dummy=yes
34828else
34829  ac_cv_libuna=no
34830fi
34831
34832        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5
34833$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; }
34834if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then :
34835  $as_echo_n "(cached) " >&6
34836else
34837  ac_check_lib_save_LIBS=$LIBS
34838LIBS="-luna  $LIBS"
34839cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34840/* end confdefs.h.  */
34841
34842/* Override any GCC internal prototype to avoid an error.
34843   Use char because int might match the return type of a GCC
34844   builtin and then its argument prototype would still apply.  */
34845#ifdef __cplusplus
34846extern "C"
34847#endif
34848char libuna_utf32_string_copy_from_utf32_stream ();
34849int
34850main ()
34851{
34852return libuna_utf32_string_copy_from_utf32_stream ();
34853  ;
34854  return 0;
34855}
34856_ACEOF
34857if ac_fn_c_try_link "$LINENO"; then :
34858  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes
34859else
34860  ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no
34861fi
34862rm -f core conftest.err conftest.$ac_objext \
34863    conftest$ac_exeext conftest.$ac_ext
34864LIBS=$ac_check_lib_save_LIBS
34865fi
34866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5
34867$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; }
34868if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then :
34869  ac_cv_libuna_dummy=yes
34870else
34871  ac_cv_libuna=no
34872fi
34873
34874        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5
34875$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; }
34876if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then :
34877  $as_echo_n "(cached) " >&6
34878else
34879  ac_check_lib_save_LIBS=$LIBS
34880LIBS="-luna  $LIBS"
34881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34882/* end confdefs.h.  */
34883
34884/* Override any GCC internal prototype to avoid an error.
34885   Use char because int might match the return type of a GCC
34886   builtin and then its argument prototype would still apply.  */
34887#ifdef __cplusplus
34888extern "C"
34889#endif
34890char libuna_utf32_string_with_index_copy_from_utf32_stream ();
34891int
34892main ()
34893{
34894return libuna_utf32_string_with_index_copy_from_utf32_stream ();
34895  ;
34896  return 0;
34897}
34898_ACEOF
34899if ac_fn_c_try_link "$LINENO"; then :
34900  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes
34901else
34902  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no
34903fi
34904rm -f core conftest.err conftest.$ac_objext \
34905    conftest$ac_exeext conftest.$ac_ext
34906LIBS=$ac_check_lib_save_LIBS
34907fi
34908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5
34909$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; }
34910if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then :
34911  ac_cv_libuna_dummy=yes
34912else
34913  ac_cv_libuna=no
34914fi
34915
34916        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5
34917$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; }
34918if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then :
34919  $as_echo_n "(cached) " >&6
34920else
34921  ac_check_lib_save_LIBS=$LIBS
34922LIBS="-luna  $LIBS"
34923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34924/* end confdefs.h.  */
34925
34926/* Override any GCC internal prototype to avoid an error.
34927   Use char because int might match the return type of a GCC
34928   builtin and then its argument prototype would still apply.  */
34929#ifdef __cplusplus
34930extern "C"
34931#endif
34932char libuna_utf32_string_size_from_utf8 ();
34933int
34934main ()
34935{
34936return libuna_utf32_string_size_from_utf8 ();
34937  ;
34938  return 0;
34939}
34940_ACEOF
34941if ac_fn_c_try_link "$LINENO"; then :
34942  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes
34943else
34944  ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no
34945fi
34946rm -f core conftest.err conftest.$ac_objext \
34947    conftest$ac_exeext conftest.$ac_ext
34948LIBS=$ac_check_lib_save_LIBS
34949fi
34950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5
34951$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; }
34952if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then :
34953  ac_cv_libuna_dummy=yes
34954else
34955  ac_cv_libuna=no
34956fi
34957
34958        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5
34959$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; }
34960if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then :
34961  $as_echo_n "(cached) " >&6
34962else
34963  ac_check_lib_save_LIBS=$LIBS
34964LIBS="-luna  $LIBS"
34965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34966/* end confdefs.h.  */
34967
34968/* Override any GCC internal prototype to avoid an error.
34969   Use char because int might match the return type of a GCC
34970   builtin and then its argument prototype would still apply.  */
34971#ifdef __cplusplus
34972extern "C"
34973#endif
34974char libuna_utf32_string_copy_from_utf8 ();
34975int
34976main ()
34977{
34978return libuna_utf32_string_copy_from_utf8 ();
34979  ;
34980  return 0;
34981}
34982_ACEOF
34983if ac_fn_c_try_link "$LINENO"; then :
34984  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes
34985else
34986  ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no
34987fi
34988rm -f core conftest.err conftest.$ac_objext \
34989    conftest$ac_exeext conftest.$ac_ext
34990LIBS=$ac_check_lib_save_LIBS
34991fi
34992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5
34993$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; }
34994if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then :
34995  ac_cv_libuna_dummy=yes
34996else
34997  ac_cv_libuna=no
34998fi
34999
35000        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5
35001$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; }
35002if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then :
35003  $as_echo_n "(cached) " >&6
35004else
35005  ac_check_lib_save_LIBS=$LIBS
35006LIBS="-llibuna_utf32_string_with_index_copy_from_utf8  $LIBS"
35007cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35008/* end confdefs.h.  */
35009
35010/* Override any GCC internal prototype to avoid an error.
35011   Use char because int might match the return type of a GCC
35012   builtin and then its argument prototype would still apply.  */
35013#ifdef __cplusplus
35014extern "C"
35015#endif
35016char ac_cv_libuna_dummy=yes ();
35017int
35018main ()
35019{
35020return ac_cv_libuna_dummy=yes ();
35021  ;
35022  return 0;
35023}
35024_ACEOF
35025if ac_fn_c_try_link "$LINENO"; then :
35026  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes
35027else
35028  ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no
35029fi
35030rm -f core conftest.err conftest.$ac_objext \
35031    conftest$ac_exeext conftest.$ac_ext
35032LIBS=$ac_check_lib_save_LIBS
35033fi
35034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&5
35035$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; }
35036if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then :
35037  ac_cv_libuna=no
35038fi
35039
35040        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5
35041$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; }
35042if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then :
35043  $as_echo_n "(cached) " >&6
35044else
35045  ac_check_lib_save_LIBS=$LIBS
35046LIBS="-luna  $LIBS"
35047cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35048/* end confdefs.h.  */
35049
35050/* Override any GCC internal prototype to avoid an error.
35051   Use char because int might match the return type of a GCC
35052   builtin and then its argument prototype would still apply.  */
35053#ifdef __cplusplus
35054extern "C"
35055#endif
35056char libuna_utf32_string_size_from_utf16 ();
35057int
35058main ()
35059{
35060return libuna_utf32_string_size_from_utf16 ();
35061  ;
35062  return 0;
35063}
35064_ACEOF
35065if ac_fn_c_try_link "$LINENO"; then :
35066  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes
35067else
35068  ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no
35069fi
35070rm -f core conftest.err conftest.$ac_objext \
35071    conftest$ac_exeext conftest.$ac_ext
35072LIBS=$ac_check_lib_save_LIBS
35073fi
35074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5
35075$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; }
35076if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then :
35077  ac_cv_libuna_dummy=yes
35078else
35079  ac_cv_libuna=no
35080fi
35081
35082        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5
35083$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; }
35084if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then :
35085  $as_echo_n "(cached) " >&6
35086else
35087  ac_check_lib_save_LIBS=$LIBS
35088LIBS="-luna  $LIBS"
35089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35090/* end confdefs.h.  */
35091
35092/* Override any GCC internal prototype to avoid an error.
35093   Use char because int might match the return type of a GCC
35094   builtin and then its argument prototype would still apply.  */
35095#ifdef __cplusplus
35096extern "C"
35097#endif
35098char libuna_utf32_string_copy_from_utf16 ();
35099int
35100main ()
35101{
35102return libuna_utf32_string_copy_from_utf16 ();
35103  ;
35104  return 0;
35105}
35106_ACEOF
35107if ac_fn_c_try_link "$LINENO"; then :
35108  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes
35109else
35110  ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no
35111fi
35112rm -f core conftest.err conftest.$ac_objext \
35113    conftest$ac_exeext conftest.$ac_ext
35114LIBS=$ac_check_lib_save_LIBS
35115fi
35116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5
35117$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; }
35118if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then :
35119  ac_cv_libuna_dummy=yes
35120else
35121  ac_cv_libuna=no
35122fi
35123
35124        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5
35125$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; }
35126if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then :
35127  $as_echo_n "(cached) " >&6
35128else
35129  ac_check_lib_save_LIBS=$LIBS
35130LIBS="-luna  $LIBS"
35131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35132/* end confdefs.h.  */
35133
35134/* Override any GCC internal prototype to avoid an error.
35135   Use char because int might match the return type of a GCC
35136   builtin and then its argument prototype would still apply.  */
35137#ifdef __cplusplus
35138extern "C"
35139#endif
35140char libuna_utf32_string_with_index_copy_from_utf16 ();
35141int
35142main ()
35143{
35144return libuna_utf32_string_with_index_copy_from_utf16 ();
35145  ;
35146  return 0;
35147}
35148_ACEOF
35149if ac_fn_c_try_link "$LINENO"; then :
35150  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes
35151else
35152  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no
35153fi
35154rm -f core conftest.err conftest.$ac_objext \
35155    conftest$ac_exeext conftest.$ac_ext
35156LIBS=$ac_check_lib_save_LIBS
35157fi
35158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5
35159$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; }
35160if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then :
35161  ac_cv_libuna_dummy=yes
35162else
35163  ac_cv_libuna=no
35164fi
35165
35166        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5
35167$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; }
35168if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then :
35169  $as_echo_n "(cached) " >&6
35170else
35171  ac_check_lib_save_LIBS=$LIBS
35172LIBS="-luna  $LIBS"
35173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35174/* end confdefs.h.  */
35175
35176/* Override any GCC internal prototype to avoid an error.
35177   Use char because int might match the return type of a GCC
35178   builtin and then its argument prototype would still apply.  */
35179#ifdef __cplusplus
35180extern "C"
35181#endif
35182char libuna_utf32_string_size_from_scsu_stream ();
35183int
35184main ()
35185{
35186return libuna_utf32_string_size_from_scsu_stream ();
35187  ;
35188  return 0;
35189}
35190_ACEOF
35191if ac_fn_c_try_link "$LINENO"; then :
35192  ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes
35193else
35194  ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no
35195fi
35196rm -f core conftest.err conftest.$ac_objext \
35197    conftest$ac_exeext conftest.$ac_ext
35198LIBS=$ac_check_lib_save_LIBS
35199fi
35200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5
35201$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; }
35202if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then :
35203  ac_cv_libuna_dummy=yes
35204else
35205  ac_cv_libuna=no
35206fi
35207
35208        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5
35209$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; }
35210if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then :
35211  $as_echo_n "(cached) " >&6
35212else
35213  ac_check_lib_save_LIBS=$LIBS
35214LIBS="-luna  $LIBS"
35215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35216/* end confdefs.h.  */
35217
35218/* Override any GCC internal prototype to avoid an error.
35219   Use char because int might match the return type of a GCC
35220   builtin and then its argument prototype would still apply.  */
35221#ifdef __cplusplus
35222extern "C"
35223#endif
35224char libuna_utf32_string_copy_from_scsu_stream ();
35225int
35226main ()
35227{
35228return libuna_utf32_string_copy_from_scsu_stream ();
35229  ;
35230  return 0;
35231}
35232_ACEOF
35233if ac_fn_c_try_link "$LINENO"; then :
35234  ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes
35235else
35236  ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no
35237fi
35238rm -f core conftest.err conftest.$ac_objext \
35239    conftest$ac_exeext conftest.$ac_ext
35240LIBS=$ac_check_lib_save_LIBS
35241fi
35242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5
35243$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; }
35244if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then :
35245  ac_cv_libuna_dummy=yes
35246else
35247  ac_cv_libuna=no
35248fi
35249
35250        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5
35251$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; }
35252if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then :
35253  $as_echo_n "(cached) " >&6
35254else
35255  ac_check_lib_save_LIBS=$LIBS
35256LIBS="-luna  $LIBS"
35257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35258/* end confdefs.h.  */
35259
35260/* Override any GCC internal prototype to avoid an error.
35261   Use char because int might match the return type of a GCC
35262   builtin and then its argument prototype would still apply.  */
35263#ifdef __cplusplus
35264extern "C"
35265#endif
35266char libuna_utf32_string_with_index_copy_from_scsu_stream ();
35267int
35268main ()
35269{
35270return libuna_utf32_string_with_index_copy_from_scsu_stream ();
35271  ;
35272  return 0;
35273}
35274_ACEOF
35275if ac_fn_c_try_link "$LINENO"; then :
35276  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes
35277else
35278  ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no
35279fi
35280rm -f core conftest.err conftest.$ac_objext \
35281    conftest$ac_exeext conftest.$ac_ext
35282LIBS=$ac_check_lib_save_LIBS
35283fi
35284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5
35285$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; }
35286if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then :
35287  ac_cv_libuna_dummy=yes
35288else
35289  ac_cv_libuna=no
35290fi
35291
35292
35293                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5
35294$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; }
35295if ${ac_cv_libuna_defines_compare_less+:} false; then :
35296  $as_echo_n "(cached) " >&6
35297else
35298  ac_ext=c
35299ac_cpp='$CPP $CPPFLAGS'
35300ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35301ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35302ac_compiler_gnu=$ac_cv_c_compiler_gnu
35303
35304    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35305/* end confdefs.h.  */
35306#include <libuna.h>
35307int
35308main ()
35309{
35310int test = LIBUNA_COMPARE_LESS;
35311
35312return( 0 );
35313  ;
35314  return 0;
35315}
35316_ACEOF
35317if ac_fn_c_try_link "$LINENO"; then :
35318  ac_cv_libuna_defines_compare_less=yes
35319else
35320  ac_cv_libuna_defines_compare_less=no
35321fi
35322rm -f core conftest.err conftest.$ac_objext \
35323    conftest$ac_exeext conftest.$ac_ext
35324    ac_ext=c
35325ac_cpp='$CPP $CPPFLAGS'
35326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35328ac_compiler_gnu=$ac_cv_c_compiler_gnu
35329
35330fi
35331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5
35332$as_echo "$ac_cv_libuna_defines_compare_less" >&6; }
35333
35334        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35335  ac_cv_libuna=no
35336fi
35337
35338        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5
35339$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; }
35340if ${ac_cv_libuna_defines_compare_equal+:} false; then :
35341  $as_echo_n "(cached) " >&6
35342else
35343  ac_ext=c
35344ac_cpp='$CPP $CPPFLAGS'
35345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35347ac_compiler_gnu=$ac_cv_c_compiler_gnu
35348
35349    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35350/* end confdefs.h.  */
35351#include <libuna.h>
35352int
35353main ()
35354{
35355int test = LIBUNA_COMPARE_EQUAL;
35356
35357return( 0 );
35358  ;
35359  return 0;
35360}
35361_ACEOF
35362if ac_fn_c_try_link "$LINENO"; then :
35363  ac_cv_libuna_defines_compare_equal=yes
35364else
35365  ac_cv_libuna_defines_compare_equal=no
35366fi
35367rm -f core conftest.err conftest.$ac_objext \
35368    conftest$ac_exeext conftest.$ac_ext
35369    ac_ext=c
35370ac_cpp='$CPP $CPPFLAGS'
35371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373ac_compiler_gnu=$ac_cv_c_compiler_gnu
35374
35375fi
35376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5
35377$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; }
35378
35379        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35380  ac_cv_libuna=no
35381fi
35382
35383        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5
35384$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; }
35385if ${ac_cv_libuna_defines_compare_greater+:} false; then :
35386  $as_echo_n "(cached) " >&6
35387else
35388  ac_ext=c
35389ac_cpp='$CPP $CPPFLAGS'
35390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35392ac_compiler_gnu=$ac_cv_c_compiler_gnu
35393
35394    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35395/* end confdefs.h.  */
35396#include <libuna.h>
35397int
35398main ()
35399{
35400int test = LIBUNA_COMPARE_GREATER;
35401
35402return( 0 );
35403  ;
35404  return 0;
35405}
35406_ACEOF
35407if ac_fn_c_try_link "$LINENO"; then :
35408  ac_cv_libuna_defines_compare_greater=yes
35409else
35410  ac_cv_libuna_defines_compare_greater=no
35411fi
35412rm -f core conftest.err conftest.$ac_objext \
35413    conftest$ac_exeext conftest.$ac_ext
35414    ac_ext=c
35415ac_cpp='$CPP $CPPFLAGS'
35416ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35417ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35418ac_compiler_gnu=$ac_cv_c_compiler_gnu
35419
35420fi
35421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5
35422$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; }
35423
35424        if test "x$ac_cv_libuna_defines_compare_less" != xyes; then :
35425  ac_cv_libuna=no
35426fi
35427
35428        ac_cv_libuna_LIBADD="-luna"
35429fi
35430
35431fi
35432    if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then :
35433  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35434$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35435as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna
35436See \`config.log' for more details" "$LINENO" 5; }
35437
35438fi
35439
35440fi
35441
35442  if test "x$ac_cv_libuna" = xyes; then :
35443
35444$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h
35445
35446
35447fi
35448
35449  if test "x$ac_cv_libuna" = xyes; then :
35450  HAVE_LIBUNA=1
35451
35452else
35453  HAVE_LIBUNA=0
35454
35455
35456fi
35457
35458
35459    if test "x$ac_cv_libuna" != xyes; then :
35460
35461  ac_cv_libuna_CPPFLAGS="-I../libuna";
35462  ac_cv_libuna_LIBADD="../libuna/libuna.la";
35463
35464  ac_cv_libuna=local
35465
35466
35467
35468$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h
35469
35470    HAVE_LOCAL_LIBUNA=1
35471
35472
35473fi
35474
35475   if test "x$ac_cv_libuna" = xlocal; then
35476  HAVE_LOCAL_LIBUNA_TRUE=
35477  HAVE_LOCAL_LIBUNA_FALSE='#'
35478else
35479  HAVE_LOCAL_LIBUNA_TRUE='#'
35480  HAVE_LOCAL_LIBUNA_FALSE=
35481fi
35482
35483  if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then :
35484  LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS
35485
35486
35487fi
35488  if test "x$ac_cv_libuna_LIBADD" != "x"; then :
35489  LIBUNA_LIBADD=$ac_cv_libuna_LIBADD
35490
35491
35492fi
35493
35494  if test "x$ac_cv_libuna" = xyes; then :
35495  ax_libuna_pc_libs_private=-luna
35496
35497
35498fi
35499
35500  if test "x$ac_cv_libuna" = xyes; then :
35501  ax_libuna_spec_requires=libuna
35502
35503    ax_libuna_spec_build_requires=libuna-devel
35504
35505
35506fi
35507
35508
35509
35510
35511# Check whether --with-libcfile was given.
35512if test "${with_libcfile+set}" = set; then :
35513  withval=$with_libcfile; ac_cv_with_libcfile=$withval
35514else
35515  ac_cv_with_libcfile=auto-detect
35516fi
35517
35518    { $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
35519$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; }
35520if ${ac_cv_with_libcfile+:} false; then :
35521  $as_echo_n "(cached) " >&6
35522else
35523  ac_cv_with_libcfile=auto-detect
35524fi
35525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5
35526$as_echo "$ac_cv_with_libcfile" >&6; }
35527
35528    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then :
35529  ac_cv_libcfile=no
35530else
35531  ac_cv_libcfile=check
35532        if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then :
35533  if test -d "$ac_cv_with_libcfile"; then :
35534  CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include"
35535        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib"
35536else
35537  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35539as_fn_error 1 "no such directory: $ac_cv_with_libcfile
35540See \`config.log' for more details" "$LINENO" 5; }
35541
35542fi
35543
35544else
35545        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
35546
35547pkg_failed=no
35548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5
35549$as_echo_n "checking for libcfile... " >&6; }
35550
35551if test -n "$libcfile_CFLAGS"; then
35552    pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS"
35553 elif test -n "$PKG_CONFIG"; then
35554    if test -n "$PKG_CONFIG" && \
35555    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
35556  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
35557  ac_status=$?
35558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35559  test $ac_status = 0; }; then
35560  pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null`
35561		      test "x$?" != "x0" && pkg_failed=yes
35562else
35563  pkg_failed=yes
35564fi
35565 else
35566    pkg_failed=untried
35567fi
35568if test -n "$libcfile_LIBS"; then
35569    pkg_cv_libcfile_LIBS="$libcfile_LIBS"
35570 elif test -n "$PKG_CONFIG"; then
35571    if test -n "$PKG_CONFIG" && \
35572    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5
35573  ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5
35574  ac_status=$?
35575  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35576  test $ac_status = 0; }; then
35577  pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null`
35578		      test "x$?" != "x0" && pkg_failed=yes
35579else
35580  pkg_failed=yes
35581fi
35582 else
35583    pkg_failed=untried
35584fi
35585
35586
35587
35588if test $pkg_failed = yes; then
35589   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35590$as_echo "no" >&6; }
35591
35592if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35593        _pkg_short_errors_supported=yes
35594else
35595        _pkg_short_errors_supported=no
35596fi
35597        if test $_pkg_short_errors_supported = yes; then
35598	        libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
35599        else
35600	        libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1`
35601        fi
35602	# Put the nasty error message in config.log where it belongs
35603	echo "$libcfile_PKG_ERRORS" >&5
35604
35605	ac_cv_libcfile=check
35606elif test $pkg_failed = untried; then
35607     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35608$as_echo "no" >&6; }
35609	ac_cv_libcfile=check
35610else
35611	libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS
35612	libcfile_LIBS=$pkg_cv_libcfile_LIBS
35613        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35614$as_echo "yes" >&6; }
35615	ac_cv_libcfile=yes
35616fi
35617
35618fi
35619      if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
35620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
35621$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
35622if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then :
35623  $as_echo_n "(cached) " >&6
35624else
35625  ac_ext=c
35626ac_cpp='$CPP $CPPFLAGS'
35627ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35628ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35629ac_compiler_gnu=$ac_cv_c_compiler_gnu
35630
35631         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35632/* end confdefs.h.  */
35633#include <libcfile/features.h>
35634int
35635main ()
35636{
35637#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 )
35638#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined
35639#endif
35640  ;
35641  return 0;
35642}
35643_ACEOF
35644if ac_fn_c_try_compile "$LINENO"; then :
35645  ac_cv_header_libcfile_features_h_have_wide_character_type=yes
35646else
35647  ac_cv_header_libcfile_features_h_have_wide_character_type=no
35648fi
35649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35650         ac_ext=c
35651ac_cpp='$CPP $CPPFLAGS'
35652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654ac_compiler_gnu=$ac_cv_c_compiler_gnu
35655
35656fi
35657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5
35658$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; }
35659
35660        if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then :
35661  ac_cv_libcfile=no
35662fi
35663
35664fi
35665      if test "x$ac_cv_libcfile" = xyes; then :
35666  ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS"
35667        ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS"
35668fi
35669
35670fi
35671
35672    if test "x$ac_cv_libcfile" = xcheck; then :
35673        for ac_header in libcfile.h
35674do :
35675  ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default"
35676if test "x$ac_cv_header_libcfile_h" = xyes; then :
35677  cat >>confdefs.h <<_ACEOF
35678#define HAVE_LIBCFILE_H 1
35679_ACEOF
35680
35681fi
35682
35683done
35684
35685
35686      if test "x$ac_cv_header_libcfile_h" = xno; then :
35687  ac_cv_libcfile=no
35688else
35689          ac_cv_libcfile=yes
35690
35691        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5
35692$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; }
35693if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then :
35694  $as_echo_n "(cached) " >&6
35695else
35696  ac_check_lib_save_LIBS=$LIBS
35697LIBS="-lcfile  $LIBS"
35698cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35699/* end confdefs.h.  */
35700
35701/* Override any GCC internal prototype to avoid an error.
35702   Use char because int might match the return type of a GCC
35703   builtin and then its argument prototype would still apply.  */
35704#ifdef __cplusplus
35705extern "C"
35706#endif
35707char libcfile_get_version ();
35708int
35709main ()
35710{
35711return libcfile_get_version ();
35712  ;
35713  return 0;
35714}
35715_ACEOF
35716if ac_fn_c_try_link "$LINENO"; then :
35717  ac_cv_lib_cfile_libcfile_get_version=yes
35718else
35719  ac_cv_lib_cfile_libcfile_get_version=no
35720fi
35721rm -f core conftest.err conftest.$ac_objext \
35722    conftest$ac_exeext conftest.$ac_ext
35723LIBS=$ac_check_lib_save_LIBS
35724fi
35725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5
35726$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; }
35727if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then :
35728  ac_cv_libcfile_dummy=yes
35729else
35730  ac_cv_libcfile=no
35731fi
35732
35733
35734                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5
35735$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; }
35736if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then :
35737  $as_echo_n "(cached) " >&6
35738else
35739  ac_check_lib_save_LIBS=$LIBS
35740LIBS="-lcfile  $LIBS"
35741cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35742/* end confdefs.h.  */
35743
35744/* Override any GCC internal prototype to avoid an error.
35745   Use char because int might match the return type of a GCC
35746   builtin and then its argument prototype would still apply.  */
35747#ifdef __cplusplus
35748extern "C"
35749#endif
35750char libcfile_file_initialize ();
35751int
35752main ()
35753{
35754return libcfile_file_initialize ();
35755  ;
35756  return 0;
35757}
35758_ACEOF
35759if ac_fn_c_try_link "$LINENO"; then :
35760  ac_cv_lib_cfile_libcfile_file_initialize=yes
35761else
35762  ac_cv_lib_cfile_libcfile_file_initialize=no
35763fi
35764rm -f core conftest.err conftest.$ac_objext \
35765    conftest$ac_exeext conftest.$ac_ext
35766LIBS=$ac_check_lib_save_LIBS
35767fi
35768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5
35769$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; }
35770if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then :
35771  ac_cv_libcfile_dummy=yes
35772else
35773  ac_cv_libcfile=no
35774fi
35775
35776        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5
35777$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; }
35778if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then :
35779  $as_echo_n "(cached) " >&6
35780else
35781  ac_check_lib_save_LIBS=$LIBS
35782LIBS="-lcfile  $LIBS"
35783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35784/* end confdefs.h.  */
35785
35786/* Override any GCC internal prototype to avoid an error.
35787   Use char because int might match the return type of a GCC
35788   builtin and then its argument prototype would still apply.  */
35789#ifdef __cplusplus
35790extern "C"
35791#endif
35792char libcfile_file_free ();
35793int
35794main ()
35795{
35796return libcfile_file_free ();
35797  ;
35798  return 0;
35799}
35800_ACEOF
35801if ac_fn_c_try_link "$LINENO"; then :
35802  ac_cv_lib_cfile_libcfile_file_free=yes
35803else
35804  ac_cv_lib_cfile_libcfile_file_free=no
35805fi
35806rm -f core conftest.err conftest.$ac_objext \
35807    conftest$ac_exeext conftest.$ac_ext
35808LIBS=$ac_check_lib_save_LIBS
35809fi
35810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5
35811$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; }
35812if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then :
35813  ac_cv_libcfile_dummy=yes
35814else
35815  ac_cv_libcfile=no
35816fi
35817
35818        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5
35819$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; }
35820if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then :
35821  $as_echo_n "(cached) " >&6
35822else
35823  ac_check_lib_save_LIBS=$LIBS
35824LIBS="-lcfile  $LIBS"
35825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35826/* end confdefs.h.  */
35827
35828/* Override any GCC internal prototype to avoid an error.
35829   Use char because int might match the return type of a GCC
35830   builtin and then its argument prototype would still apply.  */
35831#ifdef __cplusplus
35832extern "C"
35833#endif
35834char libcfile_file_open ();
35835int
35836main ()
35837{
35838return libcfile_file_open ();
35839  ;
35840  return 0;
35841}
35842_ACEOF
35843if ac_fn_c_try_link "$LINENO"; then :
35844  ac_cv_lib_cfile_libcfile_file_open=yes
35845else
35846  ac_cv_lib_cfile_libcfile_file_open=no
35847fi
35848rm -f core conftest.err conftest.$ac_objext \
35849    conftest$ac_exeext conftest.$ac_ext
35850LIBS=$ac_check_lib_save_LIBS
35851fi
35852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5
35853$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; }
35854if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then :
35855  ac_cv_libcfile_dummy=yes
35856else
35857  ac_cv_libcfile=no
35858fi
35859
35860        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5
35861$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; }
35862if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then :
35863  $as_echo_n "(cached) " >&6
35864else
35865  ac_check_lib_save_LIBS=$LIBS
35866LIBS="-lcfile  $LIBS"
35867cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868/* end confdefs.h.  */
35869
35870/* Override any GCC internal prototype to avoid an error.
35871   Use char because int might match the return type of a GCC
35872   builtin and then its argument prototype would still apply.  */
35873#ifdef __cplusplus
35874extern "C"
35875#endif
35876char libcfile_file_open_with_error_code ();
35877int
35878main ()
35879{
35880return libcfile_file_open_with_error_code ();
35881  ;
35882  return 0;
35883}
35884_ACEOF
35885if ac_fn_c_try_link "$LINENO"; then :
35886  ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes
35887else
35888  ac_cv_lib_cfile_libcfile_file_open_with_error_code=no
35889fi
35890rm -f core conftest.err conftest.$ac_objext \
35891    conftest$ac_exeext conftest.$ac_ext
35892LIBS=$ac_check_lib_save_LIBS
35893fi
35894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5
35895$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; }
35896if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then :
35897  ac_cv_libcfile_dummy=yes
35898else
35899  ac_cv_libcfile=no
35900fi
35901
35902        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5
35903$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; }
35904if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then :
35905  $as_echo_n "(cached) " >&6
35906else
35907  ac_check_lib_save_LIBS=$LIBS
35908LIBS="-lcfile  $LIBS"
35909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35910/* end confdefs.h.  */
35911
35912/* Override any GCC internal prototype to avoid an error.
35913   Use char because int might match the return type of a GCC
35914   builtin and then its argument prototype would still apply.  */
35915#ifdef __cplusplus
35916extern "C"
35917#endif
35918char libcfile_file_close ();
35919int
35920main ()
35921{
35922return libcfile_file_close ();
35923  ;
35924  return 0;
35925}
35926_ACEOF
35927if ac_fn_c_try_link "$LINENO"; then :
35928  ac_cv_lib_cfile_libcfile_file_close=yes
35929else
35930  ac_cv_lib_cfile_libcfile_file_close=no
35931fi
35932rm -f core conftest.err conftest.$ac_objext \
35933    conftest$ac_exeext conftest.$ac_ext
35934LIBS=$ac_check_lib_save_LIBS
35935fi
35936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5
35937$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; }
35938if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then :
35939  ac_cv_libcfile_dummy=yes
35940else
35941  ac_cv_libcfile=no
35942fi
35943
35944        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5
35945$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; }
35946if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then :
35947  $as_echo_n "(cached) " >&6
35948else
35949  ac_check_lib_save_LIBS=$LIBS
35950LIBS="-lcfile  $LIBS"
35951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35952/* end confdefs.h.  */
35953
35954/* Override any GCC internal prototype to avoid an error.
35955   Use char because int might match the return type of a GCC
35956   builtin and then its argument prototype would still apply.  */
35957#ifdef __cplusplus
35958extern "C"
35959#endif
35960char libcfile_file_read_buffer ();
35961int
35962main ()
35963{
35964return libcfile_file_read_buffer ();
35965  ;
35966  return 0;
35967}
35968_ACEOF
35969if ac_fn_c_try_link "$LINENO"; then :
35970  ac_cv_lib_cfile_libcfile_file_read_buffer=yes
35971else
35972  ac_cv_lib_cfile_libcfile_file_read_buffer=no
35973fi
35974rm -f core conftest.err conftest.$ac_objext \
35975    conftest$ac_exeext conftest.$ac_ext
35976LIBS=$ac_check_lib_save_LIBS
35977fi
35978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5
35979$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; }
35980if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then :
35981  ac_cv_libcfile_dummy=yes
35982else
35983  ac_cv_libcfile=no
35984fi
35985
35986        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5
35987$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; }
35988if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then :
35989  $as_echo_n "(cached) " >&6
35990else
35991  ac_check_lib_save_LIBS=$LIBS
35992LIBS="-lcfile  $LIBS"
35993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35994/* end confdefs.h.  */
35995
35996/* Override any GCC internal prototype to avoid an error.
35997   Use char because int might match the return type of a GCC
35998   builtin and then its argument prototype would still apply.  */
35999#ifdef __cplusplus
36000extern "C"
36001#endif
36002char libcfile_file_read_buffer_with_error_code ();
36003int
36004main ()
36005{
36006return libcfile_file_read_buffer_with_error_code ();
36007  ;
36008  return 0;
36009}
36010_ACEOF
36011if ac_fn_c_try_link "$LINENO"; then :
36012  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes
36013else
36014  ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no
36015fi
36016rm -f core conftest.err conftest.$ac_objext \
36017    conftest$ac_exeext conftest.$ac_ext
36018LIBS=$ac_check_lib_save_LIBS
36019fi
36020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5
36021$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; }
36022if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then :
36023  ac_cv_libcfile_dummy=yes
36024else
36025  ac_cv_libcfile=no
36026fi
36027
36028        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5
36029$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; }
36030if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then :
36031  $as_echo_n "(cached) " >&6
36032else
36033  ac_check_lib_save_LIBS=$LIBS
36034LIBS="-lcfile  $LIBS"
36035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36036/* end confdefs.h.  */
36037
36038/* Override any GCC internal prototype to avoid an error.
36039   Use char because int might match the return type of a GCC
36040   builtin and then its argument prototype would still apply.  */
36041#ifdef __cplusplus
36042extern "C"
36043#endif
36044char libcfile_file_write_buffer ();
36045int
36046main ()
36047{
36048return libcfile_file_write_buffer ();
36049  ;
36050  return 0;
36051}
36052_ACEOF
36053if ac_fn_c_try_link "$LINENO"; then :
36054  ac_cv_lib_cfile_libcfile_file_write_buffer=yes
36055else
36056  ac_cv_lib_cfile_libcfile_file_write_buffer=no
36057fi
36058rm -f core conftest.err conftest.$ac_objext \
36059    conftest$ac_exeext conftest.$ac_ext
36060LIBS=$ac_check_lib_save_LIBS
36061fi
36062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5
36063$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; }
36064if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then :
36065  ac_cv_libcfile_dummy=yes
36066else
36067  ac_cv_libcfile=no
36068fi
36069
36070        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5
36071$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; }
36072if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then :
36073  $as_echo_n "(cached) " >&6
36074else
36075  ac_check_lib_save_LIBS=$LIBS
36076LIBS="-lcfile  $LIBS"
36077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36078/* end confdefs.h.  */
36079
36080/* Override any GCC internal prototype to avoid an error.
36081   Use char because int might match the return type of a GCC
36082   builtin and then its argument prototype would still apply.  */
36083#ifdef __cplusplus
36084extern "C"
36085#endif
36086char libcfile_file_write_buffer_with_error_code ();
36087int
36088main ()
36089{
36090return libcfile_file_write_buffer_with_error_code ();
36091  ;
36092  return 0;
36093}
36094_ACEOF
36095if ac_fn_c_try_link "$LINENO"; then :
36096  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes
36097else
36098  ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no
36099fi
36100rm -f core conftest.err conftest.$ac_objext \
36101    conftest$ac_exeext conftest.$ac_ext
36102LIBS=$ac_check_lib_save_LIBS
36103fi
36104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5
36105$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; }
36106if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then :
36107  ac_cv_libcfile_dummy=yes
36108else
36109  ac_cv_libcfile=no
36110fi
36111
36112        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5
36113$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; }
36114if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then :
36115  $as_echo_n "(cached) " >&6
36116else
36117  ac_check_lib_save_LIBS=$LIBS
36118LIBS="-lcfile  $LIBS"
36119cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120/* end confdefs.h.  */
36121
36122/* Override any GCC internal prototype to avoid an error.
36123   Use char because int might match the return type of a GCC
36124   builtin and then its argument prototype would still apply.  */
36125#ifdef __cplusplus
36126extern "C"
36127#endif
36128char libcfile_file_seek_offset ();
36129int
36130main ()
36131{
36132return libcfile_file_seek_offset ();
36133  ;
36134  return 0;
36135}
36136_ACEOF
36137if ac_fn_c_try_link "$LINENO"; then :
36138  ac_cv_lib_cfile_libcfile_file_seek_offset=yes
36139else
36140  ac_cv_lib_cfile_libcfile_file_seek_offset=no
36141fi
36142rm -f core conftest.err conftest.$ac_objext \
36143    conftest$ac_exeext conftest.$ac_ext
36144LIBS=$ac_check_lib_save_LIBS
36145fi
36146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5
36147$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; }
36148if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then :
36149  ac_cv_libcfile_dummy=yes
36150else
36151  ac_cv_libcfile=no
36152fi
36153
36154        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5
36155$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; }
36156if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then :
36157  $as_echo_n "(cached) " >&6
36158else
36159  ac_check_lib_save_LIBS=$LIBS
36160LIBS="-lcfile  $LIBS"
36161cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36162/* end confdefs.h.  */
36163
36164/* Override any GCC internal prototype to avoid an error.
36165   Use char because int might match the return type of a GCC
36166   builtin and then its argument prototype would still apply.  */
36167#ifdef __cplusplus
36168extern "C"
36169#endif
36170char libcfile_file_resize ();
36171int
36172main ()
36173{
36174return libcfile_file_resize ();
36175  ;
36176  return 0;
36177}
36178_ACEOF
36179if ac_fn_c_try_link "$LINENO"; then :
36180  ac_cv_lib_cfile_libcfile_file_resize=yes
36181else
36182  ac_cv_lib_cfile_libcfile_file_resize=no
36183fi
36184rm -f core conftest.err conftest.$ac_objext \
36185    conftest$ac_exeext conftest.$ac_ext
36186LIBS=$ac_check_lib_save_LIBS
36187fi
36188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5
36189$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; }
36190if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then :
36191  ac_cv_libcfile_dummy=yes
36192else
36193  ac_cv_libcfile=no
36194fi
36195
36196        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5
36197$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; }
36198if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then :
36199  $as_echo_n "(cached) " >&6
36200else
36201  ac_check_lib_save_LIBS=$LIBS
36202LIBS="-lcfile  $LIBS"
36203cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36204/* end confdefs.h.  */
36205
36206/* Override any GCC internal prototype to avoid an error.
36207   Use char because int might match the return type of a GCC
36208   builtin and then its argument prototype would still apply.  */
36209#ifdef __cplusplus
36210extern "C"
36211#endif
36212char libcfile_file_is_open ();
36213int
36214main ()
36215{
36216return libcfile_file_is_open ();
36217  ;
36218  return 0;
36219}
36220_ACEOF
36221if ac_fn_c_try_link "$LINENO"; then :
36222  ac_cv_lib_cfile_libcfile_file_is_open=yes
36223else
36224  ac_cv_lib_cfile_libcfile_file_is_open=no
36225fi
36226rm -f core conftest.err conftest.$ac_objext \
36227    conftest$ac_exeext conftest.$ac_ext
36228LIBS=$ac_check_lib_save_LIBS
36229fi
36230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5
36231$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; }
36232if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then :
36233  ac_cv_libcfile_dummy=yes
36234else
36235  ac_cv_libcfile=no
36236fi
36237
36238        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5
36239$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; }
36240if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then :
36241  $as_echo_n "(cached) " >&6
36242else
36243  ac_check_lib_save_LIBS=$LIBS
36244LIBS="-lcfile  $LIBS"
36245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36246/* end confdefs.h.  */
36247
36248/* Override any GCC internal prototype to avoid an error.
36249   Use char because int might match the return type of a GCC
36250   builtin and then its argument prototype would still apply.  */
36251#ifdef __cplusplus
36252extern "C"
36253#endif
36254char libcfile_file_get_offset ();
36255int
36256main ()
36257{
36258return libcfile_file_get_offset ();
36259  ;
36260  return 0;
36261}
36262_ACEOF
36263if ac_fn_c_try_link "$LINENO"; then :
36264  ac_cv_lib_cfile_libcfile_file_get_offset=yes
36265else
36266  ac_cv_lib_cfile_libcfile_file_get_offset=no
36267fi
36268rm -f core conftest.err conftest.$ac_objext \
36269    conftest$ac_exeext conftest.$ac_ext
36270LIBS=$ac_check_lib_save_LIBS
36271fi
36272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5
36273$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; }
36274if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then :
36275  ac_cv_libcfile_dummy=yes
36276else
36277  ac_cv_libcfile=no
36278fi
36279
36280        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5
36281$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; }
36282if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then :
36283  $as_echo_n "(cached) " >&6
36284else
36285  ac_check_lib_save_LIBS=$LIBS
36286LIBS="-lcfile  $LIBS"
36287cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36288/* end confdefs.h.  */
36289
36290/* Override any GCC internal prototype to avoid an error.
36291   Use char because int might match the return type of a GCC
36292   builtin and then its argument prototype would still apply.  */
36293#ifdef __cplusplus
36294extern "C"
36295#endif
36296char libcfile_file_get_size ();
36297int
36298main ()
36299{
36300return libcfile_file_get_size ();
36301  ;
36302  return 0;
36303}
36304_ACEOF
36305if ac_fn_c_try_link "$LINENO"; then :
36306  ac_cv_lib_cfile_libcfile_file_get_size=yes
36307else
36308  ac_cv_lib_cfile_libcfile_file_get_size=no
36309fi
36310rm -f core conftest.err conftest.$ac_objext \
36311    conftest$ac_exeext conftest.$ac_ext
36312LIBS=$ac_check_lib_save_LIBS
36313fi
36314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5
36315$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; }
36316if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then :
36317  ac_cv_libcfile_dummy=yes
36318else
36319  ac_cv_libcfile=no
36320fi
36321
36322        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5
36323$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; }
36324if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then :
36325  $as_echo_n "(cached) " >&6
36326else
36327  ac_check_lib_save_LIBS=$LIBS
36328LIBS="-lcfile  $LIBS"
36329cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36330/* end confdefs.h.  */
36331
36332/* Override any GCC internal prototype to avoid an error.
36333   Use char because int might match the return type of a GCC
36334   builtin and then its argument prototype would still apply.  */
36335#ifdef __cplusplus
36336extern "C"
36337#endif
36338char libcfile_file_is_device ();
36339int
36340main ()
36341{
36342return libcfile_file_is_device ();
36343  ;
36344  return 0;
36345}
36346_ACEOF
36347if ac_fn_c_try_link "$LINENO"; then :
36348  ac_cv_lib_cfile_libcfile_file_is_device=yes
36349else
36350  ac_cv_lib_cfile_libcfile_file_is_device=no
36351fi
36352rm -f core conftest.err conftest.$ac_objext \
36353    conftest$ac_exeext conftest.$ac_ext
36354LIBS=$ac_check_lib_save_LIBS
36355fi
36356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5
36357$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; }
36358if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then :
36359  ac_cv_libcfile_dummy=yes
36360else
36361  ac_cv_libcfile=no
36362fi
36363
36364        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5
36365$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; }
36366if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then :
36367  $as_echo_n "(cached) " >&6
36368else
36369  ac_check_lib_save_LIBS=$LIBS
36370LIBS="-lcfile  $LIBS"
36371cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36372/* end confdefs.h.  */
36373
36374/* Override any GCC internal prototype to avoid an error.
36375   Use char because int might match the return type of a GCC
36376   builtin and then its argument prototype would still apply.  */
36377#ifdef __cplusplus
36378extern "C"
36379#endif
36380char libcfile_file_io_control_read ();
36381int
36382main ()
36383{
36384return libcfile_file_io_control_read ();
36385  ;
36386  return 0;
36387}
36388_ACEOF
36389if ac_fn_c_try_link "$LINENO"; then :
36390  ac_cv_lib_cfile_libcfile_file_io_control_read=yes
36391else
36392  ac_cv_lib_cfile_libcfile_file_io_control_read=no
36393fi
36394rm -f core conftest.err conftest.$ac_objext \
36395    conftest$ac_exeext conftest.$ac_ext
36396LIBS=$ac_check_lib_save_LIBS
36397fi
36398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5
36399$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; }
36400if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then :
36401  ac_cv_libcfile_dummy=yes
36402else
36403  ac_cv_libcfile=no
36404fi
36405
36406        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5
36407$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; }
36408if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then :
36409  $as_echo_n "(cached) " >&6
36410else
36411  ac_check_lib_save_LIBS=$LIBS
36412LIBS="-lcfile  $LIBS"
36413cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36414/* end confdefs.h.  */
36415
36416/* Override any GCC internal prototype to avoid an error.
36417   Use char because int might match the return type of a GCC
36418   builtin and then its argument prototype would still apply.  */
36419#ifdef __cplusplus
36420extern "C"
36421#endif
36422char libcfile_file_io_control_read_with_error_code ();
36423int
36424main ()
36425{
36426return libcfile_file_io_control_read_with_error_code ();
36427  ;
36428  return 0;
36429}
36430_ACEOF
36431if ac_fn_c_try_link "$LINENO"; then :
36432  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes
36433else
36434  ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no
36435fi
36436rm -f core conftest.err conftest.$ac_objext \
36437    conftest$ac_exeext conftest.$ac_ext
36438LIBS=$ac_check_lib_save_LIBS
36439fi
36440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5
36441$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; }
36442if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then :
36443  ac_cv_libcfile_dummy=yes
36444else
36445  ac_cv_libcfile=no
36446fi
36447
36448
36449        if test "x$ac_cv_enable_wide_character_type" != xno; then :
36450  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5
36451$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; }
36452if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then :
36453  $as_echo_n "(cached) " >&6
36454else
36455  ac_check_lib_save_LIBS=$LIBS
36456LIBS="-lcfile  $LIBS"
36457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36458/* end confdefs.h.  */
36459
36460/* Override any GCC internal prototype to avoid an error.
36461   Use char because int might match the return type of a GCC
36462   builtin and then its argument prototype would still apply.  */
36463#ifdef __cplusplus
36464extern "C"
36465#endif
36466char libcfile_file_open_wide ();
36467int
36468main ()
36469{
36470return libcfile_file_open_wide ();
36471  ;
36472  return 0;
36473}
36474_ACEOF
36475if ac_fn_c_try_link "$LINENO"; then :
36476  ac_cv_lib_cfile_libcfile_file_open_wide=yes
36477else
36478  ac_cv_lib_cfile_libcfile_file_open_wide=no
36479fi
36480rm -f core conftest.err conftest.$ac_objext \
36481    conftest$ac_exeext conftest.$ac_ext
36482LIBS=$ac_check_lib_save_LIBS
36483fi
36484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5
36485$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; }
36486if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then :
36487  ac_cv_libcfile_dummy=yes
36488else
36489  ac_cv_libcfile=no
36490fi
36491
36492          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5
36493$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; }
36494if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then :
36495  $as_echo_n "(cached) " >&6
36496else
36497  ac_check_lib_save_LIBS=$LIBS
36498LIBS="-lcfile  $LIBS"
36499cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36500/* end confdefs.h.  */
36501
36502/* Override any GCC internal prototype to avoid an error.
36503   Use char because int might match the return type of a GCC
36504   builtin and then its argument prototype would still apply.  */
36505#ifdef __cplusplus
36506extern "C"
36507#endif
36508char libcfile_file_open_wide_with_error_code ();
36509int
36510main ()
36511{
36512return libcfile_file_open_wide_with_error_code ();
36513  ;
36514  return 0;
36515}
36516_ACEOF
36517if ac_fn_c_try_link "$LINENO"; then :
36518  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes
36519else
36520  ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no
36521fi
36522rm -f core conftest.err conftest.$ac_objext \
36523    conftest$ac_exeext conftest.$ac_ext
36524LIBS=$ac_check_lib_save_LIBS
36525fi
36526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5
36527$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; }
36528if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then :
36529  ac_cv_libcfile_dummy=yes
36530else
36531  ac_cv_libcfile=no
36532fi
36533
36534
36535fi
36536
36537                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5
36538$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; }
36539if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then :
36540  $as_echo_n "(cached) " >&6
36541else
36542  ac_check_lib_save_LIBS=$LIBS
36543LIBS="-lcfile  $LIBS"
36544cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36545/* end confdefs.h.  */
36546
36547/* Override any GCC internal prototype to avoid an error.
36548   Use char because int might match the return type of a GCC
36549   builtin and then its argument prototype would still apply.  */
36550#ifdef __cplusplus
36551extern "C"
36552#endif
36553char libcfile_file_exists ();
36554int
36555main ()
36556{
36557return libcfile_file_exists ();
36558  ;
36559  return 0;
36560}
36561_ACEOF
36562if ac_fn_c_try_link "$LINENO"; then :
36563  ac_cv_lib_cfile_libcfile_file_exists=yes
36564else
36565  ac_cv_lib_cfile_libcfile_file_exists=no
36566fi
36567rm -f core conftest.err conftest.$ac_objext \
36568    conftest$ac_exeext conftest.$ac_ext
36569LIBS=$ac_check_lib_save_LIBS
36570fi
36571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5
36572$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; }
36573if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then :
36574  ac_cv_libcfile_dummy=yes
36575else
36576  ac_cv_libcfile=no
36577fi
36578
36579        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5
36580$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; }
36581if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then :
36582  $as_echo_n "(cached) " >&6
36583else
36584  ac_check_lib_save_LIBS=$LIBS
36585LIBS="-lcfile  $LIBS"
36586cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36587/* end confdefs.h.  */
36588
36589/* Override any GCC internal prototype to avoid an error.
36590   Use char because int might match the return type of a GCC
36591   builtin and then its argument prototype would still apply.  */
36592#ifdef __cplusplus
36593extern "C"
36594#endif
36595char libcfile_file_remove ();
36596int
36597main ()
36598{
36599return libcfile_file_remove ();
36600  ;
36601  return 0;
36602}
36603_ACEOF
36604if ac_fn_c_try_link "$LINENO"; then :
36605  ac_cv_lib_cfile_libcfile_file_remove=yes
36606else
36607  ac_cv_lib_cfile_libcfile_file_remove=no
36608fi
36609rm -f core conftest.err conftest.$ac_objext \
36610    conftest$ac_exeext conftest.$ac_ext
36611LIBS=$ac_check_lib_save_LIBS
36612fi
36613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5
36614$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; }
36615if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then :
36616  ac_cv_libcfile_dummy=yes
36617else
36618  ac_cv_libcfile=no
36619fi
36620
36621
36622        if test "x$ac_cv_enable_wide_character_type" != xno; then :
36623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5
36624$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; }
36625if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then :
36626  $as_echo_n "(cached) " >&6
36627else
36628  ac_check_lib_save_LIBS=$LIBS
36629LIBS="-lcfile  $LIBS"
36630cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36631/* end confdefs.h.  */
36632
36633/* Override any GCC internal prototype to avoid an error.
36634   Use char because int might match the return type of a GCC
36635   builtin and then its argument prototype would still apply.  */
36636#ifdef __cplusplus
36637extern "C"
36638#endif
36639char libcfile_file_exists_wide ();
36640int
36641main ()
36642{
36643return libcfile_file_exists_wide ();
36644  ;
36645  return 0;
36646}
36647_ACEOF
36648if ac_fn_c_try_link "$LINENO"; then :
36649  ac_cv_lib_cfile_libcfile_file_exists_wide=yes
36650else
36651  ac_cv_lib_cfile_libcfile_file_exists_wide=no
36652fi
36653rm -f core conftest.err conftest.$ac_objext \
36654    conftest$ac_exeext conftest.$ac_ext
36655LIBS=$ac_check_lib_save_LIBS
36656fi
36657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5
36658$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; }
36659if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then :
36660  ac_cv_libcfile_dummy=yes
36661else
36662  ac_cv_libcfile=no
36663fi
36664
36665          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5
36666$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; }
36667if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then :
36668  $as_echo_n "(cached) " >&6
36669else
36670  ac_check_lib_save_LIBS=$LIBS
36671LIBS="-lcfile  $LIBS"
36672cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36673/* end confdefs.h.  */
36674
36675/* Override any GCC internal prototype to avoid an error.
36676   Use char because int might match the return type of a GCC
36677   builtin and then its argument prototype would still apply.  */
36678#ifdef __cplusplus
36679extern "C"
36680#endif
36681char libcfile_file_remove_wide ();
36682int
36683main ()
36684{
36685return libcfile_file_remove_wide ();
36686  ;
36687  return 0;
36688}
36689_ACEOF
36690if ac_fn_c_try_link "$LINENO"; then :
36691  ac_cv_lib_cfile_libcfile_file_remove_wide=yes
36692else
36693  ac_cv_lib_cfile_libcfile_file_remove_wide=no
36694fi
36695rm -f core conftest.err conftest.$ac_objext \
36696    conftest$ac_exeext conftest.$ac_ext
36697LIBS=$ac_check_lib_save_LIBS
36698fi
36699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5
36700$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; }
36701if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then :
36702  ac_cv_libcfile_dummy=yes
36703else
36704  ac_cv_libcfile=no
36705fi
36706
36707
36708fi
36709
36710        ac_cv_libcfile_LIBADD="-lcfile"
36711fi
36712
36713fi
36714    if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then :
36715  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36716$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36717as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile
36718See \`config.log' for more details" "$LINENO" 5; }
36719
36720fi
36721
36722fi
36723
36724  if test "x$ac_cv_libcfile" = xyes; then :
36725
36726$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h
36727
36728
36729fi
36730
36731  if test "x$ac_cv_libcfile" = xyes; then :
36732  HAVE_LIBCFILE=1
36733
36734else
36735  HAVE_LIBCFILE=0
36736
36737
36738fi
36739
36740
36741    if test "x$ac_cv_libcfile" != xyes; then :
36742    for ac_header in errno.h stdio.h sys/stat.h
36743do :
36744  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36745ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36746if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
36747  cat >>confdefs.h <<_ACEOF
36748#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36749_ACEOF
36750
36751fi
36752
36753done
36754
36755
36756    for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h
36757do :
36758  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36759ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36760if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
36761  cat >>confdefs.h <<_ACEOF
36762#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36763_ACEOF
36764
36765fi
36766
36767done
36768
36769
36770    for ac_func in close fstat ftruncate ioctl lseek open read write
36771do :
36772  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36773ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36774if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36775  cat >>confdefs.h <<_ACEOF
36776#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36777_ACEOF
36778
36779fi
36780done
36781
36782
36783  if test "x$ac_cv_func_close" != xyes; then :
36784  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36785$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36786as_fn_error 1 "Missing function: close
36787See \`config.log' for more details" "$LINENO" 5; }
36788
36789fi
36790
36791  for ac_func in posix_fadvise
36792do :
36793  ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
36794if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36795  cat >>confdefs.h <<_ACEOF
36796#define HAVE_POSIX_FADVISE 1
36797_ACEOF
36798
36799fi
36800done
36801
36802
36803  if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5
36805$as_echo_n "checking whether posix_fadvise can be linked... " >&6; }
36806
36807      SAVE_CFLAGS="$CFLAGS"
36808      CFLAGS="$CFLAGS -Wall -Werror"
36809      ac_ext=c
36810ac_cpp='$CPP $CPPFLAGS'
36811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36813ac_compiler_gnu=$ac_cv_c_compiler_gnu
36814
36815
36816      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36817/* end confdefs.h.  */
36818#include <fcntl.h>
36819int
36820main ()
36821{
36822#if !defined( POSIX_FADV_SEQUENTIAL )
36823#define POSIX_FADV_SEQUENTIAL 2
36824#endif
36825posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL )
36826  ;
36827  return 0;
36828}
36829_ACEOF
36830if ac_fn_c_try_link "$LINENO"; then :
36831  ac_cv_func_posix_fadvise=yes
36832else
36833  ac_cv_func_posix_fadvise=no
36834fi
36835rm -f core conftest.err conftest.$ac_objext \
36836    conftest$ac_exeext conftest.$ac_ext
36837
36838      ac_ext=c
36839ac_cpp='$CPP $CPPFLAGS'
36840ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842ac_compiler_gnu=$ac_cv_c_compiler_gnu
36843
36844      CFLAGS="$SAVE_CFLAGS"
36845
36846      if test "x$ac_cv_func_posix_fadvise" = xyes; then :
36847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36848$as_echo "yes" >&6; }
36849
36850$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
36851
36852else
36853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36854$as_echo "no" >&6; }
36855fi
36856
36857fi
36858
36859
36860  if test "x$ac_cv_func_fstat" != xyes; then :
36861  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36862$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36863as_fn_error 1 "Missing function: fstat
36864See \`config.log' for more details" "$LINENO" 5; }
36865
36866fi
36867
36868  if test "x$ac_cv_func_ftruncate" != xyes; then :
36869  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36871as_fn_error 1 "Missing function: ftruncate
36872See \`config.log' for more details" "$LINENO" 5; }
36873
36874fi
36875
36876  if test x"$ac_cv_enable_winapi" = xno; then :
36877  if test "x$ac_cv_func_ioctl" != xyes; then :
36878  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36879$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36880as_fn_error 1 "Missing function: ioctl
36881See \`config.log' for more details" "$LINENO" 5; }
36882
36883fi
36884
36885fi
36886
36887  if test "x$ac_cv_func_lseek" != xyes; then :
36888  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36889$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36890as_fn_error 1 "Missing function: lseek
36891See \`config.log' for more details" "$LINENO" 5; }
36892
36893fi
36894
36895  if test "x$ac_cv_func_open" != xyes; then :
36896  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36897$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36898as_fn_error 1 "Missing function: open
36899See \`config.log' for more details" "$LINENO" 5; }
36900
36901fi
36902
36903  if test "x$ac_cv_func_read" != xyes; then :
36904  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36906as_fn_error 1 "Missing function: read
36907See \`config.log' for more details" "$LINENO" 5; }
36908
36909fi
36910
36911  if test "x$ac_cv_func_write" != xyes; then :
36912  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36913$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36914as_fn_error 1 "Missing function: write
36915See \`config.log' for more details" "$LINENO" 5; }
36916
36917fi
36918
36919    for ac_func in stat unlink
36920do :
36921  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36922ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36923if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36924  cat >>confdefs.h <<_ACEOF
36925#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36926_ACEOF
36927
36928fi
36929done
36930
36931
36932  if test "x$ac_cv_func_stat" != xyes; then :
36933  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36934$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36935as_fn_error 1 "Missing function: stat
36936See \`config.log' for more details" "$LINENO" 5; }
36937
36938fi
36939
36940  if test "x$ac_cv_func_unlink" != xyes; then :
36941  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36942$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36943as_fn_error 1 "Missing function: unlink
36944See \`config.log' for more details" "$LINENO" 5; }
36945
36946fi
36947
36948  ac_cv_libcfile_CPPFLAGS="-I../libcfile";
36949  ac_cv_libcfile_LIBADD="../libcfile/libcfile.la";
36950
36951  ac_cv_libcfile=local
36952
36953
36954
36955$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h
36956
36957    HAVE_LOCAL_LIBCFILE=1
36958
36959
36960fi
36961
36962   if test "x$ac_cv_libcfile" = xlocal; then
36963  HAVE_LOCAL_LIBCFILE_TRUE=
36964  HAVE_LOCAL_LIBCFILE_FALSE='#'
36965else
36966  HAVE_LOCAL_LIBCFILE_TRUE='#'
36967  HAVE_LOCAL_LIBCFILE_FALSE=
36968fi
36969
36970  if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then :
36971  LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS
36972
36973
36974fi
36975  if test "x$ac_cv_libcfile_LIBADD" != "x"; then :
36976  LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD
36977
36978
36979fi
36980
36981  if test "x$ac_cv_libcfile" = xyes; then :
36982  ax_libcfile_pc_libs_private=-lcfile
36983
36984
36985fi
36986
36987  if test "x$ac_cv_libcfile" = xyes; then :
36988  ax_libcfile_spec_requires=libcfile
36989
36990    ax_libcfile_spec_build_requires=libcfile-devel
36991
36992
36993fi
36994
36995
36996
36997
36998# Check whether --with-libcpath was given.
36999if test "${with_libcpath+set}" = set; then :
37000  withval=$with_libcpath; ac_cv_with_libcpath=$withval
37001else
37002  ac_cv_with_libcpath=auto-detect
37003fi
37004
37005    { $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
37006$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; }
37007if ${ac_cv_with_libcpath+:} false; then :
37008  $as_echo_n "(cached) " >&6
37009else
37010  ac_cv_with_libcpath=auto-detect
37011fi
37012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5
37013$as_echo "$ac_cv_with_libcpath" >&6; }
37014
37015    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then :
37016  ac_cv_libcpath=no
37017else
37018  ac_cv_libcpath=check
37019        if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then :
37020  if test -d "$ac_cv_with_libcpath"; then :
37021  CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include"
37022        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib"
37023else
37024  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37026as_fn_error 1 "no such directory: $ac_cv_with_libcpath
37027See \`config.log' for more details" "$LINENO" 5; }
37028
37029fi
37030
37031else
37032        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
37033
37034pkg_failed=no
37035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5
37036$as_echo_n "checking for libcpath... " >&6; }
37037
37038if test -n "$libcpath_CFLAGS"; then
37039    pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS"
37040 elif test -n "$PKG_CONFIG"; then
37041    if test -n "$PKG_CONFIG" && \
37042    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
37043  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
37044  ac_status=$?
37045  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37046  test $ac_status = 0; }; then
37047  pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null`
37048		      test "x$?" != "x0" && pkg_failed=yes
37049else
37050  pkg_failed=yes
37051fi
37052 else
37053    pkg_failed=untried
37054fi
37055if test -n "$libcpath_LIBS"; then
37056    pkg_cv_libcpath_LIBS="$libcpath_LIBS"
37057 elif test -n "$PKG_CONFIG"; then
37058    if test -n "$PKG_CONFIG" && \
37059    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5
37060  ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5
37061  ac_status=$?
37062  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37063  test $ac_status = 0; }; then
37064  pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null`
37065		      test "x$?" != "x0" && pkg_failed=yes
37066else
37067  pkg_failed=yes
37068fi
37069 else
37070    pkg_failed=untried
37071fi
37072
37073
37074
37075if test $pkg_failed = yes; then
37076   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37077$as_echo "no" >&6; }
37078
37079if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37080        _pkg_short_errors_supported=yes
37081else
37082        _pkg_short_errors_supported=no
37083fi
37084        if test $_pkg_short_errors_supported = yes; then
37085	        libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
37086        else
37087	        libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1`
37088        fi
37089	# Put the nasty error message in config.log where it belongs
37090	echo "$libcpath_PKG_ERRORS" >&5
37091
37092	ac_cv_libcpath=check
37093elif test $pkg_failed = untried; then
37094     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37095$as_echo "no" >&6; }
37096	ac_cv_libcpath=check
37097else
37098	libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS
37099	libcpath_LIBS=$pkg_cv_libcpath_LIBS
37100        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37101$as_echo "yes" >&6; }
37102	ac_cv_libcpath=yes
37103fi
37104
37105fi
37106      if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
37107  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
37108$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
37109if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then :
37110  $as_echo_n "(cached) " >&6
37111else
37112  ac_ext=c
37113ac_cpp='$CPP $CPPFLAGS'
37114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116ac_compiler_gnu=$ac_cv_c_compiler_gnu
37117
37118         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37119/* end confdefs.h.  */
37120#include <libcpath/features.h>
37121int
37122main ()
37123{
37124#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 )
37125#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined
37126#endif
37127  ;
37128  return 0;
37129}
37130_ACEOF
37131if ac_fn_c_try_compile "$LINENO"; then :
37132  ac_cv_header_libcpath_features_h_have_wide_character_type=yes
37133else
37134  ac_cv_header_libcpath_features_h_have_wide_character_type=no
37135fi
37136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37137         ac_ext=c
37138ac_cpp='$CPP $CPPFLAGS'
37139ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142
37143fi
37144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5
37145$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; }
37146
37147        if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then :
37148  ac_cv_libcpath=no
37149fi
37150
37151fi
37152      if test "x$ac_cv_libcpath" = xyes; then :
37153  ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS"
37154        ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS"
37155fi
37156
37157fi
37158
37159    if test "x$ac_cv_libcpath" = xcheck; then :
37160        for ac_header in libcpath.h
37161do :
37162  ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default"
37163if test "x$ac_cv_header_libcpath_h" = xyes; then :
37164  cat >>confdefs.h <<_ACEOF
37165#define HAVE_LIBCPATH_H 1
37166_ACEOF
37167
37168fi
37169
37170done
37171
37172
37173      if test "x$ac_cv_header_libcpath_h" = xno; then :
37174  ac_cv_libcpath=no
37175else
37176          ac_cv_libcpath=yes
37177
37178        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5
37179$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; }
37180if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then :
37181  $as_echo_n "(cached) " >&6
37182else
37183  ac_check_lib_save_LIBS=$LIBS
37184LIBS="-lcpath  $LIBS"
37185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37186/* end confdefs.h.  */
37187
37188/* Override any GCC internal prototype to avoid an error.
37189   Use char because int might match the return type of a GCC
37190   builtin and then its argument prototype would still apply.  */
37191#ifdef __cplusplus
37192extern "C"
37193#endif
37194char libcpath_get_version ();
37195int
37196main ()
37197{
37198return libcpath_get_version ();
37199  ;
37200  return 0;
37201}
37202_ACEOF
37203if ac_fn_c_try_link "$LINENO"; then :
37204  ac_cv_lib_cpath_libcpath_get_version=yes
37205else
37206  ac_cv_lib_cpath_libcpath_get_version=no
37207fi
37208rm -f core conftest.err conftest.$ac_objext \
37209    conftest$ac_exeext conftest.$ac_ext
37210LIBS=$ac_check_lib_save_LIBS
37211fi
37212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5
37213$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; }
37214if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then :
37215  ac_cv_libcpath_dummy=yes
37216else
37217  ac_cv_libcpath=no
37218fi
37219
37220
37221                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5
37222$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; }
37223if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then :
37224  $as_echo_n "(cached) " >&6
37225else
37226  ac_check_lib_save_LIBS=$LIBS
37227LIBS="-lcpath  $LIBS"
37228cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37229/* end confdefs.h.  */
37230
37231/* Override any GCC internal prototype to avoid an error.
37232   Use char because int might match the return type of a GCC
37233   builtin and then its argument prototype would still apply.  */
37234#ifdef __cplusplus
37235extern "C"
37236#endif
37237char libcpath_path_change_directory ();
37238int
37239main ()
37240{
37241return libcpath_path_change_directory ();
37242  ;
37243  return 0;
37244}
37245_ACEOF
37246if ac_fn_c_try_link "$LINENO"; then :
37247  ac_cv_lib_cpath_libcpath_path_change_directory=yes
37248else
37249  ac_cv_lib_cpath_libcpath_path_change_directory=no
37250fi
37251rm -f core conftest.err conftest.$ac_objext \
37252    conftest$ac_exeext conftest.$ac_ext
37253LIBS=$ac_check_lib_save_LIBS
37254fi
37255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5
37256$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; }
37257if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then :
37258  ac_cv_libcpath_dummy=yes
37259else
37260  ac_cv_libcpath=no
37261fi
37262
37263        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5
37264$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; }
37265if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then :
37266  $as_echo_n "(cached) " >&6
37267else
37268  ac_check_lib_save_LIBS=$LIBS
37269LIBS="-lcpath  $LIBS"
37270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37271/* end confdefs.h.  */
37272
37273/* Override any GCC internal prototype to avoid an error.
37274   Use char because int might match the return type of a GCC
37275   builtin and then its argument prototype would still apply.  */
37276#ifdef __cplusplus
37277extern "C"
37278#endif
37279char libcpath_path_get_current_working_directory ();
37280int
37281main ()
37282{
37283return libcpath_path_get_current_working_directory ();
37284  ;
37285  return 0;
37286}
37287_ACEOF
37288if ac_fn_c_try_link "$LINENO"; then :
37289  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes
37290else
37291  ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no
37292fi
37293rm -f core conftest.err conftest.$ac_objext \
37294    conftest$ac_exeext conftest.$ac_ext
37295LIBS=$ac_check_lib_save_LIBS
37296fi
37297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5
37298$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; }
37299if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then :
37300  ac_cv_libcpath_dummy=yes
37301else
37302  ac_cv_libcpath=no
37303fi
37304
37305        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5
37306$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; }
37307if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then :
37308  $as_echo_n "(cached) " >&6
37309else
37310  ac_check_lib_save_LIBS=$LIBS
37311LIBS="-lcpath  $LIBS"
37312cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37313/* end confdefs.h.  */
37314
37315/* Override any GCC internal prototype to avoid an error.
37316   Use char because int might match the return type of a GCC
37317   builtin and then its argument prototype would still apply.  */
37318#ifdef __cplusplus
37319extern "C"
37320#endif
37321char libcpath_path_get_full_path ();
37322int
37323main ()
37324{
37325return libcpath_path_get_full_path ();
37326  ;
37327  return 0;
37328}
37329_ACEOF
37330if ac_fn_c_try_link "$LINENO"; then :
37331  ac_cv_lib_cpath_libcpath_path_get_full_path=yes
37332else
37333  ac_cv_lib_cpath_libcpath_path_get_full_path=no
37334fi
37335rm -f core conftest.err conftest.$ac_objext \
37336    conftest$ac_exeext conftest.$ac_ext
37337LIBS=$ac_check_lib_save_LIBS
37338fi
37339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5
37340$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; }
37341if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then :
37342  ac_cv_libcpath_dummy=yes
37343else
37344  ac_cv_libcpath=no
37345fi
37346
37347        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5
37348$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; }
37349if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then :
37350  $as_echo_n "(cached) " >&6
37351else
37352  ac_check_lib_save_LIBS=$LIBS
37353LIBS="-lcpath  $LIBS"
37354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37355/* end confdefs.h.  */
37356
37357/* Override any GCC internal prototype to avoid an error.
37358   Use char because int might match the return type of a GCC
37359   builtin and then its argument prototype would still apply.  */
37360#ifdef __cplusplus
37361extern "C"
37362#endif
37363char libcpath_path_get_sanitized_filename ();
37364int
37365main ()
37366{
37367return libcpath_path_get_sanitized_filename ();
37368  ;
37369  return 0;
37370}
37371_ACEOF
37372if ac_fn_c_try_link "$LINENO"; then :
37373  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes
37374else
37375  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no
37376fi
37377rm -f core conftest.err conftest.$ac_objext \
37378    conftest$ac_exeext conftest.$ac_ext
37379LIBS=$ac_check_lib_save_LIBS
37380fi
37381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5
37382$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; }
37383if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then :
37384  ac_cv_libcpath_dummy=yes
37385else
37386  ac_cv_libcpath=no
37387fi
37388
37389        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5
37390$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; }
37391if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then :
37392  $as_echo_n "(cached) " >&6
37393else
37394  ac_check_lib_save_LIBS=$LIBS
37395LIBS="-lcpath  $LIBS"
37396cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37397/* end confdefs.h.  */
37398
37399/* Override any GCC internal prototype to avoid an error.
37400   Use char because int might match the return type of a GCC
37401   builtin and then its argument prototype would still apply.  */
37402#ifdef __cplusplus
37403extern "C"
37404#endif
37405char libcpath_path_get_sanitized_path ();
37406int
37407main ()
37408{
37409return libcpath_path_get_sanitized_path ();
37410  ;
37411  return 0;
37412}
37413_ACEOF
37414if ac_fn_c_try_link "$LINENO"; then :
37415  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes
37416else
37417  ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no
37418fi
37419rm -f core conftest.err conftest.$ac_objext \
37420    conftest$ac_exeext conftest.$ac_ext
37421LIBS=$ac_check_lib_save_LIBS
37422fi
37423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5
37424$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; }
37425if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then :
37426  ac_cv_libcpath_dummy=yes
37427else
37428  ac_cv_libcpath=no
37429fi
37430
37431        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5
37432$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; }
37433if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then :
37434  $as_echo_n "(cached) " >&6
37435else
37436  ac_check_lib_save_LIBS=$LIBS
37437LIBS="-lcpath  $LIBS"
37438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37439/* end confdefs.h.  */
37440
37441/* Override any GCC internal prototype to avoid an error.
37442   Use char because int might match the return type of a GCC
37443   builtin and then its argument prototype would still apply.  */
37444#ifdef __cplusplus
37445extern "C"
37446#endif
37447char libcpath_path_join ();
37448int
37449main ()
37450{
37451return libcpath_path_join ();
37452  ;
37453  return 0;
37454}
37455_ACEOF
37456if ac_fn_c_try_link "$LINENO"; then :
37457  ac_cv_lib_cpath_libcpath_path_join=yes
37458else
37459  ac_cv_lib_cpath_libcpath_path_join=no
37460fi
37461rm -f core conftest.err conftest.$ac_objext \
37462    conftest$ac_exeext conftest.$ac_ext
37463LIBS=$ac_check_lib_save_LIBS
37464fi
37465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5
37466$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; }
37467if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then :
37468  ac_cv_libcpath_dummy=yes
37469else
37470  ac_cv_libcpath=no
37471fi
37472
37473        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5
37474$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; }
37475if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then :
37476  $as_echo_n "(cached) " >&6
37477else
37478  ac_check_lib_save_LIBS=$LIBS
37479LIBS="-lcpath  $LIBS"
37480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37481/* end confdefs.h.  */
37482
37483/* Override any GCC internal prototype to avoid an error.
37484   Use char because int might match the return type of a GCC
37485   builtin and then its argument prototype would still apply.  */
37486#ifdef __cplusplus
37487extern "C"
37488#endif
37489char libcpath_path_make_directory ();
37490int
37491main ()
37492{
37493return libcpath_path_make_directory ();
37494  ;
37495  return 0;
37496}
37497_ACEOF
37498if ac_fn_c_try_link "$LINENO"; then :
37499  ac_cv_lib_cpath_libcpath_path_make_directory=yes
37500else
37501  ac_cv_lib_cpath_libcpath_path_make_directory=no
37502fi
37503rm -f core conftest.err conftest.$ac_objext \
37504    conftest$ac_exeext conftest.$ac_ext
37505LIBS=$ac_check_lib_save_LIBS
37506fi
37507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5
37508$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; }
37509if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then :
37510  ac_cv_libcpath_dummy=yes
37511else
37512  ac_cv_libcpath=no
37513fi
37514
37515
37516        if test "x$ac_cv_enable_wide_character_type" != xno; then :
37517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5
37518$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; }
37519if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then :
37520  $as_echo_n "(cached) " >&6
37521else
37522  ac_check_lib_save_LIBS=$LIBS
37523LIBS="-lcpath  $LIBS"
37524cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37525/* end confdefs.h.  */
37526
37527/* Override any GCC internal prototype to avoid an error.
37528   Use char because int might match the return type of a GCC
37529   builtin and then its argument prototype would still apply.  */
37530#ifdef __cplusplus
37531extern "C"
37532#endif
37533char libcpath_path_change_directory_wide ();
37534int
37535main ()
37536{
37537return libcpath_path_change_directory_wide ();
37538  ;
37539  return 0;
37540}
37541_ACEOF
37542if ac_fn_c_try_link "$LINENO"; then :
37543  ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes
37544else
37545  ac_cv_lib_cpath_libcpath_path_change_directory_wide=no
37546fi
37547rm -f core conftest.err conftest.$ac_objext \
37548    conftest$ac_exeext conftest.$ac_ext
37549LIBS=$ac_check_lib_save_LIBS
37550fi
37551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5
37552$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; }
37553if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then :
37554  ac_cv_libcpath_dummy=yes
37555else
37556  ac_cv_libcpath=no
37557fi
37558
37559          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5
37560$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; }
37561if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then :
37562  $as_echo_n "(cached) " >&6
37563else
37564  ac_check_lib_save_LIBS=$LIBS
37565LIBS="-lcpath  $LIBS"
37566cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37567/* end confdefs.h.  */
37568
37569/* Override any GCC internal prototype to avoid an error.
37570   Use char because int might match the return type of a GCC
37571   builtin and then its argument prototype would still apply.  */
37572#ifdef __cplusplus
37573extern "C"
37574#endif
37575char libcpath_path_get_current_working_directory_wide ();
37576int
37577main ()
37578{
37579return libcpath_path_get_current_working_directory_wide ();
37580  ;
37581  return 0;
37582}
37583_ACEOF
37584if ac_fn_c_try_link "$LINENO"; then :
37585  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes
37586else
37587  ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no
37588fi
37589rm -f core conftest.err conftest.$ac_objext \
37590    conftest$ac_exeext conftest.$ac_ext
37591LIBS=$ac_check_lib_save_LIBS
37592fi
37593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5
37594$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; }
37595if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then :
37596  ac_cv_libcpath_dummy=yes
37597else
37598  ac_cv_libcpath=no
37599fi
37600
37601          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5
37602$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; }
37603if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then :
37604  $as_echo_n "(cached) " >&6
37605else
37606  ac_check_lib_save_LIBS=$LIBS
37607LIBS="-lcpath  $LIBS"
37608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37609/* end confdefs.h.  */
37610
37611/* Override any GCC internal prototype to avoid an error.
37612   Use char because int might match the return type of a GCC
37613   builtin and then its argument prototype would still apply.  */
37614#ifdef __cplusplus
37615extern "C"
37616#endif
37617char libcpath_path_get_full_path_wide ();
37618int
37619main ()
37620{
37621return libcpath_path_get_full_path_wide ();
37622  ;
37623  return 0;
37624}
37625_ACEOF
37626if ac_fn_c_try_link "$LINENO"; then :
37627  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes
37628else
37629  ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no
37630fi
37631rm -f core conftest.err conftest.$ac_objext \
37632    conftest$ac_exeext conftest.$ac_ext
37633LIBS=$ac_check_lib_save_LIBS
37634fi
37635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5
37636$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; }
37637if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then :
37638  ac_cv_libcpath_dummy=yes
37639else
37640  ac_cv_libcpath=no
37641fi
37642
37643          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5
37644$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; }
37645if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then :
37646  $as_echo_n "(cached) " >&6
37647else
37648  ac_check_lib_save_LIBS=$LIBS
37649LIBS="-lcpath  $LIBS"
37650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37651/* end confdefs.h.  */
37652
37653/* Override any GCC internal prototype to avoid an error.
37654   Use char because int might match the return type of a GCC
37655   builtin and then its argument prototype would still apply.  */
37656#ifdef __cplusplus
37657extern "C"
37658#endif
37659char libcpath_path_get_sanitized_filename_wide ();
37660int
37661main ()
37662{
37663return libcpath_path_get_sanitized_filename_wide ();
37664  ;
37665  return 0;
37666}
37667_ACEOF
37668if ac_fn_c_try_link "$LINENO"; then :
37669  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes
37670else
37671  ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no
37672fi
37673rm -f core conftest.err conftest.$ac_objext \
37674    conftest$ac_exeext conftest.$ac_ext
37675LIBS=$ac_check_lib_save_LIBS
37676fi
37677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5
37678$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; }
37679if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then :
37680  ac_cv_libcpath_dummy=yes
37681else
37682  ac_cv_libcpath=no
37683fi
37684
37685          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5
37686$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; }
37687if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then :
37688  $as_echo_n "(cached) " >&6
37689else
37690  ac_check_lib_save_LIBS=$LIBS
37691LIBS="-lcpath  $LIBS"
37692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37693/* end confdefs.h.  */
37694
37695/* Override any GCC internal prototype to avoid an error.
37696   Use char because int might match the return type of a GCC
37697   builtin and then its argument prototype would still apply.  */
37698#ifdef __cplusplus
37699extern "C"
37700#endif
37701char libcpath_path_get_sanitized_path_wide ();
37702int
37703main ()
37704{
37705return libcpath_path_get_sanitized_path_wide ();
37706  ;
37707  return 0;
37708}
37709_ACEOF
37710if ac_fn_c_try_link "$LINENO"; then :
37711  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes
37712else
37713  ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no
37714fi
37715rm -f core conftest.err conftest.$ac_objext \
37716    conftest$ac_exeext conftest.$ac_ext
37717LIBS=$ac_check_lib_save_LIBS
37718fi
37719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5
37720$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; }
37721if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then :
37722  ac_cv_libcpath_dummy=yes
37723else
37724  ac_cv_libcpath=no
37725fi
37726
37727          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5
37728$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; }
37729if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then :
37730  $as_echo_n "(cached) " >&6
37731else
37732  ac_check_lib_save_LIBS=$LIBS
37733LIBS="-lcpath  $LIBS"
37734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37735/* end confdefs.h.  */
37736
37737/* Override any GCC internal prototype to avoid an error.
37738   Use char because int might match the return type of a GCC
37739   builtin and then its argument prototype would still apply.  */
37740#ifdef __cplusplus
37741extern "C"
37742#endif
37743char libcpath_path_join_wide ();
37744int
37745main ()
37746{
37747return libcpath_path_join_wide ();
37748  ;
37749  return 0;
37750}
37751_ACEOF
37752if ac_fn_c_try_link "$LINENO"; then :
37753  ac_cv_lib_cpath_libcpath_path_join_wide=yes
37754else
37755  ac_cv_lib_cpath_libcpath_path_join_wide=no
37756fi
37757rm -f core conftest.err conftest.$ac_objext \
37758    conftest$ac_exeext conftest.$ac_ext
37759LIBS=$ac_check_lib_save_LIBS
37760fi
37761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5
37762$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; }
37763if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then :
37764  ac_cv_libcpath_dummy=yes
37765else
37766  ac_cv_libcpath=no
37767fi
37768
37769          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5
37770$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; }
37771if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then :
37772  $as_echo_n "(cached) " >&6
37773else
37774  ac_check_lib_save_LIBS=$LIBS
37775LIBS="-lcpath  $LIBS"
37776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37777/* end confdefs.h.  */
37778
37779/* Override any GCC internal prototype to avoid an error.
37780   Use char because int might match the return type of a GCC
37781   builtin and then its argument prototype would still apply.  */
37782#ifdef __cplusplus
37783extern "C"
37784#endif
37785char libcpath_path_make_directory_wide ();
37786int
37787main ()
37788{
37789return libcpath_path_make_directory_wide ();
37790  ;
37791  return 0;
37792}
37793_ACEOF
37794if ac_fn_c_try_link "$LINENO"; then :
37795  ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes
37796else
37797  ac_cv_lib_cpath_libcpath_path_make_directory_wide=no
37798fi
37799rm -f core conftest.err conftest.$ac_objext \
37800    conftest$ac_exeext conftest.$ac_ext
37801LIBS=$ac_check_lib_save_LIBS
37802fi
37803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5
37804$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; }
37805if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then :
37806  ac_cv_libcpath_dummy=yes
37807else
37808  ac_cv_libcpath=no
37809fi
37810
37811
37812fi
37813
37814        ac_cv_libcpath_LIBADD="-lcpath"
37815fi
37816
37817fi
37818    if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then :
37819  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37820$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37821as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath
37822See \`config.log' for more details" "$LINENO" 5; }
37823
37824fi
37825
37826fi
37827
37828  if test "x$ac_cv_libcpath" = xyes; then :
37829
37830$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h
37831
37832
37833fi
37834
37835  if test "x$ac_cv_libcpath" = xyes; then :
37836  HAVE_LIBCPATH=1
37837
37838else
37839  HAVE_LIBCPATH=0
37840
37841
37842fi
37843
37844
37845    if test "x$ac_cv_libcpath" != xyes; then :
37846    for ac_header in errno.h sys/stat.h sys/syslimits.h
37847do :
37848  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
37849ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
37850if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
37851  cat >>confdefs.h <<_ACEOF
37852#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
37853_ACEOF
37854
37855fi
37856
37857done
37858
37859
37860    for ac_func in chdir getcwd
37861do :
37862  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37863ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37864if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37865  cat >>confdefs.h <<_ACEOF
37866#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37867_ACEOF
37868
37869fi
37870done
37871
37872
37873  if test "x$ac_cv_func_chdir" != xyes; then :
37874  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37875$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37876as_fn_error 1 "Missing functions: chdir
37877See \`config.log' for more details" "$LINENO" 5; }
37878
37879fi
37880
37881  if test "x$ac_cv_func_getcwd" != xyes; then :
37882  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37884as_fn_error 1 "Missing functions: getcwd
37885See \`config.log' for more details" "$LINENO" 5; }
37886
37887fi
37888
37889  for ac_func in mkdir
37890do :
37891  ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
37892if test "x$ac_cv_func_mkdir" = xyes; then :
37893  cat >>confdefs.h <<_ACEOF
37894#define HAVE_MKDIR 1
37895_ACEOF
37896
37897fi
37898done
37899
37900
37901  if test "x$ac_cv_func_mkdir" = xyes; then :
37902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5
37903$as_echo_n "checking how to use mkdir... " >&6; }
37904
37905    SAVE_CFLAGS="$CFLAGS"
37906    CFLAGS="$CFLAGS -Wall -Werror"
37907    ac_ext=c
37908ac_cpp='$CPP $CPPFLAGS'
37909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911ac_compiler_gnu=$ac_cv_c_compiler_gnu
37912
37913
37914    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37915/* end confdefs.h.  */
37916#include <sys/stat.h>
37917#include <sys/types.h>
37918int
37919main ()
37920{
37921mkdir( "", 0 )
37922  ;
37923  return 0;
37924}
37925_ACEOF
37926if ac_fn_c_try_link "$LINENO"; then :
37927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5
37928$as_echo "with additional mode argument" >&6; }
37929        ac_cv_cv_mkdir_mode=yes
37930else
37931  ac_cv_cv_mkdir_mode=no
37932fi
37933rm -f core conftest.err conftest.$ac_objext \
37934    conftest$ac_exeext conftest.$ac_ext
37935
37936    if test "x$ac_cv_cv_mkdir_mode" = xno; then :
37937  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37938/* end confdefs.h.  */
37939#include <io.h>
37940int
37941main ()
37942{
37943mkdir( "" )
37944  ;
37945  return 0;
37946}
37947_ACEOF
37948if ac_fn_c_try_link "$LINENO"; then :
37949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5
37950$as_echo "with single argument" >&6; }
37951        ac_cv_cv_mkdir=yes
37952else
37953  ac_cv_cv_mkdir=no
37954fi
37955rm -f core conftest.err conftest.$ac_objext \
37956    conftest$ac_exeext conftest.$ac_ext
37957
37958fi
37959
37960    ac_ext=c
37961ac_cpp='$CPP $CPPFLAGS'
37962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964ac_compiler_gnu=$ac_cv_c_compiler_gnu
37965
37966    CFLAGS="$SAVE_CFLAGS"
37967
37968    if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then :
37969  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5
37970$as_echo "$as_me: WARNING: unknown" >&2;}
37971      ac_cv_func_mkdir=no
37972fi
37973
37974    if test "x$ac_cv_func_mkdir" = xyes; then :
37975
37976$as_echo "#define HAVE_MKDIR 1" >>confdefs.h
37977
37978
37979fi
37980
37981    if test "x$ac_cv_cv_mkdir_mode" = xyes; then :
37982
37983$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h
37984
37985
37986fi
37987
37988fi
37989
37990  if test "x$ac_cv_func_mkdir" = xno; then :
37991  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37992$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37993as_fn_error 1 "Missing function: mkdir
37994See \`config.log' for more details" "$LINENO" 5; }
37995
37996fi
37997
37998
37999  ac_cv_libcpath_CPPFLAGS="-I../libcpath";
38000  ac_cv_libcpath_LIBADD="../libcpath/libcpath.la";
38001
38002  ac_cv_libcpath=local
38003
38004
38005
38006$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h
38007
38008    HAVE_LOCAL_LIBCPATH=1
38009
38010
38011fi
38012
38013   if test "x$ac_cv_libcpath" = xlocal; then
38014  HAVE_LOCAL_LIBCPATH_TRUE=
38015  HAVE_LOCAL_LIBCPATH_FALSE='#'
38016else
38017  HAVE_LOCAL_LIBCPATH_TRUE='#'
38018  HAVE_LOCAL_LIBCPATH_FALSE=
38019fi
38020
38021  if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then :
38022  LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS
38023
38024
38025fi
38026  if test "x$ac_cv_libcpath_LIBADD" != "x"; then :
38027  LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD
38028
38029
38030fi
38031
38032  if test "x$ac_cv_libcpath" = xyes; then :
38033  ax_libcpath_pc_libs_private=-lcpath
38034
38035
38036fi
38037
38038  if test "x$ac_cv_libcpath" = xyes; then :
38039  ax_libcpath_spec_requires=libcpath
38040
38041    ax_libcpath_spec_build_requires=libcpath-devel
38042
38043
38044fi
38045
38046
38047
38048
38049# Check whether --with-libbfio was given.
38050if test "${with_libbfio+set}" = set; then :
38051  withval=$with_libbfio; ac_cv_with_libbfio=$withval
38052else
38053  ac_cv_with_libbfio=auto-detect
38054fi
38055
38056    { $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
38057$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; }
38058if ${ac_cv_with_libbfio+:} false; then :
38059  $as_echo_n "(cached) " >&6
38060else
38061  ac_cv_with_libbfio=auto-detect
38062fi
38063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5
38064$as_echo "$ac_cv_with_libbfio" >&6; }
38065
38066    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then :
38067  ac_cv_libbfio=no
38068else
38069  ac_cv_libbfio=check
38070        if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then :
38071  if test -d "$ac_cv_with_libbfio"; then :
38072  CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include"
38073        LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib"
38074else
38075  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38076$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38077as_fn_error 1 "no such directory: $ac_cv_with_libbfio
38078See \`config.log' for more details" "$LINENO" 5; }
38079
38080fi
38081
38082else
38083        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
38084
38085pkg_failed=no
38086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5
38087$as_echo_n "checking for libbfio... " >&6; }
38088
38089if test -n "$libbfio_CFLAGS"; then
38090    pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS"
38091 elif test -n "$PKG_CONFIG"; then
38092    if test -n "$PKG_CONFIG" && \
38093    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5
38094  ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5
38095  ac_status=$?
38096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38097  test $ac_status = 0; }; then
38098  pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null`
38099		      test "x$?" != "x0" && pkg_failed=yes
38100else
38101  pkg_failed=yes
38102fi
38103 else
38104    pkg_failed=untried
38105fi
38106if test -n "$libbfio_LIBS"; then
38107    pkg_cv_libbfio_LIBS="$libbfio_LIBS"
38108 elif test -n "$PKG_CONFIG"; then
38109    if test -n "$PKG_CONFIG" && \
38110    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5
38111  ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5
38112  ac_status=$?
38113  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38114  test $ac_status = 0; }; then
38115  pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null`
38116		      test "x$?" != "x0" && pkg_failed=yes
38117else
38118  pkg_failed=yes
38119fi
38120 else
38121    pkg_failed=untried
38122fi
38123
38124
38125
38126if test $pkg_failed = yes; then
38127   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38128$as_echo "no" >&6; }
38129
38130if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38131        _pkg_short_errors_supported=yes
38132else
38133        _pkg_short_errors_supported=no
38134fi
38135        if test $_pkg_short_errors_supported = yes; then
38136	        libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1`
38137        else
38138	        libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1`
38139        fi
38140	# Put the nasty error message in config.log where it belongs
38141	echo "$libbfio_PKG_ERRORS" >&5
38142
38143	ac_cv_libbfio=check
38144elif test $pkg_failed = untried; then
38145     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38146$as_echo "no" >&6; }
38147	ac_cv_libbfio=check
38148else
38149	libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS
38150	libbfio_LIBS=$pkg_cv_libbfio_LIBS
38151        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38152$as_echo "yes" >&6; }
38153	ac_cv_libbfio=yes
38154fi
38155
38156fi
38157      if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then :
38158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5
38159$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; }
38160if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then :
38161  $as_echo_n "(cached) " >&6
38162else
38163  ac_ext=c
38164ac_cpp='$CPP $CPPFLAGS'
38165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167ac_compiler_gnu=$ac_cv_c_compiler_gnu
38168
38169         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38170/* end confdefs.h.  */
38171#include <libbfio/features.h>
38172int
38173main ()
38174{
38175#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 )
38176#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined
38177#endif
38178  ;
38179  return 0;
38180}
38181_ACEOF
38182if ac_fn_c_try_compile "$LINENO"; then :
38183  ac_cv_header_libbfio_features_h_have_wide_character_type=yes
38184else
38185  ac_cv_header_libbfio_features_h_have_wide_character_type=no
38186fi
38187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38188         ac_ext=c
38189ac_cpp='$CPP $CPPFLAGS'
38190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192ac_compiler_gnu=$ac_cv_c_compiler_gnu
38193
38194fi
38195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5
38196$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; }
38197
38198        if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then :
38199  ac_cv_libbfio=no
38200fi
38201
38202fi
38203      if test "x$ac_cv_libbfio" = xyes; then :
38204  ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS"
38205        ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS"
38206fi
38207
38208fi
38209
38210    if test "x$ac_cv_libbfio" = xcheck; then :
38211        for ac_header in libbfio.h
38212do :
38213  ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default"
38214if test "x$ac_cv_header_libbfio_h" = xyes; then :
38215  cat >>confdefs.h <<_ACEOF
38216#define HAVE_LIBBFIO_H 1
38217_ACEOF
38218
38219fi
38220
38221done
38222
38223
38224      if test "x$ac_cv_header_libbfio_h" = xno; then :
38225  ac_cv_libbfio=no
38226else
38227          ac_cv_libbfio=yes
38228
38229        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5
38230$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; }
38231if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then :
38232  $as_echo_n "(cached) " >&6
38233else
38234  ac_check_lib_save_LIBS=$LIBS
38235LIBS="-lbfio  $LIBS"
38236cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38237/* end confdefs.h.  */
38238
38239/* Override any GCC internal prototype to avoid an error.
38240   Use char because int might match the return type of a GCC
38241   builtin and then its argument prototype would still apply.  */
38242#ifdef __cplusplus
38243extern "C"
38244#endif
38245char libbfio_get_version ();
38246int
38247main ()
38248{
38249return libbfio_get_version ();
38250  ;
38251  return 0;
38252}
38253_ACEOF
38254if ac_fn_c_try_link "$LINENO"; then :
38255  ac_cv_lib_bfio_libbfio_get_version=yes
38256else
38257  ac_cv_lib_bfio_libbfio_get_version=no
38258fi
38259rm -f core conftest.err conftest.$ac_objext \
38260    conftest$ac_exeext conftest.$ac_ext
38261LIBS=$ac_check_lib_save_LIBS
38262fi
38263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5
38264$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; }
38265if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then :
38266  ac_cv_libbfio_dummy=yes
38267else
38268  ac_cv_libbfio=no
38269fi
38270
38271
38272                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5
38273$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; }
38274if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then :
38275  $as_echo_n "(cached) " >&6
38276else
38277  ac_check_lib_save_LIBS=$LIBS
38278LIBS="-lbfio  $LIBS"
38279cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38280/* end confdefs.h.  */
38281
38282/* Override any GCC internal prototype to avoid an error.
38283   Use char because int might match the return type of a GCC
38284   builtin and then its argument prototype would still apply.  */
38285#ifdef __cplusplus
38286extern "C"
38287#endif
38288char libbfio_handle_free ();
38289int
38290main ()
38291{
38292return libbfio_handle_free ();
38293  ;
38294  return 0;
38295}
38296_ACEOF
38297if ac_fn_c_try_link "$LINENO"; then :
38298  ac_cv_lib_bfio_libbfio_handle_free=yes
38299else
38300  ac_cv_lib_bfio_libbfio_handle_free=no
38301fi
38302rm -f core conftest.err conftest.$ac_objext \
38303    conftest$ac_exeext conftest.$ac_ext
38304LIBS=$ac_check_lib_save_LIBS
38305fi
38306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5
38307$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; }
38308if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then :
38309  ac_cv_libbfio_dummy=yes
38310else
38311  ac_cv_libbfio=no
38312fi
38313
38314        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5
38315$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; }
38316if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then :
38317  $as_echo_n "(cached) " >&6
38318else
38319  ac_check_lib_save_LIBS=$LIBS
38320LIBS="-lbfio  $LIBS"
38321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38322/* end confdefs.h.  */
38323
38324/* Override any GCC internal prototype to avoid an error.
38325   Use char because int might match the return type of a GCC
38326   builtin and then its argument prototype would still apply.  */
38327#ifdef __cplusplus
38328extern "C"
38329#endif
38330char libbfio_handle_open ();
38331int
38332main ()
38333{
38334return libbfio_handle_open ();
38335  ;
38336  return 0;
38337}
38338_ACEOF
38339if ac_fn_c_try_link "$LINENO"; then :
38340  ac_cv_lib_bfio_libbfio_handle_open=yes
38341else
38342  ac_cv_lib_bfio_libbfio_handle_open=no
38343fi
38344rm -f core conftest.err conftest.$ac_objext \
38345    conftest$ac_exeext conftest.$ac_ext
38346LIBS=$ac_check_lib_save_LIBS
38347fi
38348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5
38349$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; }
38350if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then :
38351  ac_cv_libbfio_dummy=yes
38352else
38353  ac_cv_libbfio=no
38354fi
38355
38356        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5
38357$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; }
38358if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then :
38359  $as_echo_n "(cached) " >&6
38360else
38361  ac_check_lib_save_LIBS=$LIBS
38362LIBS="-lbfio  $LIBS"
38363cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38364/* end confdefs.h.  */
38365
38366/* Override any GCC internal prototype to avoid an error.
38367   Use char because int might match the return type of a GCC
38368   builtin and then its argument prototype would still apply.  */
38369#ifdef __cplusplus
38370extern "C"
38371#endif
38372char libbfio_handle_close ();
38373int
38374main ()
38375{
38376return libbfio_handle_close ();
38377  ;
38378  return 0;
38379}
38380_ACEOF
38381if ac_fn_c_try_link "$LINENO"; then :
38382  ac_cv_lib_bfio_libbfio_handle_close=yes
38383else
38384  ac_cv_lib_bfio_libbfio_handle_close=no
38385fi
38386rm -f core conftest.err conftest.$ac_objext \
38387    conftest$ac_exeext conftest.$ac_ext
38388LIBS=$ac_check_lib_save_LIBS
38389fi
38390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5
38391$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; }
38392if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then :
38393  ac_cv_libbfio_dummy=yes
38394else
38395  ac_cv_libbfio=no
38396fi
38397
38398        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5
38399$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; }
38400if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then :
38401  $as_echo_n "(cached) " >&6
38402else
38403  ac_check_lib_save_LIBS=$LIBS
38404LIBS="-lbfio  $LIBS"
38405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406/* end confdefs.h.  */
38407
38408/* Override any GCC internal prototype to avoid an error.
38409   Use char because int might match the return type of a GCC
38410   builtin and then its argument prototype would still apply.  */
38411#ifdef __cplusplus
38412extern "C"
38413#endif
38414char libbfio_handle_exists ();
38415int
38416main ()
38417{
38418return libbfio_handle_exists ();
38419  ;
38420  return 0;
38421}
38422_ACEOF
38423if ac_fn_c_try_link "$LINENO"; then :
38424  ac_cv_lib_bfio_libbfio_handle_exists=yes
38425else
38426  ac_cv_lib_bfio_libbfio_handle_exists=no
38427fi
38428rm -f core conftest.err conftest.$ac_objext \
38429    conftest$ac_exeext conftest.$ac_ext
38430LIBS=$ac_check_lib_save_LIBS
38431fi
38432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5
38433$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; }
38434if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then :
38435  ac_cv_libbfio_dummy=yes
38436else
38437  ac_cv_libbfio=no
38438fi
38439
38440        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5
38441$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; }
38442if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then :
38443  $as_echo_n "(cached) " >&6
38444else
38445  ac_check_lib_save_LIBS=$LIBS
38446LIBS="-lbfio  $LIBS"
38447cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38448/* end confdefs.h.  */
38449
38450/* Override any GCC internal prototype to avoid an error.
38451   Use char because int might match the return type of a GCC
38452   builtin and then its argument prototype would still apply.  */
38453#ifdef __cplusplus
38454extern "C"
38455#endif
38456char libbfio_handle_read_buffer ();
38457int
38458main ()
38459{
38460return libbfio_handle_read_buffer ();
38461  ;
38462  return 0;
38463}
38464_ACEOF
38465if ac_fn_c_try_link "$LINENO"; then :
38466  ac_cv_lib_bfio_libbfio_handle_read_buffer=yes
38467else
38468  ac_cv_lib_bfio_libbfio_handle_read_buffer=no
38469fi
38470rm -f core conftest.err conftest.$ac_objext \
38471    conftest$ac_exeext conftest.$ac_ext
38472LIBS=$ac_check_lib_save_LIBS
38473fi
38474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5
38475$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; }
38476if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then :
38477  ac_cv_libbfio_dummy=yes
38478else
38479  ac_cv_libbfio=no
38480fi
38481
38482        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5
38483$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; }
38484if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then :
38485  $as_echo_n "(cached) " >&6
38486else
38487  ac_check_lib_save_LIBS=$LIBS
38488LIBS="-lbfio  $LIBS"
38489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38490/* end confdefs.h.  */
38491
38492/* Override any GCC internal prototype to avoid an error.
38493   Use char because int might match the return type of a GCC
38494   builtin and then its argument prototype would still apply.  */
38495#ifdef __cplusplus
38496extern "C"
38497#endif
38498char libbfio_handle_read_buffer_at_offset ();
38499int
38500main ()
38501{
38502return libbfio_handle_read_buffer_at_offset ();
38503  ;
38504  return 0;
38505}
38506_ACEOF
38507if ac_fn_c_try_link "$LINENO"; then :
38508  ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes
38509else
38510  ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no
38511fi
38512rm -f core conftest.err conftest.$ac_objext \
38513    conftest$ac_exeext conftest.$ac_ext
38514LIBS=$ac_check_lib_save_LIBS
38515fi
38516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5
38517$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; }
38518if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then :
38519  ac_cv_libbfio_dummy=yes
38520else
38521  ac_cv_libbfio=no
38522fi
38523
38524        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5
38525$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; }
38526if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then :
38527  $as_echo_n "(cached) " >&6
38528else
38529  ac_check_lib_save_LIBS=$LIBS
38530LIBS="-lbfio  $LIBS"
38531cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38532/* end confdefs.h.  */
38533
38534/* Override any GCC internal prototype to avoid an error.
38535   Use char because int might match the return type of a GCC
38536   builtin and then its argument prototype would still apply.  */
38537#ifdef __cplusplus
38538extern "C"
38539#endif
38540char libbfio_handle_write_buffer ();
38541int
38542main ()
38543{
38544return libbfio_handle_write_buffer ();
38545  ;
38546  return 0;
38547}
38548_ACEOF
38549if ac_fn_c_try_link "$LINENO"; then :
38550  ac_cv_lib_bfio_libbfio_handle_write_buffer=yes
38551else
38552  ac_cv_lib_bfio_libbfio_handle_write_buffer=no
38553fi
38554rm -f core conftest.err conftest.$ac_objext \
38555    conftest$ac_exeext conftest.$ac_ext
38556LIBS=$ac_check_lib_save_LIBS
38557fi
38558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5
38559$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; }
38560if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then :
38561  ac_cv_libbfio_dummy=yes
38562else
38563  ac_cv_libbfio=no
38564fi
38565
38566        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5
38567$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; }
38568if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then :
38569  $as_echo_n "(cached) " >&6
38570else
38571  ac_check_lib_save_LIBS=$LIBS
38572LIBS="-lbfio  $LIBS"
38573cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38574/* end confdefs.h.  */
38575
38576/* Override any GCC internal prototype to avoid an error.
38577   Use char because int might match the return type of a GCC
38578   builtin and then its argument prototype would still apply.  */
38579#ifdef __cplusplus
38580extern "C"
38581#endif
38582char libbfio_handle_write_buffer_at_offset ();
38583int
38584main ()
38585{
38586return libbfio_handle_write_buffer_at_offset ();
38587  ;
38588  return 0;
38589}
38590_ACEOF
38591if ac_fn_c_try_link "$LINENO"; then :
38592  ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes
38593else
38594  ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no
38595fi
38596rm -f core conftest.err conftest.$ac_objext \
38597    conftest$ac_exeext conftest.$ac_ext
38598LIBS=$ac_check_lib_save_LIBS
38599fi
38600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5
38601$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; }
38602if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then :
38603  ac_cv_libbfio_dummy=yes
38604else
38605  ac_cv_libbfio=no
38606fi
38607
38608        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5
38609$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; }
38610if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then :
38611  $as_echo_n "(cached) " >&6
38612else
38613  ac_check_lib_save_LIBS=$LIBS
38614LIBS="-lbfio  $LIBS"
38615cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38616/* end confdefs.h.  */
38617
38618/* Override any GCC internal prototype to avoid an error.
38619   Use char because int might match the return type of a GCC
38620   builtin and then its argument prototype would still apply.  */
38621#ifdef __cplusplus
38622extern "C"
38623#endif
38624char libbfio_handle_seek_offset ();
38625int
38626main ()
38627{
38628return libbfio_handle_seek_offset ();
38629  ;
38630  return 0;
38631}
38632_ACEOF
38633if ac_fn_c_try_link "$LINENO"; then :
38634  ac_cv_lib_bfio_libbfio_handle_seek_offset=yes
38635else
38636  ac_cv_lib_bfio_libbfio_handle_seek_offset=no
38637fi
38638rm -f core conftest.err conftest.$ac_objext \
38639    conftest$ac_exeext conftest.$ac_ext
38640LIBS=$ac_check_lib_save_LIBS
38641fi
38642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5
38643$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; }
38644if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then :
38645  ac_cv_libbfio_dummy=yes
38646else
38647  ac_cv_libbfio=no
38648fi
38649
38650
38651        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5
38652$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; }
38653if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then :
38654  $as_echo_n "(cached) " >&6
38655else
38656  ac_check_lib_save_LIBS=$LIBS
38657LIBS="-lbfio  $LIBS"
38658cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38659/* end confdefs.h.  */
38660
38661/* Override any GCC internal prototype to avoid an error.
38662   Use char because int might match the return type of a GCC
38663   builtin and then its argument prototype would still apply.  */
38664#ifdef __cplusplus
38665extern "C"
38666#endif
38667char libbfio_handle_is_open ();
38668int
38669main ()
38670{
38671return libbfio_handle_is_open ();
38672  ;
38673  return 0;
38674}
38675_ACEOF
38676if ac_fn_c_try_link "$LINENO"; then :
38677  ac_cv_lib_bfio_libbfio_handle_is_open=yes
38678else
38679  ac_cv_lib_bfio_libbfio_handle_is_open=no
38680fi
38681rm -f core conftest.err conftest.$ac_objext \
38682    conftest$ac_exeext conftest.$ac_ext
38683LIBS=$ac_check_lib_save_LIBS
38684fi
38685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5
38686$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; }
38687if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then :
38688  ac_cv_libbfio_dummy=yes
38689else
38690  ac_cv_libbfio=no
38691fi
38692
38693        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5
38694$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; }
38695if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then :
38696  $as_echo_n "(cached) " >&6
38697else
38698  ac_check_lib_save_LIBS=$LIBS
38699LIBS="-lbfio  $LIBS"
38700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38701/* end confdefs.h.  */
38702
38703/* Override any GCC internal prototype to avoid an error.
38704   Use char because int might match the return type of a GCC
38705   builtin and then its argument prototype would still apply.  */
38706#ifdef __cplusplus
38707extern "C"
38708#endif
38709char libbfio_handle_get_offset ();
38710int
38711main ()
38712{
38713return libbfio_handle_get_offset ();
38714  ;
38715  return 0;
38716}
38717_ACEOF
38718if ac_fn_c_try_link "$LINENO"; then :
38719  ac_cv_lib_bfio_libbfio_handle_get_offset=yes
38720else
38721  ac_cv_lib_bfio_libbfio_handle_get_offset=no
38722fi
38723rm -f core conftest.err conftest.$ac_objext \
38724    conftest$ac_exeext conftest.$ac_ext
38725LIBS=$ac_check_lib_save_LIBS
38726fi
38727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5
38728$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; }
38729if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then :
38730  ac_cv_libbfio_dummy=yes
38731else
38732  ac_cv_libbfio=no
38733fi
38734
38735        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5
38736$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; }
38737if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then :
38738  $as_echo_n "(cached) " >&6
38739else
38740  ac_check_lib_save_LIBS=$LIBS
38741LIBS="-lbfio  $LIBS"
38742cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38743/* end confdefs.h.  */
38744
38745/* Override any GCC internal prototype to avoid an error.
38746   Use char because int might match the return type of a GCC
38747   builtin and then its argument prototype would still apply.  */
38748#ifdef __cplusplus
38749extern "C"
38750#endif
38751char libbfio_handle_get_size ();
38752int
38753main ()
38754{
38755return libbfio_handle_get_size ();
38756  ;
38757  return 0;
38758}
38759_ACEOF
38760if ac_fn_c_try_link "$LINENO"; then :
38761  ac_cv_lib_bfio_libbfio_handle_get_size=yes
38762else
38763  ac_cv_lib_bfio_libbfio_handle_get_size=no
38764fi
38765rm -f core conftest.err conftest.$ac_objext \
38766    conftest$ac_exeext conftest.$ac_ext
38767LIBS=$ac_check_lib_save_LIBS
38768fi
38769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5
38770$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; }
38771if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then :
38772  ac_cv_libbfio_dummy=yes
38773else
38774  ac_cv_libbfio=no
38775fi
38776
38777        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5
38778$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; }
38779if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then :
38780  $as_echo_n "(cached) " >&6
38781else
38782  ac_check_lib_save_LIBS=$LIBS
38783LIBS="-lbfio  $LIBS"
38784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38785/* end confdefs.h.  */
38786
38787/* Override any GCC internal prototype to avoid an error.
38788   Use char because int might match the return type of a GCC
38789   builtin and then its argument prototype would still apply.  */
38790#ifdef __cplusplus
38791extern "C"
38792#endif
38793char libbfio_handle_set_track_offsets_read ();
38794int
38795main ()
38796{
38797return libbfio_handle_set_track_offsets_read ();
38798  ;
38799  return 0;
38800}
38801_ACEOF
38802if ac_fn_c_try_link "$LINENO"; then :
38803  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes
38804else
38805  ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no
38806fi
38807rm -f core conftest.err conftest.$ac_objext \
38808    conftest$ac_exeext conftest.$ac_ext
38809LIBS=$ac_check_lib_save_LIBS
38810fi
38811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5
38812$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; }
38813if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then :
38814  ac_cv_libbfio_dummy=yes
38815else
38816  ac_cv_libbfio=no
38817fi
38818
38819        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5
38820$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; }
38821if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then :
38822  $as_echo_n "(cached) " >&6
38823else
38824  ac_check_lib_save_LIBS=$LIBS
38825LIBS="-lbfio  $LIBS"
38826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38827/* end confdefs.h.  */
38828
38829/* Override any GCC internal prototype to avoid an error.
38830   Use char because int might match the return type of a GCC
38831   builtin and then its argument prototype would still apply.  */
38832#ifdef __cplusplus
38833extern "C"
38834#endif
38835char libbfio_handle_get_number_of_offsets_read ();
38836int
38837main ()
38838{
38839return libbfio_handle_get_number_of_offsets_read ();
38840  ;
38841  return 0;
38842}
38843_ACEOF
38844if ac_fn_c_try_link "$LINENO"; then :
38845  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes
38846else
38847  ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no
38848fi
38849rm -f core conftest.err conftest.$ac_objext \
38850    conftest$ac_exeext conftest.$ac_ext
38851LIBS=$ac_check_lib_save_LIBS
38852fi
38853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5
38854$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; }
38855if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then :
38856  ac_cv_libbfio_dummy=yes
38857else
38858  ac_cv_libbfio=no
38859fi
38860
38861        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5
38862$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; }
38863if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then :
38864  $as_echo_n "(cached) " >&6
38865else
38866  ac_check_lib_save_LIBS=$LIBS
38867LIBS="-lbfio  $LIBS"
38868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38869/* end confdefs.h.  */
38870
38871/* Override any GCC internal prototype to avoid an error.
38872   Use char because int might match the return type of a GCC
38873   builtin and then its argument prototype would still apply.  */
38874#ifdef __cplusplus
38875extern "C"
38876#endif
38877char libbfio_handle_get_offset_read ();
38878int
38879main ()
38880{
38881return libbfio_handle_get_offset_read ();
38882  ;
38883  return 0;
38884}
38885_ACEOF
38886if ac_fn_c_try_link "$LINENO"; then :
38887  ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes
38888else
38889  ac_cv_lib_bfio_libbfio_handle_get_offset_read=no
38890fi
38891rm -f core conftest.err conftest.$ac_objext \
38892    conftest$ac_exeext conftest.$ac_ext
38893LIBS=$ac_check_lib_save_LIBS
38894fi
38895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5
38896$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; }
38897if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then :
38898  ac_cv_libbfio_dummy=yes
38899else
38900  ac_cv_libbfio=no
38901fi
38902
38903
38904                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5
38905$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; }
38906if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then :
38907  $as_echo_n "(cached) " >&6
38908else
38909  ac_check_lib_save_LIBS=$LIBS
38910LIBS="-lbfio  $LIBS"
38911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38912/* end confdefs.h.  */
38913
38914/* Override any GCC internal prototype to avoid an error.
38915   Use char because int might match the return type of a GCC
38916   builtin and then its argument prototype would still apply.  */
38917#ifdef __cplusplus
38918extern "C"
38919#endif
38920char libbfio_file_initialize ();
38921int
38922main ()
38923{
38924return libbfio_file_initialize ();
38925  ;
38926  return 0;
38927}
38928_ACEOF
38929if ac_fn_c_try_link "$LINENO"; then :
38930  ac_cv_lib_bfio_libbfio_file_initialize=yes
38931else
38932  ac_cv_lib_bfio_libbfio_file_initialize=no
38933fi
38934rm -f core conftest.err conftest.$ac_objext \
38935    conftest$ac_exeext conftest.$ac_ext
38936LIBS=$ac_check_lib_save_LIBS
38937fi
38938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5
38939$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; }
38940if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then :
38941  ac_cv_libbfio_dummy=yes
38942else
38943  ac_cv_libbfio=no
38944fi
38945
38946        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5
38947$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; }
38948if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then :
38949  $as_echo_n "(cached) " >&6
38950else
38951  ac_check_lib_save_LIBS=$LIBS
38952LIBS="-lbfio  $LIBS"
38953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38954/* end confdefs.h.  */
38955
38956/* Override any GCC internal prototype to avoid an error.
38957   Use char because int might match the return type of a GCC
38958   builtin and then its argument prototype would still apply.  */
38959#ifdef __cplusplus
38960extern "C"
38961#endif
38962char libbfio_file_get_name_size ();
38963int
38964main ()
38965{
38966return libbfio_file_get_name_size ();
38967  ;
38968  return 0;
38969}
38970_ACEOF
38971if ac_fn_c_try_link "$LINENO"; then :
38972  ac_cv_lib_bfio_libbfio_file_get_name_size=yes
38973else
38974  ac_cv_lib_bfio_libbfio_file_get_name_size=no
38975fi
38976rm -f core conftest.err conftest.$ac_objext \
38977    conftest$ac_exeext conftest.$ac_ext
38978LIBS=$ac_check_lib_save_LIBS
38979fi
38980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5
38981$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; }
38982if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then :
38983  ac_cv_libbfio_dummy=yes
38984else
38985  ac_cv_libbfio=no
38986fi
38987
38988        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5
38989$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; }
38990if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then :
38991  $as_echo_n "(cached) " >&6
38992else
38993  ac_check_lib_save_LIBS=$LIBS
38994LIBS="-lbfio  $LIBS"
38995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38996/* end confdefs.h.  */
38997
38998/* Override any GCC internal prototype to avoid an error.
38999   Use char because int might match the return type of a GCC
39000   builtin and then its argument prototype would still apply.  */
39001#ifdef __cplusplus
39002extern "C"
39003#endif
39004char libbfio_file_get_name ();
39005int
39006main ()
39007{
39008return libbfio_file_get_name ();
39009  ;
39010  return 0;
39011}
39012_ACEOF
39013if ac_fn_c_try_link "$LINENO"; then :
39014  ac_cv_lib_bfio_libbfio_file_get_name=yes
39015else
39016  ac_cv_lib_bfio_libbfio_file_get_name=no
39017fi
39018rm -f core conftest.err conftest.$ac_objext \
39019    conftest$ac_exeext conftest.$ac_ext
39020LIBS=$ac_check_lib_save_LIBS
39021fi
39022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5
39023$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; }
39024if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then :
39025  ac_cv_libbfio_dummy=yes
39026else
39027  ac_cv_libbfio=no
39028fi
39029
39030        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5
39031$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; }
39032if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then :
39033  $as_echo_n "(cached) " >&6
39034else
39035  ac_check_lib_save_LIBS=$LIBS
39036LIBS="-lbfio  $LIBS"
39037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39038/* end confdefs.h.  */
39039
39040/* Override any GCC internal prototype to avoid an error.
39041   Use char because int might match the return type of a GCC
39042   builtin and then its argument prototype would still apply.  */
39043#ifdef __cplusplus
39044extern "C"
39045#endif
39046char libbfio_file_set_name ();
39047int
39048main ()
39049{
39050return libbfio_file_set_name ();
39051  ;
39052  return 0;
39053}
39054_ACEOF
39055if ac_fn_c_try_link "$LINENO"; then :
39056  ac_cv_lib_bfio_libbfio_file_set_name=yes
39057else
39058  ac_cv_lib_bfio_libbfio_file_set_name=no
39059fi
39060rm -f core conftest.err conftest.$ac_objext \
39061    conftest$ac_exeext conftest.$ac_ext
39062LIBS=$ac_check_lib_save_LIBS
39063fi
39064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5
39065$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; }
39066if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then :
39067  ac_cv_libbfio_dummy=yes
39068else
39069  ac_cv_libbfio=no
39070fi
39071
39072
39073        if test "x$ac_cv_enable_wide_character_type" != xno; then :
39074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5
39075$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; }
39076if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then :
39077  $as_echo_n "(cached) " >&6
39078else
39079  ac_check_lib_save_LIBS=$LIBS
39080LIBS="-lbfio  $LIBS"
39081cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39082/* end confdefs.h.  */
39083
39084/* Override any GCC internal prototype to avoid an error.
39085   Use char because int might match the return type of a GCC
39086   builtin and then its argument prototype would still apply.  */
39087#ifdef __cplusplus
39088extern "C"
39089#endif
39090char libbfio_file_get_name_size_wide ();
39091int
39092main ()
39093{
39094return libbfio_file_get_name_size_wide ();
39095  ;
39096  return 0;
39097}
39098_ACEOF
39099if ac_fn_c_try_link "$LINENO"; then :
39100  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes
39101else
39102  ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no
39103fi
39104rm -f core conftest.err conftest.$ac_objext \
39105    conftest$ac_exeext conftest.$ac_ext
39106LIBS=$ac_check_lib_save_LIBS
39107fi
39108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5
39109$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; }
39110if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then :
39111  ac_cv_libbfio_dummy=yes
39112else
39113  ac_cv_libbfio=no
39114fi
39115
39116          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5
39117$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; }
39118if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then :
39119  $as_echo_n "(cached) " >&6
39120else
39121  ac_check_lib_save_LIBS=$LIBS
39122LIBS="-lbfio  $LIBS"
39123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39124/* end confdefs.h.  */
39125
39126/* Override any GCC internal prototype to avoid an error.
39127   Use char because int might match the return type of a GCC
39128   builtin and then its argument prototype would still apply.  */
39129#ifdef __cplusplus
39130extern "C"
39131#endif
39132char libbfio_file_get_name_wide ();
39133int
39134main ()
39135{
39136return libbfio_file_get_name_wide ();
39137  ;
39138  return 0;
39139}
39140_ACEOF
39141if ac_fn_c_try_link "$LINENO"; then :
39142  ac_cv_lib_bfio_libbfio_file_get_name_wide=yes
39143else
39144  ac_cv_lib_bfio_libbfio_file_get_name_wide=no
39145fi
39146rm -f core conftest.err conftest.$ac_objext \
39147    conftest$ac_exeext conftest.$ac_ext
39148LIBS=$ac_check_lib_save_LIBS
39149fi
39150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5
39151$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; }
39152if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then :
39153  ac_cv_libbfio_dummy=yes
39154else
39155  ac_cv_libbfio=no
39156fi
39157
39158          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5
39159$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; }
39160if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then :
39161  $as_echo_n "(cached) " >&6
39162else
39163  ac_check_lib_save_LIBS=$LIBS
39164LIBS="-lbfio  $LIBS"
39165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39166/* end confdefs.h.  */
39167
39168/* Override any GCC internal prototype to avoid an error.
39169   Use char because int might match the return type of a GCC
39170   builtin and then its argument prototype would still apply.  */
39171#ifdef __cplusplus
39172extern "C"
39173#endif
39174char libbfio_file_set_name_wide ();
39175int
39176main ()
39177{
39178return libbfio_file_set_name_wide ();
39179  ;
39180  return 0;
39181}
39182_ACEOF
39183if ac_fn_c_try_link "$LINENO"; then :
39184  ac_cv_lib_bfio_libbfio_file_set_name_wide=yes
39185else
39186  ac_cv_lib_bfio_libbfio_file_set_name_wide=no
39187fi
39188rm -f core conftest.err conftest.$ac_objext \
39189    conftest$ac_exeext conftest.$ac_ext
39190LIBS=$ac_check_lib_save_LIBS
39191fi
39192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5
39193$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; }
39194if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then :
39195  ac_cv_libbfio_dummy=yes
39196else
39197  ac_cv_libbfio=no
39198fi
39199
39200
39201fi
39202
39203                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5
39204$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; }
39205if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then :
39206  $as_echo_n "(cached) " >&6
39207else
39208  ac_check_lib_save_LIBS=$LIBS
39209LIBS="-lbfio  $LIBS"
39210cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39211/* end confdefs.h.  */
39212
39213/* Override any GCC internal prototype to avoid an error.
39214   Use char because int might match the return type of a GCC
39215   builtin and then its argument prototype would still apply.  */
39216#ifdef __cplusplus
39217extern "C"
39218#endif
39219char libbfio_pool_initialize ();
39220int
39221main ()
39222{
39223return libbfio_pool_initialize ();
39224  ;
39225  return 0;
39226}
39227_ACEOF
39228if ac_fn_c_try_link "$LINENO"; then :
39229  ac_cv_lib_bfio_libbfio_pool_initialize=yes
39230else
39231  ac_cv_lib_bfio_libbfio_pool_initialize=no
39232fi
39233rm -f core conftest.err conftest.$ac_objext \
39234    conftest$ac_exeext conftest.$ac_ext
39235LIBS=$ac_check_lib_save_LIBS
39236fi
39237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5
39238$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; }
39239if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then :
39240  ac_cv_libbfio_dummy=yes
39241else
39242  ac_cv_libbfio=no
39243fi
39244
39245        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5
39246$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; }
39247if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then :
39248  $as_echo_n "(cached) " >&6
39249else
39250  ac_check_lib_save_LIBS=$LIBS
39251LIBS="-lbfio  $LIBS"
39252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39253/* end confdefs.h.  */
39254
39255/* Override any GCC internal prototype to avoid an error.
39256   Use char because int might match the return type of a GCC
39257   builtin and then its argument prototype would still apply.  */
39258#ifdef __cplusplus
39259extern "C"
39260#endif
39261char libbfio_pool_free ();
39262int
39263main ()
39264{
39265return libbfio_pool_free ();
39266  ;
39267  return 0;
39268}
39269_ACEOF
39270if ac_fn_c_try_link "$LINENO"; then :
39271  ac_cv_lib_bfio_libbfio_pool_free=yes
39272else
39273  ac_cv_lib_bfio_libbfio_pool_free=no
39274fi
39275rm -f core conftest.err conftest.$ac_objext \
39276    conftest$ac_exeext conftest.$ac_ext
39277LIBS=$ac_check_lib_save_LIBS
39278fi
39279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5
39280$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; }
39281if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then :
39282  ac_cv_libbfio_dummy=yes
39283else
39284  ac_cv_libbfio=no
39285fi
39286
39287        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5
39288$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; }
39289if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then :
39290  $as_echo_n "(cached) " >&6
39291else
39292  ac_check_lib_save_LIBS=$LIBS
39293LIBS="-lbfio  $LIBS"
39294cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39295/* end confdefs.h.  */
39296
39297/* Override any GCC internal prototype to avoid an error.
39298   Use char because int might match the return type of a GCC
39299   builtin and then its argument prototype would still apply.  */
39300#ifdef __cplusplus
39301extern "C"
39302#endif
39303char libbfio_pool_clone ();
39304int
39305main ()
39306{
39307return libbfio_pool_clone ();
39308  ;
39309  return 0;
39310}
39311_ACEOF
39312if ac_fn_c_try_link "$LINENO"; then :
39313  ac_cv_lib_bfio_libbfio_pool_clone=yes
39314else
39315  ac_cv_lib_bfio_libbfio_pool_clone=no
39316fi
39317rm -f core conftest.err conftest.$ac_objext \
39318    conftest$ac_exeext conftest.$ac_ext
39319LIBS=$ac_check_lib_save_LIBS
39320fi
39321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5
39322$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; }
39323if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then :
39324  ac_cv_libbfio_dummy=yes
39325else
39326  ac_cv_libbfio=no
39327fi
39328
39329
39330        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5
39331$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; }
39332if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then :
39333  $as_echo_n "(cached) " >&6
39334else
39335  ac_check_lib_save_LIBS=$LIBS
39336LIBS="-lbfio  $LIBS"
39337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39338/* end confdefs.h.  */
39339
39340/* Override any GCC internal prototype to avoid an error.
39341   Use char because int might match the return type of a GCC
39342   builtin and then its argument prototype would still apply.  */
39343#ifdef __cplusplus
39344extern "C"
39345#endif
39346char libbfio_pool_get_number_of_handles ();
39347int
39348main ()
39349{
39350return libbfio_pool_get_number_of_handles ();
39351  ;
39352  return 0;
39353}
39354_ACEOF
39355if ac_fn_c_try_link "$LINENO"; then :
39356  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes
39357else
39358  ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no
39359fi
39360rm -f core conftest.err conftest.$ac_objext \
39361    conftest$ac_exeext conftest.$ac_ext
39362LIBS=$ac_check_lib_save_LIBS
39363fi
39364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5
39365$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; }
39366if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then :
39367  ac_cv_libbfio_dummy=yes
39368else
39369  ac_cv_libbfio=no
39370fi
39371
39372        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5
39373$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; }
39374if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then :
39375  $as_echo_n "(cached) " >&6
39376else
39377  ac_check_lib_save_LIBS=$LIBS
39378LIBS="-lbfio  $LIBS"
39379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39380/* end confdefs.h.  */
39381
39382/* Override any GCC internal prototype to avoid an error.
39383   Use char because int might match the return type of a GCC
39384   builtin and then its argument prototype would still apply.  */
39385#ifdef __cplusplus
39386extern "C"
39387#endif
39388char libbfio_pool_get_handle ();
39389int
39390main ()
39391{
39392return libbfio_pool_get_handle ();
39393  ;
39394  return 0;
39395}
39396_ACEOF
39397if ac_fn_c_try_link "$LINENO"; then :
39398  ac_cv_lib_bfio_libbfio_pool_get_handle=yes
39399else
39400  ac_cv_lib_bfio_libbfio_pool_get_handle=no
39401fi
39402rm -f core conftest.err conftest.$ac_objext \
39403    conftest$ac_exeext conftest.$ac_ext
39404LIBS=$ac_check_lib_save_LIBS
39405fi
39406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5
39407$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; }
39408if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then :
39409  ac_cv_libbfio_dummy=yes
39410else
39411  ac_cv_libbfio=no
39412fi
39413
39414        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5
39415$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; }
39416if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then :
39417  $as_echo_n "(cached) " >&6
39418else
39419  ac_check_lib_save_LIBS=$LIBS
39420LIBS="-lbfio  $LIBS"
39421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39422/* end confdefs.h.  */
39423
39424/* Override any GCC internal prototype to avoid an error.
39425   Use char because int might match the return type of a GCC
39426   builtin and then its argument prototype would still apply.  */
39427#ifdef __cplusplus
39428extern "C"
39429#endif
39430char libbfio_pool_set_handle ();
39431int
39432main ()
39433{
39434return libbfio_pool_set_handle ();
39435  ;
39436  return 0;
39437}
39438_ACEOF
39439if ac_fn_c_try_link "$LINENO"; then :
39440  ac_cv_lib_bfio_libbfio_pool_set_handle=yes
39441else
39442  ac_cv_lib_bfio_libbfio_pool_set_handle=no
39443fi
39444rm -f core conftest.err conftest.$ac_objext \
39445    conftest$ac_exeext conftest.$ac_ext
39446LIBS=$ac_check_lib_save_LIBS
39447fi
39448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5
39449$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; }
39450if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then :
39451  ac_cv_libbfio_dummy=yes
39452else
39453  ac_cv_libbfio=no
39454fi
39455
39456        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5
39457$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; }
39458if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then :
39459  $as_echo_n "(cached) " >&6
39460else
39461  ac_check_lib_save_LIBS=$LIBS
39462LIBS="-lbfio  $LIBS"
39463cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39464/* end confdefs.h.  */
39465
39466/* Override any GCC internal prototype to avoid an error.
39467   Use char because int might match the return type of a GCC
39468   builtin and then its argument prototype would still apply.  */
39469#ifdef __cplusplus
39470extern "C"
39471#endif
39472char libbfio_pool_append_handle ();
39473int
39474main ()
39475{
39476return libbfio_pool_append_handle ();
39477  ;
39478  return 0;
39479}
39480_ACEOF
39481if ac_fn_c_try_link "$LINENO"; then :
39482  ac_cv_lib_bfio_libbfio_pool_append_handle=yes
39483else
39484  ac_cv_lib_bfio_libbfio_pool_append_handle=no
39485fi
39486rm -f core conftest.err conftest.$ac_objext \
39487    conftest$ac_exeext conftest.$ac_ext
39488LIBS=$ac_check_lib_save_LIBS
39489fi
39490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5
39491$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; }
39492if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then :
39493  ac_cv_libbfio_dummy=yes
39494else
39495  ac_cv_libbfio=no
39496fi
39497
39498        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5
39499$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; }
39500if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then :
39501  $as_echo_n "(cached) " >&6
39502else
39503  ac_check_lib_save_LIBS=$LIBS
39504LIBS="-lbfio  $LIBS"
39505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39506/* end confdefs.h.  */
39507
39508/* Override any GCC internal prototype to avoid an error.
39509   Use char because int might match the return type of a GCC
39510   builtin and then its argument prototype would still apply.  */
39511#ifdef __cplusplus
39512extern "C"
39513#endif
39514char libbfio_pool_remove_handle ();
39515int
39516main ()
39517{
39518return libbfio_pool_remove_handle ();
39519  ;
39520  return 0;
39521}
39522_ACEOF
39523if ac_fn_c_try_link "$LINENO"; then :
39524  ac_cv_lib_bfio_libbfio_pool_remove_handle=yes
39525else
39526  ac_cv_lib_bfio_libbfio_pool_remove_handle=no
39527fi
39528rm -f core conftest.err conftest.$ac_objext \
39529    conftest$ac_exeext conftest.$ac_ext
39530LIBS=$ac_check_lib_save_LIBS
39531fi
39532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5
39533$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; }
39534if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then :
39535  ac_cv_libbfio_dummy=yes
39536else
39537  ac_cv_libbfio=no
39538fi
39539
39540        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5
39541$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; }
39542if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then :
39543  $as_echo_n "(cached) " >&6
39544else
39545  ac_check_lib_save_LIBS=$LIBS
39546LIBS="-lbfio  $LIBS"
39547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39548/* end confdefs.h.  */
39549
39550/* Override any GCC internal prototype to avoid an error.
39551   Use char because int might match the return type of a GCC
39552   builtin and then its argument prototype would still apply.  */
39553#ifdef __cplusplus
39554extern "C"
39555#endif
39556char libbfio_pool_get_maximum_number_of_open_handles ();
39557int
39558main ()
39559{
39560return libbfio_pool_get_maximum_number_of_open_handles ();
39561  ;
39562  return 0;
39563}
39564_ACEOF
39565if ac_fn_c_try_link "$LINENO"; then :
39566  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes
39567else
39568  ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no
39569fi
39570rm -f core conftest.err conftest.$ac_objext \
39571    conftest$ac_exeext conftest.$ac_ext
39572LIBS=$ac_check_lib_save_LIBS
39573fi
39574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5
39575$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; }
39576if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then :
39577  ac_cv_libbfio_dummy=yes
39578else
39579  ac_cv_libbfio=no
39580fi
39581
39582        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5
39583$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; }
39584if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then :
39585  $as_echo_n "(cached) " >&6
39586else
39587  ac_check_lib_save_LIBS=$LIBS
39588LIBS="-lbfio  $LIBS"
39589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39590/* end confdefs.h.  */
39591
39592/* Override any GCC internal prototype to avoid an error.
39593   Use char because int might match the return type of a GCC
39594   builtin and then its argument prototype would still apply.  */
39595#ifdef __cplusplus
39596extern "C"
39597#endif
39598char libbfio_pool_set_maximum_number_of_open_handles ();
39599int
39600main ()
39601{
39602return libbfio_pool_set_maximum_number_of_open_handles ();
39603  ;
39604  return 0;
39605}
39606_ACEOF
39607if ac_fn_c_try_link "$LINENO"; then :
39608  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes
39609else
39610  ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no
39611fi
39612rm -f core conftest.err conftest.$ac_objext \
39613    conftest$ac_exeext conftest.$ac_ext
39614LIBS=$ac_check_lib_save_LIBS
39615fi
39616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5
39617$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; }
39618if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then :
39619  ac_cv_libbfio_dummy=yes
39620else
39621  ac_cv_libbfio=no
39622fi
39623
39624
39625        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5
39626$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; }
39627if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then :
39628  $as_echo_n "(cached) " >&6
39629else
39630  ac_check_lib_save_LIBS=$LIBS
39631LIBS="-lbfio  $LIBS"
39632cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39633/* end confdefs.h.  */
39634
39635/* Override any GCC internal prototype to avoid an error.
39636   Use char because int might match the return type of a GCC
39637   builtin and then its argument prototype would still apply.  */
39638#ifdef __cplusplus
39639extern "C"
39640#endif
39641char libbfio_pool_open ();
39642int
39643main ()
39644{
39645return libbfio_pool_open ();
39646  ;
39647  return 0;
39648}
39649_ACEOF
39650if ac_fn_c_try_link "$LINENO"; then :
39651  ac_cv_lib_bfio_libbfio_pool_open=yes
39652else
39653  ac_cv_lib_bfio_libbfio_pool_open=no
39654fi
39655rm -f core conftest.err conftest.$ac_objext \
39656    conftest$ac_exeext conftest.$ac_ext
39657LIBS=$ac_check_lib_save_LIBS
39658fi
39659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5
39660$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; }
39661if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then :
39662  ac_cv_libbfio_dummy=yes
39663else
39664  ac_cv_libbfio=no
39665fi
39666
39667        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5
39668$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; }
39669if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then :
39670  $as_echo_n "(cached) " >&6
39671else
39672  ac_check_lib_save_LIBS=$LIBS
39673LIBS="-lbfio  $LIBS"
39674cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39675/* end confdefs.h.  */
39676
39677/* Override any GCC internal prototype to avoid an error.
39678   Use char because int might match the return type of a GCC
39679   builtin and then its argument prototype would still apply.  */
39680#ifdef __cplusplus
39681extern "C"
39682#endif
39683char libbfio_pool_reopen ();
39684int
39685main ()
39686{
39687return libbfio_pool_reopen ();
39688  ;
39689  return 0;
39690}
39691_ACEOF
39692if ac_fn_c_try_link "$LINENO"; then :
39693  ac_cv_lib_bfio_libbfio_pool_reopen=yes
39694else
39695  ac_cv_lib_bfio_libbfio_pool_reopen=no
39696fi
39697rm -f core conftest.err conftest.$ac_objext \
39698    conftest$ac_exeext conftest.$ac_ext
39699LIBS=$ac_check_lib_save_LIBS
39700fi
39701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5
39702$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; }
39703if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then :
39704  ac_cv_libbfio_dummy=yes
39705else
39706  ac_cv_libbfio=no
39707fi
39708
39709        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5
39710$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; }
39711if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then :
39712  $as_echo_n "(cached) " >&6
39713else
39714  ac_check_lib_save_LIBS=$LIBS
39715LIBS="-lbfio  $LIBS"
39716cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39717/* end confdefs.h.  */
39718
39719/* Override any GCC internal prototype to avoid an error.
39720   Use char because int might match the return type of a GCC
39721   builtin and then its argument prototype would still apply.  */
39722#ifdef __cplusplus
39723extern "C"
39724#endif
39725char libbfio_pool_close ();
39726int
39727main ()
39728{
39729return libbfio_pool_close ();
39730  ;
39731  return 0;
39732}
39733_ACEOF
39734if ac_fn_c_try_link "$LINENO"; then :
39735  ac_cv_lib_bfio_libbfio_pool_close=yes
39736else
39737  ac_cv_lib_bfio_libbfio_pool_close=no
39738fi
39739rm -f core conftest.err conftest.$ac_objext \
39740    conftest$ac_exeext conftest.$ac_ext
39741LIBS=$ac_check_lib_save_LIBS
39742fi
39743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5
39744$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; }
39745if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then :
39746  ac_cv_libbfio_dummy=yes
39747else
39748  ac_cv_libbfio=no
39749fi
39750
39751        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5
39752$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; }
39753if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then :
39754  $as_echo_n "(cached) " >&6
39755else
39756  ac_check_lib_save_LIBS=$LIBS
39757LIBS="-lbfio  $LIBS"
39758cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39759/* end confdefs.h.  */
39760
39761/* Override any GCC internal prototype to avoid an error.
39762   Use char because int might match the return type of a GCC
39763   builtin and then its argument prototype would still apply.  */
39764#ifdef __cplusplus
39765extern "C"
39766#endif
39767char libbfio_pool_close_all ();
39768int
39769main ()
39770{
39771return libbfio_pool_close_all ();
39772  ;
39773  return 0;
39774}
39775_ACEOF
39776if ac_fn_c_try_link "$LINENO"; then :
39777  ac_cv_lib_bfio_libbfio_pool_close_all=yes
39778else
39779  ac_cv_lib_bfio_libbfio_pool_close_all=no
39780fi
39781rm -f core conftest.err conftest.$ac_objext \
39782    conftest$ac_exeext conftest.$ac_ext
39783LIBS=$ac_check_lib_save_LIBS
39784fi
39785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5
39786$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; }
39787if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then :
39788  ac_cv_libbfio_dummy=yes
39789else
39790  ac_cv_libbfio=no
39791fi
39792
39793        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5
39794$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; }
39795if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then :
39796  $as_echo_n "(cached) " >&6
39797else
39798  ac_check_lib_save_LIBS=$LIBS
39799LIBS="-lbfio  $LIBS"
39800cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39801/* end confdefs.h.  */
39802
39803/* Override any GCC internal prototype to avoid an error.
39804   Use char because int might match the return type of a GCC
39805   builtin and then its argument prototype would still apply.  */
39806#ifdef __cplusplus
39807extern "C"
39808#endif
39809char libbfio_pool_read_buffer ();
39810int
39811main ()
39812{
39813return libbfio_pool_read_buffer ();
39814  ;
39815  return 0;
39816}
39817_ACEOF
39818if ac_fn_c_try_link "$LINENO"; then :
39819  ac_cv_lib_bfio_libbfio_pool_read_buffer=yes
39820else
39821  ac_cv_lib_bfio_libbfio_pool_read_buffer=no
39822fi
39823rm -f core conftest.err conftest.$ac_objext \
39824    conftest$ac_exeext conftest.$ac_ext
39825LIBS=$ac_check_lib_save_LIBS
39826fi
39827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5
39828$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; }
39829if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then :
39830  ac_cv_libbfio_dummy=yes
39831else
39832  ac_cv_libbfio=no
39833fi
39834
39835        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5
39836$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; }
39837if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then :
39838  $as_echo_n "(cached) " >&6
39839else
39840  ac_check_lib_save_LIBS=$LIBS
39841LIBS="-lbfio  $LIBS"
39842cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39843/* end confdefs.h.  */
39844
39845/* Override any GCC internal prototype to avoid an error.
39846   Use char because int might match the return type of a GCC
39847   builtin and then its argument prototype would still apply.  */
39848#ifdef __cplusplus
39849extern "C"
39850#endif
39851char libbfio_pool_read_buffer_at_offset ();
39852int
39853main ()
39854{
39855return libbfio_pool_read_buffer_at_offset ();
39856  ;
39857  return 0;
39858}
39859_ACEOF
39860if ac_fn_c_try_link "$LINENO"; then :
39861  ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes
39862else
39863  ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no
39864fi
39865rm -f core conftest.err conftest.$ac_objext \
39866    conftest$ac_exeext conftest.$ac_ext
39867LIBS=$ac_check_lib_save_LIBS
39868fi
39869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5
39870$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; }
39871if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then :
39872  ac_cv_libbfio_dummy=yes
39873else
39874  ac_cv_libbfio=no
39875fi
39876
39877        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5
39878$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; }
39879if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then :
39880  $as_echo_n "(cached) " >&6
39881else
39882  ac_check_lib_save_LIBS=$LIBS
39883LIBS="-lbfio  $LIBS"
39884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39885/* end confdefs.h.  */
39886
39887/* Override any GCC internal prototype to avoid an error.
39888   Use char because int might match the return type of a GCC
39889   builtin and then its argument prototype would still apply.  */
39890#ifdef __cplusplus
39891extern "C"
39892#endif
39893char libbfio_pool_write_buffer ();
39894int
39895main ()
39896{
39897return libbfio_pool_write_buffer ();
39898  ;
39899  return 0;
39900}
39901_ACEOF
39902if ac_fn_c_try_link "$LINENO"; then :
39903  ac_cv_lib_bfio_libbfio_pool_write_buffer=yes
39904else
39905  ac_cv_lib_bfio_libbfio_pool_write_buffer=no
39906fi
39907rm -f core conftest.err conftest.$ac_objext \
39908    conftest$ac_exeext conftest.$ac_ext
39909LIBS=$ac_check_lib_save_LIBS
39910fi
39911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5
39912$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; }
39913if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then :
39914  ac_cv_libbfio_dummy=yes
39915else
39916  ac_cv_libbfio=no
39917fi
39918
39919        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5
39920$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; }
39921if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then :
39922  $as_echo_n "(cached) " >&6
39923else
39924  ac_check_lib_save_LIBS=$LIBS
39925LIBS="-lbfio  $LIBS"
39926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39927/* end confdefs.h.  */
39928
39929/* Override any GCC internal prototype to avoid an error.
39930   Use char because int might match the return type of a GCC
39931   builtin and then its argument prototype would still apply.  */
39932#ifdef __cplusplus
39933extern "C"
39934#endif
39935char libbfio_pool_write_buffer_at_offset ();
39936int
39937main ()
39938{
39939return libbfio_pool_write_buffer_at_offset ();
39940  ;
39941  return 0;
39942}
39943_ACEOF
39944if ac_fn_c_try_link "$LINENO"; then :
39945  ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes
39946else
39947  ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no
39948fi
39949rm -f core conftest.err conftest.$ac_objext \
39950    conftest$ac_exeext conftest.$ac_ext
39951LIBS=$ac_check_lib_save_LIBS
39952fi
39953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5
39954$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; }
39955if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then :
39956  ac_cv_libbfio_dummy=yes
39957else
39958  ac_cv_libbfio=no
39959fi
39960
39961        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5
39962$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; }
39963if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then :
39964  $as_echo_n "(cached) " >&6
39965else
39966  ac_check_lib_save_LIBS=$LIBS
39967LIBS="-lbfio  $LIBS"
39968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39969/* end confdefs.h.  */
39970
39971/* Override any GCC internal prototype to avoid an error.
39972   Use char because int might match the return type of a GCC
39973   builtin and then its argument prototype would still apply.  */
39974#ifdef __cplusplus
39975extern "C"
39976#endif
39977char libbfio_pool_seek_offset ();
39978int
39979main ()
39980{
39981return libbfio_pool_seek_offset ();
39982  ;
39983  return 0;
39984}
39985_ACEOF
39986if ac_fn_c_try_link "$LINENO"; then :
39987  ac_cv_lib_bfio_libbfio_pool_seek_offset=yes
39988else
39989  ac_cv_lib_bfio_libbfio_pool_seek_offset=no
39990fi
39991rm -f core conftest.err conftest.$ac_objext \
39992    conftest$ac_exeext conftest.$ac_ext
39993LIBS=$ac_check_lib_save_LIBS
39994fi
39995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5
39996$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; }
39997if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then :
39998  ac_cv_libbfio_dummy=yes
39999else
40000  ac_cv_libbfio=no
40001fi
40002
40003        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5
40004$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; }
40005if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then :
40006  $as_echo_n "(cached) " >&6
40007else
40008  ac_check_lib_save_LIBS=$LIBS
40009LIBS="-lbfio  $LIBS"
40010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40011/* end confdefs.h.  */
40012
40013/* Override any GCC internal prototype to avoid an error.
40014   Use char because int might match the return type of a GCC
40015   builtin and then its argument prototype would still apply.  */
40016#ifdef __cplusplus
40017extern "C"
40018#endif
40019char libbfio_pool_get_offset ();
40020int
40021main ()
40022{
40023return libbfio_pool_get_offset ();
40024  ;
40025  return 0;
40026}
40027_ACEOF
40028if ac_fn_c_try_link "$LINENO"; then :
40029  ac_cv_lib_bfio_libbfio_pool_get_offset=yes
40030else
40031  ac_cv_lib_bfio_libbfio_pool_get_offset=no
40032fi
40033rm -f core conftest.err conftest.$ac_objext \
40034    conftest$ac_exeext conftest.$ac_ext
40035LIBS=$ac_check_lib_save_LIBS
40036fi
40037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5
40038$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; }
40039if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then :
40040  ac_cv_libbfio_dummy=yes
40041else
40042  ac_cv_libbfio=no
40043fi
40044
40045        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5
40046$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; }
40047if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then :
40048  $as_echo_n "(cached) " >&6
40049else
40050  ac_check_lib_save_LIBS=$LIBS
40051LIBS="-lbfio  $LIBS"
40052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40053/* end confdefs.h.  */
40054
40055/* Override any GCC internal prototype to avoid an error.
40056   Use char because int might match the return type of a GCC
40057   builtin and then its argument prototype would still apply.  */
40058#ifdef __cplusplus
40059extern "C"
40060#endif
40061char libbfio_pool_get_size ();
40062int
40063main ()
40064{
40065return libbfio_pool_get_size ();
40066  ;
40067  return 0;
40068}
40069_ACEOF
40070if ac_fn_c_try_link "$LINENO"; then :
40071  ac_cv_lib_bfio_libbfio_pool_get_size=yes
40072else
40073  ac_cv_lib_bfio_libbfio_pool_get_size=no
40074fi
40075rm -f core conftest.err conftest.$ac_objext \
40076    conftest$ac_exeext conftest.$ac_ext
40077LIBS=$ac_check_lib_save_LIBS
40078fi
40079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5
40080$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; }
40081if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then :
40082  ac_cv_libbfio_dummy=yes
40083else
40084  ac_cv_libbfio=no
40085fi
40086
40087
40088                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5
40089$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; }
40090if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then :
40091  $as_echo_n "(cached) " >&6
40092else
40093  ac_check_lib_save_LIBS=$LIBS
40094LIBS="-lbfio  $LIBS"
40095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40096/* end confdefs.h.  */
40097
40098/* Override any GCC internal prototype to avoid an error.
40099   Use char because int might match the return type of a GCC
40100   builtin and then its argument prototype would still apply.  */
40101#ifdef __cplusplus
40102extern "C"
40103#endif
40104char libbfio_file_pool_open ();
40105int
40106main ()
40107{
40108return libbfio_file_pool_open ();
40109  ;
40110  return 0;
40111}
40112_ACEOF
40113if ac_fn_c_try_link "$LINENO"; then :
40114  ac_cv_lib_bfio_libbfio_file_pool_open=yes
40115else
40116  ac_cv_lib_bfio_libbfio_file_pool_open=no
40117fi
40118rm -f core conftest.err conftest.$ac_objext \
40119    conftest$ac_exeext conftest.$ac_ext
40120LIBS=$ac_check_lib_save_LIBS
40121fi
40122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5
40123$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; }
40124if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then :
40125  ac_cv_libbfio_dummy=yes
40126else
40127  ac_cv_libbfio=no
40128fi
40129
40130
40131        if test "x$ac_cv_enable_wide_character_type" != xno; then :
40132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5
40133$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; }
40134if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then :
40135  $as_echo_n "(cached) " >&6
40136else
40137  ac_check_lib_save_LIBS=$LIBS
40138LIBS="-lbfio  $LIBS"
40139cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40140/* end confdefs.h.  */
40141
40142/* Override any GCC internal prototype to avoid an error.
40143   Use char because int might match the return type of a GCC
40144   builtin and then its argument prototype would still apply.  */
40145#ifdef __cplusplus
40146extern "C"
40147#endif
40148char libbfio_file_pool_open_wide ();
40149int
40150main ()
40151{
40152return libbfio_file_pool_open_wide ();
40153  ;
40154  return 0;
40155}
40156_ACEOF
40157if ac_fn_c_try_link "$LINENO"; then :
40158  ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes
40159else
40160  ac_cv_lib_bfio_libbfio_file_pool_open_wide=no
40161fi
40162rm -f core conftest.err conftest.$ac_objext \
40163    conftest$ac_exeext conftest.$ac_ext
40164LIBS=$ac_check_lib_save_LIBS
40165fi
40166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5
40167$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; }
40168if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then :
40169  ac_cv_libbfio_dummy=yes
40170else
40171  ac_cv_libbfio=no
40172fi
40173
40174
40175fi
40176
40177        ac_cv_libbfio_LIBADD="-lbfio"
40178fi
40179
40180fi
40181    if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then :
40182  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40183$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40184as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio
40185See \`config.log' for more details" "$LINENO" 5; }
40186
40187fi
40188
40189fi
40190
40191  if test "x$ac_cv_libbfio" = xyes; then :
40192
40193$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h
40194
40195
40196fi
40197
40198  if test "x$ac_cv_libbfio" = xyes; then :
40199  HAVE_LIBBFIO=1
40200
40201else
40202  HAVE_LIBBFIO=0
40203
40204
40205fi
40206
40207
40208    if test "x$ac_cv_libbfio" != xyes; then :
40209
40210  ac_cv_libbfio_CPPFLAGS="-I../libbfio";
40211  ac_cv_libbfio_LIBADD="../libbfio/libbfio.la";
40212
40213  ac_cv_libbfio=local
40214
40215
40216
40217$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h
40218
40219    HAVE_LOCAL_LIBBFIO=1
40220
40221
40222fi
40223
40224   if test "x$ac_cv_libbfio" = xlocal; then
40225  HAVE_LOCAL_LIBBFIO_TRUE=
40226  HAVE_LOCAL_LIBBFIO_FALSE='#'
40227else
40228  HAVE_LOCAL_LIBBFIO_TRUE='#'
40229  HAVE_LOCAL_LIBBFIO_FALSE=
40230fi
40231
40232  if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then :
40233  LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS
40234
40235
40236fi
40237  if test "x$ac_cv_libbfio_LIBADD" != "x"; then :
40238  LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD
40239
40240
40241fi
40242
40243  if test "x$ac_cv_libbfio" = xyes; then :
40244  ax_libbfio_pc_libs_private=-lbfio
40245
40246
40247fi
40248
40249  if test "x$ac_cv_libbfio" = xyes; then :
40250  ax_libbfio_spec_requires=libbfio
40251
40252    ax_libbfio_spec_build_requires=libbfio-devel
40253
40254
40255fi
40256
40257
40258
40259
40260# Check whether --with-libfcache was given.
40261if test "${with_libfcache+set}" = set; then :
40262  withval=$with_libfcache; ac_cv_with_libfcache=$withval
40263else
40264  ac_cv_with_libfcache=auto-detect
40265fi
40266
40267    { $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
40268$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; }
40269if ${ac_cv_with_libfcache+:} false; then :
40270  $as_echo_n "(cached) " >&6
40271else
40272  ac_cv_with_libfcache=auto-detect
40273fi
40274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5
40275$as_echo "$ac_cv_with_libfcache" >&6; }
40276
40277    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then :
40278  ac_cv_libfcache=no
40279else
40280  ac_cv_libfcache=check
40281        if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then :
40282  if test -d "$ac_cv_with_libfcache"; then :
40283  CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include"
40284        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib"
40285else
40286  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40287$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
40288as_fn_error 1 "no such directory: $ac_cv_with_libfcache
40289See \`config.log' for more details" "$LINENO" 5; }
40290
40291fi
40292
40293else
40294        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
40295
40296pkg_failed=no
40297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5
40298$as_echo_n "checking for libfcache... " >&6; }
40299
40300if test -n "$libfcache_CFLAGS"; then
40301    pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS"
40302 elif test -n "$PKG_CONFIG"; then
40303    if test -n "$PKG_CONFIG" && \
40304    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
40305  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
40306  ac_status=$?
40307  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40308  test $ac_status = 0; }; then
40309  pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null`
40310		      test "x$?" != "x0" && pkg_failed=yes
40311else
40312  pkg_failed=yes
40313fi
40314 else
40315    pkg_failed=untried
40316fi
40317if test -n "$libfcache_LIBS"; then
40318    pkg_cv_libfcache_LIBS="$libfcache_LIBS"
40319 elif test -n "$PKG_CONFIG"; then
40320    if test -n "$PKG_CONFIG" && \
40321    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5
40322  ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5
40323  ac_status=$?
40324  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40325  test $ac_status = 0; }; then
40326  pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null`
40327		      test "x$?" != "x0" && pkg_failed=yes
40328else
40329  pkg_failed=yes
40330fi
40331 else
40332    pkg_failed=untried
40333fi
40334
40335
40336
40337if test $pkg_failed = yes; then
40338   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40339$as_echo "no" >&6; }
40340
40341if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40342        _pkg_short_errors_supported=yes
40343else
40344        _pkg_short_errors_supported=no
40345fi
40346        if test $_pkg_short_errors_supported = yes; then
40347	        libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
40348        else
40349	        libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1`
40350        fi
40351	# Put the nasty error message in config.log where it belongs
40352	echo "$libfcache_PKG_ERRORS" >&5
40353
40354	ac_cv_libfcache=check
40355elif test $pkg_failed = untried; then
40356     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40357$as_echo "no" >&6; }
40358	ac_cv_libfcache=check
40359else
40360	libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS
40361	libfcache_LIBS=$pkg_cv_libfcache_LIBS
40362        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40363$as_echo "yes" >&6; }
40364	ac_cv_libfcache=yes
40365fi
40366
40367fi
40368      if test "x$ac_cv_libfcache" = xyes; then :
40369  ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS"
40370        ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS"
40371fi
40372
40373fi
40374
40375    if test "x$ac_cv_libfcache" = xcheck; then :
40376        for ac_header in libfcache.h
40377do :
40378  ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default"
40379if test "x$ac_cv_header_libfcache_h" = xyes; then :
40380  cat >>confdefs.h <<_ACEOF
40381#define HAVE_LIBFCACHE_H 1
40382_ACEOF
40383
40384fi
40385
40386done
40387
40388
40389      if test "x$ac_cv_header_libfcache_h" = xno; then :
40390  ac_cv_libfcache=no
40391else
40392          ac_cv_libfcache=yes
40393
40394        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5
40395$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; }
40396if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then :
40397  $as_echo_n "(cached) " >&6
40398else
40399  ac_check_lib_save_LIBS=$LIBS
40400LIBS="-lfcache  $LIBS"
40401cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40402/* end confdefs.h.  */
40403
40404/* Override any GCC internal prototype to avoid an error.
40405   Use char because int might match the return type of a GCC
40406   builtin and then its argument prototype would still apply.  */
40407#ifdef __cplusplus
40408extern "C"
40409#endif
40410char libfcache_get_version ();
40411int
40412main ()
40413{
40414return libfcache_get_version ();
40415  ;
40416  return 0;
40417}
40418_ACEOF
40419if ac_fn_c_try_link "$LINENO"; then :
40420  ac_cv_lib_fcache_libfcache_get_version=yes
40421else
40422  ac_cv_lib_fcache_libfcache_get_version=no
40423fi
40424rm -f core conftest.err conftest.$ac_objext \
40425    conftest$ac_exeext conftest.$ac_ext
40426LIBS=$ac_check_lib_save_LIBS
40427fi
40428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5
40429$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; }
40430if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then :
40431  ac_cv_libfcache_dummy=yes
40432else
40433  ac_cv_libfcache=no
40434fi
40435
40436
40437                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5
40438$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; }
40439if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then :
40440  $as_echo_n "(cached) " >&6
40441else
40442  ac_check_lib_save_LIBS=$LIBS
40443LIBS="-lfcache  $LIBS"
40444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40445/* end confdefs.h.  */
40446
40447/* Override any GCC internal prototype to avoid an error.
40448   Use char because int might match the return type of a GCC
40449   builtin and then its argument prototype would still apply.  */
40450#ifdef __cplusplus
40451extern "C"
40452#endif
40453char libfcache_cache_initialize ();
40454int
40455main ()
40456{
40457return libfcache_cache_initialize ();
40458  ;
40459  return 0;
40460}
40461_ACEOF
40462if ac_fn_c_try_link "$LINENO"; then :
40463  ac_cv_lib_fcache_libfcache_cache_initialize=yes
40464else
40465  ac_cv_lib_fcache_libfcache_cache_initialize=no
40466fi
40467rm -f core conftest.err conftest.$ac_objext \
40468    conftest$ac_exeext conftest.$ac_ext
40469LIBS=$ac_check_lib_save_LIBS
40470fi
40471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5
40472$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; }
40473if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then :
40474  ac_cv_libfcache_dummy=yes
40475else
40476  ac_cv_libfcache=no
40477fi
40478
40479        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5
40480$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; }
40481if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then :
40482  $as_echo_n "(cached) " >&6
40483else
40484  ac_check_lib_save_LIBS=$LIBS
40485LIBS="-lfcache  $LIBS"
40486cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40487/* end confdefs.h.  */
40488
40489/* Override any GCC internal prototype to avoid an error.
40490   Use char because int might match the return type of a GCC
40491   builtin and then its argument prototype would still apply.  */
40492#ifdef __cplusplus
40493extern "C"
40494#endif
40495char libfcache_cache_free ();
40496int
40497main ()
40498{
40499return libfcache_cache_free ();
40500  ;
40501  return 0;
40502}
40503_ACEOF
40504if ac_fn_c_try_link "$LINENO"; then :
40505  ac_cv_lib_fcache_libfcache_cache_free=yes
40506else
40507  ac_cv_lib_fcache_libfcache_cache_free=no
40508fi
40509rm -f core conftest.err conftest.$ac_objext \
40510    conftest$ac_exeext conftest.$ac_ext
40511LIBS=$ac_check_lib_save_LIBS
40512fi
40513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5
40514$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; }
40515if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then :
40516  ac_cv_libfcache_dummy=yes
40517else
40518  ac_cv_libfcache=no
40519fi
40520
40521        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5
40522$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; }
40523if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then :
40524  $as_echo_n "(cached) " >&6
40525else
40526  ac_check_lib_save_LIBS=$LIBS
40527LIBS="-lfcache  $LIBS"
40528cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40529/* end confdefs.h.  */
40530
40531/* Override any GCC internal prototype to avoid an error.
40532   Use char because int might match the return type of a GCC
40533   builtin and then its argument prototype would still apply.  */
40534#ifdef __cplusplus
40535extern "C"
40536#endif
40537char libfcache_cache_clone ();
40538int
40539main ()
40540{
40541return libfcache_cache_clone ();
40542  ;
40543  return 0;
40544}
40545_ACEOF
40546if ac_fn_c_try_link "$LINENO"; then :
40547  ac_cv_lib_fcache_libfcache_cache_clone=yes
40548else
40549  ac_cv_lib_fcache_libfcache_cache_clone=no
40550fi
40551rm -f core conftest.err conftest.$ac_objext \
40552    conftest$ac_exeext conftest.$ac_ext
40553LIBS=$ac_check_lib_save_LIBS
40554fi
40555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5
40556$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; }
40557if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then :
40558  ac_cv_libfcache_dummy=yes
40559else
40560  ac_cv_libfcache=no
40561fi
40562
40563        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5
40564$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; }
40565if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then :
40566  $as_echo_n "(cached) " >&6
40567else
40568  ac_check_lib_save_LIBS=$LIBS
40569LIBS="-lfcache  $LIBS"
40570cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40571/* end confdefs.h.  */
40572
40573/* Override any GCC internal prototype to avoid an error.
40574   Use char because int might match the return type of a GCC
40575   builtin and then its argument prototype would still apply.  */
40576#ifdef __cplusplus
40577extern "C"
40578#endif
40579char libfcache_cache_clear ();
40580int
40581main ()
40582{
40583return libfcache_cache_clear ();
40584  ;
40585  return 0;
40586}
40587_ACEOF
40588if ac_fn_c_try_link "$LINENO"; then :
40589  ac_cv_lib_fcache_libfcache_cache_clear=yes
40590else
40591  ac_cv_lib_fcache_libfcache_cache_clear=no
40592fi
40593rm -f core conftest.err conftest.$ac_objext \
40594    conftest$ac_exeext conftest.$ac_ext
40595LIBS=$ac_check_lib_save_LIBS
40596fi
40597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5
40598$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; }
40599if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then :
40600  ac_cv_libfcache_dummy=yes
40601else
40602  ac_cv_libfcache=no
40603fi
40604
40605        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5
40606$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; }
40607if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then :
40608  $as_echo_n "(cached) " >&6
40609else
40610  ac_check_lib_save_LIBS=$LIBS
40611LIBS="-lfcache  $LIBS"
40612cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40613/* end confdefs.h.  */
40614
40615/* Override any GCC internal prototype to avoid an error.
40616   Use char because int might match the return type of a GCC
40617   builtin and then its argument prototype would still apply.  */
40618#ifdef __cplusplus
40619extern "C"
40620#endif
40621char libfcache_cache_get_number_of_entries ();
40622int
40623main ()
40624{
40625return libfcache_cache_get_number_of_entries ();
40626  ;
40627  return 0;
40628}
40629_ACEOF
40630if ac_fn_c_try_link "$LINENO"; then :
40631  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes
40632else
40633  ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no
40634fi
40635rm -f core conftest.err conftest.$ac_objext \
40636    conftest$ac_exeext conftest.$ac_ext
40637LIBS=$ac_check_lib_save_LIBS
40638fi
40639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5
40640$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; }
40641if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then :
40642  ac_cv_libfcache_dummy=yes
40643else
40644  ac_cv_libfcache=no
40645fi
40646
40647        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5
40648$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; }
40649if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then :
40650  $as_echo_n "(cached) " >&6
40651else
40652  ac_check_lib_save_LIBS=$LIBS
40653LIBS="-lfcache  $LIBS"
40654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40655/* end confdefs.h.  */
40656
40657/* Override any GCC internal prototype to avoid an error.
40658   Use char because int might match the return type of a GCC
40659   builtin and then its argument prototype would still apply.  */
40660#ifdef __cplusplus
40661extern "C"
40662#endif
40663char libfcache_cache_get_number_of_cache_values ();
40664int
40665main ()
40666{
40667return libfcache_cache_get_number_of_cache_values ();
40668  ;
40669  return 0;
40670}
40671_ACEOF
40672if ac_fn_c_try_link "$LINENO"; then :
40673  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes
40674else
40675  ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no
40676fi
40677rm -f core conftest.err conftest.$ac_objext \
40678    conftest$ac_exeext conftest.$ac_ext
40679LIBS=$ac_check_lib_save_LIBS
40680fi
40681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5
40682$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; }
40683if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then :
40684  ac_cv_libfcache_dummy=yes
40685else
40686  ac_cv_libfcache=no
40687fi
40688
40689        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5
40690$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; }
40691if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then :
40692  $as_echo_n "(cached) " >&6
40693else
40694  ac_check_lib_save_LIBS=$LIBS
40695LIBS="-lfcache  $LIBS"
40696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40697/* end confdefs.h.  */
40698
40699/* Override any GCC internal prototype to avoid an error.
40700   Use char because int might match the return type of a GCC
40701   builtin and then its argument prototype would still apply.  */
40702#ifdef __cplusplus
40703extern "C"
40704#endif
40705char libfcache_cache_clear_value_by_index ();
40706int
40707main ()
40708{
40709return libfcache_cache_clear_value_by_index ();
40710  ;
40711  return 0;
40712}
40713_ACEOF
40714if ac_fn_c_try_link "$LINENO"; then :
40715  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes
40716else
40717  ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no
40718fi
40719rm -f core conftest.err conftest.$ac_objext \
40720    conftest$ac_exeext conftest.$ac_ext
40721LIBS=$ac_check_lib_save_LIBS
40722fi
40723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5
40724$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; }
40725if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then :
40726  ac_cv_libfcache_dummy=yes
40727else
40728  ac_cv_libfcache=no
40729fi
40730
40731        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5
40732$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; }
40733if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then :
40734  $as_echo_n "(cached) " >&6
40735else
40736  ac_check_lib_save_LIBS=$LIBS
40737LIBS="-lfcache  $LIBS"
40738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40739/* end confdefs.h.  */
40740
40741/* Override any GCC internal prototype to avoid an error.
40742   Use char because int might match the return type of a GCC
40743   builtin and then its argument prototype would still apply.  */
40744#ifdef __cplusplus
40745extern "C"
40746#endif
40747char libfcache_cache_get_value_by_identifier ();
40748int
40749main ()
40750{
40751return libfcache_cache_get_value_by_identifier ();
40752  ;
40753  return 0;
40754}
40755_ACEOF
40756if ac_fn_c_try_link "$LINENO"; then :
40757  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes
40758else
40759  ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no
40760fi
40761rm -f core conftest.err conftest.$ac_objext \
40762    conftest$ac_exeext conftest.$ac_ext
40763LIBS=$ac_check_lib_save_LIBS
40764fi
40765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5
40766$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; }
40767if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then :
40768  ac_cv_libfcache_dummy=yes
40769else
40770  ac_cv_libfcache=no
40771fi
40772
40773        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5
40774$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; }
40775if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then :
40776  $as_echo_n "(cached) " >&6
40777else
40778  ac_check_lib_save_LIBS=$LIBS
40779LIBS="-lfcache  $LIBS"
40780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40781/* end confdefs.h.  */
40782
40783/* Override any GCC internal prototype to avoid an error.
40784   Use char because int might match the return type of a GCC
40785   builtin and then its argument prototype would still apply.  */
40786#ifdef __cplusplus
40787extern "C"
40788#endif
40789char libfcache_cache_get_value_by_index ();
40790int
40791main ()
40792{
40793return libfcache_cache_get_value_by_index ();
40794  ;
40795  return 0;
40796}
40797_ACEOF
40798if ac_fn_c_try_link "$LINENO"; then :
40799  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes
40800else
40801  ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no
40802fi
40803rm -f core conftest.err conftest.$ac_objext \
40804    conftest$ac_exeext conftest.$ac_ext
40805LIBS=$ac_check_lib_save_LIBS
40806fi
40807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5
40808$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; }
40809if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then :
40810  ac_cv_libfcache_dummy=yes
40811else
40812  ac_cv_libfcache=no
40813fi
40814
40815        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5
40816$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; }
40817if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then :
40818  $as_echo_n "(cached) " >&6
40819else
40820  ac_check_lib_save_LIBS=$LIBS
40821LIBS="-lfcache  $LIBS"
40822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40823/* end confdefs.h.  */
40824
40825/* Override any GCC internal prototype to avoid an error.
40826   Use char because int might match the return type of a GCC
40827   builtin and then its argument prototype would still apply.  */
40828#ifdef __cplusplus
40829extern "C"
40830#endif
40831char libfcache_cache_set_value_by_identifier ();
40832int
40833main ()
40834{
40835return libfcache_cache_set_value_by_identifier ();
40836  ;
40837  return 0;
40838}
40839_ACEOF
40840if ac_fn_c_try_link "$LINENO"; then :
40841  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes
40842else
40843  ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no
40844fi
40845rm -f core conftest.err conftest.$ac_objext \
40846    conftest$ac_exeext conftest.$ac_ext
40847LIBS=$ac_check_lib_save_LIBS
40848fi
40849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5
40850$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; }
40851if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then :
40852  ac_cv_libfcache_dummy=yes
40853else
40854  ac_cv_libfcache=no
40855fi
40856
40857        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5
40858$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; }
40859if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then :
40860  $as_echo_n "(cached) " >&6
40861else
40862  ac_check_lib_save_LIBS=$LIBS
40863LIBS="-lfcache  $LIBS"
40864cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40865/* end confdefs.h.  */
40866
40867/* Override any GCC internal prototype to avoid an error.
40868   Use char because int might match the return type of a GCC
40869   builtin and then its argument prototype would still apply.  */
40870#ifdef __cplusplus
40871extern "C"
40872#endif
40873char libfcache_cache_set_value_by_index ();
40874int
40875main ()
40876{
40877return libfcache_cache_set_value_by_index ();
40878  ;
40879  return 0;
40880}
40881_ACEOF
40882if ac_fn_c_try_link "$LINENO"; then :
40883  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes
40884else
40885  ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no
40886fi
40887rm -f core conftest.err conftest.$ac_objext \
40888    conftest$ac_exeext conftest.$ac_ext
40889LIBS=$ac_check_lib_save_LIBS
40890fi
40891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5
40892$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; }
40893if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then :
40894  ac_cv_libfcache_dummy=yes
40895else
40896  ac_cv_libfcache=no
40897fi
40898
40899
40900                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5
40901$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; }
40902if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then :
40903  $as_echo_n "(cached) " >&6
40904else
40905  ac_check_lib_save_LIBS=$LIBS
40906LIBS="-lfcache  $LIBS"
40907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40908/* end confdefs.h.  */
40909
40910/* Override any GCC internal prototype to avoid an error.
40911   Use char because int might match the return type of a GCC
40912   builtin and then its argument prototype would still apply.  */
40913#ifdef __cplusplus
40914extern "C"
40915#endif
40916char libfcache_cache_value_free ();
40917int
40918main ()
40919{
40920return libfcache_cache_value_free ();
40921  ;
40922  return 0;
40923}
40924_ACEOF
40925if ac_fn_c_try_link "$LINENO"; then :
40926  ac_cv_lib_fcache_libfcache_cache_value_free=yes
40927else
40928  ac_cv_lib_fcache_libfcache_cache_value_free=no
40929fi
40930rm -f core conftest.err conftest.$ac_objext \
40931    conftest$ac_exeext conftest.$ac_ext
40932LIBS=$ac_check_lib_save_LIBS
40933fi
40934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5
40935$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; }
40936if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then :
40937  ac_cv_libfcache_dummy=yes
40938else
40939  ac_cv_libfcache=no
40940fi
40941
40942        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5
40943$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; }
40944if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then :
40945  $as_echo_n "(cached) " >&6
40946else
40947  ac_check_lib_save_LIBS=$LIBS
40948LIBS="-lfcache  $LIBS"
40949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40950/* end confdefs.h.  */
40951
40952/* Override any GCC internal prototype to avoid an error.
40953   Use char because int might match the return type of a GCC
40954   builtin and then its argument prototype would still apply.  */
40955#ifdef __cplusplus
40956extern "C"
40957#endif
40958char libfcache_cache_value_clear ();
40959int
40960main ()
40961{
40962return libfcache_cache_value_clear ();
40963  ;
40964  return 0;
40965}
40966_ACEOF
40967if ac_fn_c_try_link "$LINENO"; then :
40968  ac_cv_lib_fcache_libfcache_cache_value_clear=yes
40969else
40970  ac_cv_lib_fcache_libfcache_cache_value_clear=no
40971fi
40972rm -f core conftest.err conftest.$ac_objext \
40973    conftest$ac_exeext conftest.$ac_ext
40974LIBS=$ac_check_lib_save_LIBS
40975fi
40976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5
40977$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; }
40978if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then :
40979  ac_cv_libfcache_dummy=yes
40980else
40981  ac_cv_libfcache=no
40982fi
40983
40984        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5
40985$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; }
40986if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then :
40987  $as_echo_n "(cached) " >&6
40988else
40989  ac_check_lib_save_LIBS=$LIBS
40990LIBS="-lfcache  $LIBS"
40991cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40992/* end confdefs.h.  */
40993
40994/* Override any GCC internal prototype to avoid an error.
40995   Use char because int might match the return type of a GCC
40996   builtin and then its argument prototype would still apply.  */
40997#ifdef __cplusplus
40998extern "C"
40999#endif
41000char libfcache_cache_value_get_identifier ();
41001int
41002main ()
41003{
41004return libfcache_cache_value_get_identifier ();
41005  ;
41006  return 0;
41007}
41008_ACEOF
41009if ac_fn_c_try_link "$LINENO"; then :
41010  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes
41011else
41012  ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no
41013fi
41014rm -f core conftest.err conftest.$ac_objext \
41015    conftest$ac_exeext conftest.$ac_ext
41016LIBS=$ac_check_lib_save_LIBS
41017fi
41018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5
41019$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; }
41020if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then :
41021  ac_cv_libfcache_dummy=yes
41022else
41023  ac_cv_libfcache=no
41024fi
41025
41026        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5
41027$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; }
41028if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then :
41029  $as_echo_n "(cached) " >&6
41030else
41031  ac_check_lib_save_LIBS=$LIBS
41032LIBS="-lfcache  $LIBS"
41033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034/* end confdefs.h.  */
41035
41036/* Override any GCC internal prototype to avoid an error.
41037   Use char because int might match the return type of a GCC
41038   builtin and then its argument prototype would still apply.  */
41039#ifdef __cplusplus
41040extern "C"
41041#endif
41042char libfcache_cache_value_set_identifier ();
41043int
41044main ()
41045{
41046return libfcache_cache_value_set_identifier ();
41047  ;
41048  return 0;
41049}
41050_ACEOF
41051if ac_fn_c_try_link "$LINENO"; then :
41052  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes
41053else
41054  ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no
41055fi
41056rm -f core conftest.err conftest.$ac_objext \
41057    conftest$ac_exeext conftest.$ac_ext
41058LIBS=$ac_check_lib_save_LIBS
41059fi
41060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5
41061$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; }
41062if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then :
41063  ac_cv_libfcache_dummy=yes
41064else
41065  ac_cv_libfcache=no
41066fi
41067
41068        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5
41069$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; }
41070if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then :
41071  $as_echo_n "(cached) " >&6
41072else
41073  ac_check_lib_save_LIBS=$LIBS
41074LIBS="-lfcache  $LIBS"
41075cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41076/* end confdefs.h.  */
41077
41078/* Override any GCC internal prototype to avoid an error.
41079   Use char because int might match the return type of a GCC
41080   builtin and then its argument prototype would still apply.  */
41081#ifdef __cplusplus
41082extern "C"
41083#endif
41084char libfcache_cache_value_get_value ();
41085int
41086main ()
41087{
41088return libfcache_cache_value_get_value ();
41089  ;
41090  return 0;
41091}
41092_ACEOF
41093if ac_fn_c_try_link "$LINENO"; then :
41094  ac_cv_lib_fcache_libfcache_cache_value_get_value=yes
41095else
41096  ac_cv_lib_fcache_libfcache_cache_value_get_value=no
41097fi
41098rm -f core conftest.err conftest.$ac_objext \
41099    conftest$ac_exeext conftest.$ac_ext
41100LIBS=$ac_check_lib_save_LIBS
41101fi
41102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5
41103$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; }
41104if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then :
41105  ac_cv_libfcache_dummy=yes
41106else
41107  ac_cv_libfcache=no
41108fi
41109
41110        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5
41111$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; }
41112if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then :
41113  $as_echo_n "(cached) " >&6
41114else
41115  ac_check_lib_save_LIBS=$LIBS
41116LIBS="-lfcache  $LIBS"
41117cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118/* end confdefs.h.  */
41119
41120/* Override any GCC internal prototype to avoid an error.
41121   Use char because int might match the return type of a GCC
41122   builtin and then its argument prototype would still apply.  */
41123#ifdef __cplusplus
41124extern "C"
41125#endif
41126char libfcache_cache_value_set_value ();
41127int
41128main ()
41129{
41130return libfcache_cache_value_set_value ();
41131  ;
41132  return 0;
41133}
41134_ACEOF
41135if ac_fn_c_try_link "$LINENO"; then :
41136  ac_cv_lib_fcache_libfcache_cache_value_set_value=yes
41137else
41138  ac_cv_lib_fcache_libfcache_cache_value_set_value=no
41139fi
41140rm -f core conftest.err conftest.$ac_objext \
41141    conftest$ac_exeext conftest.$ac_ext
41142LIBS=$ac_check_lib_save_LIBS
41143fi
41144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5
41145$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; }
41146if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then :
41147  ac_cv_libfcache_dummy=yes
41148else
41149  ac_cv_libfcache=no
41150fi
41151
41152
41153                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5
41154$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; }
41155if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then :
41156  $as_echo_n "(cached) " >&6
41157else
41158  ac_check_lib_save_LIBS=$LIBS
41159LIBS="-lfcache  $LIBS"
41160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41161/* end confdefs.h.  */
41162
41163/* Override any GCC internal prototype to avoid an error.
41164   Use char because int might match the return type of a GCC
41165   builtin and then its argument prototype would still apply.  */
41166#ifdef __cplusplus
41167extern "C"
41168#endif
41169char libfcache_date_time_get_timestamp ();
41170int
41171main ()
41172{
41173return libfcache_date_time_get_timestamp ();
41174  ;
41175  return 0;
41176}
41177_ACEOF
41178if ac_fn_c_try_link "$LINENO"; then :
41179  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes
41180else
41181  ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no
41182fi
41183rm -f core conftest.err conftest.$ac_objext \
41184    conftest$ac_exeext conftest.$ac_ext
41185LIBS=$ac_check_lib_save_LIBS
41186fi
41187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5
41188$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; }
41189if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then :
41190  ac_cv_libfcache_dummy=yes
41191else
41192  ac_cv_libfcache=no
41193fi
41194
41195
41196        ac_cv_libfcache_LIBADD="-lfcache"
41197fi
41198
41199fi
41200    if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then :
41201  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41203as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache
41204See \`config.log' for more details" "$LINENO" 5; }
41205
41206fi
41207
41208fi
41209
41210  if test "x$ac_cv_libfcache" = xyes; then :
41211
41212$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h
41213
41214
41215fi
41216
41217  if test "x$ac_cv_libfcache" = xyes; then :
41218  HAVE_LIBFCACHE=1
41219
41220else
41221  HAVE_LIBFCACHE=0
41222
41223
41224fi
41225
41226
41227    if test "x$ac_cv_libfcache" != xyes; then :
41228    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
41229$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
41230if ${ac_cv_struct_tm+:} false; then :
41231  $as_echo_n "(cached) " >&6
41232else
41233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41234/* end confdefs.h.  */
41235#include <sys/types.h>
41236#include <time.h>
41237
41238int
41239main ()
41240{
41241struct tm tm;
41242				     int *p = &tm.tm_sec;
41243				     return !p;
41244  ;
41245  return 0;
41246}
41247_ACEOF
41248if ac_fn_c_try_compile "$LINENO"; then :
41249  ac_cv_struct_tm=time.h
41250else
41251  ac_cv_struct_tm=sys/time.h
41252fi
41253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41254fi
41255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
41256$as_echo "$ac_cv_struct_tm" >&6; }
41257if test $ac_cv_struct_tm = sys/time.h; then
41258
41259$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
41260
41261fi
41262
41263
41264    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
41265$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
41266if ${ac_cv_header_time+:} false; then :
41267  $as_echo_n "(cached) " >&6
41268else
41269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41270/* end confdefs.h.  */
41271#include <sys/types.h>
41272#include <sys/time.h>
41273#include <time.h>
41274
41275int
41276main ()
41277{
41278if ((struct tm *) 0)
41279return 0;
41280  ;
41281  return 0;
41282}
41283_ACEOF
41284if ac_fn_c_try_compile "$LINENO"; then :
41285  ac_cv_header_time=yes
41286else
41287  ac_cv_header_time=no
41288fi
41289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41290fi
41291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
41292$as_echo "$ac_cv_header_time" >&6; }
41293if test $ac_cv_header_time = yes; then
41294
41295$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
41296
41297fi
41298
41299
41300    for ac_func in clock_gettime time
41301do :
41302  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41303ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41304if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
41305  cat >>confdefs.h <<_ACEOF
41306#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41307_ACEOF
41308
41309fi
41310done
41311
41312
41313  if test "x$ac_cv_func_time" != xyes; then :
41314  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41316as_fn_error 1 "Missing function: time
41317See \`config.log' for more details" "$LINENO" 5; }
41318
41319fi
41320
41321  ac_cv_libfcache_CPPFLAGS="-I../libfcache";
41322  ac_cv_libfcache_LIBADD="../libfcache/libfcache.la";
41323
41324  ac_cv_libfcache=local
41325
41326
41327
41328$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h
41329
41330    HAVE_LOCAL_LIBFCACHE=1
41331
41332
41333fi
41334
41335   if test "x$ac_cv_libfcache" = xlocal; then
41336  HAVE_LOCAL_LIBFCACHE_TRUE=
41337  HAVE_LOCAL_LIBFCACHE_FALSE='#'
41338else
41339  HAVE_LOCAL_LIBFCACHE_TRUE='#'
41340  HAVE_LOCAL_LIBFCACHE_FALSE=
41341fi
41342
41343  if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then :
41344  LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS
41345
41346
41347fi
41348  if test "x$ac_cv_libfcache_LIBADD" != "x"; then :
41349  LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD
41350
41351
41352fi
41353
41354  if test "x$ac_cv_libfcache" = xyes; then :
41355  ax_libfcache_pc_libs_private=-lfcache
41356
41357
41358fi
41359
41360  if test "x$ac_cv_libfcache" = xyes; then :
41361  ax_libfcache_spec_requires=libfcache
41362
41363    ax_libfcache_spec_build_requires=libfcache-devel
41364
41365
41366fi
41367
41368
41369
41370
41371# Check whether --with-libfdata was given.
41372if test "${with_libfdata+set}" = set; then :
41373  withval=$with_libfdata; ac_cv_with_libfdata=$withval
41374else
41375  ac_cv_with_libfdata=auto-detect
41376fi
41377
41378    { $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
41379$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; }
41380if ${ac_cv_with_libfdata+:} false; then :
41381  $as_echo_n "(cached) " >&6
41382else
41383  ac_cv_with_libfdata=auto-detect
41384fi
41385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5
41386$as_echo "$ac_cv_with_libfdata" >&6; }
41387
41388    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then :
41389  ac_cv_libfdata=no
41390else
41391  ac_cv_libfdata=check
41392        if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then :
41393  if test -d "$ac_cv_with_libfdata"; then :
41394  CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include"
41395        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib"
41396else
41397  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41398$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
41399as_fn_error 1 "no such directory: $ac_cv_with_libfdata
41400See \`config.log' for more details" "$LINENO" 5; }
41401
41402fi
41403
41404else
41405        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
41406
41407pkg_failed=no
41408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5
41409$as_echo_n "checking for libfdata... " >&6; }
41410
41411if test -n "$libfdata_CFLAGS"; then
41412    pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS"
41413 elif test -n "$PKG_CONFIG"; then
41414    if test -n "$PKG_CONFIG" && \
41415    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5
41416  ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5
41417  ac_status=$?
41418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41419  test $ac_status = 0; }; then
41420  pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20201129" 2>/dev/null`
41421		      test "x$?" != "x0" && pkg_failed=yes
41422else
41423  pkg_failed=yes
41424fi
41425 else
41426    pkg_failed=untried
41427fi
41428if test -n "$libfdata_LIBS"; then
41429    pkg_cv_libfdata_LIBS="$libfdata_LIBS"
41430 elif test -n "$PKG_CONFIG"; then
41431    if test -n "$PKG_CONFIG" && \
41432    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5
41433  ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5
41434  ac_status=$?
41435  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41436  test $ac_status = 0; }; then
41437  pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20201129" 2>/dev/null`
41438		      test "x$?" != "x0" && pkg_failed=yes
41439else
41440  pkg_failed=yes
41441fi
41442 else
41443    pkg_failed=untried
41444fi
41445
41446
41447
41448if test $pkg_failed = yes; then
41449   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41450$as_echo "no" >&6; }
41451
41452if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41453        _pkg_short_errors_supported=yes
41454else
41455        _pkg_short_errors_supported=no
41456fi
41457        if test $_pkg_short_errors_supported = yes; then
41458	        libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20201129" 2>&1`
41459        else
41460	        libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20201129" 2>&1`
41461        fi
41462	# Put the nasty error message in config.log where it belongs
41463	echo "$libfdata_PKG_ERRORS" >&5
41464
41465	ac_cv_libfdata=check
41466elif test $pkg_failed = untried; then
41467     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41468$as_echo "no" >&6; }
41469	ac_cv_libfdata=check
41470else
41471	libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS
41472	libfdata_LIBS=$pkg_cv_libfdata_LIBS
41473        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41474$as_echo "yes" >&6; }
41475	ac_cv_libfdata=yes
41476fi
41477
41478fi
41479      if test "x$ac_cv_libfdata" = xyes; then :
41480  ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS"
41481        ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS"
41482fi
41483
41484fi
41485
41486    if test "x$ac_cv_libfdata" = xcheck; then :
41487        for ac_header in libfdata.h
41488do :
41489  ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default"
41490if test "x$ac_cv_header_libfdata_h" = xyes; then :
41491  cat >>confdefs.h <<_ACEOF
41492#define HAVE_LIBFDATA_H 1
41493_ACEOF
41494
41495fi
41496
41497done
41498
41499
41500      if test "x$ac_cv_header_libfdata_h" = xno; then :
41501  ac_cv_libfdata=no
41502else
41503          ac_cv_libfdata=yes
41504
41505        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5
41506$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; }
41507if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then :
41508  $as_echo_n "(cached) " >&6
41509else
41510  ac_check_lib_save_LIBS=$LIBS
41511LIBS="-lfdata  $LIBS"
41512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41513/* end confdefs.h.  */
41514
41515/* Override any GCC internal prototype to avoid an error.
41516   Use char because int might match the return type of a GCC
41517   builtin and then its argument prototype would still apply.  */
41518#ifdef __cplusplus
41519extern "C"
41520#endif
41521char libfdata_get_version ();
41522int
41523main ()
41524{
41525return libfdata_get_version ();
41526  ;
41527  return 0;
41528}
41529_ACEOF
41530if ac_fn_c_try_link "$LINENO"; then :
41531  ac_cv_lib_fdata_libfdata_get_version=yes
41532else
41533  ac_cv_lib_fdata_libfdata_get_version=no
41534fi
41535rm -f core conftest.err conftest.$ac_objext \
41536    conftest$ac_exeext conftest.$ac_ext
41537LIBS=$ac_check_lib_save_LIBS
41538fi
41539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5
41540$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; }
41541if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then :
41542  ac_cv_libfdata_dummy=yes
41543else
41544  ac_cv_libfdata=no
41545fi
41546
41547
41548                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5
41549$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; }
41550if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then :
41551  $as_echo_n "(cached) " >&6
41552else
41553  ac_check_lib_save_LIBS=$LIBS
41554LIBS="-lfdata  $LIBS"
41555cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41556/* end confdefs.h.  */
41557
41558/* Override any GCC internal prototype to avoid an error.
41559   Use char because int might match the return type of a GCC
41560   builtin and then its argument prototype would still apply.  */
41561#ifdef __cplusplus
41562extern "C"
41563#endif
41564char libfdata_area_initialize ();
41565int
41566main ()
41567{
41568return libfdata_area_initialize ();
41569  ;
41570  return 0;
41571}
41572_ACEOF
41573if ac_fn_c_try_link "$LINENO"; then :
41574  ac_cv_lib_fdata_libfdata_area_initialize=yes
41575else
41576  ac_cv_lib_fdata_libfdata_area_initialize=no
41577fi
41578rm -f core conftest.err conftest.$ac_objext \
41579    conftest$ac_exeext conftest.$ac_ext
41580LIBS=$ac_check_lib_save_LIBS
41581fi
41582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5
41583$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; }
41584if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then :
41585  ac_cv_libfdata_dummy=yes
41586else
41587  ac_cv_libfdata=no
41588fi
41589
41590        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5
41591$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; }
41592if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then :
41593  $as_echo_n "(cached) " >&6
41594else
41595  ac_check_lib_save_LIBS=$LIBS
41596LIBS="-lfdata  $LIBS"
41597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41598/* end confdefs.h.  */
41599
41600/* Override any GCC internal prototype to avoid an error.
41601   Use char because int might match the return type of a GCC
41602   builtin and then its argument prototype would still apply.  */
41603#ifdef __cplusplus
41604extern "C"
41605#endif
41606char libfdata_area_free ();
41607int
41608main ()
41609{
41610return libfdata_area_free ();
41611  ;
41612  return 0;
41613}
41614_ACEOF
41615if ac_fn_c_try_link "$LINENO"; then :
41616  ac_cv_lib_fdata_libfdata_area_free=yes
41617else
41618  ac_cv_lib_fdata_libfdata_area_free=no
41619fi
41620rm -f core conftest.err conftest.$ac_objext \
41621    conftest$ac_exeext conftest.$ac_ext
41622LIBS=$ac_check_lib_save_LIBS
41623fi
41624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5
41625$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; }
41626if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then :
41627  ac_cv_libfdata_dummy=yes
41628else
41629  ac_cv_libfdata=no
41630fi
41631
41632        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5
41633$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; }
41634if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then :
41635  $as_echo_n "(cached) " >&6
41636else
41637  ac_check_lib_save_LIBS=$LIBS
41638LIBS="-lfdata  $LIBS"
41639cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640/* end confdefs.h.  */
41641
41642/* Override any GCC internal prototype to avoid an error.
41643   Use char because int might match the return type of a GCC
41644   builtin and then its argument prototype would still apply.  */
41645#ifdef __cplusplus
41646extern "C"
41647#endif
41648char libfdata_area_clone ();
41649int
41650main ()
41651{
41652return libfdata_area_clone ();
41653  ;
41654  return 0;
41655}
41656_ACEOF
41657if ac_fn_c_try_link "$LINENO"; then :
41658  ac_cv_lib_fdata_libfdata_area_clone=yes
41659else
41660  ac_cv_lib_fdata_libfdata_area_clone=no
41661fi
41662rm -f core conftest.err conftest.$ac_objext \
41663    conftest$ac_exeext conftest.$ac_ext
41664LIBS=$ac_check_lib_save_LIBS
41665fi
41666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5
41667$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; }
41668if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then :
41669  ac_cv_libfdata_dummy=yes
41670else
41671  ac_cv_libfdata=no
41672fi
41673
41674        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5
41675$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; }
41676if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then :
41677  $as_echo_n "(cached) " >&6
41678else
41679  ac_check_lib_save_LIBS=$LIBS
41680LIBS="-lfdata  $LIBS"
41681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41682/* end confdefs.h.  */
41683
41684/* Override any GCC internal prototype to avoid an error.
41685   Use char because int might match the return type of a GCC
41686   builtin and then its argument prototype would still apply.  */
41687#ifdef __cplusplus
41688extern "C"
41689#endif
41690char libfdata_area_empty ();
41691int
41692main ()
41693{
41694return libfdata_area_empty ();
41695  ;
41696  return 0;
41697}
41698_ACEOF
41699if ac_fn_c_try_link "$LINENO"; then :
41700  ac_cv_lib_fdata_libfdata_area_empty=yes
41701else
41702  ac_cv_lib_fdata_libfdata_area_empty=no
41703fi
41704rm -f core conftest.err conftest.$ac_objext \
41705    conftest$ac_exeext conftest.$ac_ext
41706LIBS=$ac_check_lib_save_LIBS
41707fi
41708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5
41709$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; }
41710if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then :
41711  ac_cv_libfdata_dummy=yes
41712else
41713  ac_cv_libfdata=no
41714fi
41715
41716        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5
41717$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; }
41718if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then :
41719  $as_echo_n "(cached) " >&6
41720else
41721  ac_check_lib_save_LIBS=$LIBS
41722LIBS="-lfdata  $LIBS"
41723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41724/* end confdefs.h.  */
41725
41726/* Override any GCC internal prototype to avoid an error.
41727   Use char because int might match the return type of a GCC
41728   builtin and then its argument prototype would still apply.  */
41729#ifdef __cplusplus
41730extern "C"
41731#endif
41732char libfdata_area_resize ();
41733int
41734main ()
41735{
41736return libfdata_area_resize ();
41737  ;
41738  return 0;
41739}
41740_ACEOF
41741if ac_fn_c_try_link "$LINENO"; then :
41742  ac_cv_lib_fdata_libfdata_area_resize=yes
41743else
41744  ac_cv_lib_fdata_libfdata_area_resize=no
41745fi
41746rm -f core conftest.err conftest.$ac_objext \
41747    conftest$ac_exeext conftest.$ac_ext
41748LIBS=$ac_check_lib_save_LIBS
41749fi
41750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5
41751$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; }
41752if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then :
41753  ac_cv_libfdata_dummy=yes
41754else
41755  ac_cv_libfdata=no
41756fi
41757
41758        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5
41759$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; }
41760if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then :
41761  $as_echo_n "(cached) " >&6
41762else
41763  ac_check_lib_save_LIBS=$LIBS
41764LIBS="-lfdata  $LIBS"
41765cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41766/* end confdefs.h.  */
41767
41768/* Override any GCC internal prototype to avoid an error.
41769   Use char because int might match the return type of a GCC
41770   builtin and then its argument prototype would still apply.  */
41771#ifdef __cplusplus
41772extern "C"
41773#endif
41774char libfdata_area_get_number_of_segments ();
41775int
41776main ()
41777{
41778return libfdata_area_get_number_of_segments ();
41779  ;
41780  return 0;
41781}
41782_ACEOF
41783if ac_fn_c_try_link "$LINENO"; then :
41784  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes
41785else
41786  ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no
41787fi
41788rm -f core conftest.err conftest.$ac_objext \
41789    conftest$ac_exeext conftest.$ac_ext
41790LIBS=$ac_check_lib_save_LIBS
41791fi
41792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5
41793$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; }
41794if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then :
41795  ac_cv_libfdata_dummy=yes
41796else
41797  ac_cv_libfdata=no
41798fi
41799
41800        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5
41801$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; }
41802if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then :
41803  $as_echo_n "(cached) " >&6
41804else
41805  ac_check_lib_save_LIBS=$LIBS
41806LIBS="-lfdata  $LIBS"
41807cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41808/* end confdefs.h.  */
41809
41810/* Override any GCC internal prototype to avoid an error.
41811   Use char because int might match the return type of a GCC
41812   builtin and then its argument prototype would still apply.  */
41813#ifdef __cplusplus
41814extern "C"
41815#endif
41816char libfdata_area_get_segment_by_index ();
41817int
41818main ()
41819{
41820return libfdata_area_get_segment_by_index ();
41821  ;
41822  return 0;
41823}
41824_ACEOF
41825if ac_fn_c_try_link "$LINENO"; then :
41826  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes
41827else
41828  ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no
41829fi
41830rm -f core conftest.err conftest.$ac_objext \
41831    conftest$ac_exeext conftest.$ac_ext
41832LIBS=$ac_check_lib_save_LIBS
41833fi
41834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5
41835$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; }
41836if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then :
41837  ac_cv_libfdata_dummy=yes
41838else
41839  ac_cv_libfdata=no
41840fi
41841
41842        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5
41843$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; }
41844if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then :
41845  $as_echo_n "(cached) " >&6
41846else
41847  ac_check_lib_save_LIBS=$LIBS
41848LIBS="-lfdata  $LIBS"
41849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41850/* end confdefs.h.  */
41851
41852/* Override any GCC internal prototype to avoid an error.
41853   Use char because int might match the return type of a GCC
41854   builtin and then its argument prototype would still apply.  */
41855#ifdef __cplusplus
41856extern "C"
41857#endif
41858char libfdata_area_set_segment_by_index ();
41859int
41860main ()
41861{
41862return libfdata_area_set_segment_by_index ();
41863  ;
41864  return 0;
41865}
41866_ACEOF
41867if ac_fn_c_try_link "$LINENO"; then :
41868  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes
41869else
41870  ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no
41871fi
41872rm -f core conftest.err conftest.$ac_objext \
41873    conftest$ac_exeext conftest.$ac_ext
41874LIBS=$ac_check_lib_save_LIBS
41875fi
41876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5
41877$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; }
41878if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then :
41879  ac_cv_libfdata_dummy=yes
41880else
41881  ac_cv_libfdata=no
41882fi
41883
41884        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5
41885$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; }
41886if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then :
41887  $as_echo_n "(cached) " >&6
41888else
41889  ac_check_lib_save_LIBS=$LIBS
41890LIBS="-lfdata  $LIBS"
41891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41892/* end confdefs.h.  */
41893
41894/* Override any GCC internal prototype to avoid an error.
41895   Use char because int might match the return type of a GCC
41896   builtin and then its argument prototype would still apply.  */
41897#ifdef __cplusplus
41898extern "C"
41899#endif
41900char libfdata_area_prepend_segment ();
41901int
41902main ()
41903{
41904return libfdata_area_prepend_segment ();
41905  ;
41906  return 0;
41907}
41908_ACEOF
41909if ac_fn_c_try_link "$LINENO"; then :
41910  ac_cv_lib_fdata_libfdata_area_prepend_segment=yes
41911else
41912  ac_cv_lib_fdata_libfdata_area_prepend_segment=no
41913fi
41914rm -f core conftest.err conftest.$ac_objext \
41915    conftest$ac_exeext conftest.$ac_ext
41916LIBS=$ac_check_lib_save_LIBS
41917fi
41918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5
41919$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; }
41920if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then :
41921  ac_cv_libfdata_dummy=yes
41922else
41923  ac_cv_libfdata=no
41924fi
41925
41926        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5
41927$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; }
41928if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then :
41929  $as_echo_n "(cached) " >&6
41930else
41931  ac_check_lib_save_LIBS=$LIBS
41932LIBS="-lfdata  $LIBS"
41933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41934/* end confdefs.h.  */
41935
41936/* Override any GCC internal prototype to avoid an error.
41937   Use char because int might match the return type of a GCC
41938   builtin and then its argument prototype would still apply.  */
41939#ifdef __cplusplus
41940extern "C"
41941#endif
41942char libfdata_area_append_segment ();
41943int
41944main ()
41945{
41946return libfdata_area_append_segment ();
41947  ;
41948  return 0;
41949}
41950_ACEOF
41951if ac_fn_c_try_link "$LINENO"; then :
41952  ac_cv_lib_fdata_libfdata_area_append_segment=yes
41953else
41954  ac_cv_lib_fdata_libfdata_area_append_segment=no
41955fi
41956rm -f core conftest.err conftest.$ac_objext \
41957    conftest$ac_exeext conftest.$ac_ext
41958LIBS=$ac_check_lib_save_LIBS
41959fi
41960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5
41961$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; }
41962if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then :
41963  ac_cv_libfdata_dummy=yes
41964else
41965  ac_cv_libfdata=no
41966fi
41967
41968        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5
41969$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; }
41970if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then :
41971  $as_echo_n "(cached) " >&6
41972else
41973  ac_check_lib_save_LIBS=$LIBS
41974LIBS="-lfdata  $LIBS"
41975cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41976/* end confdefs.h.  */
41977
41978/* Override any GCC internal prototype to avoid an error.
41979   Use char because int might match the return type of a GCC
41980   builtin and then its argument prototype would still apply.  */
41981#ifdef __cplusplus
41982extern "C"
41983#endif
41984char libfdata_area_get_element_data_size ();
41985int
41986main ()
41987{
41988return libfdata_area_get_element_data_size ();
41989  ;
41990  return 0;
41991}
41992_ACEOF
41993if ac_fn_c_try_link "$LINENO"; then :
41994  ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes
41995else
41996  ac_cv_lib_fdata_libfdata_area_get_element_data_size=no
41997fi
41998rm -f core conftest.err conftest.$ac_objext \
41999    conftest$ac_exeext conftest.$ac_ext
42000LIBS=$ac_check_lib_save_LIBS
42001fi
42002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5
42003$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; }
42004if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then :
42005  ac_cv_libfdata_dummy=yes
42006else
42007  ac_cv_libfdata=no
42008fi
42009
42010        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5
42011$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; }
42012if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then :
42013  $as_echo_n "(cached) " >&6
42014else
42015  ac_check_lib_save_LIBS=$LIBS
42016LIBS="-lfdata  $LIBS"
42017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42018/* end confdefs.h.  */
42019
42020/* Override any GCC internal prototype to avoid an error.
42021   Use char because int might match the return type of a GCC
42022   builtin and then its argument prototype would still apply.  */
42023#ifdef __cplusplus
42024extern "C"
42025#endif
42026char libfdata_area_get_element_value_at_offset ();
42027int
42028main ()
42029{
42030return libfdata_area_get_element_value_at_offset ();
42031  ;
42032  return 0;
42033}
42034_ACEOF
42035if ac_fn_c_try_link "$LINENO"; then :
42036  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes
42037else
42038  ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no
42039fi
42040rm -f core conftest.err conftest.$ac_objext \
42041    conftest$ac_exeext conftest.$ac_ext
42042LIBS=$ac_check_lib_save_LIBS
42043fi
42044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5
42045$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; }
42046if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then :
42047  ac_cv_libfdata_dummy=yes
42048else
42049  ac_cv_libfdata=no
42050fi
42051
42052        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5
42053$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; }
42054if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then :
42055  $as_echo_n "(cached) " >&6
42056else
42057  ac_check_lib_save_LIBS=$LIBS
42058LIBS="-lfdata  $LIBS"
42059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42060/* end confdefs.h.  */
42061
42062/* Override any GCC internal prototype to avoid an error.
42063   Use char because int might match the return type of a GCC
42064   builtin and then its argument prototype would still apply.  */
42065#ifdef __cplusplus
42066extern "C"
42067#endif
42068char libfdata_area_set_element_value_at_offset ();
42069int
42070main ()
42071{
42072return libfdata_area_set_element_value_at_offset ();
42073  ;
42074  return 0;
42075}
42076_ACEOF
42077if ac_fn_c_try_link "$LINENO"; then :
42078  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes
42079else
42080  ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no
42081fi
42082rm -f core conftest.err conftest.$ac_objext \
42083    conftest$ac_exeext conftest.$ac_ext
42084LIBS=$ac_check_lib_save_LIBS
42085fi
42086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5
42087$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; }
42088if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then :
42089  ac_cv_libfdata_dummy=yes
42090else
42091  ac_cv_libfdata=no
42092fi
42093
42094        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5
42095$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; }
42096if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then :
42097  $as_echo_n "(cached) " >&6
42098else
42099  ac_check_lib_save_LIBS=$LIBS
42100LIBS="-lfdata  $LIBS"
42101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42102/* end confdefs.h.  */
42103
42104/* Override any GCC internal prototype to avoid an error.
42105   Use char because int might match the return type of a GCC
42106   builtin and then its argument prototype would still apply.  */
42107#ifdef __cplusplus
42108extern "C"
42109#endif
42110char libfdata_area_get_size ();
42111int
42112main ()
42113{
42114return libfdata_area_get_size ();
42115  ;
42116  return 0;
42117}
42118_ACEOF
42119if ac_fn_c_try_link "$LINENO"; then :
42120  ac_cv_lib_fdata_libfdata_area_get_size=yes
42121else
42122  ac_cv_lib_fdata_libfdata_area_get_size=no
42123fi
42124rm -f core conftest.err conftest.$ac_objext \
42125    conftest$ac_exeext conftest.$ac_ext
42126LIBS=$ac_check_lib_save_LIBS
42127fi
42128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5
42129$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; }
42130if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then :
42131  ac_cv_libfdata_dummy=yes
42132else
42133  ac_cv_libfdata=no
42134fi
42135
42136
42137
42138                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5
42139$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; }
42140if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then :
42141  $as_echo_n "(cached) " >&6
42142else
42143  ac_check_lib_save_LIBS=$LIBS
42144LIBS="-lfdata  $LIBS"
42145cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42146/* end confdefs.h.  */
42147
42148/* Override any GCC internal prototype to avoid an error.
42149   Use char because int might match the return type of a GCC
42150   builtin and then its argument prototype would still apply.  */
42151#ifdef __cplusplus
42152extern "C"
42153#endif
42154char libfdata_list_initialize ();
42155int
42156main ()
42157{
42158return libfdata_list_initialize ();
42159  ;
42160  return 0;
42161}
42162_ACEOF
42163if ac_fn_c_try_link "$LINENO"; then :
42164  ac_cv_lib_fdata_libfdata_list_initialize=yes
42165else
42166  ac_cv_lib_fdata_libfdata_list_initialize=no
42167fi
42168rm -f core conftest.err conftest.$ac_objext \
42169    conftest$ac_exeext conftest.$ac_ext
42170LIBS=$ac_check_lib_save_LIBS
42171fi
42172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5
42173$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; }
42174if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then :
42175  ac_cv_libfdata_dummy=yes
42176else
42177  ac_cv_libfdata=no
42178fi
42179
42180        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5
42181$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; }
42182if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then :
42183  $as_echo_n "(cached) " >&6
42184else
42185  ac_check_lib_save_LIBS=$LIBS
42186LIBS="-lfdata  $LIBS"
42187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42188/* end confdefs.h.  */
42189
42190/* Override any GCC internal prototype to avoid an error.
42191   Use char because int might match the return type of a GCC
42192   builtin and then its argument prototype would still apply.  */
42193#ifdef __cplusplus
42194extern "C"
42195#endif
42196char libfdata_list_free ();
42197int
42198main ()
42199{
42200return libfdata_list_free ();
42201  ;
42202  return 0;
42203}
42204_ACEOF
42205if ac_fn_c_try_link "$LINENO"; then :
42206  ac_cv_lib_fdata_libfdata_list_free=yes
42207else
42208  ac_cv_lib_fdata_libfdata_list_free=no
42209fi
42210rm -f core conftest.err conftest.$ac_objext \
42211    conftest$ac_exeext conftest.$ac_ext
42212LIBS=$ac_check_lib_save_LIBS
42213fi
42214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5
42215$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; }
42216if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then :
42217  ac_cv_libfdata_dummy=yes
42218else
42219  ac_cv_libfdata=no
42220fi
42221
42222        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5
42223$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; }
42224if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then :
42225  $as_echo_n "(cached) " >&6
42226else
42227  ac_check_lib_save_LIBS=$LIBS
42228LIBS="-lfdata  $LIBS"
42229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42230/* end confdefs.h.  */
42231
42232/* Override any GCC internal prototype to avoid an error.
42233   Use char because int might match the return type of a GCC
42234   builtin and then its argument prototype would still apply.  */
42235#ifdef __cplusplus
42236extern "C"
42237#endif
42238char libfdata_list_clone ();
42239int
42240main ()
42241{
42242return libfdata_list_clone ();
42243  ;
42244  return 0;
42245}
42246_ACEOF
42247if ac_fn_c_try_link "$LINENO"; then :
42248  ac_cv_lib_fdata_libfdata_list_clone=yes
42249else
42250  ac_cv_lib_fdata_libfdata_list_clone=no
42251fi
42252rm -f core conftest.err conftest.$ac_objext \
42253    conftest$ac_exeext conftest.$ac_ext
42254LIBS=$ac_check_lib_save_LIBS
42255fi
42256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5
42257$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; }
42258if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then :
42259  ac_cv_libfdata_dummy=yes
42260else
42261  ac_cv_libfdata=no
42262fi
42263
42264        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5
42265$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; }
42266if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then :
42267  $as_echo_n "(cached) " >&6
42268else
42269  ac_check_lib_save_LIBS=$LIBS
42270LIBS="-lfdata  $LIBS"
42271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42272/* end confdefs.h.  */
42273
42274/* Override any GCC internal prototype to avoid an error.
42275   Use char because int might match the return type of a GCC
42276   builtin and then its argument prototype would still apply.  */
42277#ifdef __cplusplus
42278extern "C"
42279#endif
42280char libfdata_list_empty ();
42281int
42282main ()
42283{
42284return libfdata_list_empty ();
42285  ;
42286  return 0;
42287}
42288_ACEOF
42289if ac_fn_c_try_link "$LINENO"; then :
42290  ac_cv_lib_fdata_libfdata_list_empty=yes
42291else
42292  ac_cv_lib_fdata_libfdata_list_empty=no
42293fi
42294rm -f core conftest.err conftest.$ac_objext \
42295    conftest$ac_exeext conftest.$ac_ext
42296LIBS=$ac_check_lib_save_LIBS
42297fi
42298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5
42299$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; }
42300if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then :
42301  ac_cv_libfdata_dummy=yes
42302else
42303  ac_cv_libfdata=no
42304fi
42305
42306        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5
42307$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; }
42308if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then :
42309  $as_echo_n "(cached) " >&6
42310else
42311  ac_check_lib_save_LIBS=$LIBS
42312LIBS="-lfdata  $LIBS"
42313cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42314/* end confdefs.h.  */
42315
42316/* Override any GCC internal prototype to avoid an error.
42317   Use char because int might match the return type of a GCC
42318   builtin and then its argument prototype would still apply.  */
42319#ifdef __cplusplus
42320extern "C"
42321#endif
42322char libfdata_list_resize ();
42323int
42324main ()
42325{
42326return libfdata_list_resize ();
42327  ;
42328  return 0;
42329}
42330_ACEOF
42331if ac_fn_c_try_link "$LINENO"; then :
42332  ac_cv_lib_fdata_libfdata_list_resize=yes
42333else
42334  ac_cv_lib_fdata_libfdata_list_resize=no
42335fi
42336rm -f core conftest.err conftest.$ac_objext \
42337    conftest$ac_exeext conftest.$ac_ext
42338LIBS=$ac_check_lib_save_LIBS
42339fi
42340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5
42341$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; }
42342if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then :
42343  ac_cv_libfdata_dummy=yes
42344else
42345  ac_cv_libfdata=no
42346fi
42347
42348
42349        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5
42350$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; }
42351if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then :
42352  $as_echo_n "(cached) " >&6
42353else
42354  ac_check_lib_save_LIBS=$LIBS
42355LIBS="-lfdata  $LIBS"
42356cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42357/* end confdefs.h.  */
42358
42359/* Override any GCC internal prototype to avoid an error.
42360   Use char because int might match the return type of a GCC
42361   builtin and then its argument prototype would still apply.  */
42362#ifdef __cplusplus
42363extern "C"
42364#endif
42365char libfdata_list_reverse ();
42366int
42367main ()
42368{
42369return libfdata_list_reverse ();
42370  ;
42371  return 0;
42372}
42373_ACEOF
42374if ac_fn_c_try_link "$LINENO"; then :
42375  ac_cv_lib_fdata_libfdata_list_reverse=yes
42376else
42377  ac_cv_lib_fdata_libfdata_list_reverse=no
42378fi
42379rm -f core conftest.err conftest.$ac_objext \
42380    conftest$ac_exeext conftest.$ac_ext
42381LIBS=$ac_check_lib_save_LIBS
42382fi
42383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5
42384$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; }
42385if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then :
42386  ac_cv_libfdata_dummy=yes
42387else
42388  ac_cv_libfdata=no
42389fi
42390
42391
42392        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5
42393$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; }
42394if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then :
42395  $as_echo_n "(cached) " >&6
42396else
42397  ac_check_lib_save_LIBS=$LIBS
42398LIBS="-lfdata  $LIBS"
42399cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42400/* end confdefs.h.  */
42401
42402/* Override any GCC internal prototype to avoid an error.
42403   Use char because int might match the return type of a GCC
42404   builtin and then its argument prototype would still apply.  */
42405#ifdef __cplusplus
42406extern "C"
42407#endif
42408char libfdata_list_get_number_of_elements ();
42409int
42410main ()
42411{
42412return libfdata_list_get_number_of_elements ();
42413  ;
42414  return 0;
42415}
42416_ACEOF
42417if ac_fn_c_try_link "$LINENO"; then :
42418  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes
42419else
42420  ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no
42421fi
42422rm -f core conftest.err conftest.$ac_objext \
42423    conftest$ac_exeext conftest.$ac_ext
42424LIBS=$ac_check_lib_save_LIBS
42425fi
42426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5
42427$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; }
42428if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then :
42429  ac_cv_libfdata_dummy=yes
42430else
42431  ac_cv_libfdata=no
42432fi
42433
42434        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5
42435$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; }
42436if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then :
42437  $as_echo_n "(cached) " >&6
42438else
42439  ac_check_lib_save_LIBS=$LIBS
42440LIBS="-lfdata  $LIBS"
42441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42442/* end confdefs.h.  */
42443
42444/* Override any GCC internal prototype to avoid an error.
42445   Use char because int might match the return type of a GCC
42446   builtin and then its argument prototype would still apply.  */
42447#ifdef __cplusplus
42448extern "C"
42449#endif
42450char libfdata_list_get_list_element_by_index ();
42451int
42452main ()
42453{
42454return libfdata_list_get_list_element_by_index ();
42455  ;
42456  return 0;
42457}
42458_ACEOF
42459if ac_fn_c_try_link "$LINENO"; then :
42460  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes
42461else
42462  ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no
42463fi
42464rm -f core conftest.err conftest.$ac_objext \
42465    conftest$ac_exeext conftest.$ac_ext
42466LIBS=$ac_check_lib_save_LIBS
42467fi
42468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5
42469$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; }
42470if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then :
42471  ac_cv_libfdata_dummy=yes
42472else
42473  ac_cv_libfdata=no
42474fi
42475
42476        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5
42477$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; }
42478if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then :
42479  $as_echo_n "(cached) " >&6
42480else
42481  ac_check_lib_save_LIBS=$LIBS
42482LIBS="-lfdata  $LIBS"
42483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42484/* end confdefs.h.  */
42485
42486/* Override any GCC internal prototype to avoid an error.
42487   Use char because int might match the return type of a GCC
42488   builtin and then its argument prototype would still apply.  */
42489#ifdef __cplusplus
42490extern "C"
42491#endif
42492char libfdata_list_get_element_by_index ();
42493int
42494main ()
42495{
42496return libfdata_list_get_element_by_index ();
42497  ;
42498  return 0;
42499}
42500_ACEOF
42501if ac_fn_c_try_link "$LINENO"; then :
42502  ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes
42503else
42504  ac_cv_lib_fdata_libfdata_list_get_element_by_index=no
42505fi
42506rm -f core conftest.err conftest.$ac_objext \
42507    conftest$ac_exeext conftest.$ac_ext
42508LIBS=$ac_check_lib_save_LIBS
42509fi
42510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5
42511$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; }
42512if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then :
42513  ac_cv_libfdata_dummy=yes
42514else
42515  ac_cv_libfdata=no
42516fi
42517
42518        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5
42519$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; }
42520if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then :
42521  $as_echo_n "(cached) " >&6
42522else
42523  ac_check_lib_save_LIBS=$LIBS
42524LIBS="-lfdata  $LIBS"
42525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42526/* end confdefs.h.  */
42527
42528/* Override any GCC internal prototype to avoid an error.
42529   Use char because int might match the return type of a GCC
42530   builtin and then its argument prototype would still apply.  */
42531#ifdef __cplusplus
42532extern "C"
42533#endif
42534char libfdata_list_set_element_by_index ();
42535int
42536main ()
42537{
42538return libfdata_list_set_element_by_index ();
42539  ;
42540  return 0;
42541}
42542_ACEOF
42543if ac_fn_c_try_link "$LINENO"; then :
42544  ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes
42545else
42546  ac_cv_lib_fdata_libfdata_list_set_element_by_index=no
42547fi
42548rm -f core conftest.err conftest.$ac_objext \
42549    conftest$ac_exeext conftest.$ac_ext
42550LIBS=$ac_check_lib_save_LIBS
42551fi
42552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5
42553$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; }
42554if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then :
42555  ac_cv_libfdata_dummy=yes
42556else
42557  ac_cv_libfdata=no
42558fi
42559
42560        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5
42561$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; }
42562if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then :
42563  $as_echo_n "(cached) " >&6
42564else
42565  ac_check_lib_save_LIBS=$LIBS
42566LIBS="-lfdata  $LIBS"
42567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42568/* end confdefs.h.  */
42569
42570/* Override any GCC internal prototype to avoid an error.
42571   Use char because int might match the return type of a GCC
42572   builtin and then its argument prototype would still apply.  */
42573#ifdef __cplusplus
42574extern "C"
42575#endif
42576char libfdata_list_prepend_element ();
42577int
42578main ()
42579{
42580return libfdata_list_prepend_element ();
42581  ;
42582  return 0;
42583}
42584_ACEOF
42585if ac_fn_c_try_link "$LINENO"; then :
42586  ac_cv_lib_fdata_libfdata_list_prepend_element=yes
42587else
42588  ac_cv_lib_fdata_libfdata_list_prepend_element=no
42589fi
42590rm -f core conftest.err conftest.$ac_objext \
42591    conftest$ac_exeext conftest.$ac_ext
42592LIBS=$ac_check_lib_save_LIBS
42593fi
42594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5
42595$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; }
42596if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then :
42597  ac_cv_libfdata_dummy=yes
42598else
42599  ac_cv_libfdata=no
42600fi
42601
42602        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5
42603$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; }
42604if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then :
42605  $as_echo_n "(cached) " >&6
42606else
42607  ac_check_lib_save_LIBS=$LIBS
42608LIBS="-lfdata  $LIBS"
42609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42610/* end confdefs.h.  */
42611
42612/* Override any GCC internal prototype to avoid an error.
42613   Use char because int might match the return type of a GCC
42614   builtin and then its argument prototype would still apply.  */
42615#ifdef __cplusplus
42616extern "C"
42617#endif
42618char libfdata_list_append_element ();
42619int
42620main ()
42621{
42622return libfdata_list_append_element ();
42623  ;
42624  return 0;
42625}
42626_ACEOF
42627if ac_fn_c_try_link "$LINENO"; then :
42628  ac_cv_lib_fdata_libfdata_list_append_element=yes
42629else
42630  ac_cv_lib_fdata_libfdata_list_append_element=no
42631fi
42632rm -f core conftest.err conftest.$ac_objext \
42633    conftest$ac_exeext conftest.$ac_ext
42634LIBS=$ac_check_lib_save_LIBS
42635fi
42636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5
42637$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; }
42638if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then :
42639  ac_cv_libfdata_dummy=yes
42640else
42641  ac_cv_libfdata=no
42642fi
42643
42644        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5
42645$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; }
42646if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then :
42647  $as_echo_n "(cached) " >&6
42648else
42649  ac_check_lib_save_LIBS=$LIBS
42650LIBS="-lfdata  $LIBS"
42651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42652/* end confdefs.h.  */
42653
42654/* Override any GCC internal prototype to avoid an error.
42655   Use char because int might match the return type of a GCC
42656   builtin and then its argument prototype would still apply.  */
42657#ifdef __cplusplus
42658extern "C"
42659#endif
42660char libfdata_list_append_list ();
42661int
42662main ()
42663{
42664return libfdata_list_append_list ();
42665  ;
42666  return 0;
42667}
42668_ACEOF
42669if ac_fn_c_try_link "$LINENO"; then :
42670  ac_cv_lib_fdata_libfdata_list_append_list=yes
42671else
42672  ac_cv_lib_fdata_libfdata_list_append_list=no
42673fi
42674rm -f core conftest.err conftest.$ac_objext \
42675    conftest$ac_exeext conftest.$ac_ext
42676LIBS=$ac_check_lib_save_LIBS
42677fi
42678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5
42679$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; }
42680if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then :
42681  ac_cv_libfdata_dummy=yes
42682else
42683  ac_cv_libfdata=no
42684fi
42685
42686        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5
42687$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; }
42688if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then :
42689  $as_echo_n "(cached) " >&6
42690else
42691  ac_check_lib_save_LIBS=$LIBS
42692LIBS="-lfdata  $LIBS"
42693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42694/* end confdefs.h.  */
42695
42696/* Override any GCC internal prototype to avoid an error.
42697   Use char because int might match the return type of a GCC
42698   builtin and then its argument prototype would still apply.  */
42699#ifdef __cplusplus
42700extern "C"
42701#endif
42702char libfdata_list_is_element_set ();
42703int
42704main ()
42705{
42706return libfdata_list_is_element_set ();
42707  ;
42708  return 0;
42709}
42710_ACEOF
42711if ac_fn_c_try_link "$LINENO"; then :
42712  ac_cv_lib_fdata_libfdata_list_is_element_set=yes
42713else
42714  ac_cv_lib_fdata_libfdata_list_is_element_set=no
42715fi
42716rm -f core conftest.err conftest.$ac_objext \
42717    conftest$ac_exeext conftest.$ac_ext
42718LIBS=$ac_check_lib_save_LIBS
42719fi
42720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5
42721$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; }
42722if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then :
42723  ac_cv_libfdata_dummy=yes
42724else
42725  ac_cv_libfdata=no
42726fi
42727
42728
42729        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_mapped_range in -lfdata" >&5
42730$as_echo_n "checking for libfdata_list_get_element_mapped_range in -lfdata... " >&6; }
42731if ${ac_cv_lib_fdata_libfdata_list_get_element_mapped_range+:} false; then :
42732  $as_echo_n "(cached) " >&6
42733else
42734  ac_check_lib_save_LIBS=$LIBS
42735LIBS="-lfdata  $LIBS"
42736cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42737/* end confdefs.h.  */
42738
42739/* Override any GCC internal prototype to avoid an error.
42740   Use char because int might match the return type of a GCC
42741   builtin and then its argument prototype would still apply.  */
42742#ifdef __cplusplus
42743extern "C"
42744#endif
42745char libfdata_list_get_element_mapped_range ();
42746int
42747main ()
42748{
42749return libfdata_list_get_element_mapped_range ();
42750  ;
42751  return 0;
42752}
42753_ACEOF
42754if ac_fn_c_try_link "$LINENO"; then :
42755  ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=yes
42756else
42757  ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=no
42758fi
42759rm -f core conftest.err conftest.$ac_objext \
42760    conftest$ac_exeext conftest.$ac_ext
42761LIBS=$ac_check_lib_save_LIBS
42762fi
42763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&5
42764$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&6; }
42765if test "x$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" = xyes; then :
42766  ac_cv_libfdata_dummy=yes
42767else
42768  ac_cv_libfdata=no
42769fi
42770
42771        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5
42772$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; }
42773if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then :
42774  $as_echo_n "(cached) " >&6
42775else
42776  ac_check_lib_save_LIBS=$LIBS
42777LIBS="-lfdata  $LIBS"
42778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42779/* end confdefs.h.  */
42780
42781/* Override any GCC internal prototype to avoid an error.
42782   Use char because int might match the return type of a GCC
42783   builtin and then its argument prototype would still apply.  */
42784#ifdef __cplusplus
42785extern "C"
42786#endif
42787char libfdata_list_get_mapped_offset ();
42788int
42789main ()
42790{
42791return libfdata_list_get_mapped_offset ();
42792  ;
42793  return 0;
42794}
42795_ACEOF
42796if ac_fn_c_try_link "$LINENO"; then :
42797  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes
42798else
42799  ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no
42800fi
42801rm -f core conftest.err conftest.$ac_objext \
42802    conftest$ac_exeext conftest.$ac_ext
42803LIBS=$ac_check_lib_save_LIBS
42804fi
42805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5
42806$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; }
42807if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then :
42808  ac_cv_libfdata_dummy=yes
42809else
42810  ac_cv_libfdata=no
42811fi
42812
42813        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5
42814$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; }
42815if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then :
42816  $as_echo_n "(cached) " >&6
42817else
42818  ac_check_lib_save_LIBS=$LIBS
42819LIBS="-lfdata  $LIBS"
42820cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42821/* end confdefs.h.  */
42822
42823/* Override any GCC internal prototype to avoid an error.
42824   Use char because int might match the return type of a GCC
42825   builtin and then its argument prototype would still apply.  */
42826#ifdef __cplusplus
42827extern "C"
42828#endif
42829char libfdata_list_set_mapped_offset ();
42830int
42831main ()
42832{
42833return libfdata_list_set_mapped_offset ();
42834  ;
42835  return 0;
42836}
42837_ACEOF
42838if ac_fn_c_try_link "$LINENO"; then :
42839  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes
42840else
42841  ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no
42842fi
42843rm -f core conftest.err conftest.$ac_objext \
42844    conftest$ac_exeext conftest.$ac_ext
42845LIBS=$ac_check_lib_save_LIBS
42846fi
42847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5
42848$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; }
42849if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then :
42850  ac_cv_libfdata_dummy=yes
42851else
42852  ac_cv_libfdata=no
42853fi
42854
42855
42856        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5
42857$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; }
42858if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then :
42859  $as_echo_n "(cached) " >&6
42860else
42861  ac_check_lib_save_LIBS=$LIBS
42862LIBS="-lfdata  $LIBS"
42863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42864/* end confdefs.h.  */
42865
42866/* Override any GCC internal prototype to avoid an error.
42867   Use char because int might match the return type of a GCC
42868   builtin and then its argument prototype would still apply.  */
42869#ifdef __cplusplus
42870extern "C"
42871#endif
42872char libfdata_list_get_mapped_size_by_index ();
42873int
42874main ()
42875{
42876return libfdata_list_get_mapped_size_by_index ();
42877  ;
42878  return 0;
42879}
42880_ACEOF
42881if ac_fn_c_try_link "$LINENO"; then :
42882  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes
42883else
42884  ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no
42885fi
42886rm -f core conftest.err conftest.$ac_objext \
42887    conftest$ac_exeext conftest.$ac_ext
42888LIBS=$ac_check_lib_save_LIBS
42889fi
42890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5
42891$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; }
42892if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then :
42893  ac_cv_libfdata_dummy=yes
42894else
42895  ac_cv_libfdata=no
42896fi
42897
42898        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5
42899$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; }
42900if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then :
42901  $as_echo_n "(cached) " >&6
42902else
42903  ac_check_lib_save_LIBS=$LIBS
42904LIBS="-lfdata  $LIBS"
42905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42906/* end confdefs.h.  */
42907
42908/* Override any GCC internal prototype to avoid an error.
42909   Use char because int might match the return type of a GCC
42910   builtin and then its argument prototype would still apply.  */
42911#ifdef __cplusplus
42912extern "C"
42913#endif
42914char libfdata_list_set_mapped_size_by_index ();
42915int
42916main ()
42917{
42918return libfdata_list_set_mapped_size_by_index ();
42919  ;
42920  return 0;
42921}
42922_ACEOF
42923if ac_fn_c_try_link "$LINENO"; then :
42924  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes
42925else
42926  ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no
42927fi
42928rm -f core conftest.err conftest.$ac_objext \
42929    conftest$ac_exeext conftest.$ac_ext
42930LIBS=$ac_check_lib_save_LIBS
42931fi
42932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5
42933$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; }
42934if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then :
42935  ac_cv_libfdata_dummy=yes
42936else
42937  ac_cv_libfdata=no
42938fi
42939
42940        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5
42941$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; }
42942if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then :
42943  $as_echo_n "(cached) " >&6
42944else
42945  ac_check_lib_save_LIBS=$LIBS
42946LIBS="-lfdata  $LIBS"
42947cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42948/* end confdefs.h.  */
42949
42950/* Override any GCC internal prototype to avoid an error.
42951   Use char because int might match the return type of a GCC
42952   builtin and then its argument prototype would still apply.  */
42953#ifdef __cplusplus
42954extern "C"
42955#endif
42956char libfdata_list_get_element_by_index_with_mapped_size ();
42957int
42958main ()
42959{
42960return libfdata_list_get_element_by_index_with_mapped_size ();
42961  ;
42962  return 0;
42963}
42964_ACEOF
42965if ac_fn_c_try_link "$LINENO"; then :
42966  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes
42967else
42968  ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no
42969fi
42970rm -f core conftest.err conftest.$ac_objext \
42971    conftest$ac_exeext conftest.$ac_ext
42972LIBS=$ac_check_lib_save_LIBS
42973fi
42974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5
42975$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; }
42976if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then :
42977  ac_cv_libfdata_dummy=yes
42978else
42979  ac_cv_libfdata=no
42980fi
42981
42982        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5
42983$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; }
42984if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then :
42985  $as_echo_n "(cached) " >&6
42986else
42987  ac_check_lib_save_LIBS=$LIBS
42988LIBS="-lfdata  $LIBS"
42989cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42990/* end confdefs.h.  */
42991
42992/* Override any GCC internal prototype to avoid an error.
42993   Use char because int might match the return type of a GCC
42994   builtin and then its argument prototype would still apply.  */
42995#ifdef __cplusplus
42996extern "C"
42997#endif
42998char libfdata_list_set_element_by_index_with_mapped_size ();
42999int
43000main ()
43001{
43002return libfdata_list_set_element_by_index_with_mapped_size ();
43003  ;
43004  return 0;
43005}
43006_ACEOF
43007if ac_fn_c_try_link "$LINENO"; then :
43008  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes
43009else
43010  ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no
43011fi
43012rm -f core conftest.err conftest.$ac_objext \
43013    conftest$ac_exeext conftest.$ac_ext
43014LIBS=$ac_check_lib_save_LIBS
43015fi
43016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5
43017$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; }
43018if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then :
43019  ac_cv_libfdata_dummy=yes
43020else
43021  ac_cv_libfdata=no
43022fi
43023
43024        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5
43025$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; }
43026if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then :
43027  $as_echo_n "(cached) " >&6
43028else
43029  ac_check_lib_save_LIBS=$LIBS
43030LIBS="-lfdata  $LIBS"
43031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43032/* end confdefs.h.  */
43033
43034/* Override any GCC internal prototype to avoid an error.
43035   Use char because int might match the return type of a GCC
43036   builtin and then its argument prototype would still apply.  */
43037#ifdef __cplusplus
43038extern "C"
43039#endif
43040char libfdata_list_append_element_with_mapped_size ();
43041int
43042main ()
43043{
43044return libfdata_list_append_element_with_mapped_size ();
43045  ;
43046  return 0;
43047}
43048_ACEOF
43049if ac_fn_c_try_link "$LINENO"; then :
43050  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes
43051else
43052  ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no
43053fi
43054rm -f core conftest.err conftest.$ac_objext \
43055    conftest$ac_exeext conftest.$ac_ext
43056LIBS=$ac_check_lib_save_LIBS
43057fi
43058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5
43059$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; }
43060if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then :
43061  ac_cv_libfdata_dummy=yes
43062else
43063  ac_cv_libfdata=no
43064fi
43065
43066
43067        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5
43068$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; }
43069if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then :
43070  $as_echo_n "(cached) " >&6
43071else
43072  ac_check_lib_save_LIBS=$LIBS
43073LIBS="-lfdata  $LIBS"
43074cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43075/* end confdefs.h.  */
43076
43077/* Override any GCC internal prototype to avoid an error.
43078   Use char because int might match the return type of a GCC
43079   builtin and then its argument prototype would still apply.  */
43080#ifdef __cplusplus
43081extern "C"
43082#endif
43083char libfdata_list_get_element_index_at_offset ();
43084int
43085main ()
43086{
43087return libfdata_list_get_element_index_at_offset ();
43088  ;
43089  return 0;
43090}
43091_ACEOF
43092if ac_fn_c_try_link "$LINENO"; then :
43093  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes
43094else
43095  ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no
43096fi
43097rm -f core conftest.err conftest.$ac_objext \
43098    conftest$ac_exeext conftest.$ac_ext
43099LIBS=$ac_check_lib_save_LIBS
43100fi
43101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5
43102$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; }
43103if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then :
43104  ac_cv_libfdata_dummy=yes
43105else
43106  ac_cv_libfdata=no
43107fi
43108
43109        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5
43110$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; }
43111if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then :
43112  $as_echo_n "(cached) " >&6
43113else
43114  ac_check_lib_save_LIBS=$LIBS
43115LIBS="-lfdata  $LIBS"
43116cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43117/* end confdefs.h.  */
43118
43119/* Override any GCC internal prototype to avoid an error.
43120   Use char because int might match the return type of a GCC
43121   builtin and then its argument prototype would still apply.  */
43122#ifdef __cplusplus
43123extern "C"
43124#endif
43125char libfdata_list_get_list_element_at_offset ();
43126int
43127main ()
43128{
43129return libfdata_list_get_list_element_at_offset ();
43130  ;
43131  return 0;
43132}
43133_ACEOF
43134if ac_fn_c_try_link "$LINENO"; then :
43135  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes
43136else
43137  ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no
43138fi
43139rm -f core conftest.err conftest.$ac_objext \
43140    conftest$ac_exeext conftest.$ac_ext
43141LIBS=$ac_check_lib_save_LIBS
43142fi
43143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5
43144$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; }
43145if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then :
43146  ac_cv_libfdata_dummy=yes
43147else
43148  ac_cv_libfdata=no
43149fi
43150
43151        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5
43152$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; }
43153if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then :
43154  $as_echo_n "(cached) " >&6
43155else
43156  ac_check_lib_save_LIBS=$LIBS
43157LIBS="-lfdata  $LIBS"
43158cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43159/* end confdefs.h.  */
43160
43161/* Override any GCC internal prototype to avoid an error.
43162   Use char because int might match the return type of a GCC
43163   builtin and then its argument prototype would still apply.  */
43164#ifdef __cplusplus
43165extern "C"
43166#endif
43167char libfdata_list_get_element_at_offset ();
43168int
43169main ()
43170{
43171return libfdata_list_get_element_at_offset ();
43172  ;
43173  return 0;
43174}
43175_ACEOF
43176if ac_fn_c_try_link "$LINENO"; then :
43177  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes
43178else
43179  ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no
43180fi
43181rm -f core conftest.err conftest.$ac_objext \
43182    conftest$ac_exeext conftest.$ac_ext
43183LIBS=$ac_check_lib_save_LIBS
43184fi
43185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5
43186$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; }
43187if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then :
43188  ac_cv_libfdata_dummy=yes
43189else
43190  ac_cv_libfdata=no
43191fi
43192
43193
43194        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5
43195$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; }
43196if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then :
43197  $as_echo_n "(cached) " >&6
43198else
43199  ac_check_lib_save_LIBS=$LIBS
43200LIBS="-lfdata  $LIBS"
43201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43202/* end confdefs.h.  */
43203
43204/* Override any GCC internal prototype to avoid an error.
43205   Use char because int might match the return type of a GCC
43206   builtin and then its argument prototype would still apply.  */
43207#ifdef __cplusplus
43208extern "C"
43209#endif
43210char libfdata_list_cache_element_value ();
43211int
43212main ()
43213{
43214return libfdata_list_cache_element_value ();
43215  ;
43216  return 0;
43217}
43218_ACEOF
43219if ac_fn_c_try_link "$LINENO"; then :
43220  ac_cv_lib_fdata_libfdata_list_cache_element_value=yes
43221else
43222  ac_cv_lib_fdata_libfdata_list_cache_element_value=no
43223fi
43224rm -f core conftest.err conftest.$ac_objext \
43225    conftest$ac_exeext conftest.$ac_ext
43226LIBS=$ac_check_lib_save_LIBS
43227fi
43228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_cache_element_value" >&5
43229$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; }
43230if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then :
43231  ac_cv_libfdata_dummy=yes
43232else
43233  ac_cv_libfdata=no
43234fi
43235
43236        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5
43237$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; }
43238if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then :
43239  $as_echo_n "(cached) " >&6
43240else
43241  ac_check_lib_save_LIBS=$LIBS
43242LIBS="-lfdata  $LIBS"
43243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43244/* end confdefs.h.  */
43245
43246/* Override any GCC internal prototype to avoid an error.
43247   Use char because int might match the return type of a GCC
43248   builtin and then its argument prototype would still apply.  */
43249#ifdef __cplusplus
43250extern "C"
43251#endif
43252char libfdata_list_get_element_value_by_index ();
43253int
43254main ()
43255{
43256return libfdata_list_get_element_value_by_index ();
43257  ;
43258  return 0;
43259}
43260_ACEOF
43261if ac_fn_c_try_link "$LINENO"; then :
43262  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes
43263else
43264  ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=no
43265fi
43266rm -f core conftest.err conftest.$ac_objext \
43267    conftest$ac_exeext conftest.$ac_ext
43268LIBS=$ac_check_lib_save_LIBS
43269fi
43270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&5
43271$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; }
43272if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then :
43273  ac_cv_libfdata_dummy=yes
43274else
43275  ac_cv_libfdata=no
43276fi
43277
43278        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5
43279$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; }
43280if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then :
43281  $as_echo_n "(cached) " >&6
43282else
43283  ac_check_lib_save_LIBS=$LIBS
43284LIBS="-lfdata  $LIBS"
43285cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43286/* end confdefs.h.  */
43287
43288/* Override any GCC internal prototype to avoid an error.
43289   Use char because int might match the return type of a GCC
43290   builtin and then its argument prototype would still apply.  */
43291#ifdef __cplusplus
43292extern "C"
43293#endif
43294char libfdata_list_get_element_value_at_offset ();
43295int
43296main ()
43297{
43298return libfdata_list_get_element_value_at_offset ();
43299  ;
43300  return 0;
43301}
43302_ACEOF
43303if ac_fn_c_try_link "$LINENO"; then :
43304  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes
43305else
43306  ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=no
43307fi
43308rm -f core conftest.err conftest.$ac_objext \
43309    conftest$ac_exeext conftest.$ac_ext
43310LIBS=$ac_check_lib_save_LIBS
43311fi
43312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&5
43313$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; }
43314if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then :
43315  ac_cv_libfdata_dummy=yes
43316else
43317  ac_cv_libfdata=no
43318fi
43319
43320        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5
43321$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; }
43322if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then :
43323  $as_echo_n "(cached) " >&6
43324else
43325  ac_check_lib_save_LIBS=$LIBS
43326LIBS="-lfdata  $LIBS"
43327cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43328/* end confdefs.h.  */
43329
43330/* Override any GCC internal prototype to avoid an error.
43331   Use char because int might match the return type of a GCC
43332   builtin and then its argument prototype would still apply.  */
43333#ifdef __cplusplus
43334extern "C"
43335#endif
43336char libfdata_list_set_element_value_by_index ();
43337int
43338main ()
43339{
43340return libfdata_list_set_element_value_by_index ();
43341  ;
43342  return 0;
43343}
43344_ACEOF
43345if ac_fn_c_try_link "$LINENO"; then :
43346  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes
43347else
43348  ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=no
43349fi
43350rm -f core conftest.err conftest.$ac_objext \
43351    conftest$ac_exeext conftest.$ac_ext
43352LIBS=$ac_check_lib_save_LIBS
43353fi
43354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&5
43355$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; }
43356if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then :
43357  ac_cv_libfdata_dummy=yes
43358else
43359  ac_cv_libfdata=no
43360fi
43361
43362
43363        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5
43364$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; }
43365if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then :
43366  $as_echo_n "(cached) " >&6
43367else
43368  ac_check_lib_save_LIBS=$LIBS
43369LIBS="-lfdata  $LIBS"
43370cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371/* end confdefs.h.  */
43372
43373/* Override any GCC internal prototype to avoid an error.
43374   Use char because int might match the return type of a GCC
43375   builtin and then its argument prototype would still apply.  */
43376#ifdef __cplusplus
43377extern "C"
43378#endif
43379char libfdata_list_set_element_value_at_offset ();
43380int
43381main ()
43382{
43383return libfdata_list_set_element_value_at_offset ();
43384  ;
43385  return 0;
43386}
43387_ACEOF
43388if ac_fn_c_try_link "$LINENO"; then :
43389  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes
43390else
43391  ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=no
43392fi
43393rm -f core conftest.err conftest.$ac_objext \
43394    conftest$ac_exeext conftest.$ac_ext
43395LIBS=$ac_check_lib_save_LIBS
43396fi
43397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&5
43398$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; }
43399if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then :
43400  ac_cv_libfdata_dummy=yes
43401else
43402  ac_cv_libfdata=no
43403fi
43404
43405        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5
43406$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; }
43407if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then :
43408  $as_echo_n "(cached) " >&6
43409else
43410  ac_check_lib_save_LIBS=$LIBS
43411LIBS="-lfdata  $LIBS"
43412cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43413/* end confdefs.h.  */
43414
43415/* Override any GCC internal prototype to avoid an error.
43416   Use char because int might match the return type of a GCC
43417   builtin and then its argument prototype would still apply.  */
43418#ifdef __cplusplus
43419extern "C"
43420#endif
43421char libfdata_list_get_size ();
43422int
43423main ()
43424{
43425return libfdata_list_get_size ();
43426  ;
43427  return 0;
43428}
43429_ACEOF
43430if ac_fn_c_try_link "$LINENO"; then :
43431  ac_cv_lib_fdata_libfdata_list_get_size=yes
43432else
43433  ac_cv_lib_fdata_libfdata_list_get_size=no
43434fi
43435rm -f core conftest.err conftest.$ac_objext \
43436    conftest$ac_exeext conftest.$ac_ext
43437LIBS=$ac_check_lib_save_LIBS
43438fi
43439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_size" >&5
43440$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; }
43441if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then :
43442  ac_cv_libfdata_dummy=yes
43443else
43444  ac_cv_libfdata=no
43445fi
43446
43447
43448        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
43449$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
43450if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
43451  $as_echo_n "(cached) " >&6
43452else
43453  ac_check_lib_save_LIBS=$LIBS
43454LIBS="-lfdata  $LIBS"
43455cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43456/* end confdefs.h.  */
43457
43458/* Override any GCC internal prototype to avoid an error.
43459   Use char because int might match the return type of a GCC
43460   builtin and then its argument prototype would still apply.  */
43461#ifdef __cplusplus
43462extern "C"
43463#endif
43464char libfdata_list_element_get_mapped_size ();
43465int
43466main ()
43467{
43468return libfdata_list_element_get_mapped_size ();
43469  ;
43470  return 0;
43471}
43472_ACEOF
43473if ac_fn_c_try_link "$LINENO"; then :
43474  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
43475else
43476  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
43477fi
43478rm -f core conftest.err conftest.$ac_objext \
43479    conftest$ac_exeext conftest.$ac_ext
43480LIBS=$ac_check_lib_save_LIBS
43481fi
43482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
43483$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
43484if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
43485  ac_cv_libfdata_dummy=yes
43486else
43487  ac_cv_libfdata=no
43488fi
43489
43490        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
43491$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
43492if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
43493  $as_echo_n "(cached) " >&6
43494else
43495  ac_check_lib_save_LIBS=$LIBS
43496LIBS="-lfdata  $LIBS"
43497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43498/* end confdefs.h.  */
43499
43500/* Override any GCC internal prototype to avoid an error.
43501   Use char because int might match the return type of a GCC
43502   builtin and then its argument prototype would still apply.  */
43503#ifdef __cplusplus
43504extern "C"
43505#endif
43506char libfdata_list_element_set_mapped_size ();
43507int
43508main ()
43509{
43510return libfdata_list_element_set_mapped_size ();
43511  ;
43512  return 0;
43513}
43514_ACEOF
43515if ac_fn_c_try_link "$LINENO"; then :
43516  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
43517else
43518  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
43519fi
43520rm -f core conftest.err conftest.$ac_objext \
43521    conftest$ac_exeext conftest.$ac_ext
43522LIBS=$ac_check_lib_save_LIBS
43523fi
43524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
43525$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
43526if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
43527  ac_cv_libfdata_dummy=yes
43528else
43529  ac_cv_libfdata=no
43530fi
43531
43532        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
43533$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
43534if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
43535  $as_echo_n "(cached) " >&6
43536else
43537  ac_check_lib_save_LIBS=$LIBS
43538LIBS="-lfdata  $LIBS"
43539cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43540/* end confdefs.h.  */
43541
43542/* Override any GCC internal prototype to avoid an error.
43543   Use char because int might match the return type of a GCC
43544   builtin and then its argument prototype would still apply.  */
43545#ifdef __cplusplus
43546extern "C"
43547#endif
43548char libfdata_list_element_get_element_value ();
43549int
43550main ()
43551{
43552return libfdata_list_element_get_element_value ();
43553  ;
43554  return 0;
43555}
43556_ACEOF
43557if ac_fn_c_try_link "$LINENO"; then :
43558  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
43559else
43560  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
43561fi
43562rm -f core conftest.err conftest.$ac_objext \
43563    conftest$ac_exeext conftest.$ac_ext
43564LIBS=$ac_check_lib_save_LIBS
43565fi
43566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
43567$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
43568if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
43569  ac_cv_libfdata_dummy=yes
43570else
43571  ac_cv_libfdata=no
43572fi
43573
43574        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
43575$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
43576if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
43577  $as_echo_n "(cached) " >&6
43578else
43579  ac_check_lib_save_LIBS=$LIBS
43580LIBS="-lfdata  $LIBS"
43581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43582/* end confdefs.h.  */
43583
43584/* Override any GCC internal prototype to avoid an error.
43585   Use char because int might match the return type of a GCC
43586   builtin and then its argument prototype would still apply.  */
43587#ifdef __cplusplus
43588extern "C"
43589#endif
43590char libfdata_list_element_set_element_value ();
43591int
43592main ()
43593{
43594return libfdata_list_element_set_element_value ();
43595  ;
43596  return 0;
43597}
43598_ACEOF
43599if ac_fn_c_try_link "$LINENO"; then :
43600  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
43601else
43602  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
43603fi
43604rm -f core conftest.err conftest.$ac_objext \
43605    conftest$ac_exeext conftest.$ac_ext
43606LIBS=$ac_check_lib_save_LIBS
43607fi
43608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
43609$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
43610if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
43611  ac_cv_libfdata_dummy=yes
43612else
43613  ac_cv_libfdata=no
43614fi
43615
43616
43617                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5
43618$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; }
43619if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then :
43620  $as_echo_n "(cached) " >&6
43621else
43622  ac_check_lib_save_LIBS=$LIBS
43623LIBS="-lfdata  $LIBS"
43624cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43625/* end confdefs.h.  */
43626
43627/* Override any GCC internal prototype to avoid an error.
43628   Use char because int might match the return type of a GCC
43629   builtin and then its argument prototype would still apply.  */
43630#ifdef __cplusplus
43631extern "C"
43632#endif
43633char libfdata_list_element_get_mapped_size ();
43634int
43635main ()
43636{
43637return libfdata_list_element_get_mapped_size ();
43638  ;
43639  return 0;
43640}
43641_ACEOF
43642if ac_fn_c_try_link "$LINENO"; then :
43643  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes
43644else
43645  ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no
43646fi
43647rm -f core conftest.err conftest.$ac_objext \
43648    conftest$ac_exeext conftest.$ac_ext
43649LIBS=$ac_check_lib_save_LIBS
43650fi
43651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5
43652$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; }
43653if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then :
43654  ac_cv_libfdata_dummy=yes
43655else
43656  ac_cv_libfdata=no
43657fi
43658
43659        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5
43660$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; }
43661if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then :
43662  $as_echo_n "(cached) " >&6
43663else
43664  ac_check_lib_save_LIBS=$LIBS
43665LIBS="-lfdata  $LIBS"
43666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667/* end confdefs.h.  */
43668
43669/* Override any GCC internal prototype to avoid an error.
43670   Use char because int might match the return type of a GCC
43671   builtin and then its argument prototype would still apply.  */
43672#ifdef __cplusplus
43673extern "C"
43674#endif
43675char libfdata_list_element_set_mapped_size ();
43676int
43677main ()
43678{
43679return libfdata_list_element_set_mapped_size ();
43680  ;
43681  return 0;
43682}
43683_ACEOF
43684if ac_fn_c_try_link "$LINENO"; then :
43685  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes
43686else
43687  ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no
43688fi
43689rm -f core conftest.err conftest.$ac_objext \
43690    conftest$ac_exeext conftest.$ac_ext
43691LIBS=$ac_check_lib_save_LIBS
43692fi
43693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5
43694$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; }
43695if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then :
43696  ac_cv_libfdata_dummy=yes
43697else
43698  ac_cv_libfdata=no
43699fi
43700
43701        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5
43702$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; }
43703if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then :
43704  $as_echo_n "(cached) " >&6
43705else
43706  ac_check_lib_save_LIBS=$LIBS
43707LIBS="-lfdata  $LIBS"
43708cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43709/* end confdefs.h.  */
43710
43711/* Override any GCC internal prototype to avoid an error.
43712   Use char because int might match the return type of a GCC
43713   builtin and then its argument prototype would still apply.  */
43714#ifdef __cplusplus
43715extern "C"
43716#endif
43717char libfdata_list_element_get_element_value ();
43718int
43719main ()
43720{
43721return libfdata_list_element_get_element_value ();
43722  ;
43723  return 0;
43724}
43725_ACEOF
43726if ac_fn_c_try_link "$LINENO"; then :
43727  ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes
43728else
43729  ac_cv_lib_fdata_libfdata_list_element_get_element_value=no
43730fi
43731rm -f core conftest.err conftest.$ac_objext \
43732    conftest$ac_exeext conftest.$ac_ext
43733LIBS=$ac_check_lib_save_LIBS
43734fi
43735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5
43736$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; }
43737if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then :
43738  ac_cv_libfdata_dummy=yes
43739else
43740  ac_cv_libfdata=no
43741fi
43742
43743        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5
43744$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; }
43745if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then :
43746  $as_echo_n "(cached) " >&6
43747else
43748  ac_check_lib_save_LIBS=$LIBS
43749LIBS="-lfdata  $LIBS"
43750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43751/* end confdefs.h.  */
43752
43753/* Override any GCC internal prototype to avoid an error.
43754   Use char because int might match the return type of a GCC
43755   builtin and then its argument prototype would still apply.  */
43756#ifdef __cplusplus
43757extern "C"
43758#endif
43759char libfdata_list_element_set_element_value ();
43760int
43761main ()
43762{
43763return libfdata_list_element_set_element_value ();
43764  ;
43765  return 0;
43766}
43767_ACEOF
43768if ac_fn_c_try_link "$LINENO"; then :
43769  ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes
43770else
43771  ac_cv_lib_fdata_libfdata_list_element_set_element_value=no
43772fi
43773rm -f core conftest.err conftest.$ac_objext \
43774    conftest$ac_exeext conftest.$ac_ext
43775LIBS=$ac_check_lib_save_LIBS
43776fi
43777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5
43778$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; }
43779if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then :
43780  ac_cv_libfdata_dummy=yes
43781else
43782  ac_cv_libfdata=no
43783fi
43784
43785
43786
43787                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5
43788$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; }
43789if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then :
43790  $as_echo_n "(cached) " >&6
43791else
43792  ac_check_lib_save_LIBS=$LIBS
43793LIBS="-lfdata  $LIBS"
43794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43795/* end confdefs.h.  */
43796
43797/* Override any GCC internal prototype to avoid an error.
43798   Use char because int might match the return type of a GCC
43799   builtin and then its argument prototype would still apply.  */
43800#ifdef __cplusplus
43801extern "C"
43802#endif
43803char libfdata_stream_initialize ();
43804int
43805main ()
43806{
43807return libfdata_stream_initialize ();
43808  ;
43809  return 0;
43810}
43811_ACEOF
43812if ac_fn_c_try_link "$LINENO"; then :
43813  ac_cv_lib_fdata_libfdata_stream_initialize=yes
43814else
43815  ac_cv_lib_fdata_libfdata_stream_initialize=no
43816fi
43817rm -f core conftest.err conftest.$ac_objext \
43818    conftest$ac_exeext conftest.$ac_ext
43819LIBS=$ac_check_lib_save_LIBS
43820fi
43821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5
43822$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; }
43823if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then :
43824  ac_cv_libfdata_dummy=yes
43825else
43826  ac_cv_libfdata=no
43827fi
43828
43829        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5
43830$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; }
43831if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then :
43832  $as_echo_n "(cached) " >&6
43833else
43834  ac_check_lib_save_LIBS=$LIBS
43835LIBS="-lfdata  $LIBS"
43836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43837/* end confdefs.h.  */
43838
43839/* Override any GCC internal prototype to avoid an error.
43840   Use char because int might match the return type of a GCC
43841   builtin and then its argument prototype would still apply.  */
43842#ifdef __cplusplus
43843extern "C"
43844#endif
43845char libfdata_stream_free ();
43846int
43847main ()
43848{
43849return libfdata_stream_free ();
43850  ;
43851  return 0;
43852}
43853_ACEOF
43854if ac_fn_c_try_link "$LINENO"; then :
43855  ac_cv_lib_fdata_libfdata_stream_free=yes
43856else
43857  ac_cv_lib_fdata_libfdata_stream_free=no
43858fi
43859rm -f core conftest.err conftest.$ac_objext \
43860    conftest$ac_exeext conftest.$ac_ext
43861LIBS=$ac_check_lib_save_LIBS
43862fi
43863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5
43864$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; }
43865if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then :
43866  ac_cv_libfdata_dummy=yes
43867else
43868  ac_cv_libfdata=no
43869fi
43870
43871        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5
43872$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; }
43873if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then :
43874  $as_echo_n "(cached) " >&6
43875else
43876  ac_check_lib_save_LIBS=$LIBS
43877LIBS="-lfdata  $LIBS"
43878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43879/* end confdefs.h.  */
43880
43881/* Override any GCC internal prototype to avoid an error.
43882   Use char because int might match the return type of a GCC
43883   builtin and then its argument prototype would still apply.  */
43884#ifdef __cplusplus
43885extern "C"
43886#endif
43887char libfdata_stream_clone ();
43888int
43889main ()
43890{
43891return libfdata_stream_clone ();
43892  ;
43893  return 0;
43894}
43895_ACEOF
43896if ac_fn_c_try_link "$LINENO"; then :
43897  ac_cv_lib_fdata_libfdata_stream_clone=yes
43898else
43899  ac_cv_lib_fdata_libfdata_stream_clone=no
43900fi
43901rm -f core conftest.err conftest.$ac_objext \
43902    conftest$ac_exeext conftest.$ac_ext
43903LIBS=$ac_check_lib_save_LIBS
43904fi
43905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5
43906$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; }
43907if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then :
43908  ac_cv_libfdata_dummy=yes
43909else
43910  ac_cv_libfdata=no
43911fi
43912
43913
43914        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5
43915$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; }
43916if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then :
43917  $as_echo_n "(cached) " >&6
43918else
43919  ac_check_lib_save_LIBS=$LIBS
43920LIBS="-lfdata  $LIBS"
43921cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43922/* end confdefs.h.  */
43923
43924/* Override any GCC internal prototype to avoid an error.
43925   Use char because int might match the return type of a GCC
43926   builtin and then its argument prototype would still apply.  */
43927#ifdef __cplusplus
43928extern "C"
43929#endif
43930char libfdata_stream_empty ();
43931int
43932main ()
43933{
43934return libfdata_stream_empty ();
43935  ;
43936  return 0;
43937}
43938_ACEOF
43939if ac_fn_c_try_link "$LINENO"; then :
43940  ac_cv_lib_fdata_libfdata_stream_empty=yes
43941else
43942  ac_cv_lib_fdata_libfdata_stream_empty=no
43943fi
43944rm -f core conftest.err conftest.$ac_objext \
43945    conftest$ac_exeext conftest.$ac_ext
43946LIBS=$ac_check_lib_save_LIBS
43947fi
43948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5
43949$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; }
43950if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then :
43951  ac_cv_libfdata_dummy=yes
43952else
43953  ac_cv_libfdata=no
43954fi
43955
43956        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5
43957$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; }
43958if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then :
43959  $as_echo_n "(cached) " >&6
43960else
43961  ac_check_lib_save_LIBS=$LIBS
43962LIBS="-lfdata  $LIBS"
43963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43964/* end confdefs.h.  */
43965
43966/* Override any GCC internal prototype to avoid an error.
43967   Use char because int might match the return type of a GCC
43968   builtin and then its argument prototype would still apply.  */
43969#ifdef __cplusplus
43970extern "C"
43971#endif
43972char libfdata_stream_resize ();
43973int
43974main ()
43975{
43976return libfdata_stream_resize ();
43977  ;
43978  return 0;
43979}
43980_ACEOF
43981if ac_fn_c_try_link "$LINENO"; then :
43982  ac_cv_lib_fdata_libfdata_stream_resize=yes
43983else
43984  ac_cv_lib_fdata_libfdata_stream_resize=no
43985fi
43986rm -f core conftest.err conftest.$ac_objext \
43987    conftest$ac_exeext conftest.$ac_ext
43988LIBS=$ac_check_lib_save_LIBS
43989fi
43990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5
43991$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; }
43992if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then :
43993  ac_cv_libfdata_dummy=yes
43994else
43995  ac_cv_libfdata=no
43996fi
43997
43998        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5
43999$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; }
44000if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then :
44001  $as_echo_n "(cached) " >&6
44002else
44003  ac_check_lib_save_LIBS=$LIBS
44004LIBS="-lfdata  $LIBS"
44005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44006/* end confdefs.h.  */
44007
44008/* Override any GCC internal prototype to avoid an error.
44009   Use char because int might match the return type of a GCC
44010   builtin and then its argument prototype would still apply.  */
44011#ifdef __cplusplus
44012extern "C"
44013#endif
44014char libfdata_stream_reverse ();
44015int
44016main ()
44017{
44018return libfdata_stream_reverse ();
44019  ;
44020  return 0;
44021}
44022_ACEOF
44023if ac_fn_c_try_link "$LINENO"; then :
44024  ac_cv_lib_fdata_libfdata_stream_reverse=yes
44025else
44026  ac_cv_lib_fdata_libfdata_stream_reverse=no
44027fi
44028rm -f core conftest.err conftest.$ac_objext \
44029    conftest$ac_exeext conftest.$ac_ext
44030LIBS=$ac_check_lib_save_LIBS
44031fi
44032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5
44033$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; }
44034if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then :
44035  ac_cv_libfdata_dummy=yes
44036else
44037  ac_cv_libfdata=no
44038fi
44039
44040
44041        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5
44042$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; }
44043if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then :
44044  $as_echo_n "(cached) " >&6
44045else
44046  ac_check_lib_save_LIBS=$LIBS
44047LIBS="-lfdata  $LIBS"
44048cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44049/* end confdefs.h.  */
44050
44051/* Override any GCC internal prototype to avoid an error.
44052   Use char because int might match the return type of a GCC
44053   builtin and then its argument prototype would still apply.  */
44054#ifdef __cplusplus
44055extern "C"
44056#endif
44057char libfdata_stream_get_number_of_segments ();
44058int
44059main ()
44060{
44061return libfdata_stream_get_number_of_segments ();
44062  ;
44063  return 0;
44064}
44065_ACEOF
44066if ac_fn_c_try_link "$LINENO"; then :
44067  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes
44068else
44069  ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no
44070fi
44071rm -f core conftest.err conftest.$ac_objext \
44072    conftest$ac_exeext conftest.$ac_ext
44073LIBS=$ac_check_lib_save_LIBS
44074fi
44075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5
44076$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; }
44077if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then :
44078  ac_cv_libfdata_dummy=yes
44079else
44080  ac_cv_libfdata=no
44081fi
44082
44083        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5
44084$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; }
44085if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then :
44086  $as_echo_n "(cached) " >&6
44087else
44088  ac_check_lib_save_LIBS=$LIBS
44089LIBS="-lfdata  $LIBS"
44090cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44091/* end confdefs.h.  */
44092
44093/* Override any GCC internal prototype to avoid an error.
44094   Use char because int might match the return type of a GCC
44095   builtin and then its argument prototype would still apply.  */
44096#ifdef __cplusplus
44097extern "C"
44098#endif
44099char libfdata_stream_get_segment_by_index ();
44100int
44101main ()
44102{
44103return libfdata_stream_get_segment_by_index ();
44104  ;
44105  return 0;
44106}
44107_ACEOF
44108if ac_fn_c_try_link "$LINENO"; then :
44109  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes
44110else
44111  ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no
44112fi
44113rm -f core conftest.err conftest.$ac_objext \
44114    conftest$ac_exeext conftest.$ac_ext
44115LIBS=$ac_check_lib_save_LIBS
44116fi
44117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5
44118$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; }
44119if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then :
44120  ac_cv_libfdata_dummy=yes
44121else
44122  ac_cv_libfdata=no
44123fi
44124
44125        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5
44126$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; }
44127if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then :
44128  $as_echo_n "(cached) " >&6
44129else
44130  ac_check_lib_save_LIBS=$LIBS
44131LIBS="-lfdata  $LIBS"
44132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44133/* end confdefs.h.  */
44134
44135/* Override any GCC internal prototype to avoid an error.
44136   Use char because int might match the return type of a GCC
44137   builtin and then its argument prototype would still apply.  */
44138#ifdef __cplusplus
44139extern "C"
44140#endif
44141char libfdata_stream_set_segment_by_index ();
44142int
44143main ()
44144{
44145return libfdata_stream_set_segment_by_index ();
44146  ;
44147  return 0;
44148}
44149_ACEOF
44150if ac_fn_c_try_link "$LINENO"; then :
44151  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes
44152else
44153  ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no
44154fi
44155rm -f core conftest.err conftest.$ac_objext \
44156    conftest$ac_exeext conftest.$ac_ext
44157LIBS=$ac_check_lib_save_LIBS
44158fi
44159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5
44160$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; }
44161if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then :
44162  ac_cv_libfdata_dummy=yes
44163else
44164  ac_cv_libfdata=no
44165fi
44166
44167        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5
44168$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; }
44169if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then :
44170  $as_echo_n "(cached) " >&6
44171else
44172  ac_check_lib_save_LIBS=$LIBS
44173LIBS="-lfdata  $LIBS"
44174cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44175/* end confdefs.h.  */
44176
44177/* Override any GCC internal prototype to avoid an error.
44178   Use char because int might match the return type of a GCC
44179   builtin and then its argument prototype would still apply.  */
44180#ifdef __cplusplus
44181extern "C"
44182#endif
44183char libfdata_stream_prepend_segment ();
44184int
44185main ()
44186{
44187return libfdata_stream_prepend_segment ();
44188  ;
44189  return 0;
44190}
44191_ACEOF
44192if ac_fn_c_try_link "$LINENO"; then :
44193  ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes
44194else
44195  ac_cv_lib_fdata_libfdata_stream_prepend_segment=no
44196fi
44197rm -f core conftest.err conftest.$ac_objext \
44198    conftest$ac_exeext conftest.$ac_ext
44199LIBS=$ac_check_lib_save_LIBS
44200fi
44201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5
44202$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; }
44203if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then :
44204  ac_cv_libfdata_dummy=yes
44205else
44206  ac_cv_libfdata=no
44207fi
44208
44209        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5
44210$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; }
44211if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then :
44212  $as_echo_n "(cached) " >&6
44213else
44214  ac_check_lib_save_LIBS=$LIBS
44215LIBS="-lfdata  $LIBS"
44216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217/* end confdefs.h.  */
44218
44219/* Override any GCC internal prototype to avoid an error.
44220   Use char because int might match the return type of a GCC
44221   builtin and then its argument prototype would still apply.  */
44222#ifdef __cplusplus
44223extern "C"
44224#endif
44225char libfdata_stream_append_segment ();
44226int
44227main ()
44228{
44229return libfdata_stream_append_segment ();
44230  ;
44231  return 0;
44232}
44233_ACEOF
44234if ac_fn_c_try_link "$LINENO"; then :
44235  ac_cv_lib_fdata_libfdata_stream_append_segment=yes
44236else
44237  ac_cv_lib_fdata_libfdata_stream_append_segment=no
44238fi
44239rm -f core conftest.err conftest.$ac_objext \
44240    conftest$ac_exeext conftest.$ac_ext
44241LIBS=$ac_check_lib_save_LIBS
44242fi
44243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5
44244$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; }
44245if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then :
44246  ac_cv_libfdata_dummy=yes
44247else
44248  ac_cv_libfdata=no
44249fi
44250
44251        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5
44252$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; }
44253if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then :
44254  $as_echo_n "(cached) " >&6
44255else
44256  ac_check_lib_save_LIBS=$LIBS
44257LIBS="-lfdata  $LIBS"
44258cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44259/* end confdefs.h.  */
44260
44261/* Override any GCC internal prototype to avoid an error.
44262   Use char because int might match the return type of a GCC
44263   builtin and then its argument prototype would still apply.  */
44264#ifdef __cplusplus
44265extern "C"
44266#endif
44267char libfdata_stream_set_mapped_size ();
44268int
44269main ()
44270{
44271return libfdata_stream_set_mapped_size ();
44272  ;
44273  return 0;
44274}
44275_ACEOF
44276if ac_fn_c_try_link "$LINENO"; then :
44277  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes
44278else
44279  ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no
44280fi
44281rm -f core conftest.err conftest.$ac_objext \
44282    conftest$ac_exeext conftest.$ac_ext
44283LIBS=$ac_check_lib_save_LIBS
44284fi
44285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5
44286$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; }
44287if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then :
44288  ac_cv_libfdata_dummy=yes
44289else
44290  ac_cv_libfdata=no
44291fi
44292
44293
44294        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5
44295$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; }
44296if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then :
44297  $as_echo_n "(cached) " >&6
44298else
44299  ac_check_lib_save_LIBS=$LIBS
44300LIBS="-lfdata  $LIBS"
44301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44302/* end confdefs.h.  */
44303
44304/* Override any GCC internal prototype to avoid an error.
44305   Use char because int might match the return type of a GCC
44306   builtin and then its argument prototype would still apply.  */
44307#ifdef __cplusplus
44308extern "C"
44309#endif
44310char libfdata_stream_get_segment_mapped_range ();
44311int
44312main ()
44313{
44314return libfdata_stream_get_segment_mapped_range ();
44315  ;
44316  return 0;
44317}
44318_ACEOF
44319if ac_fn_c_try_link "$LINENO"; then :
44320  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes
44321else
44322  ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no
44323fi
44324rm -f core conftest.err conftest.$ac_objext \
44325    conftest$ac_exeext conftest.$ac_ext
44326LIBS=$ac_check_lib_save_LIBS
44327fi
44328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5
44329$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; }
44330if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then :
44331  ac_cv_libfdata_dummy=yes
44332else
44333  ac_cv_libfdata=no
44334fi
44335
44336        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5
44337$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; }
44338if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then :
44339  $as_echo_n "(cached) " >&6
44340else
44341  ac_check_lib_save_LIBS=$LIBS
44342LIBS="-lfdata  $LIBS"
44343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44344/* end confdefs.h.  */
44345
44346/* Override any GCC internal prototype to avoid an error.
44347   Use char because int might match the return type of a GCC
44348   builtin and then its argument prototype would still apply.  */
44349#ifdef __cplusplus
44350extern "C"
44351#endif
44352char libfdata_stream_get_segment_index_at_offset ();
44353int
44354main ()
44355{
44356return libfdata_stream_get_segment_index_at_offset ();
44357  ;
44358  return 0;
44359}
44360_ACEOF
44361if ac_fn_c_try_link "$LINENO"; then :
44362  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes
44363else
44364  ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no
44365fi
44366rm -f core conftest.err conftest.$ac_objext \
44367    conftest$ac_exeext conftest.$ac_ext
44368LIBS=$ac_check_lib_save_LIBS
44369fi
44370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5
44371$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; }
44372if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then :
44373  ac_cv_libfdata_dummy=yes
44374else
44375  ac_cv_libfdata=no
44376fi
44377
44378        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5
44379$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; }
44380if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then :
44381  $as_echo_n "(cached) " >&6
44382else
44383  ac_check_lib_save_LIBS=$LIBS
44384LIBS="-lfdata  $LIBS"
44385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44386/* end confdefs.h.  */
44387
44388/* Override any GCC internal prototype to avoid an error.
44389   Use char because int might match the return type of a GCC
44390   builtin and then its argument prototype would still apply.  */
44391#ifdef __cplusplus
44392extern "C"
44393#endif
44394char libfdata_stream_get_segment_at_offset ();
44395int
44396main ()
44397{
44398return libfdata_stream_get_segment_at_offset ();
44399  ;
44400  return 0;
44401}
44402_ACEOF
44403if ac_fn_c_try_link "$LINENO"; then :
44404  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes
44405else
44406  ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no
44407fi
44408rm -f core conftest.err conftest.$ac_objext \
44409    conftest$ac_exeext conftest.$ac_ext
44410LIBS=$ac_check_lib_save_LIBS
44411fi
44412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5
44413$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; }
44414if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then :
44415  ac_cv_libfdata_dummy=yes
44416else
44417  ac_cv_libfdata=no
44418fi
44419
44420
44421        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5
44422$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; }
44423if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then :
44424  $as_echo_n "(cached) " >&6
44425else
44426  ac_check_lib_save_LIBS=$LIBS
44427LIBS="-lfdata  $LIBS"
44428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44429/* end confdefs.h.  */
44430
44431/* Override any GCC internal prototype to avoid an error.
44432   Use char because int might match the return type of a GCC
44433   builtin and then its argument prototype would still apply.  */
44434#ifdef __cplusplus
44435extern "C"
44436#endif
44437char libfdata_stream_read_buffer ();
44438int
44439main ()
44440{
44441return libfdata_stream_read_buffer ();
44442  ;
44443  return 0;
44444}
44445_ACEOF
44446if ac_fn_c_try_link "$LINENO"; then :
44447  ac_cv_lib_fdata_libfdata_stream_read_buffer=yes
44448else
44449  ac_cv_lib_fdata_libfdata_stream_read_buffer=no
44450fi
44451rm -f core conftest.err conftest.$ac_objext \
44452    conftest$ac_exeext conftest.$ac_ext
44453LIBS=$ac_check_lib_save_LIBS
44454fi
44455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5
44456$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; }
44457if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then :
44458  ac_cv_libfdata_dummy=yes
44459else
44460  ac_cv_libfdata=no
44461fi
44462
44463        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5
44464$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; }
44465if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then :
44466  $as_echo_n "(cached) " >&6
44467else
44468  ac_check_lib_save_LIBS=$LIBS
44469LIBS="-lfdata  $LIBS"
44470cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44471/* end confdefs.h.  */
44472
44473/* Override any GCC internal prototype to avoid an error.
44474   Use char because int might match the return type of a GCC
44475   builtin and then its argument prototype would still apply.  */
44476#ifdef __cplusplus
44477extern "C"
44478#endif
44479char libfdata_stream_read_buffer_at_offset ();
44480int
44481main ()
44482{
44483return libfdata_stream_read_buffer_at_offset ();
44484  ;
44485  return 0;
44486}
44487_ACEOF
44488if ac_fn_c_try_link "$LINENO"; then :
44489  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes
44490else
44491  ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no
44492fi
44493rm -f core conftest.err conftest.$ac_objext \
44494    conftest$ac_exeext conftest.$ac_ext
44495LIBS=$ac_check_lib_save_LIBS
44496fi
44497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5
44498$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; }
44499if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then :
44500  ac_cv_libfdata_dummy=yes
44501else
44502  ac_cv_libfdata=no
44503fi
44504
44505        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5
44506$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; }
44507if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then :
44508  $as_echo_n "(cached) " >&6
44509else
44510  ac_check_lib_save_LIBS=$LIBS
44511LIBS="-lfdata  $LIBS"
44512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44513/* end confdefs.h.  */
44514
44515/* Override any GCC internal prototype to avoid an error.
44516   Use char because int might match the return type of a GCC
44517   builtin and then its argument prototype would still apply.  */
44518#ifdef __cplusplus
44519extern "C"
44520#endif
44521char libfdata_stream_write_buffer ();
44522int
44523main ()
44524{
44525return libfdata_stream_write_buffer ();
44526  ;
44527  return 0;
44528}
44529_ACEOF
44530if ac_fn_c_try_link "$LINENO"; then :
44531  ac_cv_lib_fdata_libfdata_stream_write_buffer=yes
44532else
44533  ac_cv_lib_fdata_libfdata_stream_write_buffer=no
44534fi
44535rm -f core conftest.err conftest.$ac_objext \
44536    conftest$ac_exeext conftest.$ac_ext
44537LIBS=$ac_check_lib_save_LIBS
44538fi
44539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5
44540$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; }
44541if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then :
44542  ac_cv_libfdata_dummy=yes
44543else
44544  ac_cv_libfdata=no
44545fi
44546
44547        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5
44548$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; }
44549if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then :
44550  $as_echo_n "(cached) " >&6
44551else
44552  ac_check_lib_save_LIBS=$LIBS
44553LIBS="-lfdata  $LIBS"
44554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44555/* end confdefs.h.  */
44556
44557/* Override any GCC internal prototype to avoid an error.
44558   Use char because int might match the return type of a GCC
44559   builtin and then its argument prototype would still apply.  */
44560#ifdef __cplusplus
44561extern "C"
44562#endif
44563char libfdata_stream_seek_offset ();
44564int
44565main ()
44566{
44567return libfdata_stream_seek_offset ();
44568  ;
44569  return 0;
44570}
44571_ACEOF
44572if ac_fn_c_try_link "$LINENO"; then :
44573  ac_cv_lib_fdata_libfdata_stream_seek_offset=yes
44574else
44575  ac_cv_lib_fdata_libfdata_stream_seek_offset=no
44576fi
44577rm -f core conftest.err conftest.$ac_objext \
44578    conftest$ac_exeext conftest.$ac_ext
44579LIBS=$ac_check_lib_save_LIBS
44580fi
44581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5
44582$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; }
44583if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then :
44584  ac_cv_libfdata_dummy=yes
44585else
44586  ac_cv_libfdata=no
44587fi
44588
44589        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5
44590$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; }
44591if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then :
44592  $as_echo_n "(cached) " >&6
44593else
44594  ac_check_lib_save_LIBS=$LIBS
44595LIBS="-lfdata  $LIBS"
44596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44597/* end confdefs.h.  */
44598
44599/* Override any GCC internal prototype to avoid an error.
44600   Use char because int might match the return type of a GCC
44601   builtin and then its argument prototype would still apply.  */
44602#ifdef __cplusplus
44603extern "C"
44604#endif
44605char libfdata_stream_get_offset ();
44606int
44607main ()
44608{
44609return libfdata_stream_get_offset ();
44610  ;
44611  return 0;
44612}
44613_ACEOF
44614if ac_fn_c_try_link "$LINENO"; then :
44615  ac_cv_lib_fdata_libfdata_stream_get_offset=yes
44616else
44617  ac_cv_lib_fdata_libfdata_stream_get_offset=no
44618fi
44619rm -f core conftest.err conftest.$ac_objext \
44620    conftest$ac_exeext conftest.$ac_ext
44621LIBS=$ac_check_lib_save_LIBS
44622fi
44623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5
44624$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; }
44625if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then :
44626  ac_cv_libfdata_dummy=yes
44627else
44628  ac_cv_libfdata=no
44629fi
44630
44631        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5
44632$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; }
44633if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then :
44634  $as_echo_n "(cached) " >&6
44635else
44636  ac_check_lib_save_LIBS=$LIBS
44637LIBS="-lfdata  $LIBS"
44638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44639/* end confdefs.h.  */
44640
44641/* Override any GCC internal prototype to avoid an error.
44642   Use char because int might match the return type of a GCC
44643   builtin and then its argument prototype would still apply.  */
44644#ifdef __cplusplus
44645extern "C"
44646#endif
44647char libfdata_stream_get_size ();
44648int
44649main ()
44650{
44651return libfdata_stream_get_size ();
44652  ;
44653  return 0;
44654}
44655_ACEOF
44656if ac_fn_c_try_link "$LINENO"; then :
44657  ac_cv_lib_fdata_libfdata_stream_get_size=yes
44658else
44659  ac_cv_lib_fdata_libfdata_stream_get_size=no
44660fi
44661rm -f core conftest.err conftest.$ac_objext \
44662    conftest$ac_exeext conftest.$ac_ext
44663LIBS=$ac_check_lib_save_LIBS
44664fi
44665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5
44666$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; }
44667if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then :
44668  ac_cv_libfdata_dummy=yes
44669else
44670  ac_cv_libfdata=no
44671fi
44672
44673
44674
44675
44676        ac_cv_libfdata_LIBADD="-lfdata"
44677fi
44678
44679fi
44680    if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then :
44681  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44683as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata
44684See \`config.log' for more details" "$LINENO" 5; }
44685
44686fi
44687
44688fi
44689
44690  if test "x$ac_cv_libfdata" = xyes; then :
44691
44692$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h
44693
44694
44695fi
44696
44697  if test "x$ac_cv_libfdata" = xyes; then :
44698  HAVE_LIBFDATA=1
44699
44700else
44701  HAVE_LIBFDATA=0
44702
44703
44704fi
44705
44706
44707    if test "x$ac_cv_libfdata" != xyes; then :
44708
44709  ac_cv_libfdata_CPPFLAGS="-I../libfdata";
44710  ac_cv_libfdata_LIBADD="../libfdata/libfdata.la";
44711
44712  ac_cv_libfdata=local
44713
44714
44715
44716$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h
44717
44718    HAVE_LOCAL_LIBFDATA=1
44719
44720
44721fi
44722
44723   if test "x$ac_cv_libfdata" = xlocal; then
44724  HAVE_LOCAL_LIBFDATA_TRUE=
44725  HAVE_LOCAL_LIBFDATA_FALSE='#'
44726else
44727  HAVE_LOCAL_LIBFDATA_TRUE='#'
44728  HAVE_LOCAL_LIBFDATA_FALSE=
44729fi
44730
44731  if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then :
44732  LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS
44733
44734
44735fi
44736  if test "x$ac_cv_libfdata_LIBADD" != "x"; then :
44737  LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD
44738
44739
44740fi
44741
44742  if test "x$ac_cv_libfdata" = xyes; then :
44743  ax_libfdata_pc_libs_private=-lfdata
44744
44745
44746fi
44747
44748  if test "x$ac_cv_libfdata" = xyes; then :
44749  ax_libfdata_spec_requires=libfdata
44750
44751    ax_libfdata_spec_build_requires=libfdata-devel
44752
44753
44754fi
44755
44756
44757
44758
44759# Check whether --with-libfdatetime was given.
44760if test "${with_libfdatetime+set}" = set; then :
44761  withval=$with_libfdatetime; ac_cv_with_libfdatetime=$withval
44762else
44763  ac_cv_with_libfdatetime=auto-detect
44764fi
44765
44766    { $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
44767$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; }
44768if ${ac_cv_with_libfdatetime+:} false; then :
44769  $as_echo_n "(cached) " >&6
44770else
44771  ac_cv_with_libfdatetime=auto-detect
44772fi
44773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdatetime" >&5
44774$as_echo "$ac_cv_with_libfdatetime" >&6; }
44775
44776  if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdatetime" = xno; then :
44777  ac_cv_libfdatetime=no
44778else
44779  ac_cv_libfdatetime=check
44780        if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect; then :
44781  if test -d "$ac_cv_with_libfdatetime"; then :
44782  CFLAGS="$CFLAGS -I${ac_cv_with_libfdatetime}/include"
44783        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdatetime}/lib"
44784else
44785  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44786$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44787as_fn_error 1 "no such directory: $ac_cv_with_libfdatetime
44788See \`config.log' for more details" "$LINENO" 5; }
44789
44790fi
44791
44792else
44793        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
44794
44795pkg_failed=no
44796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime" >&5
44797$as_echo_n "checking for libfdatetime... " >&6; }
44798
44799if test -n "$libfdatetime_CFLAGS"; then
44800    pkg_cv_libfdatetime_CFLAGS="$libfdatetime_CFLAGS"
44801 elif test -n "$PKG_CONFIG"; then
44802    if test -n "$PKG_CONFIG" && \
44803    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5
44804  ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5
44805  ac_status=$?
44806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44807  test $ac_status = 0; }; then
44808  pkg_cv_libfdatetime_CFLAGS=`$PKG_CONFIG --cflags "libfdatetime >= 20180910" 2>/dev/null`
44809		      test "x$?" != "x0" && pkg_failed=yes
44810else
44811  pkg_failed=yes
44812fi
44813 else
44814    pkg_failed=untried
44815fi
44816if test -n "$libfdatetime_LIBS"; then
44817    pkg_cv_libfdatetime_LIBS="$libfdatetime_LIBS"
44818 elif test -n "$PKG_CONFIG"; then
44819    if test -n "$PKG_CONFIG" && \
44820    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5
44821  ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5
44822  ac_status=$?
44823  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44824  test $ac_status = 0; }; then
44825  pkg_cv_libfdatetime_LIBS=`$PKG_CONFIG --libs "libfdatetime >= 20180910" 2>/dev/null`
44826		      test "x$?" != "x0" && pkg_failed=yes
44827else
44828  pkg_failed=yes
44829fi
44830 else
44831    pkg_failed=untried
44832fi
44833
44834
44835
44836if test $pkg_failed = yes; then
44837   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44838$as_echo "no" >&6; }
44839
44840if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44841        _pkg_short_errors_supported=yes
44842else
44843        _pkg_short_errors_supported=no
44844fi
44845        if test $_pkg_short_errors_supported = yes; then
44846	        libfdatetime_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1`
44847        else
44848	        libfdatetime_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1`
44849        fi
44850	# Put the nasty error message in config.log where it belongs
44851	echo "$libfdatetime_PKG_ERRORS" >&5
44852
44853	ac_cv_libfdatetime=check
44854elif test $pkg_failed = untried; then
44855     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44856$as_echo "no" >&6; }
44857	ac_cv_libfdatetime=check
44858else
44859	libfdatetime_CFLAGS=$pkg_cv_libfdatetime_CFLAGS
44860	libfdatetime_LIBS=$pkg_cv_libfdatetime_LIBS
44861        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44862$as_echo "yes" >&6; }
44863	ac_cv_libfdatetime=yes
44864fi
44865
44866fi
44867      if test "x$ac_cv_libfdatetime" = xyes; then :
44868  ac_cv_libfdatetime_CPPFLAGS="$pkg_cv_libfdatetime_CFLAGS"
44869        ac_cv_libfdatetime_LIBADD="$pkg_cv_libfdatetime_LIBS"
44870fi
44871
44872fi
44873
44874    if test "x$ac_cv_libfdatetime" = xcheck; then :
44875        for ac_header in libfdatetime.h
44876do :
44877  ac_fn_c_check_header_mongrel "$LINENO" "libfdatetime.h" "ac_cv_header_libfdatetime_h" "$ac_includes_default"
44878if test "x$ac_cv_header_libfdatetime_h" = xyes; then :
44879  cat >>confdefs.h <<_ACEOF
44880#define HAVE_LIBFDATETIME_H 1
44881_ACEOF
44882
44883fi
44884
44885done
44886
44887
44888      if test "x$ac_cv_header_libfdatetime_h" = xno; then :
44889  ac_cv_libfdatetime=no
44890else
44891          ac_cv_libfdatetime=yes
44892
44893        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_get_version in -lfdatetime" >&5
44894$as_echo_n "checking for libfdatetime_get_version in -lfdatetime... " >&6; }
44895if ${ac_cv_lib_fdatetime_libfdatetime_get_version+:} false; then :
44896  $as_echo_n "(cached) " >&6
44897else
44898  ac_check_lib_save_LIBS=$LIBS
44899LIBS="-lfdatetime  $LIBS"
44900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44901/* end confdefs.h.  */
44902
44903/* Override any GCC internal prototype to avoid an error.
44904   Use char because int might match the return type of a GCC
44905   builtin and then its argument prototype would still apply.  */
44906#ifdef __cplusplus
44907extern "C"
44908#endif
44909char libfdatetime_get_version ();
44910int
44911main ()
44912{
44913return libfdatetime_get_version ();
44914  ;
44915  return 0;
44916}
44917_ACEOF
44918if ac_fn_c_try_link "$LINENO"; then :
44919  ac_cv_lib_fdatetime_libfdatetime_get_version=yes
44920else
44921  ac_cv_lib_fdatetime_libfdatetime_get_version=no
44922fi
44923rm -f core conftest.err conftest.$ac_objext \
44924    conftest$ac_exeext conftest.$ac_ext
44925LIBS=$ac_check_lib_save_LIBS
44926fi
44927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_get_version" >&5
44928$as_echo "$ac_cv_lib_fdatetime_libfdatetime_get_version" >&6; }
44929if test "x$ac_cv_lib_fdatetime_libfdatetime_get_version" = xyes; then :
44930  ac_cv_libfdatetime_dummy=yes
44931else
44932  ac_cv_libfdatetime=no
44933fi
44934
44935
44936                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_initialize in -lfdatetime" >&5
44937$as_echo_n "checking for libfdatetime_fat_date_time_initialize in -lfdatetime... " >&6; }
44938if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize+:} false; then :
44939  $as_echo_n "(cached) " >&6
44940else
44941  ac_check_lib_save_LIBS=$LIBS
44942LIBS="-lfdatetime  $LIBS"
44943cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44944/* end confdefs.h.  */
44945
44946/* Override any GCC internal prototype to avoid an error.
44947   Use char because int might match the return type of a GCC
44948   builtin and then its argument prototype would still apply.  */
44949#ifdef __cplusplus
44950extern "C"
44951#endif
44952char libfdatetime_fat_date_time_initialize ();
44953int
44954main ()
44955{
44956return libfdatetime_fat_date_time_initialize ();
44957  ;
44958  return 0;
44959}
44960_ACEOF
44961if ac_fn_c_try_link "$LINENO"; then :
44962  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=yes
44963else
44964  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=no
44965fi
44966rm -f core conftest.err conftest.$ac_objext \
44967    conftest$ac_exeext conftest.$ac_ext
44968LIBS=$ac_check_lib_save_LIBS
44969fi
44970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&5
44971$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&6; }
44972if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" = xyes; then :
44973  ac_cv_libfdatetime_dummy=yes
44974else
44975  ac_cv_libfdatetime=no
44976fi
44977
44978        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_free in -lfdatetime" >&5
44979$as_echo_n "checking for libfdatetime_fat_date_time_free in -lfdatetime... " >&6; }
44980if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free+:} false; then :
44981  $as_echo_n "(cached) " >&6
44982else
44983  ac_check_lib_save_LIBS=$LIBS
44984LIBS="-lfdatetime  $LIBS"
44985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44986/* end confdefs.h.  */
44987
44988/* Override any GCC internal prototype to avoid an error.
44989   Use char because int might match the return type of a GCC
44990   builtin and then its argument prototype would still apply.  */
44991#ifdef __cplusplus
44992extern "C"
44993#endif
44994char libfdatetime_fat_date_time_free ();
44995int
44996main ()
44997{
44998return libfdatetime_fat_date_time_free ();
44999  ;
45000  return 0;
45001}
45002_ACEOF
45003if ac_fn_c_try_link "$LINENO"; then :
45004  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=yes
45005else
45006  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=no
45007fi
45008rm -f core conftest.err conftest.$ac_objext \
45009    conftest$ac_exeext conftest.$ac_ext
45010LIBS=$ac_check_lib_save_LIBS
45011fi
45012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&5
45013$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&6; }
45014if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" = xyes; then :
45015  ac_cv_libfdatetime_dummy=yes
45016else
45017  ac_cv_libfdatetime=no
45018fi
45019
45020        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime" >&5
45021$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime... " >&6; }
45022if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream+:} false; then :
45023  $as_echo_n "(cached) " >&6
45024else
45025  ac_check_lib_save_LIBS=$LIBS
45026LIBS="-lfdatetime  $LIBS"
45027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45028/* end confdefs.h.  */
45029
45030/* Override any GCC internal prototype to avoid an error.
45031   Use char because int might match the return type of a GCC
45032   builtin and then its argument prototype would still apply.  */
45033#ifdef __cplusplus
45034extern "C"
45035#endif
45036char libfdatetime_fat_date_time_copy_from_byte_stream ();
45037int
45038main ()
45039{
45040return libfdatetime_fat_date_time_copy_from_byte_stream ();
45041  ;
45042  return 0;
45043}
45044_ACEOF
45045if ac_fn_c_try_link "$LINENO"; then :
45046  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=yes
45047else
45048  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=no
45049fi
45050rm -f core conftest.err conftest.$ac_objext \
45051    conftest$ac_exeext conftest.$ac_ext
45052LIBS=$ac_check_lib_save_LIBS
45053fi
45054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&5
45055$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&6; }
45056if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" = xyes; then :
45057  ac_cv_libfdatetime_dummy=yes
45058else
45059  ac_cv_libfdatetime=no
45060fi
45061
45062        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime" >&5
45063$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime... " >&6; }
45064if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit+:} false; then :
45065  $as_echo_n "(cached) " >&6
45066else
45067  ac_check_lib_save_LIBS=$LIBS
45068LIBS="-lfdatetime  $LIBS"
45069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45070/* end confdefs.h.  */
45071
45072/* Override any GCC internal prototype to avoid an error.
45073   Use char because int might match the return type of a GCC
45074   builtin and then its argument prototype would still apply.  */
45075#ifdef __cplusplus
45076extern "C"
45077#endif
45078char libfdatetime_fat_date_time_copy_from_32bit ();
45079int
45080main ()
45081{
45082return libfdatetime_fat_date_time_copy_from_32bit ();
45083  ;
45084  return 0;
45085}
45086_ACEOF
45087if ac_fn_c_try_link "$LINENO"; then :
45088  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=yes
45089else
45090  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=no
45091fi
45092rm -f core conftest.err conftest.$ac_objext \
45093    conftest$ac_exeext conftest.$ac_ext
45094LIBS=$ac_check_lib_save_LIBS
45095fi
45096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&5
45097$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&6; }
45098if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" = xyes; then :
45099  ac_cv_libfdatetime_dummy=yes
45100else
45101  ac_cv_libfdatetime=no
45102fi
45103
45104        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime" >&5
45105$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime... " >&6; }
45106if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit+:} false; then :
45107  $as_echo_n "(cached) " >&6
45108else
45109  ac_check_lib_save_LIBS=$LIBS
45110LIBS="-lfdatetime  $LIBS"
45111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45112/* end confdefs.h.  */
45113
45114/* Override any GCC internal prototype to avoid an error.
45115   Use char because int might match the return type of a GCC
45116   builtin and then its argument prototype would still apply.  */
45117#ifdef __cplusplus
45118extern "C"
45119#endif
45120char libfdatetime_fat_date_time_copy_to_32bit ();
45121int
45122main ()
45123{
45124return libfdatetime_fat_date_time_copy_to_32bit ();
45125  ;
45126  return 0;
45127}
45128_ACEOF
45129if ac_fn_c_try_link "$LINENO"; then :
45130  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=yes
45131else
45132  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=no
45133fi
45134rm -f core conftest.err conftest.$ac_objext \
45135    conftest$ac_exeext conftest.$ac_ext
45136LIBS=$ac_check_lib_save_LIBS
45137fi
45138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&5
45139$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&6; }
45140if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" = xyes; then :
45141  ac_cv_libfdatetime_dummy=yes
45142else
45143  ac_cv_libfdatetime=no
45144fi
45145
45146        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime" >&5
45147$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime... " >&6; }
45148if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string+:} false; then :
45149  $as_echo_n "(cached) " >&6
45150else
45151  ac_check_lib_save_LIBS=$LIBS
45152LIBS="-lfdatetime  $LIBS"
45153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45154/* end confdefs.h.  */
45155
45156/* Override any GCC internal prototype to avoid an error.
45157   Use char because int might match the return type of a GCC
45158   builtin and then its argument prototype would still apply.  */
45159#ifdef __cplusplus
45160extern "C"
45161#endif
45162char libfdatetime_fat_date_time_copy_to_utf8_string ();
45163int
45164main ()
45165{
45166return libfdatetime_fat_date_time_copy_to_utf8_string ();
45167  ;
45168  return 0;
45169}
45170_ACEOF
45171if ac_fn_c_try_link "$LINENO"; then :
45172  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=yes
45173else
45174  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=no
45175fi
45176rm -f core conftest.err conftest.$ac_objext \
45177    conftest$ac_exeext conftest.$ac_ext
45178LIBS=$ac_check_lib_save_LIBS
45179fi
45180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&5
45181$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&6; }
45182if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" = xyes; then :
45183  ac_cv_libfdatetime_dummy=yes
45184else
45185  ac_cv_libfdatetime=no
45186fi
45187
45188        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime" >&5
45189$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
45190if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index+:} false; then :
45191  $as_echo_n "(cached) " >&6
45192else
45193  ac_check_lib_save_LIBS=$LIBS
45194LIBS="-lfdatetime  $LIBS"
45195cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45196/* end confdefs.h.  */
45197
45198/* Override any GCC internal prototype to avoid an error.
45199   Use char because int might match the return type of a GCC
45200   builtin and then its argument prototype would still apply.  */
45201#ifdef __cplusplus
45202extern "C"
45203#endif
45204char libfdatetime_fat_date_time_copy_to_utf8_string_with_index ();
45205int
45206main ()
45207{
45208return libfdatetime_fat_date_time_copy_to_utf8_string_with_index ();
45209  ;
45210  return 0;
45211}
45212_ACEOF
45213if ac_fn_c_try_link "$LINENO"; then :
45214  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=yes
45215else
45216  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=no
45217fi
45218rm -f core conftest.err conftest.$ac_objext \
45219    conftest$ac_exeext conftest.$ac_ext
45220LIBS=$ac_check_lib_save_LIBS
45221fi
45222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&5
45223$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&6; }
45224if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" = xyes; then :
45225  ac_cv_libfdatetime_dummy=yes
45226else
45227  ac_cv_libfdatetime=no
45228fi
45229
45230        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime" >&5
45231$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime... " >&6; }
45232if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string+:} false; then :
45233  $as_echo_n "(cached) " >&6
45234else
45235  ac_check_lib_save_LIBS=$LIBS
45236LIBS="-lfdatetime  $LIBS"
45237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238/* end confdefs.h.  */
45239
45240/* Override any GCC internal prototype to avoid an error.
45241   Use char because int might match the return type of a GCC
45242   builtin and then its argument prototype would still apply.  */
45243#ifdef __cplusplus
45244extern "C"
45245#endif
45246char libfdatetime_fat_date_time_copy_to_utf16_string ();
45247int
45248main ()
45249{
45250return libfdatetime_fat_date_time_copy_to_utf16_string ();
45251  ;
45252  return 0;
45253}
45254_ACEOF
45255if ac_fn_c_try_link "$LINENO"; then :
45256  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=yes
45257else
45258  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=no
45259fi
45260rm -f core conftest.err conftest.$ac_objext \
45261    conftest$ac_exeext conftest.$ac_ext
45262LIBS=$ac_check_lib_save_LIBS
45263fi
45264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&5
45265$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&6; }
45266if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" = xyes; then :
45267  ac_cv_libfdatetime_dummy=yes
45268else
45269  ac_cv_libfdatetime=no
45270fi
45271
45272        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime" >&5
45273$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
45274if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index+:} false; then :
45275  $as_echo_n "(cached) " >&6
45276else
45277  ac_check_lib_save_LIBS=$LIBS
45278LIBS="-lfdatetime  $LIBS"
45279cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45280/* end confdefs.h.  */
45281
45282/* Override any GCC internal prototype to avoid an error.
45283   Use char because int might match the return type of a GCC
45284   builtin and then its argument prototype would still apply.  */
45285#ifdef __cplusplus
45286extern "C"
45287#endif
45288char libfdatetime_fat_date_time_copy_to_utf16_string_with_index ();
45289int
45290main ()
45291{
45292return libfdatetime_fat_date_time_copy_to_utf16_string_with_index ();
45293  ;
45294  return 0;
45295}
45296_ACEOF
45297if ac_fn_c_try_link "$LINENO"; then :
45298  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=yes
45299else
45300  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=no
45301fi
45302rm -f core conftest.err conftest.$ac_objext \
45303    conftest$ac_exeext conftest.$ac_ext
45304LIBS=$ac_check_lib_save_LIBS
45305fi
45306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&5
45307$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&6; }
45308if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" = xyes; then :
45309  ac_cv_libfdatetime_dummy=yes
45310else
45311  ac_cv_libfdatetime=no
45312fi
45313
45314        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime" >&5
45315$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime... " >&6; }
45316if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string+:} false; then :
45317  $as_echo_n "(cached) " >&6
45318else
45319  ac_check_lib_save_LIBS=$LIBS
45320LIBS="-lfdatetime  $LIBS"
45321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45322/* end confdefs.h.  */
45323
45324/* Override any GCC internal prototype to avoid an error.
45325   Use char because int might match the return type of a GCC
45326   builtin and then its argument prototype would still apply.  */
45327#ifdef __cplusplus
45328extern "C"
45329#endif
45330char libfdatetime_fat_date_time_copy_to_utf32_string ();
45331int
45332main ()
45333{
45334return libfdatetime_fat_date_time_copy_to_utf32_string ();
45335  ;
45336  return 0;
45337}
45338_ACEOF
45339if ac_fn_c_try_link "$LINENO"; then :
45340  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=yes
45341else
45342  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=no
45343fi
45344rm -f core conftest.err conftest.$ac_objext \
45345    conftest$ac_exeext conftest.$ac_ext
45346LIBS=$ac_check_lib_save_LIBS
45347fi
45348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&5
45349$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&6; }
45350if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" = xyes; then :
45351  ac_cv_libfdatetime_dummy=yes
45352else
45353  ac_cv_libfdatetime=no
45354fi
45355
45356        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime" >&5
45357$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
45358if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index+:} false; then :
45359  $as_echo_n "(cached) " >&6
45360else
45361  ac_check_lib_save_LIBS=$LIBS
45362LIBS="-lfdatetime  $LIBS"
45363cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45364/* end confdefs.h.  */
45365
45366/* Override any GCC internal prototype to avoid an error.
45367   Use char because int might match the return type of a GCC
45368   builtin and then its argument prototype would still apply.  */
45369#ifdef __cplusplus
45370extern "C"
45371#endif
45372char libfdatetime_fat_date_time_copy_to_utf32_string_with_index ();
45373int
45374main ()
45375{
45376return libfdatetime_fat_date_time_copy_to_utf32_string_with_index ();
45377  ;
45378  return 0;
45379}
45380_ACEOF
45381if ac_fn_c_try_link "$LINENO"; then :
45382  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=yes
45383else
45384  ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=no
45385fi
45386rm -f core conftest.err conftest.$ac_objext \
45387    conftest$ac_exeext conftest.$ac_ext
45388LIBS=$ac_check_lib_save_LIBS
45389fi
45390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&5
45391$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&6; }
45392if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" = xyes; then :
45393  ac_cv_libfdatetime_dummy=yes
45394else
45395  ac_cv_libfdatetime=no
45396fi
45397
45398
45399                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_initialize in -lfdatetime" >&5
45400$as_echo_n "checking for libfdatetime_filetime_initialize in -lfdatetime... " >&6; }
45401if ${ac_cv_lib_fdatetime_libfdatetime_filetime_initialize+:} false; then :
45402  $as_echo_n "(cached) " >&6
45403else
45404  ac_check_lib_save_LIBS=$LIBS
45405LIBS="-lfdatetime  $LIBS"
45406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45407/* end confdefs.h.  */
45408
45409/* Override any GCC internal prototype to avoid an error.
45410   Use char because int might match the return type of a GCC
45411   builtin and then its argument prototype would still apply.  */
45412#ifdef __cplusplus
45413extern "C"
45414#endif
45415char libfdatetime_filetime_initialize ();
45416int
45417main ()
45418{
45419return libfdatetime_filetime_initialize ();
45420  ;
45421  return 0;
45422}
45423_ACEOF
45424if ac_fn_c_try_link "$LINENO"; then :
45425  ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=yes
45426else
45427  ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=no
45428fi
45429rm -f core conftest.err conftest.$ac_objext \
45430    conftest$ac_exeext conftest.$ac_ext
45431LIBS=$ac_check_lib_save_LIBS
45432fi
45433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&5
45434$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&6; }
45435if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" = xyes; then :
45436  ac_cv_libfdatetime_dummy=yes
45437else
45438  ac_cv_libfdatetime=no
45439fi
45440
45441        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_free in -lfdatetime" >&5
45442$as_echo_n "checking for libfdatetime_filetime_free in -lfdatetime... " >&6; }
45443if ${ac_cv_lib_fdatetime_libfdatetime_filetime_free+:} false; then :
45444  $as_echo_n "(cached) " >&6
45445else
45446  ac_check_lib_save_LIBS=$LIBS
45447LIBS="-lfdatetime  $LIBS"
45448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45449/* end confdefs.h.  */
45450
45451/* Override any GCC internal prototype to avoid an error.
45452   Use char because int might match the return type of a GCC
45453   builtin and then its argument prototype would still apply.  */
45454#ifdef __cplusplus
45455extern "C"
45456#endif
45457char libfdatetime_filetime_free ();
45458int
45459main ()
45460{
45461return libfdatetime_filetime_free ();
45462  ;
45463  return 0;
45464}
45465_ACEOF
45466if ac_fn_c_try_link "$LINENO"; then :
45467  ac_cv_lib_fdatetime_libfdatetime_filetime_free=yes
45468else
45469  ac_cv_lib_fdatetime_libfdatetime_filetime_free=no
45470fi
45471rm -f core conftest.err conftest.$ac_objext \
45472    conftest$ac_exeext conftest.$ac_ext
45473LIBS=$ac_check_lib_save_LIBS
45474fi
45475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&5
45476$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&6; }
45477if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_free" = xyes; then :
45478  ac_cv_libfdatetime_dummy=yes
45479else
45480  ac_cv_libfdatetime=no
45481fi
45482
45483        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime" >&5
45484$as_echo_n "checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime... " >&6; }
45485if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream+:} false; then :
45486  $as_echo_n "(cached) " >&6
45487else
45488  ac_check_lib_save_LIBS=$LIBS
45489LIBS="-lfdatetime  $LIBS"
45490cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45491/* end confdefs.h.  */
45492
45493/* Override any GCC internal prototype to avoid an error.
45494   Use char because int might match the return type of a GCC
45495   builtin and then its argument prototype would still apply.  */
45496#ifdef __cplusplus
45497extern "C"
45498#endif
45499char libfdatetime_filetime_copy_from_byte_stream ();
45500int
45501main ()
45502{
45503return libfdatetime_filetime_copy_from_byte_stream ();
45504  ;
45505  return 0;
45506}
45507_ACEOF
45508if ac_fn_c_try_link "$LINENO"; then :
45509  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=yes
45510else
45511  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=no
45512fi
45513rm -f core conftest.err conftest.$ac_objext \
45514    conftest$ac_exeext conftest.$ac_ext
45515LIBS=$ac_check_lib_save_LIBS
45516fi
45517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&5
45518$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&6; }
45519if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" = xyes; then :
45520  ac_cv_libfdatetime_dummy=yes
45521else
45522  ac_cv_libfdatetime=no
45523fi
45524
45525        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime" >&5
45526$as_echo_n "checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime... " >&6; }
45527if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit+:} false; then :
45528  $as_echo_n "(cached) " >&6
45529else
45530  ac_check_lib_save_LIBS=$LIBS
45531LIBS="-lfdatetime  $LIBS"
45532cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45533/* end confdefs.h.  */
45534
45535/* Override any GCC internal prototype to avoid an error.
45536   Use char because int might match the return type of a GCC
45537   builtin and then its argument prototype would still apply.  */
45538#ifdef __cplusplus
45539extern "C"
45540#endif
45541char libfdatetime_filetime_copy_from_64bit ();
45542int
45543main ()
45544{
45545return libfdatetime_filetime_copy_from_64bit ();
45546  ;
45547  return 0;
45548}
45549_ACEOF
45550if ac_fn_c_try_link "$LINENO"; then :
45551  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=yes
45552else
45553  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=no
45554fi
45555rm -f core conftest.err conftest.$ac_objext \
45556    conftest$ac_exeext conftest.$ac_ext
45557LIBS=$ac_check_lib_save_LIBS
45558fi
45559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&5
45560$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&6; }
45561if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" = xyes; then :
45562  ac_cv_libfdatetime_dummy=yes
45563else
45564  ac_cv_libfdatetime=no
45565fi
45566
45567        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime" >&5
45568$as_echo_n "checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime... " >&6; }
45569if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit+:} false; then :
45570  $as_echo_n "(cached) " >&6
45571else
45572  ac_check_lib_save_LIBS=$LIBS
45573LIBS="-lfdatetime  $LIBS"
45574cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45575/* end confdefs.h.  */
45576
45577/* Override any GCC internal prototype to avoid an error.
45578   Use char because int might match the return type of a GCC
45579   builtin and then its argument prototype would still apply.  */
45580#ifdef __cplusplus
45581extern "C"
45582#endif
45583char libfdatetime_filetime_copy_to_64bit ();
45584int
45585main ()
45586{
45587return libfdatetime_filetime_copy_to_64bit ();
45588  ;
45589  return 0;
45590}
45591_ACEOF
45592if ac_fn_c_try_link "$LINENO"; then :
45593  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=yes
45594else
45595  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=no
45596fi
45597rm -f core conftest.err conftest.$ac_objext \
45598    conftest$ac_exeext conftest.$ac_ext
45599LIBS=$ac_check_lib_save_LIBS
45600fi
45601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&5
45602$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&6; }
45603if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" = xyes; then :
45604  ac_cv_libfdatetime_dummy=yes
45605else
45606  ac_cv_libfdatetime=no
45607fi
45608
45609        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime" >&5
45610$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime... " >&6; }
45611if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string+:} false; then :
45612  $as_echo_n "(cached) " >&6
45613else
45614  ac_check_lib_save_LIBS=$LIBS
45615LIBS="-lfdatetime  $LIBS"
45616cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45617/* end confdefs.h.  */
45618
45619/* Override any GCC internal prototype to avoid an error.
45620   Use char because int might match the return type of a GCC
45621   builtin and then its argument prototype would still apply.  */
45622#ifdef __cplusplus
45623extern "C"
45624#endif
45625char libfdatetime_filetime_copy_to_utf8_string ();
45626int
45627main ()
45628{
45629return libfdatetime_filetime_copy_to_utf8_string ();
45630  ;
45631  return 0;
45632}
45633_ACEOF
45634if ac_fn_c_try_link "$LINENO"; then :
45635  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=yes
45636else
45637  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=no
45638fi
45639rm -f core conftest.err conftest.$ac_objext \
45640    conftest$ac_exeext conftest.$ac_ext
45641LIBS=$ac_check_lib_save_LIBS
45642fi
45643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&5
45644$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&6; }
45645if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" = xyes; then :
45646  ac_cv_libfdatetime_dummy=yes
45647else
45648  ac_cv_libfdatetime=no
45649fi
45650
45651        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime" >&5
45652$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
45653if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index+:} false; then :
45654  $as_echo_n "(cached) " >&6
45655else
45656  ac_check_lib_save_LIBS=$LIBS
45657LIBS="-lfdatetime  $LIBS"
45658cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45659/* end confdefs.h.  */
45660
45661/* Override any GCC internal prototype to avoid an error.
45662   Use char because int might match the return type of a GCC
45663   builtin and then its argument prototype would still apply.  */
45664#ifdef __cplusplus
45665extern "C"
45666#endif
45667char libfdatetime_filetime_copy_to_utf8_string_with_index ();
45668int
45669main ()
45670{
45671return libfdatetime_filetime_copy_to_utf8_string_with_index ();
45672  ;
45673  return 0;
45674}
45675_ACEOF
45676if ac_fn_c_try_link "$LINENO"; then :
45677  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=yes
45678else
45679  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=no
45680fi
45681rm -f core conftest.err conftest.$ac_objext \
45682    conftest$ac_exeext conftest.$ac_ext
45683LIBS=$ac_check_lib_save_LIBS
45684fi
45685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&5
45686$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&6; }
45687if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" = xyes; then :
45688  ac_cv_libfdatetime_dummy=yes
45689else
45690  ac_cv_libfdatetime=no
45691fi
45692
45693        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime" >&5
45694$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime... " >&6; }
45695if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string+:} false; then :
45696  $as_echo_n "(cached) " >&6
45697else
45698  ac_check_lib_save_LIBS=$LIBS
45699LIBS="-lfdatetime  $LIBS"
45700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45701/* end confdefs.h.  */
45702
45703/* Override any GCC internal prototype to avoid an error.
45704   Use char because int might match the return type of a GCC
45705   builtin and then its argument prototype would still apply.  */
45706#ifdef __cplusplus
45707extern "C"
45708#endif
45709char libfdatetime_filetime_copy_to_utf16_string ();
45710int
45711main ()
45712{
45713return libfdatetime_filetime_copy_to_utf16_string ();
45714  ;
45715  return 0;
45716}
45717_ACEOF
45718if ac_fn_c_try_link "$LINENO"; then :
45719  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=yes
45720else
45721  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=no
45722fi
45723rm -f core conftest.err conftest.$ac_objext \
45724    conftest$ac_exeext conftest.$ac_ext
45725LIBS=$ac_check_lib_save_LIBS
45726fi
45727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&5
45728$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&6; }
45729if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" = xyes; then :
45730  ac_cv_libfdatetime_dummy=yes
45731else
45732  ac_cv_libfdatetime=no
45733fi
45734
45735        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime" >&5
45736$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
45737if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index+:} false; then :
45738  $as_echo_n "(cached) " >&6
45739else
45740  ac_check_lib_save_LIBS=$LIBS
45741LIBS="-lfdatetime  $LIBS"
45742cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45743/* end confdefs.h.  */
45744
45745/* Override any GCC internal prototype to avoid an error.
45746   Use char because int might match the return type of a GCC
45747   builtin and then its argument prototype would still apply.  */
45748#ifdef __cplusplus
45749extern "C"
45750#endif
45751char libfdatetime_filetime_copy_to_utf16_string_with_index ();
45752int
45753main ()
45754{
45755return libfdatetime_filetime_copy_to_utf16_string_with_index ();
45756  ;
45757  return 0;
45758}
45759_ACEOF
45760if ac_fn_c_try_link "$LINENO"; then :
45761  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=yes
45762else
45763  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=no
45764fi
45765rm -f core conftest.err conftest.$ac_objext \
45766    conftest$ac_exeext conftest.$ac_ext
45767LIBS=$ac_check_lib_save_LIBS
45768fi
45769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&5
45770$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&6; }
45771if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" = xyes; then :
45772  ac_cv_libfdatetime_dummy=yes
45773else
45774  ac_cv_libfdatetime=no
45775fi
45776
45777        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime" >&5
45778$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime... " >&6; }
45779if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string+:} false; then :
45780  $as_echo_n "(cached) " >&6
45781else
45782  ac_check_lib_save_LIBS=$LIBS
45783LIBS="-lfdatetime  $LIBS"
45784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45785/* end confdefs.h.  */
45786
45787/* Override any GCC internal prototype to avoid an error.
45788   Use char because int might match the return type of a GCC
45789   builtin and then its argument prototype would still apply.  */
45790#ifdef __cplusplus
45791extern "C"
45792#endif
45793char libfdatetime_filetime_copy_to_utf32_string ();
45794int
45795main ()
45796{
45797return libfdatetime_filetime_copy_to_utf32_string ();
45798  ;
45799  return 0;
45800}
45801_ACEOF
45802if ac_fn_c_try_link "$LINENO"; then :
45803  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=yes
45804else
45805  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=no
45806fi
45807rm -f core conftest.err conftest.$ac_objext \
45808    conftest$ac_exeext conftest.$ac_ext
45809LIBS=$ac_check_lib_save_LIBS
45810fi
45811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&5
45812$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&6; }
45813if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" = xyes; then :
45814  ac_cv_libfdatetime_dummy=yes
45815else
45816  ac_cv_libfdatetime=no
45817fi
45818
45819        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime" >&5
45820$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
45821if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index+:} false; then :
45822  $as_echo_n "(cached) " >&6
45823else
45824  ac_check_lib_save_LIBS=$LIBS
45825LIBS="-lfdatetime  $LIBS"
45826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45827/* end confdefs.h.  */
45828
45829/* Override any GCC internal prototype to avoid an error.
45830   Use char because int might match the return type of a GCC
45831   builtin and then its argument prototype would still apply.  */
45832#ifdef __cplusplus
45833extern "C"
45834#endif
45835char libfdatetime_filetime_copy_to_utf32_string_with_index ();
45836int
45837main ()
45838{
45839return libfdatetime_filetime_copy_to_utf32_string_with_index ();
45840  ;
45841  return 0;
45842}
45843_ACEOF
45844if ac_fn_c_try_link "$LINENO"; then :
45845  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=yes
45846else
45847  ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=no
45848fi
45849rm -f core conftest.err conftest.$ac_objext \
45850    conftest$ac_exeext conftest.$ac_ext
45851LIBS=$ac_check_lib_save_LIBS
45852fi
45853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&5
45854$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&6; }
45855if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" = xyes; then :
45856  ac_cv_libfdatetime_dummy=yes
45857else
45858  ac_cv_libfdatetime=no
45859fi
45860
45861        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_add in -lfdatetime" >&5
45862$as_echo_n "checking for libfdatetime_filetime_add in -lfdatetime... " >&6; }
45863if ${ac_cv_lib_fdatetime_libfdatetime_filetime_add+:} false; then :
45864  $as_echo_n "(cached) " >&6
45865else
45866  ac_check_lib_save_LIBS=$LIBS
45867LIBS="-lfdatetime  $LIBS"
45868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45869/* end confdefs.h.  */
45870
45871/* Override any GCC internal prototype to avoid an error.
45872   Use char because int might match the return type of a GCC
45873   builtin and then its argument prototype would still apply.  */
45874#ifdef __cplusplus
45875extern "C"
45876#endif
45877char libfdatetime_filetime_add ();
45878int
45879main ()
45880{
45881return libfdatetime_filetime_add ();
45882  ;
45883  return 0;
45884}
45885_ACEOF
45886if ac_fn_c_try_link "$LINENO"; then :
45887  ac_cv_lib_fdatetime_libfdatetime_filetime_add=yes
45888else
45889  ac_cv_lib_fdatetime_libfdatetime_filetime_add=no
45890fi
45891rm -f core conftest.err conftest.$ac_objext \
45892    conftest$ac_exeext conftest.$ac_ext
45893LIBS=$ac_check_lib_save_LIBS
45894fi
45895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&5
45896$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&6; }
45897if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_add" = xyes; then :
45898  ac_cv_libfdatetime_dummy=yes
45899else
45900  ac_cv_libfdatetime=no
45901fi
45902
45903
45904                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_initialize in -lfdatetime" >&5
45905$as_echo_n "checking for libfdatetime_floatingtime_initialize in -lfdatetime... " >&6; }
45906if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize+:} false; then :
45907  $as_echo_n "(cached) " >&6
45908else
45909  ac_check_lib_save_LIBS=$LIBS
45910LIBS="-lfdatetime  $LIBS"
45911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45912/* end confdefs.h.  */
45913
45914/* Override any GCC internal prototype to avoid an error.
45915   Use char because int might match the return type of a GCC
45916   builtin and then its argument prototype would still apply.  */
45917#ifdef __cplusplus
45918extern "C"
45919#endif
45920char libfdatetime_floatingtime_initialize ();
45921int
45922main ()
45923{
45924return libfdatetime_floatingtime_initialize ();
45925  ;
45926  return 0;
45927}
45928_ACEOF
45929if ac_fn_c_try_link "$LINENO"; then :
45930  ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=yes
45931else
45932  ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=no
45933fi
45934rm -f core conftest.err conftest.$ac_objext \
45935    conftest$ac_exeext conftest.$ac_ext
45936LIBS=$ac_check_lib_save_LIBS
45937fi
45938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&5
45939$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&6; }
45940if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" = xyes; then :
45941  ac_cv_libfdatetime_dummy=yes
45942else
45943  ac_cv_libfdatetime=no
45944fi
45945
45946        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_free in -lfdatetime" >&5
45947$as_echo_n "checking for libfdatetime_floatingtime_free in -lfdatetime... " >&6; }
45948if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_free+:} false; then :
45949  $as_echo_n "(cached) " >&6
45950else
45951  ac_check_lib_save_LIBS=$LIBS
45952LIBS="-lfdatetime  $LIBS"
45953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45954/* end confdefs.h.  */
45955
45956/* Override any GCC internal prototype to avoid an error.
45957   Use char because int might match the return type of a GCC
45958   builtin and then its argument prototype would still apply.  */
45959#ifdef __cplusplus
45960extern "C"
45961#endif
45962char libfdatetime_floatingtime_free ();
45963int
45964main ()
45965{
45966return libfdatetime_floatingtime_free ();
45967  ;
45968  return 0;
45969}
45970_ACEOF
45971if ac_fn_c_try_link "$LINENO"; then :
45972  ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=yes
45973else
45974  ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=no
45975fi
45976rm -f core conftest.err conftest.$ac_objext \
45977    conftest$ac_exeext conftest.$ac_ext
45978LIBS=$ac_check_lib_save_LIBS
45979fi
45980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&5
45981$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&6; }
45982if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" = xyes; then :
45983  ac_cv_libfdatetime_dummy=yes
45984else
45985  ac_cv_libfdatetime=no
45986fi
45987
45988        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime" >&5
45989$as_echo_n "checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime... " >&6; }
45990if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream+:} false; then :
45991  $as_echo_n "(cached) " >&6
45992else
45993  ac_check_lib_save_LIBS=$LIBS
45994LIBS="-lfdatetime  $LIBS"
45995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996/* end confdefs.h.  */
45997
45998/* Override any GCC internal prototype to avoid an error.
45999   Use char because int might match the return type of a GCC
46000   builtin and then its argument prototype would still apply.  */
46001#ifdef __cplusplus
46002extern "C"
46003#endif
46004char libfdatetime_floatingtime_copy_from_byte_stream ();
46005int
46006main ()
46007{
46008return libfdatetime_floatingtime_copy_from_byte_stream ();
46009  ;
46010  return 0;
46011}
46012_ACEOF
46013if ac_fn_c_try_link "$LINENO"; then :
46014  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=yes
46015else
46016  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=no
46017fi
46018rm -f core conftest.err conftest.$ac_objext \
46019    conftest$ac_exeext conftest.$ac_ext
46020LIBS=$ac_check_lib_save_LIBS
46021fi
46022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&5
46023$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&6; }
46024if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" = xyes; then :
46025  ac_cv_libfdatetime_dummy=yes
46026else
46027  ac_cv_libfdatetime=no
46028fi
46029
46030        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime" >&5
46031$as_echo_n "checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime... " >&6; }
46032if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit+:} false; then :
46033  $as_echo_n "(cached) " >&6
46034else
46035  ac_check_lib_save_LIBS=$LIBS
46036LIBS="-lfdatetime  $LIBS"
46037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038/* end confdefs.h.  */
46039
46040/* Override any GCC internal prototype to avoid an error.
46041   Use char because int might match the return type of a GCC
46042   builtin and then its argument prototype would still apply.  */
46043#ifdef __cplusplus
46044extern "C"
46045#endif
46046char libfdatetime_floatingtime_copy_from_64bit ();
46047int
46048main ()
46049{
46050return libfdatetime_floatingtime_copy_from_64bit ();
46051  ;
46052  return 0;
46053}
46054_ACEOF
46055if ac_fn_c_try_link "$LINENO"; then :
46056  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=yes
46057else
46058  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=no
46059fi
46060rm -f core conftest.err conftest.$ac_objext \
46061    conftest$ac_exeext conftest.$ac_ext
46062LIBS=$ac_check_lib_save_LIBS
46063fi
46064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&5
46065$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&6; }
46066if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" = xyes; then :
46067  ac_cv_libfdatetime_dummy=yes
46068else
46069  ac_cv_libfdatetime=no
46070fi
46071
46072        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime" >&5
46073$as_echo_n "checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime... " >&6; }
46074if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit+:} false; then :
46075  $as_echo_n "(cached) " >&6
46076else
46077  ac_check_lib_save_LIBS=$LIBS
46078LIBS="-lfdatetime  $LIBS"
46079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46080/* end confdefs.h.  */
46081
46082/* Override any GCC internal prototype to avoid an error.
46083   Use char because int might match the return type of a GCC
46084   builtin and then its argument prototype would still apply.  */
46085#ifdef __cplusplus
46086extern "C"
46087#endif
46088char libfdatetime_floatingtime_copy_to_64bit ();
46089int
46090main ()
46091{
46092return libfdatetime_floatingtime_copy_to_64bit ();
46093  ;
46094  return 0;
46095}
46096_ACEOF
46097if ac_fn_c_try_link "$LINENO"; then :
46098  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=yes
46099else
46100  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=no
46101fi
46102rm -f core conftest.err conftest.$ac_objext \
46103    conftest$ac_exeext conftest.$ac_ext
46104LIBS=$ac_check_lib_save_LIBS
46105fi
46106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&5
46107$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&6; }
46108if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" = xyes; then :
46109  ac_cv_libfdatetime_dummy=yes
46110else
46111  ac_cv_libfdatetime=no
46112fi
46113
46114        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime" >&5
46115$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime... " >&6; }
46116if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string+:} false; then :
46117  $as_echo_n "(cached) " >&6
46118else
46119  ac_check_lib_save_LIBS=$LIBS
46120LIBS="-lfdatetime  $LIBS"
46121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46122/* end confdefs.h.  */
46123
46124/* Override any GCC internal prototype to avoid an error.
46125   Use char because int might match the return type of a GCC
46126   builtin and then its argument prototype would still apply.  */
46127#ifdef __cplusplus
46128extern "C"
46129#endif
46130char libfdatetime_floatingtime_copy_to_utf8_string ();
46131int
46132main ()
46133{
46134return libfdatetime_floatingtime_copy_to_utf8_string ();
46135  ;
46136  return 0;
46137}
46138_ACEOF
46139if ac_fn_c_try_link "$LINENO"; then :
46140  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=yes
46141else
46142  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=no
46143fi
46144rm -f core conftest.err conftest.$ac_objext \
46145    conftest$ac_exeext conftest.$ac_ext
46146LIBS=$ac_check_lib_save_LIBS
46147fi
46148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&5
46149$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&6; }
46150if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" = xyes; then :
46151  ac_cv_libfdatetime_dummy=yes
46152else
46153  ac_cv_libfdatetime=no
46154fi
46155
46156        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime" >&5
46157$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
46158if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index+:} false; then :
46159  $as_echo_n "(cached) " >&6
46160else
46161  ac_check_lib_save_LIBS=$LIBS
46162LIBS="-lfdatetime  $LIBS"
46163cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46164/* end confdefs.h.  */
46165
46166/* Override any GCC internal prototype to avoid an error.
46167   Use char because int might match the return type of a GCC
46168   builtin and then its argument prototype would still apply.  */
46169#ifdef __cplusplus
46170extern "C"
46171#endif
46172char libfdatetime_floatingtime_copy_to_utf8_string_with_index ();
46173int
46174main ()
46175{
46176return libfdatetime_floatingtime_copy_to_utf8_string_with_index ();
46177  ;
46178  return 0;
46179}
46180_ACEOF
46181if ac_fn_c_try_link "$LINENO"; then :
46182  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=yes
46183else
46184  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=no
46185fi
46186rm -f core conftest.err conftest.$ac_objext \
46187    conftest$ac_exeext conftest.$ac_ext
46188LIBS=$ac_check_lib_save_LIBS
46189fi
46190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&5
46191$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&6; }
46192if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" = xyes; then :
46193  ac_cv_libfdatetime_dummy=yes
46194else
46195  ac_cv_libfdatetime=no
46196fi
46197
46198        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime" >&5
46199$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime... " >&6; }
46200if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string+:} false; then :
46201  $as_echo_n "(cached) " >&6
46202else
46203  ac_check_lib_save_LIBS=$LIBS
46204LIBS="-lfdatetime  $LIBS"
46205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46206/* end confdefs.h.  */
46207
46208/* Override any GCC internal prototype to avoid an error.
46209   Use char because int might match the return type of a GCC
46210   builtin and then its argument prototype would still apply.  */
46211#ifdef __cplusplus
46212extern "C"
46213#endif
46214char libfdatetime_floatingtime_copy_to_utf16_string ();
46215int
46216main ()
46217{
46218return libfdatetime_floatingtime_copy_to_utf16_string ();
46219  ;
46220  return 0;
46221}
46222_ACEOF
46223if ac_fn_c_try_link "$LINENO"; then :
46224  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=yes
46225else
46226  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=no
46227fi
46228rm -f core conftest.err conftest.$ac_objext \
46229    conftest$ac_exeext conftest.$ac_ext
46230LIBS=$ac_check_lib_save_LIBS
46231fi
46232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&5
46233$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&6; }
46234if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" = xyes; then :
46235  ac_cv_libfdatetime_dummy=yes
46236else
46237  ac_cv_libfdatetime=no
46238fi
46239
46240        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime" >&5
46241$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
46242if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index+:} false; then :
46243  $as_echo_n "(cached) " >&6
46244else
46245  ac_check_lib_save_LIBS=$LIBS
46246LIBS="-lfdatetime  $LIBS"
46247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46248/* end confdefs.h.  */
46249
46250/* Override any GCC internal prototype to avoid an error.
46251   Use char because int might match the return type of a GCC
46252   builtin and then its argument prototype would still apply.  */
46253#ifdef __cplusplus
46254extern "C"
46255#endif
46256char libfdatetime_floatingtime_copy_to_utf16_string_with_index ();
46257int
46258main ()
46259{
46260return libfdatetime_floatingtime_copy_to_utf16_string_with_index ();
46261  ;
46262  return 0;
46263}
46264_ACEOF
46265if ac_fn_c_try_link "$LINENO"; then :
46266  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=yes
46267else
46268  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=no
46269fi
46270rm -f core conftest.err conftest.$ac_objext \
46271    conftest$ac_exeext conftest.$ac_ext
46272LIBS=$ac_check_lib_save_LIBS
46273fi
46274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&5
46275$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&6; }
46276if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" = xyes; then :
46277  ac_cv_libfdatetime_dummy=yes
46278else
46279  ac_cv_libfdatetime=no
46280fi
46281
46282        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime" >&5
46283$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime... " >&6; }
46284if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string+:} false; then :
46285  $as_echo_n "(cached) " >&6
46286else
46287  ac_check_lib_save_LIBS=$LIBS
46288LIBS="-lfdatetime  $LIBS"
46289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46290/* end confdefs.h.  */
46291
46292/* Override any GCC internal prototype to avoid an error.
46293   Use char because int might match the return type of a GCC
46294   builtin and then its argument prototype would still apply.  */
46295#ifdef __cplusplus
46296extern "C"
46297#endif
46298char libfdatetime_floatingtime_copy_to_utf32_string ();
46299int
46300main ()
46301{
46302return libfdatetime_floatingtime_copy_to_utf32_string ();
46303  ;
46304  return 0;
46305}
46306_ACEOF
46307if ac_fn_c_try_link "$LINENO"; then :
46308  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=yes
46309else
46310  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=no
46311fi
46312rm -f core conftest.err conftest.$ac_objext \
46313    conftest$ac_exeext conftest.$ac_ext
46314LIBS=$ac_check_lib_save_LIBS
46315fi
46316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&5
46317$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&6; }
46318if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" = xyes; then :
46319  ac_cv_libfdatetime_dummy=yes
46320else
46321  ac_cv_libfdatetime=no
46322fi
46323
46324        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime" >&5
46325$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
46326if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index+:} false; then :
46327  $as_echo_n "(cached) " >&6
46328else
46329  ac_check_lib_save_LIBS=$LIBS
46330LIBS="-lfdatetime  $LIBS"
46331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46332/* end confdefs.h.  */
46333
46334/* Override any GCC internal prototype to avoid an error.
46335   Use char because int might match the return type of a GCC
46336   builtin and then its argument prototype would still apply.  */
46337#ifdef __cplusplus
46338extern "C"
46339#endif
46340char libfdatetime_floatingtime_copy_to_utf32_string_with_index ();
46341int
46342main ()
46343{
46344return libfdatetime_floatingtime_copy_to_utf32_string_with_index ();
46345  ;
46346  return 0;
46347}
46348_ACEOF
46349if ac_fn_c_try_link "$LINENO"; then :
46350  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=yes
46351else
46352  ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=no
46353fi
46354rm -f core conftest.err conftest.$ac_objext \
46355    conftest$ac_exeext conftest.$ac_ext
46356LIBS=$ac_check_lib_save_LIBS
46357fi
46358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&5
46359$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&6; }
46360if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" = xyes; then :
46361  ac_cv_libfdatetime_dummy=yes
46362else
46363  ac_cv_libfdatetime=no
46364fi
46365
46366
46367                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_initialize in -lfdatetime" >&5
46368$as_echo_n "checking for libfdatetime_hfs_time_initialize in -lfdatetime... " >&6; }
46369if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize+:} false; then :
46370  $as_echo_n "(cached) " >&6
46371else
46372  ac_check_lib_save_LIBS=$LIBS
46373LIBS="-lfdatetime  $LIBS"
46374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46375/* end confdefs.h.  */
46376
46377/* Override any GCC internal prototype to avoid an error.
46378   Use char because int might match the return type of a GCC
46379   builtin and then its argument prototype would still apply.  */
46380#ifdef __cplusplus
46381extern "C"
46382#endif
46383char libfdatetime_hfs_time_initialize ();
46384int
46385main ()
46386{
46387return libfdatetime_hfs_time_initialize ();
46388  ;
46389  return 0;
46390}
46391_ACEOF
46392if ac_fn_c_try_link "$LINENO"; then :
46393  ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=yes
46394else
46395  ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=no
46396fi
46397rm -f core conftest.err conftest.$ac_objext \
46398    conftest$ac_exeext conftest.$ac_ext
46399LIBS=$ac_check_lib_save_LIBS
46400fi
46401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&5
46402$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&6; }
46403if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" = xyes; then :
46404  ac_cv_libfdatetime_dummy=yes
46405else
46406  ac_cv_libfdatetime=no
46407fi
46408
46409        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_free in -lfdatetime" >&5
46410$as_echo_n "checking for libfdatetime_hfs_time_free in -lfdatetime... " >&6; }
46411if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_free+:} false; then :
46412  $as_echo_n "(cached) " >&6
46413else
46414  ac_check_lib_save_LIBS=$LIBS
46415LIBS="-lfdatetime  $LIBS"
46416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46417/* end confdefs.h.  */
46418
46419/* Override any GCC internal prototype to avoid an error.
46420   Use char because int might match the return type of a GCC
46421   builtin and then its argument prototype would still apply.  */
46422#ifdef __cplusplus
46423extern "C"
46424#endif
46425char libfdatetime_hfs_time_free ();
46426int
46427main ()
46428{
46429return libfdatetime_hfs_time_free ();
46430  ;
46431  return 0;
46432}
46433_ACEOF
46434if ac_fn_c_try_link "$LINENO"; then :
46435  ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=yes
46436else
46437  ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=no
46438fi
46439rm -f core conftest.err conftest.$ac_objext \
46440    conftest$ac_exeext conftest.$ac_ext
46441LIBS=$ac_check_lib_save_LIBS
46442fi
46443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&5
46444$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&6; }
46445if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" = xyes; then :
46446  ac_cv_libfdatetime_dummy=yes
46447else
46448  ac_cv_libfdatetime=no
46449fi
46450
46451        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime" >&5
46452$as_echo_n "checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime... " >&6; }
46453if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream+:} false; then :
46454  $as_echo_n "(cached) " >&6
46455else
46456  ac_check_lib_save_LIBS=$LIBS
46457LIBS="-lfdatetime  $LIBS"
46458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46459/* end confdefs.h.  */
46460
46461/* Override any GCC internal prototype to avoid an error.
46462   Use char because int might match the return type of a GCC
46463   builtin and then its argument prototype would still apply.  */
46464#ifdef __cplusplus
46465extern "C"
46466#endif
46467char libfdatetime_hfs_time_copy_from_byte_stream ();
46468int
46469main ()
46470{
46471return libfdatetime_hfs_time_copy_from_byte_stream ();
46472  ;
46473  return 0;
46474}
46475_ACEOF
46476if ac_fn_c_try_link "$LINENO"; then :
46477  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=yes
46478else
46479  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=no
46480fi
46481rm -f core conftest.err conftest.$ac_objext \
46482    conftest$ac_exeext conftest.$ac_ext
46483LIBS=$ac_check_lib_save_LIBS
46484fi
46485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&5
46486$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&6; }
46487if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" = xyes; then :
46488  ac_cv_libfdatetime_dummy=yes
46489else
46490  ac_cv_libfdatetime=no
46491fi
46492
46493        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime" >&5
46494$as_echo_n "checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime... " >&6; }
46495if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit+:} false; then :
46496  $as_echo_n "(cached) " >&6
46497else
46498  ac_check_lib_save_LIBS=$LIBS
46499LIBS="-lfdatetime  $LIBS"
46500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46501/* end confdefs.h.  */
46502
46503/* Override any GCC internal prototype to avoid an error.
46504   Use char because int might match the return type of a GCC
46505   builtin and then its argument prototype would still apply.  */
46506#ifdef __cplusplus
46507extern "C"
46508#endif
46509char libfdatetime_hfs_time_copy_from_32bit ();
46510int
46511main ()
46512{
46513return libfdatetime_hfs_time_copy_from_32bit ();
46514  ;
46515  return 0;
46516}
46517_ACEOF
46518if ac_fn_c_try_link "$LINENO"; then :
46519  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=yes
46520else
46521  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=no
46522fi
46523rm -f core conftest.err conftest.$ac_objext \
46524    conftest$ac_exeext conftest.$ac_ext
46525LIBS=$ac_check_lib_save_LIBS
46526fi
46527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&5
46528$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&6; }
46529if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" = xyes; then :
46530  ac_cv_libfdatetime_dummy=yes
46531else
46532  ac_cv_libfdatetime=no
46533fi
46534
46535        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime" >&5
46536$as_echo_n "checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime... " >&6; }
46537if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit+:} false; then :
46538  $as_echo_n "(cached) " >&6
46539else
46540  ac_check_lib_save_LIBS=$LIBS
46541LIBS="-lfdatetime  $LIBS"
46542cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46543/* end confdefs.h.  */
46544
46545/* Override any GCC internal prototype to avoid an error.
46546   Use char because int might match the return type of a GCC
46547   builtin and then its argument prototype would still apply.  */
46548#ifdef __cplusplus
46549extern "C"
46550#endif
46551char libfdatetime_hfs_time_copy_to_32bit ();
46552int
46553main ()
46554{
46555return libfdatetime_hfs_time_copy_to_32bit ();
46556  ;
46557  return 0;
46558}
46559_ACEOF
46560if ac_fn_c_try_link "$LINENO"; then :
46561  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=yes
46562else
46563  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=no
46564fi
46565rm -f core conftest.err conftest.$ac_objext \
46566    conftest$ac_exeext conftest.$ac_ext
46567LIBS=$ac_check_lib_save_LIBS
46568fi
46569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&5
46570$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&6; }
46571if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" = xyes; then :
46572  ac_cv_libfdatetime_dummy=yes
46573else
46574  ac_cv_libfdatetime=no
46575fi
46576
46577        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime" >&5
46578$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime... " >&6; }
46579if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string+:} false; then :
46580  $as_echo_n "(cached) " >&6
46581else
46582  ac_check_lib_save_LIBS=$LIBS
46583LIBS="-lfdatetime  $LIBS"
46584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46585/* end confdefs.h.  */
46586
46587/* Override any GCC internal prototype to avoid an error.
46588   Use char because int might match the return type of a GCC
46589   builtin and then its argument prototype would still apply.  */
46590#ifdef __cplusplus
46591extern "C"
46592#endif
46593char libfdatetime_hfs_time_copy_to_utf8_string ();
46594int
46595main ()
46596{
46597return libfdatetime_hfs_time_copy_to_utf8_string ();
46598  ;
46599  return 0;
46600}
46601_ACEOF
46602if ac_fn_c_try_link "$LINENO"; then :
46603  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=yes
46604else
46605  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=no
46606fi
46607rm -f core conftest.err conftest.$ac_objext \
46608    conftest$ac_exeext conftest.$ac_ext
46609LIBS=$ac_check_lib_save_LIBS
46610fi
46611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&5
46612$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&6; }
46613if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" = xyes; then :
46614  ac_cv_libfdatetime_dummy=yes
46615else
46616  ac_cv_libfdatetime=no
46617fi
46618
46619        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime" >&5
46620$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
46621if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index+:} false; then :
46622  $as_echo_n "(cached) " >&6
46623else
46624  ac_check_lib_save_LIBS=$LIBS
46625LIBS="-lfdatetime  $LIBS"
46626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46627/* end confdefs.h.  */
46628
46629/* Override any GCC internal prototype to avoid an error.
46630   Use char because int might match the return type of a GCC
46631   builtin and then its argument prototype would still apply.  */
46632#ifdef __cplusplus
46633extern "C"
46634#endif
46635char libfdatetime_hfs_time_copy_to_utf8_string_with_index ();
46636int
46637main ()
46638{
46639return libfdatetime_hfs_time_copy_to_utf8_string_with_index ();
46640  ;
46641  return 0;
46642}
46643_ACEOF
46644if ac_fn_c_try_link "$LINENO"; then :
46645  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=yes
46646else
46647  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=no
46648fi
46649rm -f core conftest.err conftest.$ac_objext \
46650    conftest$ac_exeext conftest.$ac_ext
46651LIBS=$ac_check_lib_save_LIBS
46652fi
46653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&5
46654$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&6; }
46655if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" = xyes; then :
46656  ac_cv_libfdatetime_dummy=yes
46657else
46658  ac_cv_libfdatetime=no
46659fi
46660
46661        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime" >&5
46662$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime... " >&6; }
46663if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string+:} false; then :
46664  $as_echo_n "(cached) " >&6
46665else
46666  ac_check_lib_save_LIBS=$LIBS
46667LIBS="-lfdatetime  $LIBS"
46668cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46669/* end confdefs.h.  */
46670
46671/* Override any GCC internal prototype to avoid an error.
46672   Use char because int might match the return type of a GCC
46673   builtin and then its argument prototype would still apply.  */
46674#ifdef __cplusplus
46675extern "C"
46676#endif
46677char libfdatetime_hfs_time_copy_to_utf16_string ();
46678int
46679main ()
46680{
46681return libfdatetime_hfs_time_copy_to_utf16_string ();
46682  ;
46683  return 0;
46684}
46685_ACEOF
46686if ac_fn_c_try_link "$LINENO"; then :
46687  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=yes
46688else
46689  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=no
46690fi
46691rm -f core conftest.err conftest.$ac_objext \
46692    conftest$ac_exeext conftest.$ac_ext
46693LIBS=$ac_check_lib_save_LIBS
46694fi
46695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&5
46696$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&6; }
46697if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" = xyes; then :
46698  ac_cv_libfdatetime_dummy=yes
46699else
46700  ac_cv_libfdatetime=no
46701fi
46702
46703        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime" >&5
46704$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
46705if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index+:} false; then :
46706  $as_echo_n "(cached) " >&6
46707else
46708  ac_check_lib_save_LIBS=$LIBS
46709LIBS="-lfdatetime  $LIBS"
46710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46711/* end confdefs.h.  */
46712
46713/* Override any GCC internal prototype to avoid an error.
46714   Use char because int might match the return type of a GCC
46715   builtin and then its argument prototype would still apply.  */
46716#ifdef __cplusplus
46717extern "C"
46718#endif
46719char libfdatetime_hfs_time_copy_to_utf16_string_with_index ();
46720int
46721main ()
46722{
46723return libfdatetime_hfs_time_copy_to_utf16_string_with_index ();
46724  ;
46725  return 0;
46726}
46727_ACEOF
46728if ac_fn_c_try_link "$LINENO"; then :
46729  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=yes
46730else
46731  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=no
46732fi
46733rm -f core conftest.err conftest.$ac_objext \
46734    conftest$ac_exeext conftest.$ac_ext
46735LIBS=$ac_check_lib_save_LIBS
46736fi
46737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&5
46738$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&6; }
46739if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" = xyes; then :
46740  ac_cv_libfdatetime_dummy=yes
46741else
46742  ac_cv_libfdatetime=no
46743fi
46744
46745        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime" >&5
46746$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime... " >&6; }
46747if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string+:} false; then :
46748  $as_echo_n "(cached) " >&6
46749else
46750  ac_check_lib_save_LIBS=$LIBS
46751LIBS="-lfdatetime  $LIBS"
46752cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46753/* end confdefs.h.  */
46754
46755/* Override any GCC internal prototype to avoid an error.
46756   Use char because int might match the return type of a GCC
46757   builtin and then its argument prototype would still apply.  */
46758#ifdef __cplusplus
46759extern "C"
46760#endif
46761char libfdatetime_hfs_time_copy_to_utf32_string ();
46762int
46763main ()
46764{
46765return libfdatetime_hfs_time_copy_to_utf32_string ();
46766  ;
46767  return 0;
46768}
46769_ACEOF
46770if ac_fn_c_try_link "$LINENO"; then :
46771  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=yes
46772else
46773  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=no
46774fi
46775rm -f core conftest.err conftest.$ac_objext \
46776    conftest$ac_exeext conftest.$ac_ext
46777LIBS=$ac_check_lib_save_LIBS
46778fi
46779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&5
46780$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&6; }
46781if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" = xyes; then :
46782  ac_cv_libfdatetime_dummy=yes
46783else
46784  ac_cv_libfdatetime=no
46785fi
46786
46787        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime" >&5
46788$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
46789if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index+:} false; then :
46790  $as_echo_n "(cached) " >&6
46791else
46792  ac_check_lib_save_LIBS=$LIBS
46793LIBS="-lfdatetime  $LIBS"
46794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46795/* end confdefs.h.  */
46796
46797/* Override any GCC internal prototype to avoid an error.
46798   Use char because int might match the return type of a GCC
46799   builtin and then its argument prototype would still apply.  */
46800#ifdef __cplusplus
46801extern "C"
46802#endif
46803char libfdatetime_hfs_time_copy_to_utf32_string_with_index ();
46804int
46805main ()
46806{
46807return libfdatetime_hfs_time_copy_to_utf32_string_with_index ();
46808  ;
46809  return 0;
46810}
46811_ACEOF
46812if ac_fn_c_try_link "$LINENO"; then :
46813  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=yes
46814else
46815  ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=no
46816fi
46817rm -f core conftest.err conftest.$ac_objext \
46818    conftest$ac_exeext conftest.$ac_ext
46819LIBS=$ac_check_lib_save_LIBS
46820fi
46821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&5
46822$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&6; }
46823if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" = xyes; then :
46824  ac_cv_libfdatetime_dummy=yes
46825else
46826  ac_cv_libfdatetime=no
46827fi
46828
46829
46830                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_initialize in -lfdatetime" >&5
46831$as_echo_n "checking for libfdatetime_nsf_timedate_initialize in -lfdatetime... " >&6; }
46832if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize+:} false; then :
46833  $as_echo_n "(cached) " >&6
46834else
46835  ac_check_lib_save_LIBS=$LIBS
46836LIBS="-lfdatetime  $LIBS"
46837cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46838/* end confdefs.h.  */
46839
46840/* Override any GCC internal prototype to avoid an error.
46841   Use char because int might match the return type of a GCC
46842   builtin and then its argument prototype would still apply.  */
46843#ifdef __cplusplus
46844extern "C"
46845#endif
46846char libfdatetime_nsf_timedate_initialize ();
46847int
46848main ()
46849{
46850return libfdatetime_nsf_timedate_initialize ();
46851  ;
46852  return 0;
46853}
46854_ACEOF
46855if ac_fn_c_try_link "$LINENO"; then :
46856  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=yes
46857else
46858  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=no
46859fi
46860rm -f core conftest.err conftest.$ac_objext \
46861    conftest$ac_exeext conftest.$ac_ext
46862LIBS=$ac_check_lib_save_LIBS
46863fi
46864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&5
46865$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&6; }
46866if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" = xyes; then :
46867  ac_cv_libfdatetime_dummy=yes
46868else
46869  ac_cv_libfdatetime=no
46870fi
46871
46872        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_free in -lfdatetime" >&5
46873$as_echo_n "checking for libfdatetime_nsf_timedate_free in -lfdatetime... " >&6; }
46874if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free+:} false; then :
46875  $as_echo_n "(cached) " >&6
46876else
46877  ac_check_lib_save_LIBS=$LIBS
46878LIBS="-lfdatetime  $LIBS"
46879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46880/* end confdefs.h.  */
46881
46882/* Override any GCC internal prototype to avoid an error.
46883   Use char because int might match the return type of a GCC
46884   builtin and then its argument prototype would still apply.  */
46885#ifdef __cplusplus
46886extern "C"
46887#endif
46888char libfdatetime_nsf_timedate_free ();
46889int
46890main ()
46891{
46892return libfdatetime_nsf_timedate_free ();
46893  ;
46894  return 0;
46895}
46896_ACEOF
46897if ac_fn_c_try_link "$LINENO"; then :
46898  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=yes
46899else
46900  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=no
46901fi
46902rm -f core conftest.err conftest.$ac_objext \
46903    conftest$ac_exeext conftest.$ac_ext
46904LIBS=$ac_check_lib_save_LIBS
46905fi
46906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&5
46907$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&6; }
46908if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" = xyes; then :
46909  ac_cv_libfdatetime_dummy=yes
46910else
46911  ac_cv_libfdatetime=no
46912fi
46913
46914        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime" >&5
46915$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime... " >&6; }
46916if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream+:} false; then :
46917  $as_echo_n "(cached) " >&6
46918else
46919  ac_check_lib_save_LIBS=$LIBS
46920LIBS="-lfdatetime  $LIBS"
46921cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46922/* end confdefs.h.  */
46923
46924/* Override any GCC internal prototype to avoid an error.
46925   Use char because int might match the return type of a GCC
46926   builtin and then its argument prototype would still apply.  */
46927#ifdef __cplusplus
46928extern "C"
46929#endif
46930char libfdatetime_nsf_timedate_copy_from_byte_stream ();
46931int
46932main ()
46933{
46934return libfdatetime_nsf_timedate_copy_from_byte_stream ();
46935  ;
46936  return 0;
46937}
46938_ACEOF
46939if ac_fn_c_try_link "$LINENO"; then :
46940  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=yes
46941else
46942  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=no
46943fi
46944rm -f core conftest.err conftest.$ac_objext \
46945    conftest$ac_exeext conftest.$ac_ext
46946LIBS=$ac_check_lib_save_LIBS
46947fi
46948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&5
46949$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&6; }
46950if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" = xyes; then :
46951  ac_cv_libfdatetime_dummy=yes
46952else
46953  ac_cv_libfdatetime=no
46954fi
46955
46956        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime" >&5
46957$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime... " >&6; }
46958if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit+:} false; then :
46959  $as_echo_n "(cached) " >&6
46960else
46961  ac_check_lib_save_LIBS=$LIBS
46962LIBS="-lfdatetime  $LIBS"
46963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46964/* end confdefs.h.  */
46965
46966/* Override any GCC internal prototype to avoid an error.
46967   Use char because int might match the return type of a GCC
46968   builtin and then its argument prototype would still apply.  */
46969#ifdef __cplusplus
46970extern "C"
46971#endif
46972char libfdatetime_nsf_timedate_copy_from_64bit ();
46973int
46974main ()
46975{
46976return libfdatetime_nsf_timedate_copy_from_64bit ();
46977  ;
46978  return 0;
46979}
46980_ACEOF
46981if ac_fn_c_try_link "$LINENO"; then :
46982  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=yes
46983else
46984  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=no
46985fi
46986rm -f core conftest.err conftest.$ac_objext \
46987    conftest$ac_exeext conftest.$ac_ext
46988LIBS=$ac_check_lib_save_LIBS
46989fi
46990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&5
46991$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&6; }
46992if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" = xyes; then :
46993  ac_cv_libfdatetime_dummy=yes
46994else
46995  ac_cv_libfdatetime=no
46996fi
46997
46998        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime" >&5
46999$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime... " >&6; }
47000if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit+:} false; then :
47001  $as_echo_n "(cached) " >&6
47002else
47003  ac_check_lib_save_LIBS=$LIBS
47004LIBS="-lfdatetime  $LIBS"
47005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47006/* end confdefs.h.  */
47007
47008/* Override any GCC internal prototype to avoid an error.
47009   Use char because int might match the return type of a GCC
47010   builtin and then its argument prototype would still apply.  */
47011#ifdef __cplusplus
47012extern "C"
47013#endif
47014char libfdatetime_nsf_timedate_copy_to_64bit ();
47015int
47016main ()
47017{
47018return libfdatetime_nsf_timedate_copy_to_64bit ();
47019  ;
47020  return 0;
47021}
47022_ACEOF
47023if ac_fn_c_try_link "$LINENO"; then :
47024  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=yes
47025else
47026  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=no
47027fi
47028rm -f core conftest.err conftest.$ac_objext \
47029    conftest$ac_exeext conftest.$ac_ext
47030LIBS=$ac_check_lib_save_LIBS
47031fi
47032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&5
47033$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&6; }
47034if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" = xyes; then :
47035  ac_cv_libfdatetime_dummy=yes
47036else
47037  ac_cv_libfdatetime=no
47038fi
47039
47040        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime" >&5
47041$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime... " >&6; }
47042if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string+:} false; then :
47043  $as_echo_n "(cached) " >&6
47044else
47045  ac_check_lib_save_LIBS=$LIBS
47046LIBS="-lfdatetime  $LIBS"
47047cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47048/* end confdefs.h.  */
47049
47050/* Override any GCC internal prototype to avoid an error.
47051   Use char because int might match the return type of a GCC
47052   builtin and then its argument prototype would still apply.  */
47053#ifdef __cplusplus
47054extern "C"
47055#endif
47056char libfdatetime_nsf_timedate_copy_to_utf8_string ();
47057int
47058main ()
47059{
47060return libfdatetime_nsf_timedate_copy_to_utf8_string ();
47061  ;
47062  return 0;
47063}
47064_ACEOF
47065if ac_fn_c_try_link "$LINENO"; then :
47066  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=yes
47067else
47068  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=no
47069fi
47070rm -f core conftest.err conftest.$ac_objext \
47071    conftest$ac_exeext conftest.$ac_ext
47072LIBS=$ac_check_lib_save_LIBS
47073fi
47074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&5
47075$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&6; }
47076if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" = xyes; then :
47077  ac_cv_libfdatetime_dummy=yes
47078else
47079  ac_cv_libfdatetime=no
47080fi
47081
47082        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime" >&5
47083$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
47084if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index+:} false; then :
47085  $as_echo_n "(cached) " >&6
47086else
47087  ac_check_lib_save_LIBS=$LIBS
47088LIBS="-lfdatetime  $LIBS"
47089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47090/* end confdefs.h.  */
47091
47092/* Override any GCC internal prototype to avoid an error.
47093   Use char because int might match the return type of a GCC
47094   builtin and then its argument prototype would still apply.  */
47095#ifdef __cplusplus
47096extern "C"
47097#endif
47098char libfdatetime_nsf_timedate_copy_to_utf8_string_with_index ();
47099int
47100main ()
47101{
47102return libfdatetime_nsf_timedate_copy_to_utf8_string_with_index ();
47103  ;
47104  return 0;
47105}
47106_ACEOF
47107if ac_fn_c_try_link "$LINENO"; then :
47108  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=yes
47109else
47110  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=no
47111fi
47112rm -f core conftest.err conftest.$ac_objext \
47113    conftest$ac_exeext conftest.$ac_ext
47114LIBS=$ac_check_lib_save_LIBS
47115fi
47116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&5
47117$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&6; }
47118if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" = xyes; then :
47119  ac_cv_libfdatetime_dummy=yes
47120else
47121  ac_cv_libfdatetime=no
47122fi
47123
47124        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime" >&5
47125$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime... " >&6; }
47126if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string+:} false; then :
47127  $as_echo_n "(cached) " >&6
47128else
47129  ac_check_lib_save_LIBS=$LIBS
47130LIBS="-lfdatetime  $LIBS"
47131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47132/* end confdefs.h.  */
47133
47134/* Override any GCC internal prototype to avoid an error.
47135   Use char because int might match the return type of a GCC
47136   builtin and then its argument prototype would still apply.  */
47137#ifdef __cplusplus
47138extern "C"
47139#endif
47140char libfdatetime_nsf_timedate_copy_to_utf16_string ();
47141int
47142main ()
47143{
47144return libfdatetime_nsf_timedate_copy_to_utf16_string ();
47145  ;
47146  return 0;
47147}
47148_ACEOF
47149if ac_fn_c_try_link "$LINENO"; then :
47150  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=yes
47151else
47152  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=no
47153fi
47154rm -f core conftest.err conftest.$ac_objext \
47155    conftest$ac_exeext conftest.$ac_ext
47156LIBS=$ac_check_lib_save_LIBS
47157fi
47158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&5
47159$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&6; }
47160if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" = xyes; then :
47161  ac_cv_libfdatetime_dummy=yes
47162else
47163  ac_cv_libfdatetime=no
47164fi
47165
47166        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime" >&5
47167$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
47168if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index+:} false; then :
47169  $as_echo_n "(cached) " >&6
47170else
47171  ac_check_lib_save_LIBS=$LIBS
47172LIBS="-lfdatetime  $LIBS"
47173cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47174/* end confdefs.h.  */
47175
47176/* Override any GCC internal prototype to avoid an error.
47177   Use char because int might match the return type of a GCC
47178   builtin and then its argument prototype would still apply.  */
47179#ifdef __cplusplus
47180extern "C"
47181#endif
47182char libfdatetime_nsf_timedate_copy_to_utf16_string_with_index ();
47183int
47184main ()
47185{
47186return libfdatetime_nsf_timedate_copy_to_utf16_string_with_index ();
47187  ;
47188  return 0;
47189}
47190_ACEOF
47191if ac_fn_c_try_link "$LINENO"; then :
47192  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=yes
47193else
47194  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=no
47195fi
47196rm -f core conftest.err conftest.$ac_objext \
47197    conftest$ac_exeext conftest.$ac_ext
47198LIBS=$ac_check_lib_save_LIBS
47199fi
47200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&5
47201$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&6; }
47202if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" = xyes; then :
47203  ac_cv_libfdatetime_dummy=yes
47204else
47205  ac_cv_libfdatetime=no
47206fi
47207
47208        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime" >&5
47209$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime... " >&6; }
47210if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string+:} false; then :
47211  $as_echo_n "(cached) " >&6
47212else
47213  ac_check_lib_save_LIBS=$LIBS
47214LIBS="-lfdatetime  $LIBS"
47215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47216/* end confdefs.h.  */
47217
47218/* Override any GCC internal prototype to avoid an error.
47219   Use char because int might match the return type of a GCC
47220   builtin and then its argument prototype would still apply.  */
47221#ifdef __cplusplus
47222extern "C"
47223#endif
47224char libfdatetime_nsf_timedate_copy_to_utf32_string ();
47225int
47226main ()
47227{
47228return libfdatetime_nsf_timedate_copy_to_utf32_string ();
47229  ;
47230  return 0;
47231}
47232_ACEOF
47233if ac_fn_c_try_link "$LINENO"; then :
47234  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=yes
47235else
47236  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=no
47237fi
47238rm -f core conftest.err conftest.$ac_objext \
47239    conftest$ac_exeext conftest.$ac_ext
47240LIBS=$ac_check_lib_save_LIBS
47241fi
47242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&5
47243$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&6; }
47244if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" = xyes; then :
47245  ac_cv_libfdatetime_dummy=yes
47246else
47247  ac_cv_libfdatetime=no
47248fi
47249
47250        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime" >&5
47251$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
47252if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index+:} false; then :
47253  $as_echo_n "(cached) " >&6
47254else
47255  ac_check_lib_save_LIBS=$LIBS
47256LIBS="-lfdatetime  $LIBS"
47257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47258/* end confdefs.h.  */
47259
47260/* Override any GCC internal prototype to avoid an error.
47261   Use char because int might match the return type of a GCC
47262   builtin and then its argument prototype would still apply.  */
47263#ifdef __cplusplus
47264extern "C"
47265#endif
47266char libfdatetime_nsf_timedate_copy_to_utf32_string_with_index ();
47267int
47268main ()
47269{
47270return libfdatetime_nsf_timedate_copy_to_utf32_string_with_index ();
47271  ;
47272  return 0;
47273}
47274_ACEOF
47275if ac_fn_c_try_link "$LINENO"; then :
47276  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=yes
47277else
47278  ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=no
47279fi
47280rm -f core conftest.err conftest.$ac_objext \
47281    conftest$ac_exeext conftest.$ac_ext
47282LIBS=$ac_check_lib_save_LIBS
47283fi
47284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&5
47285$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&6; }
47286if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" = xyes; then :
47287  ac_cv_libfdatetime_dummy=yes
47288else
47289  ac_cv_libfdatetime=no
47290fi
47291
47292
47293                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_initialize in -lfdatetime" >&5
47294$as_echo_n "checking for libfdatetime_posix_time_initialize in -lfdatetime... " >&6; }
47295if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize+:} false; then :
47296  $as_echo_n "(cached) " >&6
47297else
47298  ac_check_lib_save_LIBS=$LIBS
47299LIBS="-lfdatetime  $LIBS"
47300cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47301/* end confdefs.h.  */
47302
47303/* Override any GCC internal prototype to avoid an error.
47304   Use char because int might match the return type of a GCC
47305   builtin and then its argument prototype would still apply.  */
47306#ifdef __cplusplus
47307extern "C"
47308#endif
47309char libfdatetime_posix_time_initialize ();
47310int
47311main ()
47312{
47313return libfdatetime_posix_time_initialize ();
47314  ;
47315  return 0;
47316}
47317_ACEOF
47318if ac_fn_c_try_link "$LINENO"; then :
47319  ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=yes
47320else
47321  ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=no
47322fi
47323rm -f core conftest.err conftest.$ac_objext \
47324    conftest$ac_exeext conftest.$ac_ext
47325LIBS=$ac_check_lib_save_LIBS
47326fi
47327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&5
47328$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&6; }
47329if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" = xyes; then :
47330  ac_cv_libfdatetime_dummy=yes
47331else
47332  ac_cv_libfdatetime=no
47333fi
47334
47335        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_free in -lfdatetime" >&5
47336$as_echo_n "checking for libfdatetime_posix_time_free in -lfdatetime... " >&6; }
47337if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_free+:} false; then :
47338  $as_echo_n "(cached) " >&6
47339else
47340  ac_check_lib_save_LIBS=$LIBS
47341LIBS="-lfdatetime  $LIBS"
47342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47343/* end confdefs.h.  */
47344
47345/* Override any GCC internal prototype to avoid an error.
47346   Use char because int might match the return type of a GCC
47347   builtin and then its argument prototype would still apply.  */
47348#ifdef __cplusplus
47349extern "C"
47350#endif
47351char libfdatetime_posix_time_free ();
47352int
47353main ()
47354{
47355return libfdatetime_posix_time_free ();
47356  ;
47357  return 0;
47358}
47359_ACEOF
47360if ac_fn_c_try_link "$LINENO"; then :
47361  ac_cv_lib_fdatetime_libfdatetime_posix_time_free=yes
47362else
47363  ac_cv_lib_fdatetime_libfdatetime_posix_time_free=no
47364fi
47365rm -f core conftest.err conftest.$ac_objext \
47366    conftest$ac_exeext conftest.$ac_ext
47367LIBS=$ac_check_lib_save_LIBS
47368fi
47369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&5
47370$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&6; }
47371if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" = xyes; then :
47372  ac_cv_libfdatetime_dummy=yes
47373else
47374  ac_cv_libfdatetime=no
47375fi
47376
47377        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime" >&5
47378$as_echo_n "checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime... " >&6; }
47379if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream+:} false; then :
47380  $as_echo_n "(cached) " >&6
47381else
47382  ac_check_lib_save_LIBS=$LIBS
47383LIBS="-lfdatetime  $LIBS"
47384cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47385/* end confdefs.h.  */
47386
47387/* Override any GCC internal prototype to avoid an error.
47388   Use char because int might match the return type of a GCC
47389   builtin and then its argument prototype would still apply.  */
47390#ifdef __cplusplus
47391extern "C"
47392#endif
47393char libfdatetime_posix_time_copy_from_byte_stream ();
47394int
47395main ()
47396{
47397return libfdatetime_posix_time_copy_from_byte_stream ();
47398  ;
47399  return 0;
47400}
47401_ACEOF
47402if ac_fn_c_try_link "$LINENO"; then :
47403  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=yes
47404else
47405  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=no
47406fi
47407rm -f core conftest.err conftest.$ac_objext \
47408    conftest$ac_exeext conftest.$ac_ext
47409LIBS=$ac_check_lib_save_LIBS
47410fi
47411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&5
47412$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&6; }
47413if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" = xyes; then :
47414  ac_cv_libfdatetime_dummy=yes
47415else
47416  ac_cv_libfdatetime=no
47417fi
47418
47419        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime" >&5
47420$as_echo_n "checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime... " >&6; }
47421if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit+:} false; then :
47422  $as_echo_n "(cached) " >&6
47423else
47424  ac_check_lib_save_LIBS=$LIBS
47425LIBS="-lfdatetime  $LIBS"
47426cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47427/* end confdefs.h.  */
47428
47429/* Override any GCC internal prototype to avoid an error.
47430   Use char because int might match the return type of a GCC
47431   builtin and then its argument prototype would still apply.  */
47432#ifdef __cplusplus
47433extern "C"
47434#endif
47435char libfdatetime_posix_time_copy_from_32bit ();
47436int
47437main ()
47438{
47439return libfdatetime_posix_time_copy_from_32bit ();
47440  ;
47441  return 0;
47442}
47443_ACEOF
47444if ac_fn_c_try_link "$LINENO"; then :
47445  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=yes
47446else
47447  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=no
47448fi
47449rm -f core conftest.err conftest.$ac_objext \
47450    conftest$ac_exeext conftest.$ac_ext
47451LIBS=$ac_check_lib_save_LIBS
47452fi
47453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&5
47454$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&6; }
47455if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" = xyes; then :
47456  ac_cv_libfdatetime_dummy=yes
47457else
47458  ac_cv_libfdatetime=no
47459fi
47460
47461        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime" >&5
47462$as_echo_n "checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime... " >&6; }
47463if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit+:} false; then :
47464  $as_echo_n "(cached) " >&6
47465else
47466  ac_check_lib_save_LIBS=$LIBS
47467LIBS="-lfdatetime  $LIBS"
47468cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47469/* end confdefs.h.  */
47470
47471/* Override any GCC internal prototype to avoid an error.
47472   Use char because int might match the return type of a GCC
47473   builtin and then its argument prototype would still apply.  */
47474#ifdef __cplusplus
47475extern "C"
47476#endif
47477char libfdatetime_posix_time_copy_to_32bit ();
47478int
47479main ()
47480{
47481return libfdatetime_posix_time_copy_to_32bit ();
47482  ;
47483  return 0;
47484}
47485_ACEOF
47486if ac_fn_c_try_link "$LINENO"; then :
47487  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=yes
47488else
47489  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=no
47490fi
47491rm -f core conftest.err conftest.$ac_objext \
47492    conftest$ac_exeext conftest.$ac_ext
47493LIBS=$ac_check_lib_save_LIBS
47494fi
47495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&5
47496$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&6; }
47497if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" = xyes; then :
47498  ac_cv_libfdatetime_dummy=yes
47499else
47500  ac_cv_libfdatetime=no
47501fi
47502
47503        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime" >&5
47504$as_echo_n "checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime... " >&6; }
47505if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit+:} false; then :
47506  $as_echo_n "(cached) " >&6
47507else
47508  ac_check_lib_save_LIBS=$LIBS
47509LIBS="-lfdatetime  $LIBS"
47510cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47511/* end confdefs.h.  */
47512
47513/* Override any GCC internal prototype to avoid an error.
47514   Use char because int might match the return type of a GCC
47515   builtin and then its argument prototype would still apply.  */
47516#ifdef __cplusplus
47517extern "C"
47518#endif
47519char libfdatetime_posix_time_copy_from_64bit ();
47520int
47521main ()
47522{
47523return libfdatetime_posix_time_copy_from_64bit ();
47524  ;
47525  return 0;
47526}
47527_ACEOF
47528if ac_fn_c_try_link "$LINENO"; then :
47529  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=yes
47530else
47531  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=no
47532fi
47533rm -f core conftest.err conftest.$ac_objext \
47534    conftest$ac_exeext conftest.$ac_ext
47535LIBS=$ac_check_lib_save_LIBS
47536fi
47537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&5
47538$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&6; }
47539if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" = xyes; then :
47540  ac_cv_libfdatetime_dummy=yes
47541else
47542  ac_cv_libfdatetime=no
47543fi
47544
47545        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime" >&5
47546$as_echo_n "checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime... " >&6; }
47547if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit+:} false; then :
47548  $as_echo_n "(cached) " >&6
47549else
47550  ac_check_lib_save_LIBS=$LIBS
47551LIBS="-lfdatetime  $LIBS"
47552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47553/* end confdefs.h.  */
47554
47555/* Override any GCC internal prototype to avoid an error.
47556   Use char because int might match the return type of a GCC
47557   builtin and then its argument prototype would still apply.  */
47558#ifdef __cplusplus
47559extern "C"
47560#endif
47561char libfdatetime_posix_time_copy_to_64bit ();
47562int
47563main ()
47564{
47565return libfdatetime_posix_time_copy_to_64bit ();
47566  ;
47567  return 0;
47568}
47569_ACEOF
47570if ac_fn_c_try_link "$LINENO"; then :
47571  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=yes
47572else
47573  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=no
47574fi
47575rm -f core conftest.err conftest.$ac_objext \
47576    conftest$ac_exeext conftest.$ac_ext
47577LIBS=$ac_check_lib_save_LIBS
47578fi
47579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&5
47580$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&6; }
47581if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" = xyes; then :
47582  ac_cv_libfdatetime_dummy=yes
47583else
47584  ac_cv_libfdatetime=no
47585fi
47586
47587        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime" >&5
47588$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime... " >&6; }
47589if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string+:} false; then :
47590  $as_echo_n "(cached) " >&6
47591else
47592  ac_check_lib_save_LIBS=$LIBS
47593LIBS="-lfdatetime  $LIBS"
47594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47595/* end confdefs.h.  */
47596
47597/* Override any GCC internal prototype to avoid an error.
47598   Use char because int might match the return type of a GCC
47599   builtin and then its argument prototype would still apply.  */
47600#ifdef __cplusplus
47601extern "C"
47602#endif
47603char libfdatetime_posix_time_copy_to_utf8_string ();
47604int
47605main ()
47606{
47607return libfdatetime_posix_time_copy_to_utf8_string ();
47608  ;
47609  return 0;
47610}
47611_ACEOF
47612if ac_fn_c_try_link "$LINENO"; then :
47613  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=yes
47614else
47615  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=no
47616fi
47617rm -f core conftest.err conftest.$ac_objext \
47618    conftest$ac_exeext conftest.$ac_ext
47619LIBS=$ac_check_lib_save_LIBS
47620fi
47621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&5
47622$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&6; }
47623if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" = xyes; then :
47624  ac_cv_libfdatetime_dummy=yes
47625else
47626  ac_cv_libfdatetime=no
47627fi
47628
47629        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime" >&5
47630$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
47631if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index+:} false; then :
47632  $as_echo_n "(cached) " >&6
47633else
47634  ac_check_lib_save_LIBS=$LIBS
47635LIBS="-lfdatetime  $LIBS"
47636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47637/* end confdefs.h.  */
47638
47639/* Override any GCC internal prototype to avoid an error.
47640   Use char because int might match the return type of a GCC
47641   builtin and then its argument prototype would still apply.  */
47642#ifdef __cplusplus
47643extern "C"
47644#endif
47645char libfdatetime_posix_time_copy_to_utf8_string_with_index ();
47646int
47647main ()
47648{
47649return libfdatetime_posix_time_copy_to_utf8_string_with_index ();
47650  ;
47651  return 0;
47652}
47653_ACEOF
47654if ac_fn_c_try_link "$LINENO"; then :
47655  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=yes
47656else
47657  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=no
47658fi
47659rm -f core conftest.err conftest.$ac_objext \
47660    conftest$ac_exeext conftest.$ac_ext
47661LIBS=$ac_check_lib_save_LIBS
47662fi
47663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&5
47664$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&6; }
47665if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" = xyes; then :
47666  ac_cv_libfdatetime_dummy=yes
47667else
47668  ac_cv_libfdatetime=no
47669fi
47670
47671        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime" >&5
47672$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime... " >&6; }
47673if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string+:} false; then :
47674  $as_echo_n "(cached) " >&6
47675else
47676  ac_check_lib_save_LIBS=$LIBS
47677LIBS="-lfdatetime  $LIBS"
47678cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47679/* end confdefs.h.  */
47680
47681/* Override any GCC internal prototype to avoid an error.
47682   Use char because int might match the return type of a GCC
47683   builtin and then its argument prototype would still apply.  */
47684#ifdef __cplusplus
47685extern "C"
47686#endif
47687char libfdatetime_posix_time_copy_to_utf16_string ();
47688int
47689main ()
47690{
47691return libfdatetime_posix_time_copy_to_utf16_string ();
47692  ;
47693  return 0;
47694}
47695_ACEOF
47696if ac_fn_c_try_link "$LINENO"; then :
47697  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=yes
47698else
47699  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=no
47700fi
47701rm -f core conftest.err conftest.$ac_objext \
47702    conftest$ac_exeext conftest.$ac_ext
47703LIBS=$ac_check_lib_save_LIBS
47704fi
47705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&5
47706$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&6; }
47707if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" = xyes; then :
47708  ac_cv_libfdatetime_dummy=yes
47709else
47710  ac_cv_libfdatetime=no
47711fi
47712
47713        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime" >&5
47714$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
47715if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index+:} false; then :
47716  $as_echo_n "(cached) " >&6
47717else
47718  ac_check_lib_save_LIBS=$LIBS
47719LIBS="-lfdatetime  $LIBS"
47720cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47721/* end confdefs.h.  */
47722
47723/* Override any GCC internal prototype to avoid an error.
47724   Use char because int might match the return type of a GCC
47725   builtin and then its argument prototype would still apply.  */
47726#ifdef __cplusplus
47727extern "C"
47728#endif
47729char libfdatetime_posix_time_copy_to_utf16_string_with_index ();
47730int
47731main ()
47732{
47733return libfdatetime_posix_time_copy_to_utf16_string_with_index ();
47734  ;
47735  return 0;
47736}
47737_ACEOF
47738if ac_fn_c_try_link "$LINENO"; then :
47739  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=yes
47740else
47741  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=no
47742fi
47743rm -f core conftest.err conftest.$ac_objext \
47744    conftest$ac_exeext conftest.$ac_ext
47745LIBS=$ac_check_lib_save_LIBS
47746fi
47747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&5
47748$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&6; }
47749if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" = xyes; then :
47750  ac_cv_libfdatetime_dummy=yes
47751else
47752  ac_cv_libfdatetime=no
47753fi
47754
47755        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime" >&5
47756$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime... " >&6; }
47757if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string+:} false; then :
47758  $as_echo_n "(cached) " >&6
47759else
47760  ac_check_lib_save_LIBS=$LIBS
47761LIBS="-lfdatetime  $LIBS"
47762cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47763/* end confdefs.h.  */
47764
47765/* Override any GCC internal prototype to avoid an error.
47766   Use char because int might match the return type of a GCC
47767   builtin and then its argument prototype would still apply.  */
47768#ifdef __cplusplus
47769extern "C"
47770#endif
47771char libfdatetime_posix_time_copy_to_utf32_string ();
47772int
47773main ()
47774{
47775return libfdatetime_posix_time_copy_to_utf32_string ();
47776  ;
47777  return 0;
47778}
47779_ACEOF
47780if ac_fn_c_try_link "$LINENO"; then :
47781  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=yes
47782else
47783  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=no
47784fi
47785rm -f core conftest.err conftest.$ac_objext \
47786    conftest$ac_exeext conftest.$ac_ext
47787LIBS=$ac_check_lib_save_LIBS
47788fi
47789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&5
47790$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&6; }
47791if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" = xyes; then :
47792  ac_cv_libfdatetime_dummy=yes
47793else
47794  ac_cv_libfdatetime=no
47795fi
47796
47797        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime" >&5
47798$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
47799if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index+:} false; then :
47800  $as_echo_n "(cached) " >&6
47801else
47802  ac_check_lib_save_LIBS=$LIBS
47803LIBS="-lfdatetime  $LIBS"
47804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47805/* end confdefs.h.  */
47806
47807/* Override any GCC internal prototype to avoid an error.
47808   Use char because int might match the return type of a GCC
47809   builtin and then its argument prototype would still apply.  */
47810#ifdef __cplusplus
47811extern "C"
47812#endif
47813char libfdatetime_posix_time_copy_to_utf32_string_with_index ();
47814int
47815main ()
47816{
47817return libfdatetime_posix_time_copy_to_utf32_string_with_index ();
47818  ;
47819  return 0;
47820}
47821_ACEOF
47822if ac_fn_c_try_link "$LINENO"; then :
47823  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=yes
47824else
47825  ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=no
47826fi
47827rm -f core conftest.err conftest.$ac_objext \
47828    conftest$ac_exeext conftest.$ac_ext
47829LIBS=$ac_check_lib_save_LIBS
47830fi
47831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&5
47832$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&6; }
47833if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" = xyes; then :
47834  ac_cv_libfdatetime_dummy=yes
47835else
47836  ac_cv_libfdatetime=no
47837fi
47838
47839
47840                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_initialize in -lfdatetime" >&5
47841$as_echo_n "checking for libfdatetime_systemetime_initialize in -lfdatetime... " >&6; }
47842if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize+:} false; then :
47843  $as_echo_n "(cached) " >&6
47844else
47845  ac_check_lib_save_LIBS=$LIBS
47846LIBS="-lfdatetime  $LIBS"
47847cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47848/* end confdefs.h.  */
47849
47850/* Override any GCC internal prototype to avoid an error.
47851   Use char because int might match the return type of a GCC
47852   builtin and then its argument prototype would still apply.  */
47853#ifdef __cplusplus
47854extern "C"
47855#endif
47856char libfdatetime_systemetime_initialize ();
47857int
47858main ()
47859{
47860return libfdatetime_systemetime_initialize ();
47861  ;
47862  return 0;
47863}
47864_ACEOF
47865if ac_fn_c_try_link "$LINENO"; then :
47866  ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=yes
47867else
47868  ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=no
47869fi
47870rm -f core conftest.err conftest.$ac_objext \
47871    conftest$ac_exeext conftest.$ac_ext
47872LIBS=$ac_check_lib_save_LIBS
47873fi
47874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&5
47875$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&6; }
47876if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" = xyes; then :
47877  ac_cv_libfdatetime_dummy=yes
47878else
47879  ac_cv_libfdatetime=no
47880fi
47881
47882        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_free in -lfdatetime" >&5
47883$as_echo_n "checking for libfdatetime_systemetime_free in -lfdatetime... " >&6; }
47884if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_free+:} false; then :
47885  $as_echo_n "(cached) " >&6
47886else
47887  ac_check_lib_save_LIBS=$LIBS
47888LIBS="-lfdatetime  $LIBS"
47889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47890/* end confdefs.h.  */
47891
47892/* Override any GCC internal prototype to avoid an error.
47893   Use char because int might match the return type of a GCC
47894   builtin and then its argument prototype would still apply.  */
47895#ifdef __cplusplus
47896extern "C"
47897#endif
47898char libfdatetime_systemetime_free ();
47899int
47900main ()
47901{
47902return libfdatetime_systemetime_free ();
47903  ;
47904  return 0;
47905}
47906_ACEOF
47907if ac_fn_c_try_link "$LINENO"; then :
47908  ac_cv_lib_fdatetime_libfdatetime_systemetime_free=yes
47909else
47910  ac_cv_lib_fdatetime_libfdatetime_systemetime_free=no
47911fi
47912rm -f core conftest.err conftest.$ac_objext \
47913    conftest$ac_exeext conftest.$ac_ext
47914LIBS=$ac_check_lib_save_LIBS
47915fi
47916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&5
47917$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&6; }
47918if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" = xyes; then :
47919  ac_cv_libfdatetime_dummy=yes
47920else
47921  ac_cv_libfdatetime=no
47922fi
47923
47924        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime" >&5
47925$as_echo_n "checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime... " >&6; }
47926if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream+:} false; then :
47927  $as_echo_n "(cached) " >&6
47928else
47929  ac_check_lib_save_LIBS=$LIBS
47930LIBS="-lfdatetime  $LIBS"
47931cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47932/* end confdefs.h.  */
47933
47934/* Override any GCC internal prototype to avoid an error.
47935   Use char because int might match the return type of a GCC
47936   builtin and then its argument prototype would still apply.  */
47937#ifdef __cplusplus
47938extern "C"
47939#endif
47940char libfdatetime_systemetime_copy_from_byte_stream ();
47941int
47942main ()
47943{
47944return libfdatetime_systemetime_copy_from_byte_stream ();
47945  ;
47946  return 0;
47947}
47948_ACEOF
47949if ac_fn_c_try_link "$LINENO"; then :
47950  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=yes
47951else
47952  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=no
47953fi
47954rm -f core conftest.err conftest.$ac_objext \
47955    conftest$ac_exeext conftest.$ac_ext
47956LIBS=$ac_check_lib_save_LIBS
47957fi
47958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&5
47959$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&6; }
47960if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" = xyes; then :
47961  ac_cv_libfdatetime_dummy=yes
47962else
47963  ac_cv_libfdatetime=no
47964fi
47965
47966        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime" >&5
47967$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime... " >&6; }
47968if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string+:} false; then :
47969  $as_echo_n "(cached) " >&6
47970else
47971  ac_check_lib_save_LIBS=$LIBS
47972LIBS="-lfdatetime  $LIBS"
47973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47974/* end confdefs.h.  */
47975
47976/* Override any GCC internal prototype to avoid an error.
47977   Use char because int might match the return type of a GCC
47978   builtin and then its argument prototype would still apply.  */
47979#ifdef __cplusplus
47980extern "C"
47981#endif
47982char libfdatetime_systemetime_copy_to_utf8_string ();
47983int
47984main ()
47985{
47986return libfdatetime_systemetime_copy_to_utf8_string ();
47987  ;
47988  return 0;
47989}
47990_ACEOF
47991if ac_fn_c_try_link "$LINENO"; then :
47992  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=yes
47993else
47994  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=no
47995fi
47996rm -f core conftest.err conftest.$ac_objext \
47997    conftest$ac_exeext conftest.$ac_ext
47998LIBS=$ac_check_lib_save_LIBS
47999fi
48000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&5
48001$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&6; }
48002if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" = xyes; then :
48003  ac_cv_libfdatetime_dummy=yes
48004else
48005  ac_cv_libfdatetime=no
48006fi
48007
48008        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime" >&5
48009$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; }
48010if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index+:} false; then :
48011  $as_echo_n "(cached) " >&6
48012else
48013  ac_check_lib_save_LIBS=$LIBS
48014LIBS="-lfdatetime  $LIBS"
48015cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48016/* end confdefs.h.  */
48017
48018/* Override any GCC internal prototype to avoid an error.
48019   Use char because int might match the return type of a GCC
48020   builtin and then its argument prototype would still apply.  */
48021#ifdef __cplusplus
48022extern "C"
48023#endif
48024char libfdatetime_systemetime_copy_to_utf8_string_with_index ();
48025int
48026main ()
48027{
48028return libfdatetime_systemetime_copy_to_utf8_string_with_index ();
48029  ;
48030  return 0;
48031}
48032_ACEOF
48033if ac_fn_c_try_link "$LINENO"; then :
48034  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=yes
48035else
48036  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=no
48037fi
48038rm -f core conftest.err conftest.$ac_objext \
48039    conftest$ac_exeext conftest.$ac_ext
48040LIBS=$ac_check_lib_save_LIBS
48041fi
48042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&5
48043$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&6; }
48044if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" = xyes; then :
48045  ac_cv_libfdatetime_dummy=yes
48046else
48047  ac_cv_libfdatetime=no
48048fi
48049
48050        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime" >&5
48051$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime... " >&6; }
48052if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string+:} false; then :
48053  $as_echo_n "(cached) " >&6
48054else
48055  ac_check_lib_save_LIBS=$LIBS
48056LIBS="-lfdatetime  $LIBS"
48057cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48058/* end confdefs.h.  */
48059
48060/* Override any GCC internal prototype to avoid an error.
48061   Use char because int might match the return type of a GCC
48062   builtin and then its argument prototype would still apply.  */
48063#ifdef __cplusplus
48064extern "C"
48065#endif
48066char libfdatetime_systemetime_copy_to_utf16_string ();
48067int
48068main ()
48069{
48070return libfdatetime_systemetime_copy_to_utf16_string ();
48071  ;
48072  return 0;
48073}
48074_ACEOF
48075if ac_fn_c_try_link "$LINENO"; then :
48076  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=yes
48077else
48078  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=no
48079fi
48080rm -f core conftest.err conftest.$ac_objext \
48081    conftest$ac_exeext conftest.$ac_ext
48082LIBS=$ac_check_lib_save_LIBS
48083fi
48084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&5
48085$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&6; }
48086if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" = xyes; then :
48087  ac_cv_libfdatetime_dummy=yes
48088else
48089  ac_cv_libfdatetime=no
48090fi
48091
48092        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime" >&5
48093$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; }
48094if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index+:} false; then :
48095  $as_echo_n "(cached) " >&6
48096else
48097  ac_check_lib_save_LIBS=$LIBS
48098LIBS="-lfdatetime  $LIBS"
48099cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48100/* end confdefs.h.  */
48101
48102/* Override any GCC internal prototype to avoid an error.
48103   Use char because int might match the return type of a GCC
48104   builtin and then its argument prototype would still apply.  */
48105#ifdef __cplusplus
48106extern "C"
48107#endif
48108char libfdatetime_systemetime_copy_to_utf16_string_with_index ();
48109int
48110main ()
48111{
48112return libfdatetime_systemetime_copy_to_utf16_string_with_index ();
48113  ;
48114  return 0;
48115}
48116_ACEOF
48117if ac_fn_c_try_link "$LINENO"; then :
48118  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=yes
48119else
48120  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=no
48121fi
48122rm -f core conftest.err conftest.$ac_objext \
48123    conftest$ac_exeext conftest.$ac_ext
48124LIBS=$ac_check_lib_save_LIBS
48125fi
48126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&5
48127$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&6; }
48128if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" = xyes; then :
48129  ac_cv_libfdatetime_dummy=yes
48130else
48131  ac_cv_libfdatetime=no
48132fi
48133
48134        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime" >&5
48135$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime... " >&6; }
48136if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string+:} false; then :
48137  $as_echo_n "(cached) " >&6
48138else
48139  ac_check_lib_save_LIBS=$LIBS
48140LIBS="-lfdatetime  $LIBS"
48141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142/* end confdefs.h.  */
48143
48144/* Override any GCC internal prototype to avoid an error.
48145   Use char because int might match the return type of a GCC
48146   builtin and then its argument prototype would still apply.  */
48147#ifdef __cplusplus
48148extern "C"
48149#endif
48150char libfdatetime_systemetime_copy_to_utf32_string ();
48151int
48152main ()
48153{
48154return libfdatetime_systemetime_copy_to_utf32_string ();
48155  ;
48156  return 0;
48157}
48158_ACEOF
48159if ac_fn_c_try_link "$LINENO"; then :
48160  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=yes
48161else
48162  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=no
48163fi
48164rm -f core conftest.err conftest.$ac_objext \
48165    conftest$ac_exeext conftest.$ac_ext
48166LIBS=$ac_check_lib_save_LIBS
48167fi
48168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&5
48169$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&6; }
48170if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" = xyes; then :
48171  ac_cv_libfdatetime_dummy=yes
48172else
48173  ac_cv_libfdatetime=no
48174fi
48175
48176        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime" >&5
48177$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; }
48178if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index+:} false; then :
48179  $as_echo_n "(cached) " >&6
48180else
48181  ac_check_lib_save_LIBS=$LIBS
48182LIBS="-lfdatetime  $LIBS"
48183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48184/* end confdefs.h.  */
48185
48186/* Override any GCC internal prototype to avoid an error.
48187   Use char because int might match the return type of a GCC
48188   builtin and then its argument prototype would still apply.  */
48189#ifdef __cplusplus
48190extern "C"
48191#endif
48192char libfdatetime_systemetime_copy_to_utf32_string_with_index ();
48193int
48194main ()
48195{
48196return libfdatetime_systemetime_copy_to_utf32_string_with_index ();
48197  ;
48198  return 0;
48199}
48200_ACEOF
48201if ac_fn_c_try_link "$LINENO"; then :
48202  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=yes
48203else
48204  ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=no
48205fi
48206rm -f core conftest.err conftest.$ac_objext \
48207    conftest$ac_exeext conftest.$ac_ext
48208LIBS=$ac_check_lib_save_LIBS
48209fi
48210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&5
48211$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&6; }
48212if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" = xyes; then :
48213  ac_cv_libfdatetime_dummy=yes
48214else
48215  ac_cv_libfdatetime=no
48216fi
48217
48218
48219        ac_cv_libfdatetime_LIBADD="-lfdatetime"
48220fi
48221
48222fi
48223    if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect && test "x$ac_cv_libfdatetime" != xyes; then :
48224  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48225$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48226as_fn_error 1 "unable to find supported libfdatetime in directory: $ac_cv_with_libfdatetime
48227See \`config.log' for more details" "$LINENO" 5; }
48228
48229fi
48230
48231fi
48232
48233  if test "x$ac_cv_libfdatetime" = xyes; then :
48234
48235$as_echo "#define HAVE_LIBFDATETIME 1" >>confdefs.h
48236
48237
48238fi
48239
48240  if test "x$ac_cv_libfdatetime" = xyes; then :
48241  HAVE_LIBFDATETIME=1
48242
48243else
48244  HAVE_LIBFDATETIME=0
48245
48246
48247fi
48248
48249
48250    if test "x$ac_cv_libfdatetime" != xyes; then :
48251
48252  ac_cv_libfdatetime_CPPFLAGS="-I../libfdatetime";
48253  ac_cv_libfdatetime_LIBADD="../libfdatetime/libfdatetime.la";
48254
48255  ac_cv_libfdatetime=local
48256
48257
48258
48259$as_echo "#define HAVE_LOCAL_LIBFDATETIME 1" >>confdefs.h
48260
48261    HAVE_LOCAL_LIBFDATETIME=1
48262
48263
48264fi
48265
48266   if test "x$ac_cv_libfdatetime" = xlocal; then
48267  HAVE_LOCAL_LIBFDATETIME_TRUE=
48268  HAVE_LOCAL_LIBFDATETIME_FALSE='#'
48269else
48270  HAVE_LOCAL_LIBFDATETIME_TRUE='#'
48271  HAVE_LOCAL_LIBFDATETIME_FALSE=
48272fi
48273
48274  if test "x$ac_cv_libfdatetime_CPPFLAGS" != "x"; then :
48275  LIBFDATETIME_CPPFLAGS=$ac_cv_libfdatetime_CPPFLAGS
48276
48277
48278fi
48279  if test "x$ac_cv_libfdatetime_LIBADD" != "x"; then :
48280  LIBFDATETIME_LIBADD=$ac_cv_libfdatetime_LIBADD
48281
48282
48283fi
48284
48285  if test "x$ac_cv_libfdatetime" = xyes; then :
48286  ax_libfdatetime_pc_libs_private=-lfdatetime
48287
48288
48289fi
48290
48291  if test "x$ac_cv_libfdatetime" = xyes; then :
48292  ax_libfdatetime_spec_requires=libfdatetime
48293
48294    ax_libfdatetime_spec_build_requires=libfdatetime-devel
48295
48296
48297fi
48298
48299
48300
48301
48302# Check whether --with-libfguid was given.
48303if test "${with_libfguid+set}" = set; then :
48304  withval=$with_libfguid; ac_cv_with_libfguid=$withval
48305else
48306  ac_cv_with_libfguid=auto-detect
48307fi
48308
48309    { $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
48310$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; }
48311if ${ac_cv_with_libfguid+:} false; then :
48312  $as_echo_n "(cached) " >&6
48313else
48314  ac_cv_with_libfguid=auto-detect
48315fi
48316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5
48317$as_echo "$ac_cv_with_libfguid" >&6; }
48318
48319    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then :
48320  ac_cv_libfguid=no
48321else
48322  ac_cv_libfguid=check
48323        if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then :
48324  if test -d "$ac_cv_with_libfguid"; then :
48325  CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include"
48326        LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib"
48327else
48328  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48329$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48330as_fn_error 1 "no such directory: $ac_cv_with_libfguid
48331See \`config.log' for more details" "$LINENO" 5; }
48332
48333fi
48334
48335else
48336        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
48337
48338pkg_failed=no
48339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5
48340$as_echo_n "checking for libfguid... " >&6; }
48341
48342if test -n "$libfguid_CFLAGS"; then
48343    pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS"
48344 elif test -n "$PKG_CONFIG"; then
48345    if test -n "$PKG_CONFIG" && \
48346    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5
48347  ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5
48348  ac_status=$?
48349  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48350  test $ac_status = 0; }; then
48351  pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null`
48352		      test "x$?" != "x0" && pkg_failed=yes
48353else
48354  pkg_failed=yes
48355fi
48356 else
48357    pkg_failed=untried
48358fi
48359if test -n "$libfguid_LIBS"; then
48360    pkg_cv_libfguid_LIBS="$libfguid_LIBS"
48361 elif test -n "$PKG_CONFIG"; then
48362    if test -n "$PKG_CONFIG" && \
48363    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5
48364  ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5
48365  ac_status=$?
48366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
48367  test $ac_status = 0; }; then
48368  pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null`
48369		      test "x$?" != "x0" && pkg_failed=yes
48370else
48371  pkg_failed=yes
48372fi
48373 else
48374    pkg_failed=untried
48375fi
48376
48377
48378
48379if test $pkg_failed = yes; then
48380   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48381$as_echo "no" >&6; }
48382
48383if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48384        _pkg_short_errors_supported=yes
48385else
48386        _pkg_short_errors_supported=no
48387fi
48388        if test $_pkg_short_errors_supported = yes; then
48389	        libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1`
48390        else
48391	        libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1`
48392        fi
48393	# Put the nasty error message in config.log where it belongs
48394	echo "$libfguid_PKG_ERRORS" >&5
48395
48396	ac_cv_libfguid=check
48397elif test $pkg_failed = untried; then
48398     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
48399$as_echo "no" >&6; }
48400	ac_cv_libfguid=check
48401else
48402	libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS
48403	libfguid_LIBS=$pkg_cv_libfguid_LIBS
48404        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48405$as_echo "yes" >&6; }
48406	ac_cv_libfguid=yes
48407fi
48408
48409fi
48410      if test "x$ac_cv_libfguid" = xyes; then :
48411  ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS"
48412        ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS"
48413fi
48414
48415fi
48416
48417    if test "x$ac_cv_libfguid" = xcheck; then :
48418        for ac_header in libfguid.h
48419do :
48420  ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default"
48421if test "x$ac_cv_header_libfguid_h" = xyes; then :
48422  cat >>confdefs.h <<_ACEOF
48423#define HAVE_LIBFGUID_H 1
48424_ACEOF
48425
48426fi
48427
48428done
48429
48430
48431      if test "x$ac_cv_header_libfguid_h" = xno; then :
48432  ac_cv_libfguid=no
48433else
48434          ac_cv_libfguid=yes
48435
48436        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5
48437$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; }
48438if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then :
48439  $as_echo_n "(cached) " >&6
48440else
48441  ac_check_lib_save_LIBS=$LIBS
48442LIBS="-lfguid  $LIBS"
48443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48444/* end confdefs.h.  */
48445
48446/* Override any GCC internal prototype to avoid an error.
48447   Use char because int might match the return type of a GCC
48448   builtin and then its argument prototype would still apply.  */
48449#ifdef __cplusplus
48450extern "C"
48451#endif
48452char libfguid_get_version ();
48453int
48454main ()
48455{
48456return libfguid_get_version ();
48457  ;
48458  return 0;
48459}
48460_ACEOF
48461if ac_fn_c_try_link "$LINENO"; then :
48462  ac_cv_lib_fguid_libfguid_get_version=yes
48463else
48464  ac_cv_lib_fguid_libfguid_get_version=no
48465fi
48466rm -f core conftest.err conftest.$ac_objext \
48467    conftest$ac_exeext conftest.$ac_ext
48468LIBS=$ac_check_lib_save_LIBS
48469fi
48470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5
48471$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; }
48472if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then :
48473  ac_cv_libfguid_dummy=yes
48474else
48475  ac_cv_libfguid=no
48476fi
48477
48478
48479                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5
48480$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; }
48481if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then :
48482  $as_echo_n "(cached) " >&6
48483else
48484  ac_check_lib_save_LIBS=$LIBS
48485LIBS="-lfguid  $LIBS"
48486cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48487/* end confdefs.h.  */
48488
48489/* Override any GCC internal prototype to avoid an error.
48490   Use char because int might match the return type of a GCC
48491   builtin and then its argument prototype would still apply.  */
48492#ifdef __cplusplus
48493extern "C"
48494#endif
48495char libfguid_identifier_initialize ();
48496int
48497main ()
48498{
48499return libfguid_identifier_initialize ();
48500  ;
48501  return 0;
48502}
48503_ACEOF
48504if ac_fn_c_try_link "$LINENO"; then :
48505  ac_cv_lib_fguid_libfguid_identifier_initialize=yes
48506else
48507  ac_cv_lib_fguid_libfguid_identifier_initialize=no
48508fi
48509rm -f core conftest.err conftest.$ac_objext \
48510    conftest$ac_exeext conftest.$ac_ext
48511LIBS=$ac_check_lib_save_LIBS
48512fi
48513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5
48514$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; }
48515if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then :
48516  ac_cv_libfguid_dummy=yes
48517else
48518  ac_cv_libfguid=no
48519fi
48520
48521        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5
48522$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; }
48523if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then :
48524  $as_echo_n "(cached) " >&6
48525else
48526  ac_check_lib_save_LIBS=$LIBS
48527LIBS="-lfguid  $LIBS"
48528cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48529/* end confdefs.h.  */
48530
48531/* Override any GCC internal prototype to avoid an error.
48532   Use char because int might match the return type of a GCC
48533   builtin and then its argument prototype would still apply.  */
48534#ifdef __cplusplus
48535extern "C"
48536#endif
48537char libfguid_identifier_free ();
48538int
48539main ()
48540{
48541return libfguid_identifier_free ();
48542  ;
48543  return 0;
48544}
48545_ACEOF
48546if ac_fn_c_try_link "$LINENO"; then :
48547  ac_cv_lib_fguid_libfguid_identifier_free=yes
48548else
48549  ac_cv_lib_fguid_libfguid_identifier_free=no
48550fi
48551rm -f core conftest.err conftest.$ac_objext \
48552    conftest$ac_exeext conftest.$ac_ext
48553LIBS=$ac_check_lib_save_LIBS
48554fi
48555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5
48556$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; }
48557if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then :
48558  ac_cv_libfguid_dummy=yes
48559else
48560  ac_cv_libfguid=no
48561fi
48562
48563        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5
48564$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; }
48565if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then :
48566  $as_echo_n "(cached) " >&6
48567else
48568  ac_check_lib_save_LIBS=$LIBS
48569LIBS="-lfguid  $LIBS"
48570cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48571/* end confdefs.h.  */
48572
48573/* Override any GCC internal prototype to avoid an error.
48574   Use char because int might match the return type of a GCC
48575   builtin and then its argument prototype would still apply.  */
48576#ifdef __cplusplus
48577extern "C"
48578#endif
48579char libfguid_identifier_copy_from_byte_stream ();
48580int
48581main ()
48582{
48583return libfguid_identifier_copy_from_byte_stream ();
48584  ;
48585  return 0;
48586}
48587_ACEOF
48588if ac_fn_c_try_link "$LINENO"; then :
48589  ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes
48590else
48591  ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no
48592fi
48593rm -f core conftest.err conftest.$ac_objext \
48594    conftest$ac_exeext conftest.$ac_ext
48595LIBS=$ac_check_lib_save_LIBS
48596fi
48597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5
48598$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; }
48599if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then :
48600  ac_cv_libfguid_dummy=yes
48601else
48602  ac_cv_libfguid=no
48603fi
48604
48605        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5
48606$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; }
48607if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then :
48608  $as_echo_n "(cached) " >&6
48609else
48610  ac_check_lib_save_LIBS=$LIBS
48611LIBS="-lfguid  $LIBS"
48612cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48613/* end confdefs.h.  */
48614
48615/* Override any GCC internal prototype to avoid an error.
48616   Use char because int might match the return type of a GCC
48617   builtin and then its argument prototype would still apply.  */
48618#ifdef __cplusplus
48619extern "C"
48620#endif
48621char libfguid_identifier_get_string_size ();
48622int
48623main ()
48624{
48625return libfguid_identifier_get_string_size ();
48626  ;
48627  return 0;
48628}
48629_ACEOF
48630if ac_fn_c_try_link "$LINENO"; then :
48631  ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes
48632else
48633  ac_cv_lib_fguid_libfguid_identifier_get_string_size=no
48634fi
48635rm -f core conftest.err conftest.$ac_objext \
48636    conftest$ac_exeext conftest.$ac_ext
48637LIBS=$ac_check_lib_save_LIBS
48638fi
48639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5
48640$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; }
48641if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then :
48642  ac_cv_libfguid_dummy=yes
48643else
48644  ac_cv_libfguid=no
48645fi
48646
48647        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5
48648$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; }
48649if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then :
48650  $as_echo_n "(cached) " >&6
48651else
48652  ac_check_lib_save_LIBS=$LIBS
48653LIBS="-lfguid  $LIBS"
48654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48655/* end confdefs.h.  */
48656
48657/* Override any GCC internal prototype to avoid an error.
48658   Use char because int might match the return type of a GCC
48659   builtin and then its argument prototype would still apply.  */
48660#ifdef __cplusplus
48661extern "C"
48662#endif
48663char libfguid_identifier_copy_to_utf8_string ();
48664int
48665main ()
48666{
48667return libfguid_identifier_copy_to_utf8_string ();
48668  ;
48669  return 0;
48670}
48671_ACEOF
48672if ac_fn_c_try_link "$LINENO"; then :
48673  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes
48674else
48675  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no
48676fi
48677rm -f core conftest.err conftest.$ac_objext \
48678    conftest$ac_exeext conftest.$ac_ext
48679LIBS=$ac_check_lib_save_LIBS
48680fi
48681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5
48682$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; }
48683if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then :
48684  ac_cv_libfguid_dummy=yes
48685else
48686  ac_cv_libfguid=no
48687fi
48688
48689        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5
48690$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; }
48691if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then :
48692  $as_echo_n "(cached) " >&6
48693else
48694  ac_check_lib_save_LIBS=$LIBS
48695LIBS="-lfguid  $LIBS"
48696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48697/* end confdefs.h.  */
48698
48699/* Override any GCC internal prototype to avoid an error.
48700   Use char because int might match the return type of a GCC
48701   builtin and then its argument prototype would still apply.  */
48702#ifdef __cplusplus
48703extern "C"
48704#endif
48705char libfguid_identifier_copy_to_utf8_string_with_index ();
48706int
48707main ()
48708{
48709return libfguid_identifier_copy_to_utf8_string_with_index ();
48710  ;
48711  return 0;
48712}
48713_ACEOF
48714if ac_fn_c_try_link "$LINENO"; then :
48715  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes
48716else
48717  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no
48718fi
48719rm -f core conftest.err conftest.$ac_objext \
48720    conftest$ac_exeext conftest.$ac_ext
48721LIBS=$ac_check_lib_save_LIBS
48722fi
48723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5
48724$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; }
48725if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then :
48726  ac_cv_libfguid_dummy=yes
48727else
48728  ac_cv_libfguid=no
48729fi
48730
48731        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5
48732$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; }
48733if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then :
48734  $as_echo_n "(cached) " >&6
48735else
48736  ac_check_lib_save_LIBS=$LIBS
48737LIBS="-lfguid  $LIBS"
48738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48739/* end confdefs.h.  */
48740
48741/* Override any GCC internal prototype to avoid an error.
48742   Use char because int might match the return type of a GCC
48743   builtin and then its argument prototype would still apply.  */
48744#ifdef __cplusplus
48745extern "C"
48746#endif
48747char libfguid_identifier_copy_to_utf16_string ();
48748int
48749main ()
48750{
48751return libfguid_identifier_copy_to_utf16_string ();
48752  ;
48753  return 0;
48754}
48755_ACEOF
48756if ac_fn_c_try_link "$LINENO"; then :
48757  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes
48758else
48759  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no
48760fi
48761rm -f core conftest.err conftest.$ac_objext \
48762    conftest$ac_exeext conftest.$ac_ext
48763LIBS=$ac_check_lib_save_LIBS
48764fi
48765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5
48766$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; }
48767if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then :
48768  ac_cv_libfguid_dummy=yes
48769else
48770  ac_cv_libfguid=no
48771fi
48772
48773        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5
48774$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; }
48775if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then :
48776  $as_echo_n "(cached) " >&6
48777else
48778  ac_check_lib_save_LIBS=$LIBS
48779LIBS="-lfguid  $LIBS"
48780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48781/* end confdefs.h.  */
48782
48783/* Override any GCC internal prototype to avoid an error.
48784   Use char because int might match the return type of a GCC
48785   builtin and then its argument prototype would still apply.  */
48786#ifdef __cplusplus
48787extern "C"
48788#endif
48789char libfguid_identifier_copy_to_utf16_string_with_index ();
48790int
48791main ()
48792{
48793return libfguid_identifier_copy_to_utf16_string_with_index ();
48794  ;
48795  return 0;
48796}
48797_ACEOF
48798if ac_fn_c_try_link "$LINENO"; then :
48799  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes
48800else
48801  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no
48802fi
48803rm -f core conftest.err conftest.$ac_objext \
48804    conftest$ac_exeext conftest.$ac_ext
48805LIBS=$ac_check_lib_save_LIBS
48806fi
48807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5
48808$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; }
48809if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then :
48810  ac_cv_libfguid_dummy=yes
48811else
48812  ac_cv_libfguid=no
48813fi
48814
48815        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5
48816$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; }
48817if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then :
48818  $as_echo_n "(cached) " >&6
48819else
48820  ac_check_lib_save_LIBS=$LIBS
48821LIBS="-lfguid  $LIBS"
48822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48823/* end confdefs.h.  */
48824
48825/* Override any GCC internal prototype to avoid an error.
48826   Use char because int might match the return type of a GCC
48827   builtin and then its argument prototype would still apply.  */
48828#ifdef __cplusplus
48829extern "C"
48830#endif
48831char libfguid_identifier_copy_to_utf32_string ();
48832int
48833main ()
48834{
48835return libfguid_identifier_copy_to_utf32_string ();
48836  ;
48837  return 0;
48838}
48839_ACEOF
48840if ac_fn_c_try_link "$LINENO"; then :
48841  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes
48842else
48843  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no
48844fi
48845rm -f core conftest.err conftest.$ac_objext \
48846    conftest$ac_exeext conftest.$ac_ext
48847LIBS=$ac_check_lib_save_LIBS
48848fi
48849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5
48850$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; }
48851if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then :
48852  ac_cv_libfguid_dummy=yes
48853else
48854  ac_cv_libfguid=no
48855fi
48856
48857        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5
48858$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; }
48859if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then :
48860  $as_echo_n "(cached) " >&6
48861else
48862  ac_check_lib_save_LIBS=$LIBS
48863LIBS="-lfguid  $LIBS"
48864cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48865/* end confdefs.h.  */
48866
48867/* Override any GCC internal prototype to avoid an error.
48868   Use char because int might match the return type of a GCC
48869   builtin and then its argument prototype would still apply.  */
48870#ifdef __cplusplus
48871extern "C"
48872#endif
48873char libfguid_identifier_copy_to_utf32_string_with_index ();
48874int
48875main ()
48876{
48877return libfguid_identifier_copy_to_utf32_string_with_index ();
48878  ;
48879  return 0;
48880}
48881_ACEOF
48882if ac_fn_c_try_link "$LINENO"; then :
48883  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes
48884else
48885  ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no
48886fi
48887rm -f core conftest.err conftest.$ac_objext \
48888    conftest$ac_exeext conftest.$ac_ext
48889LIBS=$ac_check_lib_save_LIBS
48890fi
48891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5
48892$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; }
48893if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then :
48894  ac_cv_libfguid_dummy=yes
48895else
48896  ac_cv_libfguid=no
48897fi
48898
48899
48900        ac_cv_libfguid_LIBADD="-lfguid"
48901fi
48902
48903fi
48904    if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then :
48905  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48907as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid
48908See \`config.log' for more details" "$LINENO" 5; }
48909
48910fi
48911
48912fi
48913
48914  if test "x$ac_cv_libfguid" = xyes; then :
48915
48916$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h
48917
48918
48919fi
48920
48921  if test "x$ac_cv_libfguid" = xyes; then :
48922  HAVE_LIBFGUID=1
48923
48924else
48925  HAVE_LIBFGUID=0
48926
48927
48928fi
48929
48930
48931    if test "x$ac_cv_libfguid" != xyes; then :
48932
48933  ac_cv_libfguid_CPPFLAGS="-I../libfguid";
48934  ac_cv_libfguid_LIBADD="../libfguid/libfguid.la";
48935
48936  ac_cv_libfguid=local
48937
48938
48939
48940$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h
48941
48942    HAVE_LOCAL_LIBFGUID=1
48943
48944
48945fi
48946
48947   if test "x$ac_cv_libfguid" = xlocal; then
48948  HAVE_LOCAL_LIBFGUID_TRUE=
48949  HAVE_LOCAL_LIBFGUID_FALSE='#'
48950else
48951  HAVE_LOCAL_LIBFGUID_TRUE='#'
48952  HAVE_LOCAL_LIBFGUID_FALSE=
48953fi
48954
48955  if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then :
48956  LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS
48957
48958
48959fi
48960  if test "x$ac_cv_libfguid_LIBADD" != "x"; then :
48961  LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD
48962
48963
48964fi
48965
48966  if test "x$ac_cv_libfguid" = xyes; then :
48967  ax_libfguid_pc_libs_private=-lfguid
48968
48969
48970fi
48971
48972  if test "x$ac_cv_libfguid" = xyes; then :
48973  ax_libfguid_spec_requires=libfguid
48974
48975    ax_libfguid_spec_build_requires=libfguid-devel
48976
48977
48978fi
48979
48980
48981
48982
48983# Check whether --with-zlib was given.
48984if test "${with_zlib+set}" = set; then :
48985  withval=$with_zlib; ac_cv_with_zlib=$withval
48986else
48987  ac_cv_with_zlib=auto-detect
48988fi
48989
48990    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for zlib in includedir and libdir or in the specified DIR, or no if not to use zlib" >&5
48991$as_echo_n "checking whether to use search for zlib in includedir and libdir or in the specified DIR, or no if not to use zlib... " >&6; }
48992if ${ac_cv_with_zlib+:} false; then :
48993  $as_echo_n "(cached) " >&6
48994else
48995  ac_cv_with_zlib=auto-detect
48996fi
48997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_zlib" >&5
48998$as_echo "$ac_cv_with_zlib" >&6; }
48999
49000    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_zlib" = xno; then :
49001  ac_cv_zlib=no
49002else
49003  ac_cv_zlib=check
49004        if test "x$ac_cv_with_zlib" != x && test "x$ac_cv_with_zlib" != xauto-detect; then :
49005  if test -d "$ac_cv_with_zlib"; then :
49006  CFLAGS="$CFLAGS -I${ac_cv_with_zlib}/include"
49007        LDFLAGS="$LDFLAGS -L${ac_cv_with_zlib}/lib"
49008else
49009  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49011as_fn_error 1 "no such directory: $ac_cv_with_zlib
49012See \`config.log' for more details" "$LINENO" 5; }
49013
49014fi
49015
49016else
49017        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
49018
49019pkg_failed=no
49020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
49021$as_echo_n "checking for zlib... " >&6; }
49022
49023if test -n "$zlib_CFLAGS"; then
49024    pkg_cv_zlib_CFLAGS="$zlib_CFLAGS"
49025 elif test -n "$PKG_CONFIG"; then
49026    if test -n "$PKG_CONFIG" && \
49027    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5\""; } >&5
49028  ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5") 2>&5
49029  ac_status=$?
49030  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49031  test $ac_status = 0; }; then
49032  pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.5" 2>/dev/null`
49033		      test "x$?" != "x0" && pkg_failed=yes
49034else
49035  pkg_failed=yes
49036fi
49037 else
49038    pkg_failed=untried
49039fi
49040if test -n "$zlib_LIBS"; then
49041    pkg_cv_zlib_LIBS="$zlib_LIBS"
49042 elif test -n "$PKG_CONFIG"; then
49043    if test -n "$PKG_CONFIG" && \
49044    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5\""; } >&5
49045  ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5") 2>&5
49046  ac_status=$?
49047  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49048  test $ac_status = 0; }; then
49049  pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.5" 2>/dev/null`
49050		      test "x$?" != "x0" && pkg_failed=yes
49051else
49052  pkg_failed=yes
49053fi
49054 else
49055    pkg_failed=untried
49056fi
49057
49058
49059
49060if test $pkg_failed = yes; then
49061   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49062$as_echo "no" >&6; }
49063
49064if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49065        _pkg_short_errors_supported=yes
49066else
49067        _pkg_short_errors_supported=no
49068fi
49069        if test $_pkg_short_errors_supported = yes; then
49070	        zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.5" 2>&1`
49071        else
49072	        zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.5" 2>&1`
49073        fi
49074	# Put the nasty error message in config.log where it belongs
49075	echo "$zlib_PKG_ERRORS" >&5
49076
49077	ac_cv_zlib=check
49078elif test $pkg_failed = untried; then
49079     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49080$as_echo "no" >&6; }
49081	ac_cv_zlib=check
49082else
49083	zlib_CFLAGS=$pkg_cv_zlib_CFLAGS
49084	zlib_LIBS=$pkg_cv_zlib_LIBS
49085        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49086$as_echo "yes" >&6; }
49087	ac_cv_zlib=zlib
49088fi
49089
49090fi
49091      if test "x$ac_cv_zlib" = xzlib; then :
49092  ac_cv_zlib_CPPFLAGS="$pkg_cv_zlib_CFLAGS"
49093        ac_cv_zlib_LIBADD="$pkg_cv_zlib_LIBS"
49094fi
49095
49096fi
49097
49098    if test "x$ac_cv_zlib" = xcheck; then :
49099        for ac_header in zlib.h
49100do :
49101  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
49102if test "x$ac_cv_header_zlib_h" = xyes; then :
49103  cat >>confdefs.h <<_ACEOF
49104#define HAVE_ZLIB_H 1
49105_ACEOF
49106
49107fi
49108
49109done
49110
49111
49112      if test "x$ac_cv_header_zlib_h" = xno; then :
49113  ac_cv_zlib=no
49114else
49115          ac_cv_zlib=zlib
49116
49117        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
49118$as_echo_n "checking for zlibVersion in -lz... " >&6; }
49119if ${ac_cv_lib_z_zlibVersion+:} false; then :
49120  $as_echo_n "(cached) " >&6
49121else
49122  ac_check_lib_save_LIBS=$LIBS
49123LIBS="-lz  $LIBS"
49124cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49125/* end confdefs.h.  */
49126
49127/* Override any GCC internal prototype to avoid an error.
49128   Use char because int might match the return type of a GCC
49129   builtin and then its argument prototype would still apply.  */
49130#ifdef __cplusplus
49131extern "C"
49132#endif
49133char zlibVersion ();
49134int
49135main ()
49136{
49137return zlibVersion ();
49138  ;
49139  return 0;
49140}
49141_ACEOF
49142if ac_fn_c_try_link "$LINENO"; then :
49143  ac_cv_lib_z_zlibVersion=yes
49144else
49145  ac_cv_lib_z_zlibVersion=no
49146fi
49147rm -f core conftest.err conftest.$ac_objext \
49148    conftest$ac_exeext conftest.$ac_ext
49149LIBS=$ac_check_lib_save_LIBS
49150fi
49151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
49152$as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
49153if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
49154  cat >>confdefs.h <<_ACEOF
49155#define HAVE_LIBZ 1
49156_ACEOF
49157
49158  LIBS="-lz $LIBS"
49159
49160else
49161  ac_cv_zlib=no
49162fi
49163
49164
49165        if test "x$ac_cv_lib_z_zlibVersion" = xno; then :
49166  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49168as_fn_error 1 "Missing function: zlibVersion in library: zlib.
49169See \`config.log' for more details" "$LINENO" 5; }
49170
49171fi
49172
49173        ac_cv_zlib_LIBADD="-lz";
49174
49175fi
49176
49177fi
49178
49179fi
49180
49181  if test "x$ac_cv_zlib" = xzlib; then :
49182
49183$as_echo "#define HAVE_ZLIB 1" >>confdefs.h
49184
49185
49186fi
49187
49188  if test "x$ac_cv_zlib" != xno; then :
49189  HAVE_ZLIB=1
49190
49191else
49192  HAVE_ZLIB=0
49193
49194
49195fi
49196
49197
49198  if test "x$ac_cv_zlib_CPPFLAGS" != "x"; then :
49199  ZLIB_CPPFLAGS=$ac_cv_zlib_CPPFLAGS
49200
49201
49202fi
49203  if test "x$ac_cv_zlib_LIBADD" != "x"; then :
49204  ZLIB_LIBADD=$ac_cv_zlib_LIBADD
49205
49206
49207fi
49208
49209  if test "x$ac_cv_zlib" = xzlib; then :
49210  ax_zlib_pc_libs_private=-lz
49211
49212
49213fi
49214
49215  if test "x$ac_cv_zlib" = xzlib; then :
49216  ax_zlib_spec_requires=zlib
49217
49218    ax_zlib_spec_build_requires=zlib-devel
49219
49220    ax_zlib_static_spec_requires=zlib-static
49221
49222    ax_zlib_static_spec_build_requires=zlib-static
49223
49224
49225fi
49226
49227if test "x$ac_cv_zlib" != xzlib; then :
49228  ac_cv_uncompress=local
49229else
49230  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
49231$as_echo_n "checking for uncompress in -lz... " >&6; }
49232if ${ac_cv_lib_z_uncompress+:} false; then :
49233  $as_echo_n "(cached) " >&6
49234else
49235  ac_check_lib_save_LIBS=$LIBS
49236LIBS="-lz  $LIBS"
49237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49238/* end confdefs.h.  */
49239
49240/* Override any GCC internal prototype to avoid an error.
49241   Use char because int might match the return type of a GCC
49242   builtin and then its argument prototype would still apply.  */
49243#ifdef __cplusplus
49244extern "C"
49245#endif
49246char uncompress ();
49247int
49248main ()
49249{
49250return uncompress ();
49251  ;
49252  return 0;
49253}
49254_ACEOF
49255if ac_fn_c_try_link "$LINENO"; then :
49256  ac_cv_lib_z_uncompress=yes
49257else
49258  ac_cv_lib_z_uncompress=no
49259fi
49260rm -f core conftest.err conftest.$ac_objext \
49261    conftest$ac_exeext conftest.$ac_ext
49262LIBS=$ac_check_lib_save_LIBS
49263fi
49264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
49265$as_echo "$ac_cv_lib_z_uncompress" >&6; }
49266if test "x$ac_cv_lib_z_uncompress" = xyes; then :
49267  ac_cv_uncompress=zlib
49268else
49269  ac_cv_uncompress=local
49270fi
49271
49272
49273    if test "x$ac_cv_uncompress" = xzlib; then :
49274
49275$as_echo "#define HAVE_ZLIB_UNCOMPRESS 1" >>confdefs.h
49276
49277
49278fi
49279
49280fi
49281
49282
49283
49284
49285# Check whether --with-libhmac was given.
49286if test "${with_libhmac+set}" = set; then :
49287  withval=$with_libhmac; ac_cv_with_libhmac=$withval
49288else
49289  ac_cv_with_libhmac=auto-detect
49290fi
49291
49292    { $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
49293$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; }
49294if ${ac_cv_with_libhmac+:} false; then :
49295  $as_echo_n "(cached) " >&6
49296else
49297  ac_cv_with_libhmac=auto-detect
49298fi
49299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libhmac" >&5
49300$as_echo "$ac_cv_with_libhmac" >&6; }
49301
49302    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libhmac" = xno; then :
49303  ac_cv_libhmac=no
49304else
49305  ac_cv_libhmac=check
49306        if test "x$ac_cv_with_libhmac" != x && test "x$ac_cv_with_libhmac" != xauto-detect; then :
49307  if test -d "$ac_cv_with_libhmac"; then :
49308  CFLAGS="$CFLAGS -I${ac_cv_with_libhmac}/include"
49309        LDFLAGS="$LDFLAGS -L${ac_cv_with_libhmac}/lib"
49310else
49311  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49312$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49313as_fn_error 1 "no such directory: $ac_cv_with_libhmac
49314See \`config.log' for more details" "$LINENO" 5; }
49315
49316fi
49317
49318else
49319        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
49320
49321pkg_failed=no
49322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac" >&5
49323$as_echo_n "checking for libhmac... " >&6; }
49324
49325if test -n "$libhmac_CFLAGS"; then
49326    pkg_cv_libhmac_CFLAGS="$libhmac_CFLAGS"
49327 elif test -n "$PKG_CONFIG"; then
49328    if test -n "$PKG_CONFIG" && \
49329    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libhmac >= 20200104\""; } >&5
49330  ($PKG_CONFIG --exists --print-errors "libhmac >= 20200104") 2>&5
49331  ac_status=$?
49332  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49333  test $ac_status = 0; }; then
49334  pkg_cv_libhmac_CFLAGS=`$PKG_CONFIG --cflags "libhmac >= 20200104" 2>/dev/null`
49335		      test "x$?" != "x0" && pkg_failed=yes
49336else
49337  pkg_failed=yes
49338fi
49339 else
49340    pkg_failed=untried
49341fi
49342if test -n "$libhmac_LIBS"; then
49343    pkg_cv_libhmac_LIBS="$libhmac_LIBS"
49344 elif test -n "$PKG_CONFIG"; then
49345    if test -n "$PKG_CONFIG" && \
49346    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libhmac >= 20200104\""; } >&5
49347  ($PKG_CONFIG --exists --print-errors "libhmac >= 20200104") 2>&5
49348  ac_status=$?
49349  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49350  test $ac_status = 0; }; then
49351  pkg_cv_libhmac_LIBS=`$PKG_CONFIG --libs "libhmac >= 20200104" 2>/dev/null`
49352		      test "x$?" != "x0" && pkg_failed=yes
49353else
49354  pkg_failed=yes
49355fi
49356 else
49357    pkg_failed=untried
49358fi
49359
49360
49361
49362if test $pkg_failed = yes; then
49363   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49364$as_echo "no" >&6; }
49365
49366if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49367        _pkg_short_errors_supported=yes
49368else
49369        _pkg_short_errors_supported=no
49370fi
49371        if test $_pkg_short_errors_supported = yes; then
49372	        libhmac_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libhmac >= 20200104" 2>&1`
49373        else
49374	        libhmac_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libhmac >= 20200104" 2>&1`
49375        fi
49376	# Put the nasty error message in config.log where it belongs
49377	echo "$libhmac_PKG_ERRORS" >&5
49378
49379	ac_cv_libhmac=check
49380elif test $pkg_failed = untried; then
49381     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49382$as_echo "no" >&6; }
49383	ac_cv_libhmac=check
49384else
49385	libhmac_CFLAGS=$pkg_cv_libhmac_CFLAGS
49386	libhmac_LIBS=$pkg_cv_libhmac_LIBS
49387        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
49388$as_echo "yes" >&6; }
49389	ac_cv_libhmac=yes
49390fi
49391
49392fi
49393      if test "x$ac_cv_libhmac" = xyes; then :
49394  ac_cv_libhmac_CPPFLAGS="$pkg_cv_libhmac_CFLAGS"
49395        ac_cv_libhmac_LIBADD="$pkg_cv_libhmac_LIBS"
49396fi
49397
49398fi
49399
49400    if test "x$ac_cv_libhmac" = xcheck; then :
49401        for ac_header in libhmac.h
49402do :
49403  ac_fn_c_check_header_mongrel "$LINENO" "libhmac.h" "ac_cv_header_libhmac_h" "$ac_includes_default"
49404if test "x$ac_cv_header_libhmac_h" = xyes; then :
49405  cat >>confdefs.h <<_ACEOF
49406#define HAVE_LIBHMAC_H 1
49407_ACEOF
49408
49409fi
49410
49411done
49412
49413
49414      if test "x$ac_cv_header_libhmac_h" = xno; then :
49415  ac_cv_libhmac=no
49416else
49417          ac_cv_libhmac=yes
49418
49419        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_get_version in -lhmac" >&5
49420$as_echo_n "checking for libhmac_get_version in -lhmac... " >&6; }
49421if ${ac_cv_lib_hmac_libhmac_get_version+:} false; then :
49422  $as_echo_n "(cached) " >&6
49423else
49424  ac_check_lib_save_LIBS=$LIBS
49425LIBS="-lhmac  $LIBS"
49426cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49427/* end confdefs.h.  */
49428
49429/* Override any GCC internal prototype to avoid an error.
49430   Use char because int might match the return type of a GCC
49431   builtin and then its argument prototype would still apply.  */
49432#ifdef __cplusplus
49433extern "C"
49434#endif
49435char libhmac_get_version ();
49436int
49437main ()
49438{
49439return libhmac_get_version ();
49440  ;
49441  return 0;
49442}
49443_ACEOF
49444if ac_fn_c_try_link "$LINENO"; then :
49445  ac_cv_lib_hmac_libhmac_get_version=yes
49446else
49447  ac_cv_lib_hmac_libhmac_get_version=no
49448fi
49449rm -f core conftest.err conftest.$ac_objext \
49450    conftest$ac_exeext conftest.$ac_ext
49451LIBS=$ac_check_lib_save_LIBS
49452fi
49453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_get_version" >&5
49454$as_echo "$ac_cv_lib_hmac_libhmac_get_version" >&6; }
49455if test "x$ac_cv_lib_hmac_libhmac_get_version" = xyes; then :
49456  ac_cv_libhmac_dummy=yes
49457else
49458  ac_cv_libhmac=no
49459fi
49460
49461
49462                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_initialize in -lhmac" >&5
49463$as_echo_n "checking for libhmac_md5_initialize in -lhmac... " >&6; }
49464if ${ac_cv_lib_hmac_libhmac_md5_initialize+:} false; then :
49465  $as_echo_n "(cached) " >&6
49466else
49467  ac_check_lib_save_LIBS=$LIBS
49468LIBS="-lhmac  $LIBS"
49469cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49470/* end confdefs.h.  */
49471
49472/* Override any GCC internal prototype to avoid an error.
49473   Use char because int might match the return type of a GCC
49474   builtin and then its argument prototype would still apply.  */
49475#ifdef __cplusplus
49476extern "C"
49477#endif
49478char libhmac_md5_initialize ();
49479int
49480main ()
49481{
49482return libhmac_md5_initialize ();
49483  ;
49484  return 0;
49485}
49486_ACEOF
49487if ac_fn_c_try_link "$LINENO"; then :
49488  ac_cv_lib_hmac_libhmac_md5_initialize=yes
49489else
49490  ac_cv_lib_hmac_libhmac_md5_initialize=no
49491fi
49492rm -f core conftest.err conftest.$ac_objext \
49493    conftest$ac_exeext conftest.$ac_ext
49494LIBS=$ac_check_lib_save_LIBS
49495fi
49496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_initialize" >&5
49497$as_echo "$ac_cv_lib_hmac_libhmac_md5_initialize" >&6; }
49498if test "x$ac_cv_lib_hmac_libhmac_md5_initialize" = xyes; then :
49499  ac_cv_libhmac_dummy=yes
49500else
49501  ac_cv_libhmac=no
49502fi
49503
49504        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_update in -lhmac" >&5
49505$as_echo_n "checking for libhmac_md5_update in -lhmac... " >&6; }
49506if ${ac_cv_lib_hmac_libhmac_md5_update+:} false; then :
49507  $as_echo_n "(cached) " >&6
49508else
49509  ac_check_lib_save_LIBS=$LIBS
49510LIBS="-lhmac  $LIBS"
49511cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49512/* end confdefs.h.  */
49513
49514/* Override any GCC internal prototype to avoid an error.
49515   Use char because int might match the return type of a GCC
49516   builtin and then its argument prototype would still apply.  */
49517#ifdef __cplusplus
49518extern "C"
49519#endif
49520char libhmac_md5_update ();
49521int
49522main ()
49523{
49524return libhmac_md5_update ();
49525  ;
49526  return 0;
49527}
49528_ACEOF
49529if ac_fn_c_try_link "$LINENO"; then :
49530  ac_cv_lib_hmac_libhmac_md5_update=yes
49531else
49532  ac_cv_lib_hmac_libhmac_md5_update=no
49533fi
49534rm -f core conftest.err conftest.$ac_objext \
49535    conftest$ac_exeext conftest.$ac_ext
49536LIBS=$ac_check_lib_save_LIBS
49537fi
49538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_update" >&5
49539$as_echo "$ac_cv_lib_hmac_libhmac_md5_update" >&6; }
49540if test "x$ac_cv_lib_hmac_libhmac_md5_update" = xyes; then :
49541  ac_cv_libhmac_dummy=yes
49542else
49543  ac_cv_libhmac=no
49544fi
49545
49546        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_finalize in -lhmac" >&5
49547$as_echo_n "checking for libhmac_md5_finalize in -lhmac... " >&6; }
49548if ${ac_cv_lib_hmac_libhmac_md5_finalize+:} false; then :
49549  $as_echo_n "(cached) " >&6
49550else
49551  ac_check_lib_save_LIBS=$LIBS
49552LIBS="-lhmac  $LIBS"
49553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554/* end confdefs.h.  */
49555
49556/* Override any GCC internal prototype to avoid an error.
49557   Use char because int might match the return type of a GCC
49558   builtin and then its argument prototype would still apply.  */
49559#ifdef __cplusplus
49560extern "C"
49561#endif
49562char libhmac_md5_finalize ();
49563int
49564main ()
49565{
49566return libhmac_md5_finalize ();
49567  ;
49568  return 0;
49569}
49570_ACEOF
49571if ac_fn_c_try_link "$LINENO"; then :
49572  ac_cv_lib_hmac_libhmac_md5_finalize=yes
49573else
49574  ac_cv_lib_hmac_libhmac_md5_finalize=no
49575fi
49576rm -f core conftest.err conftest.$ac_objext \
49577    conftest$ac_exeext conftest.$ac_ext
49578LIBS=$ac_check_lib_save_LIBS
49579fi
49580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_finalize" >&5
49581$as_echo "$ac_cv_lib_hmac_libhmac_md5_finalize" >&6; }
49582if test "x$ac_cv_lib_hmac_libhmac_md5_finalize" = xyes; then :
49583  ac_cv_libhmac_dummy=yes
49584else
49585  ac_cv_libhmac=no
49586fi
49587
49588        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_md5_free in -lhmac" >&5
49589$as_echo_n "checking for libhmac_md5_free in -lhmac... " >&6; }
49590if ${ac_cv_lib_hmac_libhmac_md5_free+:} false; then :
49591  $as_echo_n "(cached) " >&6
49592else
49593  ac_check_lib_save_LIBS=$LIBS
49594LIBS="-lhmac  $LIBS"
49595cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49596/* end confdefs.h.  */
49597
49598/* Override any GCC internal prototype to avoid an error.
49599   Use char because int might match the return type of a GCC
49600   builtin and then its argument prototype would still apply.  */
49601#ifdef __cplusplus
49602extern "C"
49603#endif
49604char libhmac_md5_free ();
49605int
49606main ()
49607{
49608return libhmac_md5_free ();
49609  ;
49610  return 0;
49611}
49612_ACEOF
49613if ac_fn_c_try_link "$LINENO"; then :
49614  ac_cv_lib_hmac_libhmac_md5_free=yes
49615else
49616  ac_cv_lib_hmac_libhmac_md5_free=no
49617fi
49618rm -f core conftest.err conftest.$ac_objext \
49619    conftest$ac_exeext conftest.$ac_ext
49620LIBS=$ac_check_lib_save_LIBS
49621fi
49622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_md5_free" >&5
49623$as_echo "$ac_cv_lib_hmac_libhmac_md5_free" >&6; }
49624if test "x$ac_cv_lib_hmac_libhmac_md5_free" = xyes; then :
49625  ac_cv_libhmac_dummy=yes
49626else
49627  ac_cv_libhmac=no
49628fi
49629
49630
49631                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_initialize in -lhmac" >&5
49632$as_echo_n "checking for libhmac_sha1_initialize in -lhmac... " >&6; }
49633if ${ac_cv_lib_hmac_libhmac_sha1_initialize+:} false; then :
49634  $as_echo_n "(cached) " >&6
49635else
49636  ac_check_lib_save_LIBS=$LIBS
49637LIBS="-lhmac  $LIBS"
49638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49639/* end confdefs.h.  */
49640
49641/* Override any GCC internal prototype to avoid an error.
49642   Use char because int might match the return type of a GCC
49643   builtin and then its argument prototype would still apply.  */
49644#ifdef __cplusplus
49645extern "C"
49646#endif
49647char libhmac_sha1_initialize ();
49648int
49649main ()
49650{
49651return libhmac_sha1_initialize ();
49652  ;
49653  return 0;
49654}
49655_ACEOF
49656if ac_fn_c_try_link "$LINENO"; then :
49657  ac_cv_lib_hmac_libhmac_sha1_initialize=yes
49658else
49659  ac_cv_lib_hmac_libhmac_sha1_initialize=no
49660fi
49661rm -f core conftest.err conftest.$ac_objext \
49662    conftest$ac_exeext conftest.$ac_ext
49663LIBS=$ac_check_lib_save_LIBS
49664fi
49665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_initialize" >&5
49666$as_echo "$ac_cv_lib_hmac_libhmac_sha1_initialize" >&6; }
49667if test "x$ac_cv_lib_hmac_libhmac_sha1_initialize" = xyes; then :
49668  ac_cv_libhmac_dummy=yes
49669else
49670  ac_cv_libhmac=no
49671fi
49672
49673        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_update in -lhmac" >&5
49674$as_echo_n "checking for libhmac_sha1_update in -lhmac... " >&6; }
49675if ${ac_cv_lib_hmac_libhmac_sha1_update+:} false; then :
49676  $as_echo_n "(cached) " >&6
49677else
49678  ac_check_lib_save_LIBS=$LIBS
49679LIBS="-lhmac  $LIBS"
49680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49681/* end confdefs.h.  */
49682
49683/* Override any GCC internal prototype to avoid an error.
49684   Use char because int might match the return type of a GCC
49685   builtin and then its argument prototype would still apply.  */
49686#ifdef __cplusplus
49687extern "C"
49688#endif
49689char libhmac_sha1_update ();
49690int
49691main ()
49692{
49693return libhmac_sha1_update ();
49694  ;
49695  return 0;
49696}
49697_ACEOF
49698if ac_fn_c_try_link "$LINENO"; then :
49699  ac_cv_lib_hmac_libhmac_sha1_update=yes
49700else
49701  ac_cv_lib_hmac_libhmac_sha1_update=no
49702fi
49703rm -f core conftest.err conftest.$ac_objext \
49704    conftest$ac_exeext conftest.$ac_ext
49705LIBS=$ac_check_lib_save_LIBS
49706fi
49707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_update" >&5
49708$as_echo "$ac_cv_lib_hmac_libhmac_sha1_update" >&6; }
49709if test "x$ac_cv_lib_hmac_libhmac_sha1_update" = xyes; then :
49710  ac_cv_libhmac_dummy=yes
49711else
49712  ac_cv_libhmac=no
49713fi
49714
49715        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_finalize in -lhmac" >&5
49716$as_echo_n "checking for libhmac_sha1_finalize in -lhmac... " >&6; }
49717if ${ac_cv_lib_hmac_libhmac_sha1_finalize+:} false; then :
49718  $as_echo_n "(cached) " >&6
49719else
49720  ac_check_lib_save_LIBS=$LIBS
49721LIBS="-lhmac  $LIBS"
49722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49723/* end confdefs.h.  */
49724
49725/* Override any GCC internal prototype to avoid an error.
49726   Use char because int might match the return type of a GCC
49727   builtin and then its argument prototype would still apply.  */
49728#ifdef __cplusplus
49729extern "C"
49730#endif
49731char libhmac_sha1_finalize ();
49732int
49733main ()
49734{
49735return libhmac_sha1_finalize ();
49736  ;
49737  return 0;
49738}
49739_ACEOF
49740if ac_fn_c_try_link "$LINENO"; then :
49741  ac_cv_lib_hmac_libhmac_sha1_finalize=yes
49742else
49743  ac_cv_lib_hmac_libhmac_sha1_finalize=no
49744fi
49745rm -f core conftest.err conftest.$ac_objext \
49746    conftest$ac_exeext conftest.$ac_ext
49747LIBS=$ac_check_lib_save_LIBS
49748fi
49749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_finalize" >&5
49750$as_echo "$ac_cv_lib_hmac_libhmac_sha1_finalize" >&6; }
49751if test "x$ac_cv_lib_hmac_libhmac_sha1_finalize" = xyes; then :
49752  ac_cv_libhmac_dummy=yes
49753else
49754  ac_cv_libhmac=no
49755fi
49756
49757        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha1_free in -lhmac" >&5
49758$as_echo_n "checking for libhmac_sha1_free in -lhmac... " >&6; }
49759if ${ac_cv_lib_hmac_libhmac_sha1_free+:} false; then :
49760  $as_echo_n "(cached) " >&6
49761else
49762  ac_check_lib_save_LIBS=$LIBS
49763LIBS="-lhmac  $LIBS"
49764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49765/* end confdefs.h.  */
49766
49767/* Override any GCC internal prototype to avoid an error.
49768   Use char because int might match the return type of a GCC
49769   builtin and then its argument prototype would still apply.  */
49770#ifdef __cplusplus
49771extern "C"
49772#endif
49773char libhmac_sha1_free ();
49774int
49775main ()
49776{
49777return libhmac_sha1_free ();
49778  ;
49779  return 0;
49780}
49781_ACEOF
49782if ac_fn_c_try_link "$LINENO"; then :
49783  ac_cv_lib_hmac_libhmac_sha1_free=yes
49784else
49785  ac_cv_lib_hmac_libhmac_sha1_free=no
49786fi
49787rm -f core conftest.err conftest.$ac_objext \
49788    conftest$ac_exeext conftest.$ac_ext
49789LIBS=$ac_check_lib_save_LIBS
49790fi
49791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha1_free" >&5
49792$as_echo "$ac_cv_lib_hmac_libhmac_sha1_free" >&6; }
49793if test "x$ac_cv_lib_hmac_libhmac_sha1_free" = xyes; then :
49794  ac_cv_libhmac_dummy=yes
49795else
49796  ac_cv_libhmac=no
49797fi
49798
49799
49800                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_initialize in -lhmac" >&5
49801$as_echo_n "checking for libhmac_sha224_initialize in -lhmac... " >&6; }
49802if ${ac_cv_lib_hmac_libhmac_sha224_initialize+:} false; then :
49803  $as_echo_n "(cached) " >&6
49804else
49805  ac_check_lib_save_LIBS=$LIBS
49806LIBS="-lhmac  $LIBS"
49807cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49808/* end confdefs.h.  */
49809
49810/* Override any GCC internal prototype to avoid an error.
49811   Use char because int might match the return type of a GCC
49812   builtin and then its argument prototype would still apply.  */
49813#ifdef __cplusplus
49814extern "C"
49815#endif
49816char libhmac_sha224_initialize ();
49817int
49818main ()
49819{
49820return libhmac_sha224_initialize ();
49821  ;
49822  return 0;
49823}
49824_ACEOF
49825if ac_fn_c_try_link "$LINENO"; then :
49826  ac_cv_lib_hmac_libhmac_sha224_initialize=yes
49827else
49828  ac_cv_lib_hmac_libhmac_sha224_initialize=no
49829fi
49830rm -f core conftest.err conftest.$ac_objext \
49831    conftest$ac_exeext conftest.$ac_ext
49832LIBS=$ac_check_lib_save_LIBS
49833fi
49834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_initialize" >&5
49835$as_echo "$ac_cv_lib_hmac_libhmac_sha224_initialize" >&6; }
49836if test "x$ac_cv_lib_hmac_libhmac_sha224_initialize" = xyes; then :
49837  ac_cv_libhmac_dummy=yes
49838else
49839  ac_cv_libhmac=no
49840fi
49841
49842        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_update in -lhmac" >&5
49843$as_echo_n "checking for libhmac_sha224_update in -lhmac... " >&6; }
49844if ${ac_cv_lib_hmac_libhmac_sha224_update+:} false; then :
49845  $as_echo_n "(cached) " >&6
49846else
49847  ac_check_lib_save_LIBS=$LIBS
49848LIBS="-lhmac  $LIBS"
49849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49850/* end confdefs.h.  */
49851
49852/* Override any GCC internal prototype to avoid an error.
49853   Use char because int might match the return type of a GCC
49854   builtin and then its argument prototype would still apply.  */
49855#ifdef __cplusplus
49856extern "C"
49857#endif
49858char libhmac_sha224_update ();
49859int
49860main ()
49861{
49862return libhmac_sha224_update ();
49863  ;
49864  return 0;
49865}
49866_ACEOF
49867if ac_fn_c_try_link "$LINENO"; then :
49868  ac_cv_lib_hmac_libhmac_sha224_update=yes
49869else
49870  ac_cv_lib_hmac_libhmac_sha224_update=no
49871fi
49872rm -f core conftest.err conftest.$ac_objext \
49873    conftest$ac_exeext conftest.$ac_ext
49874LIBS=$ac_check_lib_save_LIBS
49875fi
49876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_update" >&5
49877$as_echo "$ac_cv_lib_hmac_libhmac_sha224_update" >&6; }
49878if test "x$ac_cv_lib_hmac_libhmac_sha224_update" = xyes; then :
49879  ac_cv_libhmac_dummy=yes
49880else
49881  ac_cv_libhmac=no
49882fi
49883
49884        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_finalize in -lhmac" >&5
49885$as_echo_n "checking for libhmac_sha224_finalize in -lhmac... " >&6; }
49886if ${ac_cv_lib_hmac_libhmac_sha224_finalize+:} false; then :
49887  $as_echo_n "(cached) " >&6
49888else
49889  ac_check_lib_save_LIBS=$LIBS
49890LIBS="-lhmac  $LIBS"
49891cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892/* end confdefs.h.  */
49893
49894/* Override any GCC internal prototype to avoid an error.
49895   Use char because int might match the return type of a GCC
49896   builtin and then its argument prototype would still apply.  */
49897#ifdef __cplusplus
49898extern "C"
49899#endif
49900char libhmac_sha224_finalize ();
49901int
49902main ()
49903{
49904return libhmac_sha224_finalize ();
49905  ;
49906  return 0;
49907}
49908_ACEOF
49909if ac_fn_c_try_link "$LINENO"; then :
49910  ac_cv_lib_hmac_libhmac_sha224_finalize=yes
49911else
49912  ac_cv_lib_hmac_libhmac_sha224_finalize=no
49913fi
49914rm -f core conftest.err conftest.$ac_objext \
49915    conftest$ac_exeext conftest.$ac_ext
49916LIBS=$ac_check_lib_save_LIBS
49917fi
49918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_finalize" >&5
49919$as_echo "$ac_cv_lib_hmac_libhmac_sha224_finalize" >&6; }
49920if test "x$ac_cv_lib_hmac_libhmac_sha224_finalize" = xyes; then :
49921  ac_cv_libhmac_dummy=yes
49922else
49923  ac_cv_libhmac=no
49924fi
49925
49926        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha224_free in -lhmac" >&5
49927$as_echo_n "checking for libhmac_sha224_free in -lhmac... " >&6; }
49928if ${ac_cv_lib_hmac_libhmac_sha224_free+:} false; then :
49929  $as_echo_n "(cached) " >&6
49930else
49931  ac_check_lib_save_LIBS=$LIBS
49932LIBS="-lhmac  $LIBS"
49933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49934/* end confdefs.h.  */
49935
49936/* Override any GCC internal prototype to avoid an error.
49937   Use char because int might match the return type of a GCC
49938   builtin and then its argument prototype would still apply.  */
49939#ifdef __cplusplus
49940extern "C"
49941#endif
49942char libhmac_sha224_free ();
49943int
49944main ()
49945{
49946return libhmac_sha224_free ();
49947  ;
49948  return 0;
49949}
49950_ACEOF
49951if ac_fn_c_try_link "$LINENO"; then :
49952  ac_cv_lib_hmac_libhmac_sha224_free=yes
49953else
49954  ac_cv_lib_hmac_libhmac_sha224_free=no
49955fi
49956rm -f core conftest.err conftest.$ac_objext \
49957    conftest$ac_exeext conftest.$ac_ext
49958LIBS=$ac_check_lib_save_LIBS
49959fi
49960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha224_free" >&5
49961$as_echo "$ac_cv_lib_hmac_libhmac_sha224_free" >&6; }
49962if test "x$ac_cv_lib_hmac_libhmac_sha224_free" = xyes; then :
49963  ac_cv_libhmac_dummy=yes
49964else
49965  ac_cv_libhmac=no
49966fi
49967
49968
49969                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_initialize in -lhmac" >&5
49970$as_echo_n "checking for libhmac_sha256_initialize in -lhmac... " >&6; }
49971if ${ac_cv_lib_hmac_libhmac_sha256_initialize+:} false; then :
49972  $as_echo_n "(cached) " >&6
49973else
49974  ac_check_lib_save_LIBS=$LIBS
49975LIBS="-lhmac  $LIBS"
49976cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49977/* end confdefs.h.  */
49978
49979/* Override any GCC internal prototype to avoid an error.
49980   Use char because int might match the return type of a GCC
49981   builtin and then its argument prototype would still apply.  */
49982#ifdef __cplusplus
49983extern "C"
49984#endif
49985char libhmac_sha256_initialize ();
49986int
49987main ()
49988{
49989return libhmac_sha256_initialize ();
49990  ;
49991  return 0;
49992}
49993_ACEOF
49994if ac_fn_c_try_link "$LINENO"; then :
49995  ac_cv_lib_hmac_libhmac_sha256_initialize=yes
49996else
49997  ac_cv_lib_hmac_libhmac_sha256_initialize=no
49998fi
49999rm -f core conftest.err conftest.$ac_objext \
50000    conftest$ac_exeext conftest.$ac_ext
50001LIBS=$ac_check_lib_save_LIBS
50002fi
50003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_initialize" >&5
50004$as_echo "$ac_cv_lib_hmac_libhmac_sha256_initialize" >&6; }
50005if test "x$ac_cv_lib_hmac_libhmac_sha256_initialize" = xyes; then :
50006  ac_cv_libhmac_dummy=yes
50007else
50008  ac_cv_libhmac=no
50009fi
50010
50011        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_update in -lhmac" >&5
50012$as_echo_n "checking for libhmac_sha256_update in -lhmac... " >&6; }
50013if ${ac_cv_lib_hmac_libhmac_sha256_update+:} false; then :
50014  $as_echo_n "(cached) " >&6
50015else
50016  ac_check_lib_save_LIBS=$LIBS
50017LIBS="-lhmac  $LIBS"
50018cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50019/* end confdefs.h.  */
50020
50021/* Override any GCC internal prototype to avoid an error.
50022   Use char because int might match the return type of a GCC
50023   builtin and then its argument prototype would still apply.  */
50024#ifdef __cplusplus
50025extern "C"
50026#endif
50027char libhmac_sha256_update ();
50028int
50029main ()
50030{
50031return libhmac_sha256_update ();
50032  ;
50033  return 0;
50034}
50035_ACEOF
50036if ac_fn_c_try_link "$LINENO"; then :
50037  ac_cv_lib_hmac_libhmac_sha256_update=yes
50038else
50039  ac_cv_lib_hmac_libhmac_sha256_update=no
50040fi
50041rm -f core conftest.err conftest.$ac_objext \
50042    conftest$ac_exeext conftest.$ac_ext
50043LIBS=$ac_check_lib_save_LIBS
50044fi
50045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_update" >&5
50046$as_echo "$ac_cv_lib_hmac_libhmac_sha256_update" >&6; }
50047if test "x$ac_cv_lib_hmac_libhmac_sha256_update" = xyes; then :
50048  ac_cv_libhmac_dummy=yes
50049else
50050  ac_cv_libhmac=no
50051fi
50052
50053        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_finalize in -lhmac" >&5
50054$as_echo_n "checking for libhmac_sha256_finalize in -lhmac... " >&6; }
50055if ${ac_cv_lib_hmac_libhmac_sha256_finalize+:} false; then :
50056  $as_echo_n "(cached) " >&6
50057else
50058  ac_check_lib_save_LIBS=$LIBS
50059LIBS="-lhmac  $LIBS"
50060cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061/* end confdefs.h.  */
50062
50063/* Override any GCC internal prototype to avoid an error.
50064   Use char because int might match the return type of a GCC
50065   builtin and then its argument prototype would still apply.  */
50066#ifdef __cplusplus
50067extern "C"
50068#endif
50069char libhmac_sha256_finalize ();
50070int
50071main ()
50072{
50073return libhmac_sha256_finalize ();
50074  ;
50075  return 0;
50076}
50077_ACEOF
50078if ac_fn_c_try_link "$LINENO"; then :
50079  ac_cv_lib_hmac_libhmac_sha256_finalize=yes
50080else
50081  ac_cv_lib_hmac_libhmac_sha256_finalize=no
50082fi
50083rm -f core conftest.err conftest.$ac_objext \
50084    conftest$ac_exeext conftest.$ac_ext
50085LIBS=$ac_check_lib_save_LIBS
50086fi
50087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_finalize" >&5
50088$as_echo "$ac_cv_lib_hmac_libhmac_sha256_finalize" >&6; }
50089if test "x$ac_cv_lib_hmac_libhmac_sha256_finalize" = xyes; then :
50090  ac_cv_libhmac_dummy=yes
50091else
50092  ac_cv_libhmac=no
50093fi
50094
50095        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha256_free in -lhmac" >&5
50096$as_echo_n "checking for libhmac_sha256_free in -lhmac... " >&6; }
50097if ${ac_cv_lib_hmac_libhmac_sha256_free+:} false; then :
50098  $as_echo_n "(cached) " >&6
50099else
50100  ac_check_lib_save_LIBS=$LIBS
50101LIBS="-lhmac  $LIBS"
50102cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50103/* end confdefs.h.  */
50104
50105/* Override any GCC internal prototype to avoid an error.
50106   Use char because int might match the return type of a GCC
50107   builtin and then its argument prototype would still apply.  */
50108#ifdef __cplusplus
50109extern "C"
50110#endif
50111char libhmac_sha256_free ();
50112int
50113main ()
50114{
50115return libhmac_sha256_free ();
50116  ;
50117  return 0;
50118}
50119_ACEOF
50120if ac_fn_c_try_link "$LINENO"; then :
50121  ac_cv_lib_hmac_libhmac_sha256_free=yes
50122else
50123  ac_cv_lib_hmac_libhmac_sha256_free=no
50124fi
50125rm -f core conftest.err conftest.$ac_objext \
50126    conftest$ac_exeext conftest.$ac_ext
50127LIBS=$ac_check_lib_save_LIBS
50128fi
50129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha256_free" >&5
50130$as_echo "$ac_cv_lib_hmac_libhmac_sha256_free" >&6; }
50131if test "x$ac_cv_lib_hmac_libhmac_sha256_free" = xyes; then :
50132  ac_cv_libhmac_dummy=yes
50133else
50134  ac_cv_libhmac=no
50135fi
50136
50137
50138                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_initialize in -lhmac" >&5
50139$as_echo_n "checking for libhmac_sha512_initialize in -lhmac... " >&6; }
50140if ${ac_cv_lib_hmac_libhmac_sha512_initialize+:} false; then :
50141  $as_echo_n "(cached) " >&6
50142else
50143  ac_check_lib_save_LIBS=$LIBS
50144LIBS="-lhmac  $LIBS"
50145cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50146/* end confdefs.h.  */
50147
50148/* Override any GCC internal prototype to avoid an error.
50149   Use char because int might match the return type of a GCC
50150   builtin and then its argument prototype would still apply.  */
50151#ifdef __cplusplus
50152extern "C"
50153#endif
50154char libhmac_sha512_initialize ();
50155int
50156main ()
50157{
50158return libhmac_sha512_initialize ();
50159  ;
50160  return 0;
50161}
50162_ACEOF
50163if ac_fn_c_try_link "$LINENO"; then :
50164  ac_cv_lib_hmac_libhmac_sha512_initialize=yes
50165else
50166  ac_cv_lib_hmac_libhmac_sha512_initialize=no
50167fi
50168rm -f core conftest.err conftest.$ac_objext \
50169    conftest$ac_exeext conftest.$ac_ext
50170LIBS=$ac_check_lib_save_LIBS
50171fi
50172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_initialize" >&5
50173$as_echo "$ac_cv_lib_hmac_libhmac_sha512_initialize" >&6; }
50174if test "x$ac_cv_lib_hmac_libhmac_sha512_initialize" = xyes; then :
50175  ac_cv_libhmac_dummy=yes
50176else
50177  ac_cv_libhmac=no
50178fi
50179
50180        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_update in -lhmac" >&5
50181$as_echo_n "checking for libhmac_sha512_update in -lhmac... " >&6; }
50182if ${ac_cv_lib_hmac_libhmac_sha512_update+:} false; then :
50183  $as_echo_n "(cached) " >&6
50184else
50185  ac_check_lib_save_LIBS=$LIBS
50186LIBS="-lhmac  $LIBS"
50187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50188/* end confdefs.h.  */
50189
50190/* Override any GCC internal prototype to avoid an error.
50191   Use char because int might match the return type of a GCC
50192   builtin and then its argument prototype would still apply.  */
50193#ifdef __cplusplus
50194extern "C"
50195#endif
50196char libhmac_sha512_update ();
50197int
50198main ()
50199{
50200return libhmac_sha512_update ();
50201  ;
50202  return 0;
50203}
50204_ACEOF
50205if ac_fn_c_try_link "$LINENO"; then :
50206  ac_cv_lib_hmac_libhmac_sha512_update=yes
50207else
50208  ac_cv_lib_hmac_libhmac_sha512_update=no
50209fi
50210rm -f core conftest.err conftest.$ac_objext \
50211    conftest$ac_exeext conftest.$ac_ext
50212LIBS=$ac_check_lib_save_LIBS
50213fi
50214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_update" >&5
50215$as_echo "$ac_cv_lib_hmac_libhmac_sha512_update" >&6; }
50216if test "x$ac_cv_lib_hmac_libhmac_sha512_update" = xyes; then :
50217  ac_cv_libhmac_dummy=yes
50218else
50219  ac_cv_libhmac=no
50220fi
50221
50222        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_finalize in -lhmac" >&5
50223$as_echo_n "checking for libhmac_sha512_finalize in -lhmac... " >&6; }
50224if ${ac_cv_lib_hmac_libhmac_sha512_finalize+:} false; then :
50225  $as_echo_n "(cached) " >&6
50226else
50227  ac_check_lib_save_LIBS=$LIBS
50228LIBS="-lhmac  $LIBS"
50229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50230/* end confdefs.h.  */
50231
50232/* Override any GCC internal prototype to avoid an error.
50233   Use char because int might match the return type of a GCC
50234   builtin and then its argument prototype would still apply.  */
50235#ifdef __cplusplus
50236extern "C"
50237#endif
50238char libhmac_sha512_finalize ();
50239int
50240main ()
50241{
50242return libhmac_sha512_finalize ();
50243  ;
50244  return 0;
50245}
50246_ACEOF
50247if ac_fn_c_try_link "$LINENO"; then :
50248  ac_cv_lib_hmac_libhmac_sha512_finalize=yes
50249else
50250  ac_cv_lib_hmac_libhmac_sha512_finalize=no
50251fi
50252rm -f core conftest.err conftest.$ac_objext \
50253    conftest$ac_exeext conftest.$ac_ext
50254LIBS=$ac_check_lib_save_LIBS
50255fi
50256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_finalize" >&5
50257$as_echo "$ac_cv_lib_hmac_libhmac_sha512_finalize" >&6; }
50258if test "x$ac_cv_lib_hmac_libhmac_sha512_finalize" = xyes; then :
50259  ac_cv_libhmac_dummy=yes
50260else
50261  ac_cv_libhmac=no
50262fi
50263
50264        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhmac_sha512_free in -lhmac" >&5
50265$as_echo_n "checking for libhmac_sha512_free in -lhmac... " >&6; }
50266if ${ac_cv_lib_hmac_libhmac_sha512_free+:} false; then :
50267  $as_echo_n "(cached) " >&6
50268else
50269  ac_check_lib_save_LIBS=$LIBS
50270LIBS="-lhmac  $LIBS"
50271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50272/* end confdefs.h.  */
50273
50274/* Override any GCC internal prototype to avoid an error.
50275   Use char because int might match the return type of a GCC
50276   builtin and then its argument prototype would still apply.  */
50277#ifdef __cplusplus
50278extern "C"
50279#endif
50280char libhmac_sha512_free ();
50281int
50282main ()
50283{
50284return libhmac_sha512_free ();
50285  ;
50286  return 0;
50287}
50288_ACEOF
50289if ac_fn_c_try_link "$LINENO"; then :
50290  ac_cv_lib_hmac_libhmac_sha512_free=yes
50291else
50292  ac_cv_lib_hmac_libhmac_sha512_free=no
50293fi
50294rm -f core conftest.err conftest.$ac_objext \
50295    conftest$ac_exeext conftest.$ac_ext
50296LIBS=$ac_check_lib_save_LIBS
50297fi
50298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmac_libhmac_sha512_free" >&5
50299$as_echo "$ac_cv_lib_hmac_libhmac_sha512_free" >&6; }
50300if test "x$ac_cv_lib_hmac_libhmac_sha512_free" = xyes; then :
50301  ac_cv_libhmac_dummy=yes
50302else
50303  ac_cv_libhmac=no
50304fi
50305
50306
50307        ac_cv_libhmac_LIBADD="-lhmac"
50308fi
50309
50310fi
50311    if test "x$ac_cv_with_libhmac" != x && test "x$ac_cv_with_libhmac" != xauto-detect && test "x$ac_cv_libhmac" != xyes; then :
50312  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50314as_fn_error 1 "unable to find supported libhmac in directory: $ac_cv_with_libhmac
50315See \`config.log' for more details" "$LINENO" 5; }
50316
50317fi
50318
50319fi
50320
50321  if test "x$ac_cv_libhmac" = xyes; then :
50322
50323$as_echo "#define HAVE_LIBHMAC 1" >>confdefs.h
50324
50325
50326fi
50327
50328  if test "x$ac_cv_libhmac" = xyes; then :
50329  ac_cv_libhmac_md5=libhmac
50330    ac_cv_libhmac_sha1=libhmac
50331    ac_cv_libhmac_sha224=libhmac
50332    ac_cv_libhmac_sha256=libhmac
50333    ac_cv_libhmac_sha512=libhmac
50334else
50335  ac_cv_libhmac_md5=no
50336    ac_cv_libhmac_sha1=no
50337    ac_cv_libhmac_sha224=no
50338    ac_cv_libhmac_sha256=no
50339    ac_cv_libhmac_sha512=no
50340fi
50341
50342  if test "x$ac_cv_libhmac" = xyes; then :
50343  HAVE_LIBHMAC=1
50344
50345else
50346  HAVE_LIBHMAC=0
50347
50348
50349fi
50350
50351
50352    if test "x$ac_cv_libhmac" != xyes; then :
50353
50354
50355# Check whether --with-openssl was given.
50356if test "${with_openssl+set}" = set; then :
50357  withval=$with_openssl; ac_cv_with_openssl=$withval
50358else
50359  ac_cv_with_openssl=auto-detect
50360fi
50361
50362    { $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
50363$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; }
50364if ${ac_cv_with_openssl+:} false; then :
50365  $as_echo_n "(cached) " >&6
50366else
50367  ac_cv_with_openssl=auto-detect
50368fi
50369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_openssl" >&5
50370$as_echo "$ac_cv_with_openssl" >&6; }
50371
50372
50373  # Check whether --enable-openssl-evp-cipher was given.
50374if test "${enable_openssl_evp_cipher+set}" = set; then :
50375  enableval=$enable_openssl_evp_cipher; ac_cv_enable_openssl_evp_cipher=$enableval
50376else
50377  ac_cv_enable_openssl_evp_cipher=auto-detect
50378fi
50379
50380    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable" >&5
50381$as_echo_n "checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable... " >&6; }
50382if ${ac_cv_enable_openssl_evp_cipher+:} false; then :
50383  $as_echo_n "(cached) " >&6
50384else
50385  ac_cv_enable_openssl_evp_cipher=auto-detect
50386fi
50387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_cipher" >&5
50388$as_echo "$ac_cv_enable_openssl_evp_cipher" >&6; }
50389
50390
50391  # Check whether --enable-openssl-evp-md was given.
50392if test "${enable_openssl_evp_md+set}" = set; then :
50393  enableval=$enable_openssl_evp_md; ac_cv_enable_openssl_evp_md=$enableval
50394else
50395  ac_cv_enable_openssl_evp_md=auto-detect
50396fi
50397
50398    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP MD support, or no to disable" >&5
50399$as_echo_n "checking whether to enable enable OpenSSL EVP MD support, or no to disable... " >&6; }
50400if ${ac_cv_enable_openssl_evp_md+:} false; then :
50401  $as_echo_n "(cached) " >&6
50402else
50403  ac_cv_enable_openssl_evp_md=auto-detect
50404fi
50405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_md" >&5
50406$as_echo "$ac_cv_enable_openssl_evp_md" >&6; }
50407
50408  if test "x$ac_cv_enable_static_executables" = xno; then :
50409      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_openssl" = xno; then :
50410  ac_cv_libcrypto=no
50411else
50412      if test "x$ac_cv_with_openssl" != x && test "x$ac_cv_with_openssl" != xauto-detect; then :
50413  if test -d "$ac_cv_with_openssl"; then :
50414  CFLAGS="$CFLAGS -I${ac_cv_with_openssl}/include"
50415        LDFLAGS="$LDFLAGS -L${ac_cv_with_openssl}/lib"
50416else
50417  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50419as_fn_error 1 "no such directory: $ac_cv_with_openssl
50420See \`config.log' for more details" "$LINENO" 5; }
50421
50422fi
50423else
50424        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
50425
50426pkg_failed=no
50427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
50428$as_echo_n "checking for openssl... " >&6; }
50429
50430if test -n "$openssl_CFLAGS"; then
50431    pkg_cv_openssl_CFLAGS="$openssl_CFLAGS"
50432 elif test -n "$PKG_CONFIG"; then
50433    if test -n "$PKG_CONFIG" && \
50434    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
50435  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
50436  ac_status=$?
50437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50438  test $ac_status = 0; }; then
50439  pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
50440		      test "x$?" != "x0" && pkg_failed=yes
50441else
50442  pkg_failed=yes
50443fi
50444 else
50445    pkg_failed=untried
50446fi
50447if test -n "$openssl_LIBS"; then
50448    pkg_cv_openssl_LIBS="$openssl_LIBS"
50449 elif test -n "$PKG_CONFIG"; then
50450    if test -n "$PKG_CONFIG" && \
50451    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
50452  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
50453  ac_status=$?
50454  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50455  test $ac_status = 0; }; then
50456  pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
50457		      test "x$?" != "x0" && pkg_failed=yes
50458else
50459  pkg_failed=yes
50460fi
50461 else
50462    pkg_failed=untried
50463fi
50464
50465
50466
50467if test $pkg_failed = yes; then
50468   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50469$as_echo "no" >&6; }
50470
50471if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50472        _pkg_short_errors_supported=yes
50473else
50474        _pkg_short_errors_supported=no
50475fi
50476        if test $_pkg_short_errors_supported = yes; then
50477	        openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
50478        else
50479	        openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
50480        fi
50481	# Put the nasty error message in config.log where it belongs
50482	echo "$openssl_PKG_ERRORS" >&5
50483
50484	ac_cv_libcrypto=no
50485          ac_cv_libcrypto_evp=no
50486elif test $pkg_failed = untried; then
50487     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50488$as_echo "no" >&6; }
50489	ac_cv_libcrypto=no
50490          ac_cv_libcrypto_evp=no
50491else
50492	openssl_CFLAGS=$pkg_cv_openssl_CFLAGS
50493	openssl_LIBS=$pkg_cv_openssl_LIBS
50494        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
50495$as_echo "yes" >&6; }
50496	ac_cv_libcrypto=yes
50497          ac_cv_libcrypto_evp=yes
50498fi
50499
50500fi
50501      if test "x$ac_cv_libcrypto" = xyes; then :
50502  ac_cv_libcrypto_CPPFLAGS="$pkg_cv_openssl_CFLAGS"
50503        ac_cv_libcrypto_LIBADD="$pkg_cv_openssl_LIBS"
50504fi
50505
50506fi
50507
50508    if test "x$ac_cv_libcrypto" != xyes; then :
50509        for ac_header in openssl/opensslv.h
50510do :
50511  ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
50512if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
50513  cat >>confdefs.h <<_ACEOF
50514#define HAVE_OPENSSL_OPENSSLV_H 1
50515_ACEOF
50516
50517fi
50518
50519done
50520
50521
50522      for ac_header in openssl/evp.h
50523do :
50524  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
50525if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
50526  cat >>confdefs.h <<_ACEOF
50527#define HAVE_OPENSSL_EVP_H 1
50528_ACEOF
50529
50530fi
50531
50532done
50533
50534
50535  if test "x$ac_cv_header_openssl_evp_h" = xno; then :
50536  ac_cv_libcrypto=no
50537    ac_cv_libcrypto_evp=no
50538else
50539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl/evp.h can be used in combination with zlib.h" >&5
50540$as_echo_n "checking if openssl/evp.h can be used in combination with zlib.h... " >&6; }
50541if ${ac_cv_openssl_evp_zlib_compatible+:} false; then :
50542  $as_echo_n "(cached) " >&6
50543else
50544  ac_ext=c
50545ac_cpp='$CPP $CPPFLAGS'
50546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50548ac_compiler_gnu=$ac_cv_c_compiler_gnu
50549
50550    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50551/* end confdefs.h.  */
50552#include <zlib.h>
50553#include <openssl/evp.h>
50554int
50555main ()
50556{
50557
50558  ;
50559  return 0;
50560}
50561_ACEOF
50562if ac_fn_c_try_link "$LINENO"; then :
50563  ac_cv_openssl_evp_zlib_compatible=yes
50564else
50565  ac_cv_openssl_evp_zlib_compatible=no
50566fi
50567rm -f core conftest.err conftest.$ac_objext \
50568    conftest$ac_exeext conftest.$ac_ext
50569    ac_ext=c
50570ac_cpp='$CPP $CPPFLAGS'
50571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50573ac_compiler_gnu=$ac_cv_c_compiler_gnu
50574
50575fi
50576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_evp_zlib_compatible" >&5
50577$as_echo "$ac_cv_openssl_evp_zlib_compatible" >&6; }
50578
50579
50580    if test "x$ac_cv_openssl_evp_zlib_compatible" = xyes; then :
50581  ac_cv_libcrypto=yes
50582      ac_cv_libcrypto_evp=yes
50583else
50584  ac_cv_libcrypto=no
50585      ac_cv_libcrypto_evp=no
50586fi
50587
50588fi
50589
50590
50591      if test "x$ac_cv_libcrypto_evp" != xyes && test "$ac_cv_header_openssl_opensslv" = xyes; then :
50592  ac_cv_libcrypto=yes
50593fi
50594
50595fi
50596
50597        if test "x$ac_cv_libcrypto" = xyes && test "x$ac_cv_libcrypto_evp" = xyes; then :
50598
50599$as_echo "#define HAVE_OPENSSL_EVP_H 1" >>confdefs.h
50600
50601      HAVE_OPENSSL_EVP_H=1
50602
50603else
50604  HAVE_OPENSSL_EVP_H=0
50605
50606
50607fi
50608
50609    if test "x$ac_cv_libcrypto" != xno; then :
50610
50611$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
50612
50613
50614      ac_cv_libcrypto_LIBADD="-lcrypto"
50615
50616            case $host in #(
50617  *cygwin*) :
50618    ac_cv_libcrypto_LIBADD="-lcrypto -lz" ;; #(
50619  *) :
50620     ;;
50621esac
50622
50623            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
50624$as_echo_n "checking for dlopen in -ldl... " >&6; }
50625if ${ac_cv_lib_dl_dlopen+:} false; then :
50626  $as_echo_n "(cached) " >&6
50627else
50628  ac_check_lib_save_LIBS=$LIBS
50629LIBS="-ldl  $LIBS"
50630cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50631/* end confdefs.h.  */
50632
50633/* Override any GCC internal prototype to avoid an error.
50634   Use char because int might match the return type of a GCC
50635   builtin and then its argument prototype would still apply.  */
50636#ifdef __cplusplus
50637extern "C"
50638#endif
50639char dlopen ();
50640int
50641main ()
50642{
50643return dlopen ();
50644  ;
50645  return 0;
50646}
50647_ACEOF
50648if ac_fn_c_try_link "$LINENO"; then :
50649  ac_cv_lib_dl_dlopen=yes
50650else
50651  ac_cv_lib_dl_dlopen=no
50652fi
50653rm -f core conftest.err conftest.$ac_objext \
50654    conftest$ac_exeext conftest.$ac_ext
50655LIBS=$ac_check_lib_save_LIBS
50656fi
50657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
50658$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
50659if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
50660  LIBDL_LIBADD="-ldl"
50661
50662fi
50663
50664
50665fi
50666
50667fi
50668
50669fi
50670
50671  if test "x$ac_cv_libcrypto_CPPFLAGS" != "x"; then :
50672  LIBCRYPTO_CPPFLAGS=$ac_cv_libcrypto_CPPFLAGS
50673
50674
50675fi
50676  if test "x$ac_cv_libcrypto_LIBADD" != "x"; then :
50677  LIBCRYPTO_LIBADD=$ac_cv_libcrypto_LIBADD
50678
50679
50680fi
50681
50682  if test "x$ac_cv_libcrypto" != xno; then :
50683  ax_libcrypto_pc_libs_private=-lcrypto
50684
50685
50686fi
50687
50688  if test "x$ac_cv_libcrypto" != xno; then :
50689  ax_libcrypto_spec_requires=openssl
50690
50691    ax_libcrypto_spec_build_requires=openssl-devel
50692
50693
50694fi
50695
50696
50697  if test "x$ac_cv_libcrypto" != xno; then :
50698  ac_cv_libcrypto_md5=no
50699
50700    if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_libcrypto_evp_md" != xyes; then :
50701  ac_cv_libcrypto_evp_md=yes
50702
50703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
50704$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
50705if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
50706  $as_echo_n "(cached) " >&6
50707else
50708  ac_check_lib_save_LIBS=$LIBS
50709LIBS="-lcrypto  $LIBS"
50710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50711/* end confdefs.h.  */
50712
50713/* Override any GCC internal prototype to avoid an error.
50714   Use char because int might match the return type of a GCC
50715   builtin and then its argument prototype would still apply.  */
50716#ifdef __cplusplus
50717extern "C"
50718#endif
50719char EVP_MD_CTX_new ();
50720int
50721main ()
50722{
50723return EVP_MD_CTX_new ();
50724  ;
50725  return 0;
50726}
50727_ACEOF
50728if ac_fn_c_try_link "$LINENO"; then :
50729  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
50730else
50731  ac_cv_lib_crypto_EVP_MD_CTX_new=no
50732fi
50733rm -f core conftest.err conftest.$ac_objext \
50734    conftest$ac_exeext conftest.$ac_ext
50735LIBS=$ac_check_lib_save_LIBS
50736fi
50737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
50738$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
50739if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
50740  ac_cv_libcrypto_dummy=yes
50741else
50742  ac_cv_libcrypto_dummy=no
50743fi
50744
50745
50746  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
50747      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
50748$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
50749if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
50750  $as_echo_n "(cached) " >&6
50751else
50752  ac_check_lib_save_LIBS=$LIBS
50753LIBS="-lcrypto  $LIBS"
50754cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50755/* end confdefs.h.  */
50756
50757/* Override any GCC internal prototype to avoid an error.
50758   Use char because int might match the return type of a GCC
50759   builtin and then its argument prototype would still apply.  */
50760#ifdef __cplusplus
50761extern "C"
50762#endif
50763char EVP_MD_CTX_free ();
50764int
50765main ()
50766{
50767return EVP_MD_CTX_free ();
50768  ;
50769  return 0;
50770}
50771_ACEOF
50772if ac_fn_c_try_link "$LINENO"; then :
50773  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
50774else
50775  ac_cv_lib_crypto_EVP_MD_CTX_free=no
50776fi
50777rm -f core conftest.err conftest.$ac_objext \
50778    conftest$ac_exeext conftest.$ac_ext
50779LIBS=$ac_check_lib_save_LIBS
50780fi
50781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
50782$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
50783if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
50784  ac_cv_libcrypto_dummy=yes
50785else
50786  ac_cv_libcrypto_evp_md=no
50787fi
50788
50789
50790else
50791      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
50792$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
50793if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
50794  $as_echo_n "(cached) " >&6
50795else
50796  ac_check_lib_save_LIBS=$LIBS
50797LIBS="-lcrypto  $LIBS"
50798cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50799/* end confdefs.h.  */
50800
50801/* Override any GCC internal prototype to avoid an error.
50802   Use char because int might match the return type of a GCC
50803   builtin and then its argument prototype would still apply.  */
50804#ifdef __cplusplus
50805extern "C"
50806#endif
50807char EVP_MD_CTX_init ();
50808int
50809main ()
50810{
50811return EVP_MD_CTX_init ();
50812  ;
50813  return 0;
50814}
50815_ACEOF
50816if ac_fn_c_try_link "$LINENO"; then :
50817  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
50818else
50819  ac_cv_lib_crypto_EVP_MD_CTX_init=no
50820fi
50821rm -f core conftest.err conftest.$ac_objext \
50822    conftest$ac_exeext conftest.$ac_ext
50823LIBS=$ac_check_lib_save_LIBS
50824fi
50825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
50826$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
50827if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
50828  ac_cv_libcrypto_dummy=yes
50829else
50830  ac_cv_libcrypto_evp_md=no
50831fi
50832
50833    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
50834$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
50835if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
50836  $as_echo_n "(cached) " >&6
50837else
50838  ac_check_lib_save_LIBS=$LIBS
50839LIBS="-lcrypto  $LIBS"
50840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50841/* end confdefs.h.  */
50842
50843/* Override any GCC internal prototype to avoid an error.
50844   Use char because int might match the return type of a GCC
50845   builtin and then its argument prototype would still apply.  */
50846#ifdef __cplusplus
50847extern "C"
50848#endif
50849char EVP_MD_CTX_cleanup ();
50850int
50851main ()
50852{
50853return EVP_MD_CTX_cleanup ();
50854  ;
50855  return 0;
50856}
50857_ACEOF
50858if ac_fn_c_try_link "$LINENO"; then :
50859  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
50860else
50861  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
50862fi
50863rm -f core conftest.err conftest.$ac_objext \
50864    conftest$ac_exeext conftest.$ac_ext
50865LIBS=$ac_check_lib_save_LIBS
50866fi
50867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
50868$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
50869if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
50870  ac_cv_libcrypto_dummy=yes
50871else
50872  ac_cv_libcrypto_evp_md=no
50873fi
50874
50875
50876    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
50877$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
50878if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
50879  $as_echo_n "(cached) " >&6
50880else
50881  ac_check_lib_save_LIBS=$LIBS
50882LIBS="-lcrypto  $LIBS"
50883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50884/* end confdefs.h.  */
50885
50886/* Override any GCC internal prototype to avoid an error.
50887   Use char because int might match the return type of a GCC
50888   builtin and then its argument prototype would still apply.  */
50889#ifdef __cplusplus
50890extern "C"
50891#endif
50892char ERR_remove_thread_state ();
50893int
50894main ()
50895{
50896return ERR_remove_thread_state ();
50897  ;
50898  return 0;
50899}
50900_ACEOF
50901if ac_fn_c_try_link "$LINENO"; then :
50902  ac_cv_lib_crypto_ERR_remove_thread_state=yes
50903else
50904  ac_cv_lib_crypto_ERR_remove_thread_state=no
50905fi
50906rm -f core conftest.err conftest.$ac_objext \
50907    conftest$ac_exeext conftest.$ac_ext
50908LIBS=$ac_check_lib_save_LIBS
50909fi
50910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
50911$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
50912if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
50913  ac_cv_libcrypto_dummy=yes
50914else
50915  ac_cv_libcrypto_evp_md=no
50916fi
50917
50918
50919fi
50920
50921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
50922$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
50923if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
50924  $as_echo_n "(cached) " >&6
50925else
50926  ac_check_lib_save_LIBS=$LIBS
50927LIBS="-lcrypto  $LIBS"
50928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50929/* end confdefs.h.  */
50930
50931/* Override any GCC internal prototype to avoid an error.
50932   Use char because int might match the return type of a GCC
50933   builtin and then its argument prototype would still apply.  */
50934#ifdef __cplusplus
50935extern "C"
50936#endif
50937char EVP_DigestInit_ex ();
50938int
50939main ()
50940{
50941return EVP_DigestInit_ex ();
50942  ;
50943  return 0;
50944}
50945_ACEOF
50946if ac_fn_c_try_link "$LINENO"; then :
50947  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
50948else
50949  ac_cv_lib_crypto_EVP_DigestInit_ex=no
50950fi
50951rm -f core conftest.err conftest.$ac_objext \
50952    conftest$ac_exeext conftest.$ac_ext
50953LIBS=$ac_check_lib_save_LIBS
50954fi
50955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
50956$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
50957if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
50958  ac_cv_libcrypto_dummy=yes
50959else
50960  ac_cv_libcrypto_evp_md=no
50961fi
50962
50963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
50964$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
50965if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
50966  $as_echo_n "(cached) " >&6
50967else
50968  ac_check_lib_save_LIBS=$LIBS
50969LIBS="-lcrypto  $LIBS"
50970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50971/* end confdefs.h.  */
50972
50973/* Override any GCC internal prototype to avoid an error.
50974   Use char because int might match the return type of a GCC
50975   builtin and then its argument prototype would still apply.  */
50976#ifdef __cplusplus
50977extern "C"
50978#endif
50979char EVP_DigestUpdate ();
50980int
50981main ()
50982{
50983return EVP_DigestUpdate ();
50984  ;
50985  return 0;
50986}
50987_ACEOF
50988if ac_fn_c_try_link "$LINENO"; then :
50989  ac_cv_lib_crypto_EVP_DigestUpdate=yes
50990else
50991  ac_cv_lib_crypto_EVP_DigestUpdate=no
50992fi
50993rm -f core conftest.err conftest.$ac_objext \
50994    conftest$ac_exeext conftest.$ac_ext
50995LIBS=$ac_check_lib_save_LIBS
50996fi
50997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
50998$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
50999if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
51000  ac_cv_libcrypto_dummy=yes
51001else
51002  ac_cv_libcrypto_evp_md=no
51003fi
51004
51005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
51006$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
51007if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
51008  $as_echo_n "(cached) " >&6
51009else
51010  ac_check_lib_save_LIBS=$LIBS
51011LIBS="-lcrypto  $LIBS"
51012cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51013/* end confdefs.h.  */
51014
51015/* Override any GCC internal prototype to avoid an error.
51016   Use char because int might match the return type of a GCC
51017   builtin and then its argument prototype would still apply.  */
51018#ifdef __cplusplus
51019extern "C"
51020#endif
51021char EVP_DigestFinal_ex ();
51022int
51023main ()
51024{
51025return EVP_DigestFinal_ex ();
51026  ;
51027  return 0;
51028}
51029_ACEOF
51030if ac_fn_c_try_link "$LINENO"; then :
51031  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
51032else
51033  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
51034fi
51035rm -f core conftest.err conftest.$ac_objext \
51036    conftest$ac_exeext conftest.$ac_ext
51037LIBS=$ac_check_lib_save_LIBS
51038fi
51039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
51040$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
51041if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
51042  ac_cv_libcrypto_dummy=yes
51043else
51044  ac_cv_libcrypto_evp_md=no
51045fi
51046
51047
51048  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
51049  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51050$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51051as_fn_error 1 "Missing OpenSSL EVP MD support
51052See \`config.log' for more details" "$LINENO" 5; }
51053
51054fi
51055
51056  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
51057
51058$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
51059
51060
51061fi
51062
51063  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
51064
51065$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
51066
51067
51068fi
51069
51070fi
51071
51072    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
51073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_md5 in -lcrypto" >&5
51074$as_echo_n "checking for EVP_md5 in -lcrypto... " >&6; }
51075if ${ac_cv_lib_crypto_EVP_md5+:} false; then :
51076  $as_echo_n "(cached) " >&6
51077else
51078  ac_check_lib_save_LIBS=$LIBS
51079LIBS="-lcrypto  $LIBS"
51080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51081/* end confdefs.h.  */
51082
51083/* Override any GCC internal prototype to avoid an error.
51084   Use char because int might match the return type of a GCC
51085   builtin and then its argument prototype would still apply.  */
51086#ifdef __cplusplus
51087extern "C"
51088#endif
51089char EVP_md5 ();
51090int
51091main ()
51092{
51093return EVP_md5 ();
51094  ;
51095  return 0;
51096}
51097_ACEOF
51098if ac_fn_c_try_link "$LINENO"; then :
51099  ac_cv_lib_crypto_EVP_md5=yes
51100else
51101  ac_cv_lib_crypto_EVP_md5=no
51102fi
51103rm -f core conftest.err conftest.$ac_objext \
51104    conftest$ac_exeext conftest.$ac_ext
51105LIBS=$ac_check_lib_save_LIBS
51106fi
51107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_md5" >&5
51108$as_echo "$ac_cv_lib_crypto_EVP_md5" >&6; }
51109if test "x$ac_cv_lib_crypto_EVP_md5" = xyes; then :
51110  ac_cv_libcrypto_md5=libcrypto_evp
51111else
51112  ac_cv_libcrypto_md5=no
51113fi
51114
51115
51116  if test "x$ac_cv_libcrypto_md5" = xlibcrypto_evp; then :
51117
51118$as_echo "#define HAVE_EVP_MD5 1" >>confdefs.h
51119
51120
51121fi
51122
51123fi
51124
51125    if test "x$ac_cv_libcrypto_md5" = xno; then :
51126  for ac_header in openssl/md5.h
51127do :
51128  ac_fn_c_check_header_mongrel "$LINENO" "openssl/md5.h" "ac_cv_header_openssl_md5_h" "$ac_includes_default"
51129if test "x$ac_cv_header_openssl_md5_h" = xyes; then :
51130  cat >>confdefs.h <<_ACEOF
51131#define HAVE_OPENSSL_MD5_H 1
51132_ACEOF
51133
51134fi
51135
51136done
51137
51138
51139  if test "x$ac_cv_header_openssl_md5_h" = xno; then :
51140  ac_cv_libcrypto_md5=no
51141else
51142  ac_cv_libcrypto_md5=libcrypto
51143
51144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Init in -lcrypto" >&5
51145$as_echo_n "checking for MD5_Init in -lcrypto... " >&6; }
51146if ${ac_cv_lib_crypto_MD5_Init+:} false; then :
51147  $as_echo_n "(cached) " >&6
51148else
51149  ac_check_lib_save_LIBS=$LIBS
51150LIBS="-lcrypto  $LIBS"
51151cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51152/* end confdefs.h.  */
51153
51154/* Override any GCC internal prototype to avoid an error.
51155   Use char because int might match the return type of a GCC
51156   builtin and then its argument prototype would still apply.  */
51157#ifdef __cplusplus
51158extern "C"
51159#endif
51160char MD5_Init ();
51161int
51162main ()
51163{
51164return MD5_Init ();
51165  ;
51166  return 0;
51167}
51168_ACEOF
51169if ac_fn_c_try_link "$LINENO"; then :
51170  ac_cv_lib_crypto_MD5_Init=yes
51171else
51172  ac_cv_lib_crypto_MD5_Init=no
51173fi
51174rm -f core conftest.err conftest.$ac_objext \
51175    conftest$ac_exeext conftest.$ac_ext
51176LIBS=$ac_check_lib_save_LIBS
51177fi
51178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Init" >&5
51179$as_echo "$ac_cv_lib_crypto_MD5_Init" >&6; }
51180if test "x$ac_cv_lib_crypto_MD5_Init" = xyes; then :
51181  ac_cv_libcrypto_dummy=yes
51182else
51183  ac_cv_libcrypto_md5=no
51184fi
51185
51186    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Update in -lcrypto" >&5
51187$as_echo_n "checking for MD5_Update in -lcrypto... " >&6; }
51188if ${ac_cv_lib_crypto_MD5_Update+:} false; then :
51189  $as_echo_n "(cached) " >&6
51190else
51191  ac_check_lib_save_LIBS=$LIBS
51192LIBS="-lcrypto  $LIBS"
51193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51194/* end confdefs.h.  */
51195
51196/* Override any GCC internal prototype to avoid an error.
51197   Use char because int might match the return type of a GCC
51198   builtin and then its argument prototype would still apply.  */
51199#ifdef __cplusplus
51200extern "C"
51201#endif
51202char MD5_Update ();
51203int
51204main ()
51205{
51206return MD5_Update ();
51207  ;
51208  return 0;
51209}
51210_ACEOF
51211if ac_fn_c_try_link "$LINENO"; then :
51212  ac_cv_lib_crypto_MD5_Update=yes
51213else
51214  ac_cv_lib_crypto_MD5_Update=no
51215fi
51216rm -f core conftest.err conftest.$ac_objext \
51217    conftest$ac_exeext conftest.$ac_ext
51218LIBS=$ac_check_lib_save_LIBS
51219fi
51220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Update" >&5
51221$as_echo "$ac_cv_lib_crypto_MD5_Update" >&6; }
51222if test "x$ac_cv_lib_crypto_MD5_Update" = xyes; then :
51223  ac_cv_libcrypto_dummy=yes
51224else
51225  ac_cv_libcrypto_md5=no
51226fi
51227
51228    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Final in -lcrypto" >&5
51229$as_echo_n "checking for MD5_Final in -lcrypto... " >&6; }
51230if ${ac_cv_lib_crypto_MD5_Final+:} false; then :
51231  $as_echo_n "(cached) " >&6
51232else
51233  ac_check_lib_save_LIBS=$LIBS
51234LIBS="-lcrypto  $LIBS"
51235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51236/* end confdefs.h.  */
51237
51238/* Override any GCC internal prototype to avoid an error.
51239   Use char because int might match the return type of a GCC
51240   builtin and then its argument prototype would still apply.  */
51241#ifdef __cplusplus
51242extern "C"
51243#endif
51244char MD5_Final ();
51245int
51246main ()
51247{
51248return MD5_Final ();
51249  ;
51250  return 0;
51251}
51252_ACEOF
51253if ac_fn_c_try_link "$LINENO"; then :
51254  ac_cv_lib_crypto_MD5_Final=yes
51255else
51256  ac_cv_lib_crypto_MD5_Final=no
51257fi
51258rm -f core conftest.err conftest.$ac_objext \
51259    conftest$ac_exeext conftest.$ac_ext
51260LIBS=$ac_check_lib_save_LIBS
51261fi
51262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Final" >&5
51263$as_echo "$ac_cv_lib_crypto_MD5_Final" >&6; }
51264if test "x$ac_cv_lib_crypto_MD5_Final" = xyes; then :
51265  ac_cv_libcrypto_dummy=yes
51266else
51267  ac_cv_libcrypto_md5=no
51268fi
51269
51270
51271fi
51272
51273  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_md5" = xlibcrypto; then :
51274  ac_cv_libcrypto=yes
51275fi
51276
51277fi
51278
51279    ac_cv_libcrypto_sha1=no
51280
51281    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 :
51282  ac_cv_libcrypto_evp_md=yes
51283
51284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
51285$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
51286if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
51287  $as_echo_n "(cached) " >&6
51288else
51289  ac_check_lib_save_LIBS=$LIBS
51290LIBS="-lcrypto  $LIBS"
51291cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51292/* end confdefs.h.  */
51293
51294/* Override any GCC internal prototype to avoid an error.
51295   Use char because int might match the return type of a GCC
51296   builtin and then its argument prototype would still apply.  */
51297#ifdef __cplusplus
51298extern "C"
51299#endif
51300char EVP_MD_CTX_new ();
51301int
51302main ()
51303{
51304return EVP_MD_CTX_new ();
51305  ;
51306  return 0;
51307}
51308_ACEOF
51309if ac_fn_c_try_link "$LINENO"; then :
51310  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
51311else
51312  ac_cv_lib_crypto_EVP_MD_CTX_new=no
51313fi
51314rm -f core conftest.err conftest.$ac_objext \
51315    conftest$ac_exeext conftest.$ac_ext
51316LIBS=$ac_check_lib_save_LIBS
51317fi
51318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
51319$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
51320if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
51321  ac_cv_libcrypto_dummy=yes
51322else
51323  ac_cv_libcrypto_dummy=no
51324fi
51325
51326
51327  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
51328      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
51329$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
51330if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
51331  $as_echo_n "(cached) " >&6
51332else
51333  ac_check_lib_save_LIBS=$LIBS
51334LIBS="-lcrypto  $LIBS"
51335cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51336/* end confdefs.h.  */
51337
51338/* Override any GCC internal prototype to avoid an error.
51339   Use char because int might match the return type of a GCC
51340   builtin and then its argument prototype would still apply.  */
51341#ifdef __cplusplus
51342extern "C"
51343#endif
51344char EVP_MD_CTX_free ();
51345int
51346main ()
51347{
51348return EVP_MD_CTX_free ();
51349  ;
51350  return 0;
51351}
51352_ACEOF
51353if ac_fn_c_try_link "$LINENO"; then :
51354  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
51355else
51356  ac_cv_lib_crypto_EVP_MD_CTX_free=no
51357fi
51358rm -f core conftest.err conftest.$ac_objext \
51359    conftest$ac_exeext conftest.$ac_ext
51360LIBS=$ac_check_lib_save_LIBS
51361fi
51362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
51363$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
51364if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
51365  ac_cv_libcrypto_dummy=yes
51366else
51367  ac_cv_libcrypto_evp_md=no
51368fi
51369
51370
51371else
51372      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
51373$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
51374if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
51375  $as_echo_n "(cached) " >&6
51376else
51377  ac_check_lib_save_LIBS=$LIBS
51378LIBS="-lcrypto  $LIBS"
51379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51380/* end confdefs.h.  */
51381
51382/* Override any GCC internal prototype to avoid an error.
51383   Use char because int might match the return type of a GCC
51384   builtin and then its argument prototype would still apply.  */
51385#ifdef __cplusplus
51386extern "C"
51387#endif
51388char EVP_MD_CTX_init ();
51389int
51390main ()
51391{
51392return EVP_MD_CTX_init ();
51393  ;
51394  return 0;
51395}
51396_ACEOF
51397if ac_fn_c_try_link "$LINENO"; then :
51398  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
51399else
51400  ac_cv_lib_crypto_EVP_MD_CTX_init=no
51401fi
51402rm -f core conftest.err conftest.$ac_objext \
51403    conftest$ac_exeext conftest.$ac_ext
51404LIBS=$ac_check_lib_save_LIBS
51405fi
51406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
51407$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
51408if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
51409  ac_cv_libcrypto_dummy=yes
51410else
51411  ac_cv_libcrypto_evp_md=no
51412fi
51413
51414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
51415$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
51416if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
51417  $as_echo_n "(cached) " >&6
51418else
51419  ac_check_lib_save_LIBS=$LIBS
51420LIBS="-lcrypto  $LIBS"
51421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422/* end confdefs.h.  */
51423
51424/* Override any GCC internal prototype to avoid an error.
51425   Use char because int might match the return type of a GCC
51426   builtin and then its argument prototype would still apply.  */
51427#ifdef __cplusplus
51428extern "C"
51429#endif
51430char EVP_MD_CTX_cleanup ();
51431int
51432main ()
51433{
51434return EVP_MD_CTX_cleanup ();
51435  ;
51436  return 0;
51437}
51438_ACEOF
51439if ac_fn_c_try_link "$LINENO"; then :
51440  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
51441else
51442  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
51443fi
51444rm -f core conftest.err conftest.$ac_objext \
51445    conftest$ac_exeext conftest.$ac_ext
51446LIBS=$ac_check_lib_save_LIBS
51447fi
51448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
51449$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
51450if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
51451  ac_cv_libcrypto_dummy=yes
51452else
51453  ac_cv_libcrypto_evp_md=no
51454fi
51455
51456
51457    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
51458$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
51459if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
51460  $as_echo_n "(cached) " >&6
51461else
51462  ac_check_lib_save_LIBS=$LIBS
51463LIBS="-lcrypto  $LIBS"
51464cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51465/* end confdefs.h.  */
51466
51467/* Override any GCC internal prototype to avoid an error.
51468   Use char because int might match the return type of a GCC
51469   builtin and then its argument prototype would still apply.  */
51470#ifdef __cplusplus
51471extern "C"
51472#endif
51473char ERR_remove_thread_state ();
51474int
51475main ()
51476{
51477return ERR_remove_thread_state ();
51478  ;
51479  return 0;
51480}
51481_ACEOF
51482if ac_fn_c_try_link "$LINENO"; then :
51483  ac_cv_lib_crypto_ERR_remove_thread_state=yes
51484else
51485  ac_cv_lib_crypto_ERR_remove_thread_state=no
51486fi
51487rm -f core conftest.err conftest.$ac_objext \
51488    conftest$ac_exeext conftest.$ac_ext
51489LIBS=$ac_check_lib_save_LIBS
51490fi
51491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
51492$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
51493if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
51494  ac_cv_libcrypto_dummy=yes
51495else
51496  ac_cv_libcrypto_evp_md=no
51497fi
51498
51499
51500fi
51501
51502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
51503$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
51504if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
51505  $as_echo_n "(cached) " >&6
51506else
51507  ac_check_lib_save_LIBS=$LIBS
51508LIBS="-lcrypto  $LIBS"
51509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51510/* end confdefs.h.  */
51511
51512/* Override any GCC internal prototype to avoid an error.
51513   Use char because int might match the return type of a GCC
51514   builtin and then its argument prototype would still apply.  */
51515#ifdef __cplusplus
51516extern "C"
51517#endif
51518char EVP_DigestInit_ex ();
51519int
51520main ()
51521{
51522return EVP_DigestInit_ex ();
51523  ;
51524  return 0;
51525}
51526_ACEOF
51527if ac_fn_c_try_link "$LINENO"; then :
51528  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
51529else
51530  ac_cv_lib_crypto_EVP_DigestInit_ex=no
51531fi
51532rm -f core conftest.err conftest.$ac_objext \
51533    conftest$ac_exeext conftest.$ac_ext
51534LIBS=$ac_check_lib_save_LIBS
51535fi
51536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
51537$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
51538if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
51539  ac_cv_libcrypto_dummy=yes
51540else
51541  ac_cv_libcrypto_evp_md=no
51542fi
51543
51544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
51545$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
51546if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
51547  $as_echo_n "(cached) " >&6
51548else
51549  ac_check_lib_save_LIBS=$LIBS
51550LIBS="-lcrypto  $LIBS"
51551cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51552/* end confdefs.h.  */
51553
51554/* Override any GCC internal prototype to avoid an error.
51555   Use char because int might match the return type of a GCC
51556   builtin and then its argument prototype would still apply.  */
51557#ifdef __cplusplus
51558extern "C"
51559#endif
51560char EVP_DigestUpdate ();
51561int
51562main ()
51563{
51564return EVP_DigestUpdate ();
51565  ;
51566  return 0;
51567}
51568_ACEOF
51569if ac_fn_c_try_link "$LINENO"; then :
51570  ac_cv_lib_crypto_EVP_DigestUpdate=yes
51571else
51572  ac_cv_lib_crypto_EVP_DigestUpdate=no
51573fi
51574rm -f core conftest.err conftest.$ac_objext \
51575    conftest$ac_exeext conftest.$ac_ext
51576LIBS=$ac_check_lib_save_LIBS
51577fi
51578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
51579$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
51580if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
51581  ac_cv_libcrypto_dummy=yes
51582else
51583  ac_cv_libcrypto_evp_md=no
51584fi
51585
51586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
51587$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
51588if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
51589  $as_echo_n "(cached) " >&6
51590else
51591  ac_check_lib_save_LIBS=$LIBS
51592LIBS="-lcrypto  $LIBS"
51593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51594/* end confdefs.h.  */
51595
51596/* Override any GCC internal prototype to avoid an error.
51597   Use char because int might match the return type of a GCC
51598   builtin and then its argument prototype would still apply.  */
51599#ifdef __cplusplus
51600extern "C"
51601#endif
51602char EVP_DigestFinal_ex ();
51603int
51604main ()
51605{
51606return EVP_DigestFinal_ex ();
51607  ;
51608  return 0;
51609}
51610_ACEOF
51611if ac_fn_c_try_link "$LINENO"; then :
51612  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
51613else
51614  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
51615fi
51616rm -f core conftest.err conftest.$ac_objext \
51617    conftest$ac_exeext conftest.$ac_ext
51618LIBS=$ac_check_lib_save_LIBS
51619fi
51620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
51621$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
51622if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
51623  ac_cv_libcrypto_dummy=yes
51624else
51625  ac_cv_libcrypto_evp_md=no
51626fi
51627
51628
51629  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
51630  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51631$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51632as_fn_error 1 "Missing OpenSSL EVP MD support
51633See \`config.log' for more details" "$LINENO" 5; }
51634
51635fi
51636
51637  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
51638
51639$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
51640
51641
51642fi
51643
51644  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
51645
51646$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
51647
51648
51649fi
51650
51651fi
51652
51653    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
51654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha1 in -lcrypto" >&5
51655$as_echo_n "checking for EVP_sha1 in -lcrypto... " >&6; }
51656if ${ac_cv_lib_crypto_EVP_sha1+:} false; then :
51657  $as_echo_n "(cached) " >&6
51658else
51659  ac_check_lib_save_LIBS=$LIBS
51660LIBS="-lcrypto  $LIBS"
51661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51662/* end confdefs.h.  */
51663
51664/* Override any GCC internal prototype to avoid an error.
51665   Use char because int might match the return type of a GCC
51666   builtin and then its argument prototype would still apply.  */
51667#ifdef __cplusplus
51668extern "C"
51669#endif
51670char EVP_sha1 ();
51671int
51672main ()
51673{
51674return EVP_sha1 ();
51675  ;
51676  return 0;
51677}
51678_ACEOF
51679if ac_fn_c_try_link "$LINENO"; then :
51680  ac_cv_lib_crypto_EVP_sha1=yes
51681else
51682  ac_cv_lib_crypto_EVP_sha1=no
51683fi
51684rm -f core conftest.err conftest.$ac_objext \
51685    conftest$ac_exeext conftest.$ac_ext
51686LIBS=$ac_check_lib_save_LIBS
51687fi
51688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha1" >&5
51689$as_echo "$ac_cv_lib_crypto_EVP_sha1" >&6; }
51690if test "x$ac_cv_lib_crypto_EVP_sha1" = xyes; then :
51691  ac_cv_libcrypto_sha1=libcrypto_evp
51692else
51693  ac_cv_libcrypto_sha1=no
51694fi
51695
51696
51697  if test "x$ac_cv_libcrypto_sha1" = xlibcrypto_evp; then :
51698
51699$as_echo "#define HAVE_EVP_SHA1 1" >>confdefs.h
51700
51701
51702fi
51703
51704fi
51705
51706    if test "x$ac_cv_libcrypto_sha1" = xno; then :
51707  for ac_header in openssl/sha.h
51708do :
51709  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
51710if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
51711  cat >>confdefs.h <<_ACEOF
51712#define HAVE_OPENSSL_SHA_H 1
51713_ACEOF
51714
51715fi
51716
51717done
51718
51719
51720  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
51721  ac_cv_libcrypto_sha1=no
51722else
51723  ac_cv_libcrypto_sha1=libcrypto
51724
51725    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
51726$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
51727if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
51728  $as_echo_n "(cached) " >&6
51729else
51730  ac_check_lib_save_LIBS=$LIBS
51731LIBS="-lcrypto  $LIBS"
51732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51733/* end confdefs.h.  */
51734
51735/* Override any GCC internal prototype to avoid an error.
51736   Use char because int might match the return type of a GCC
51737   builtin and then its argument prototype would still apply.  */
51738#ifdef __cplusplus
51739extern "C"
51740#endif
51741char SHA1_Init ();
51742int
51743main ()
51744{
51745return SHA1_Init ();
51746  ;
51747  return 0;
51748}
51749_ACEOF
51750if ac_fn_c_try_link "$LINENO"; then :
51751  ac_cv_lib_crypto_SHA1_Init=yes
51752else
51753  ac_cv_lib_crypto_SHA1_Init=no
51754fi
51755rm -f core conftest.err conftest.$ac_objext \
51756    conftest$ac_exeext conftest.$ac_ext
51757LIBS=$ac_check_lib_save_LIBS
51758fi
51759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
51760$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
51761if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
51762  ac_cv_libcrypto_dummy=yes
51763else
51764  ac_cv_libcrypto_sha1=no
51765fi
51766
51767    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Update in -lcrypto" >&5
51768$as_echo_n "checking for SHA1_Update in -lcrypto... " >&6; }
51769if ${ac_cv_lib_crypto_SHA1_Update+:} false; then :
51770  $as_echo_n "(cached) " >&6
51771else
51772  ac_check_lib_save_LIBS=$LIBS
51773LIBS="-lcrypto  $LIBS"
51774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51775/* end confdefs.h.  */
51776
51777/* Override any GCC internal prototype to avoid an error.
51778   Use char because int might match the return type of a GCC
51779   builtin and then its argument prototype would still apply.  */
51780#ifdef __cplusplus
51781extern "C"
51782#endif
51783char SHA1_Update ();
51784int
51785main ()
51786{
51787return SHA1_Update ();
51788  ;
51789  return 0;
51790}
51791_ACEOF
51792if ac_fn_c_try_link "$LINENO"; then :
51793  ac_cv_lib_crypto_SHA1_Update=yes
51794else
51795  ac_cv_lib_crypto_SHA1_Update=no
51796fi
51797rm -f core conftest.err conftest.$ac_objext \
51798    conftest$ac_exeext conftest.$ac_ext
51799LIBS=$ac_check_lib_save_LIBS
51800fi
51801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Update" >&5
51802$as_echo "$ac_cv_lib_crypto_SHA1_Update" >&6; }
51803if test "x$ac_cv_lib_crypto_SHA1_Update" = xyes; then :
51804  ac_cv_libcrypto_dummy=yes
51805else
51806  ac_cv_libcrypto_sha1=no
51807fi
51808
51809    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Final in -lcrypto" >&5
51810$as_echo_n "checking for SHA1_Final in -lcrypto... " >&6; }
51811if ${ac_cv_lib_crypto_SHA1_Final+:} false; then :
51812  $as_echo_n "(cached) " >&6
51813else
51814  ac_check_lib_save_LIBS=$LIBS
51815LIBS="-lcrypto  $LIBS"
51816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51817/* end confdefs.h.  */
51818
51819/* Override any GCC internal prototype to avoid an error.
51820   Use char because int might match the return type of a GCC
51821   builtin and then its argument prototype would still apply.  */
51822#ifdef __cplusplus
51823extern "C"
51824#endif
51825char SHA1_Final ();
51826int
51827main ()
51828{
51829return SHA1_Final ();
51830  ;
51831  return 0;
51832}
51833_ACEOF
51834if ac_fn_c_try_link "$LINENO"; then :
51835  ac_cv_lib_crypto_SHA1_Final=yes
51836else
51837  ac_cv_lib_crypto_SHA1_Final=no
51838fi
51839rm -f core conftest.err conftest.$ac_objext \
51840    conftest$ac_exeext conftest.$ac_ext
51841LIBS=$ac_check_lib_save_LIBS
51842fi
51843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Final" >&5
51844$as_echo "$ac_cv_lib_crypto_SHA1_Final" >&6; }
51845if test "x$ac_cv_lib_crypto_SHA1_Final" = xyes; then :
51846  ac_cv_libcrypto_dummy=yes
51847else
51848  ac_cv_libcrypto_sha1=no
51849fi
51850
51851
51852fi
51853
51854  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha1" = xlibcrypto; then :
51855  ac_cv_libcrypto=yes
51856fi
51857
51858fi
51859
51860    ac_cv_libcrypto_sha224=no
51861
51862    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 :
51863  ac_cv_libcrypto_evp_md=yes
51864
51865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
51866$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
51867if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
51868  $as_echo_n "(cached) " >&6
51869else
51870  ac_check_lib_save_LIBS=$LIBS
51871LIBS="-lcrypto  $LIBS"
51872cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51873/* end confdefs.h.  */
51874
51875/* Override any GCC internal prototype to avoid an error.
51876   Use char because int might match the return type of a GCC
51877   builtin and then its argument prototype would still apply.  */
51878#ifdef __cplusplus
51879extern "C"
51880#endif
51881char EVP_MD_CTX_new ();
51882int
51883main ()
51884{
51885return EVP_MD_CTX_new ();
51886  ;
51887  return 0;
51888}
51889_ACEOF
51890if ac_fn_c_try_link "$LINENO"; then :
51891  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
51892else
51893  ac_cv_lib_crypto_EVP_MD_CTX_new=no
51894fi
51895rm -f core conftest.err conftest.$ac_objext \
51896    conftest$ac_exeext conftest.$ac_ext
51897LIBS=$ac_check_lib_save_LIBS
51898fi
51899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
51900$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
51901if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
51902  ac_cv_libcrypto_dummy=yes
51903else
51904  ac_cv_libcrypto_dummy=no
51905fi
51906
51907
51908  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
51909      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
51910$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
51911if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
51912  $as_echo_n "(cached) " >&6
51913else
51914  ac_check_lib_save_LIBS=$LIBS
51915LIBS="-lcrypto  $LIBS"
51916cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51917/* end confdefs.h.  */
51918
51919/* Override any GCC internal prototype to avoid an error.
51920   Use char because int might match the return type of a GCC
51921   builtin and then its argument prototype would still apply.  */
51922#ifdef __cplusplus
51923extern "C"
51924#endif
51925char EVP_MD_CTX_free ();
51926int
51927main ()
51928{
51929return EVP_MD_CTX_free ();
51930  ;
51931  return 0;
51932}
51933_ACEOF
51934if ac_fn_c_try_link "$LINENO"; then :
51935  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
51936else
51937  ac_cv_lib_crypto_EVP_MD_CTX_free=no
51938fi
51939rm -f core conftest.err conftest.$ac_objext \
51940    conftest$ac_exeext conftest.$ac_ext
51941LIBS=$ac_check_lib_save_LIBS
51942fi
51943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
51944$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
51945if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
51946  ac_cv_libcrypto_dummy=yes
51947else
51948  ac_cv_libcrypto_evp_md=no
51949fi
51950
51951
51952else
51953      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
51954$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
51955if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
51956  $as_echo_n "(cached) " >&6
51957else
51958  ac_check_lib_save_LIBS=$LIBS
51959LIBS="-lcrypto  $LIBS"
51960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51961/* end confdefs.h.  */
51962
51963/* Override any GCC internal prototype to avoid an error.
51964   Use char because int might match the return type of a GCC
51965   builtin and then its argument prototype would still apply.  */
51966#ifdef __cplusplus
51967extern "C"
51968#endif
51969char EVP_MD_CTX_init ();
51970int
51971main ()
51972{
51973return EVP_MD_CTX_init ();
51974  ;
51975  return 0;
51976}
51977_ACEOF
51978if ac_fn_c_try_link "$LINENO"; then :
51979  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
51980else
51981  ac_cv_lib_crypto_EVP_MD_CTX_init=no
51982fi
51983rm -f core conftest.err conftest.$ac_objext \
51984    conftest$ac_exeext conftest.$ac_ext
51985LIBS=$ac_check_lib_save_LIBS
51986fi
51987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
51988$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
51989if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
51990  ac_cv_libcrypto_dummy=yes
51991else
51992  ac_cv_libcrypto_evp_md=no
51993fi
51994
51995    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
51996$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
51997if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
51998  $as_echo_n "(cached) " >&6
51999else
52000  ac_check_lib_save_LIBS=$LIBS
52001LIBS="-lcrypto  $LIBS"
52002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52003/* end confdefs.h.  */
52004
52005/* Override any GCC internal prototype to avoid an error.
52006   Use char because int might match the return type of a GCC
52007   builtin and then its argument prototype would still apply.  */
52008#ifdef __cplusplus
52009extern "C"
52010#endif
52011char EVP_MD_CTX_cleanup ();
52012int
52013main ()
52014{
52015return EVP_MD_CTX_cleanup ();
52016  ;
52017  return 0;
52018}
52019_ACEOF
52020if ac_fn_c_try_link "$LINENO"; then :
52021  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
52022else
52023  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
52024fi
52025rm -f core conftest.err conftest.$ac_objext \
52026    conftest$ac_exeext conftest.$ac_ext
52027LIBS=$ac_check_lib_save_LIBS
52028fi
52029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
52030$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
52031if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
52032  ac_cv_libcrypto_dummy=yes
52033else
52034  ac_cv_libcrypto_evp_md=no
52035fi
52036
52037
52038    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
52039$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
52040if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
52041  $as_echo_n "(cached) " >&6
52042else
52043  ac_check_lib_save_LIBS=$LIBS
52044LIBS="-lcrypto  $LIBS"
52045cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52046/* end confdefs.h.  */
52047
52048/* Override any GCC internal prototype to avoid an error.
52049   Use char because int might match the return type of a GCC
52050   builtin and then its argument prototype would still apply.  */
52051#ifdef __cplusplus
52052extern "C"
52053#endif
52054char ERR_remove_thread_state ();
52055int
52056main ()
52057{
52058return ERR_remove_thread_state ();
52059  ;
52060  return 0;
52061}
52062_ACEOF
52063if ac_fn_c_try_link "$LINENO"; then :
52064  ac_cv_lib_crypto_ERR_remove_thread_state=yes
52065else
52066  ac_cv_lib_crypto_ERR_remove_thread_state=no
52067fi
52068rm -f core conftest.err conftest.$ac_objext \
52069    conftest$ac_exeext conftest.$ac_ext
52070LIBS=$ac_check_lib_save_LIBS
52071fi
52072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
52073$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
52074if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
52075  ac_cv_libcrypto_dummy=yes
52076else
52077  ac_cv_libcrypto_evp_md=no
52078fi
52079
52080
52081fi
52082
52083  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
52084$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
52085if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
52086  $as_echo_n "(cached) " >&6
52087else
52088  ac_check_lib_save_LIBS=$LIBS
52089LIBS="-lcrypto  $LIBS"
52090cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52091/* end confdefs.h.  */
52092
52093/* Override any GCC internal prototype to avoid an error.
52094   Use char because int might match the return type of a GCC
52095   builtin and then its argument prototype would still apply.  */
52096#ifdef __cplusplus
52097extern "C"
52098#endif
52099char EVP_DigestInit_ex ();
52100int
52101main ()
52102{
52103return EVP_DigestInit_ex ();
52104  ;
52105  return 0;
52106}
52107_ACEOF
52108if ac_fn_c_try_link "$LINENO"; then :
52109  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
52110else
52111  ac_cv_lib_crypto_EVP_DigestInit_ex=no
52112fi
52113rm -f core conftest.err conftest.$ac_objext \
52114    conftest$ac_exeext conftest.$ac_ext
52115LIBS=$ac_check_lib_save_LIBS
52116fi
52117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
52118$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
52119if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
52120  ac_cv_libcrypto_dummy=yes
52121else
52122  ac_cv_libcrypto_evp_md=no
52123fi
52124
52125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
52126$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
52127if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
52128  $as_echo_n "(cached) " >&6
52129else
52130  ac_check_lib_save_LIBS=$LIBS
52131LIBS="-lcrypto  $LIBS"
52132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52133/* end confdefs.h.  */
52134
52135/* Override any GCC internal prototype to avoid an error.
52136   Use char because int might match the return type of a GCC
52137   builtin and then its argument prototype would still apply.  */
52138#ifdef __cplusplus
52139extern "C"
52140#endif
52141char EVP_DigestUpdate ();
52142int
52143main ()
52144{
52145return EVP_DigestUpdate ();
52146  ;
52147  return 0;
52148}
52149_ACEOF
52150if ac_fn_c_try_link "$LINENO"; then :
52151  ac_cv_lib_crypto_EVP_DigestUpdate=yes
52152else
52153  ac_cv_lib_crypto_EVP_DigestUpdate=no
52154fi
52155rm -f core conftest.err conftest.$ac_objext \
52156    conftest$ac_exeext conftest.$ac_ext
52157LIBS=$ac_check_lib_save_LIBS
52158fi
52159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
52160$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
52161if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
52162  ac_cv_libcrypto_dummy=yes
52163else
52164  ac_cv_libcrypto_evp_md=no
52165fi
52166
52167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
52168$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
52169if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
52170  $as_echo_n "(cached) " >&6
52171else
52172  ac_check_lib_save_LIBS=$LIBS
52173LIBS="-lcrypto  $LIBS"
52174cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52175/* end confdefs.h.  */
52176
52177/* Override any GCC internal prototype to avoid an error.
52178   Use char because int might match the return type of a GCC
52179   builtin and then its argument prototype would still apply.  */
52180#ifdef __cplusplus
52181extern "C"
52182#endif
52183char EVP_DigestFinal_ex ();
52184int
52185main ()
52186{
52187return EVP_DigestFinal_ex ();
52188  ;
52189  return 0;
52190}
52191_ACEOF
52192if ac_fn_c_try_link "$LINENO"; then :
52193  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
52194else
52195  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
52196fi
52197rm -f core conftest.err conftest.$ac_objext \
52198    conftest$ac_exeext conftest.$ac_ext
52199LIBS=$ac_check_lib_save_LIBS
52200fi
52201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
52202$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
52203if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
52204  ac_cv_libcrypto_dummy=yes
52205else
52206  ac_cv_libcrypto_evp_md=no
52207fi
52208
52209
52210  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
52211  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52213as_fn_error 1 "Missing OpenSSL EVP MD support
52214See \`config.log' for more details" "$LINENO" 5; }
52215
52216fi
52217
52218  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
52219
52220$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
52221
52222
52223fi
52224
52225  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
52226
52227$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
52228
52229
52230fi
52231
52232fi
52233
52234    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
52235  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha224 in -lcrypto" >&5
52236$as_echo_n "checking for EVP_sha224 in -lcrypto... " >&6; }
52237if ${ac_cv_lib_crypto_EVP_sha224+:} false; then :
52238  $as_echo_n "(cached) " >&6
52239else
52240  ac_check_lib_save_LIBS=$LIBS
52241LIBS="-lcrypto  $LIBS"
52242cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52243/* end confdefs.h.  */
52244
52245/* Override any GCC internal prototype to avoid an error.
52246   Use char because int might match the return type of a GCC
52247   builtin and then its argument prototype would still apply.  */
52248#ifdef __cplusplus
52249extern "C"
52250#endif
52251char EVP_sha224 ();
52252int
52253main ()
52254{
52255return EVP_sha224 ();
52256  ;
52257  return 0;
52258}
52259_ACEOF
52260if ac_fn_c_try_link "$LINENO"; then :
52261  ac_cv_lib_crypto_EVP_sha224=yes
52262else
52263  ac_cv_lib_crypto_EVP_sha224=no
52264fi
52265rm -f core conftest.err conftest.$ac_objext \
52266    conftest$ac_exeext conftest.$ac_ext
52267LIBS=$ac_check_lib_save_LIBS
52268fi
52269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha224" >&5
52270$as_echo "$ac_cv_lib_crypto_EVP_sha224" >&6; }
52271if test "x$ac_cv_lib_crypto_EVP_sha224" = xyes; then :
52272  ac_cv_libcrypto_sha224=libcrypto_evp
52273else
52274  ac_cv_libcrypto_sha224=no
52275fi
52276
52277
52278  if test "x$ac_cv_libcrypto_sha224" = xlibcrypto_evp; then :
52279
52280$as_echo "#define HAVE_EVP_SHA224 1" >>confdefs.h
52281
52282
52283fi
52284
52285fi
52286
52287    if test "x$ac_cv_libcrypto_sha224" = xno; then :
52288  for ac_header in openssl/sha.h
52289do :
52290  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
52291if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
52292  cat >>confdefs.h <<_ACEOF
52293#define HAVE_OPENSSL_SHA_H 1
52294_ACEOF
52295
52296fi
52297
52298done
52299
52300
52301  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
52302  ac_cv_libcrypto_sha224=no
52303else
52304  ac_cv_libcrypto_sha224=libcrypto
52305
52306    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Init in -lcrypto" >&5
52307$as_echo_n "checking for SHA224_Init in -lcrypto... " >&6; }
52308if ${ac_cv_lib_crypto_SHA224_Init+:} false; then :
52309  $as_echo_n "(cached) " >&6
52310else
52311  ac_check_lib_save_LIBS=$LIBS
52312LIBS="-lcrypto  $LIBS"
52313cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52314/* end confdefs.h.  */
52315
52316/* Override any GCC internal prototype to avoid an error.
52317   Use char because int might match the return type of a GCC
52318   builtin and then its argument prototype would still apply.  */
52319#ifdef __cplusplus
52320extern "C"
52321#endif
52322char SHA224_Init ();
52323int
52324main ()
52325{
52326return SHA224_Init ();
52327  ;
52328  return 0;
52329}
52330_ACEOF
52331if ac_fn_c_try_link "$LINENO"; then :
52332  ac_cv_lib_crypto_SHA224_Init=yes
52333else
52334  ac_cv_lib_crypto_SHA224_Init=no
52335fi
52336rm -f core conftest.err conftest.$ac_objext \
52337    conftest$ac_exeext conftest.$ac_ext
52338LIBS=$ac_check_lib_save_LIBS
52339fi
52340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Init" >&5
52341$as_echo "$ac_cv_lib_crypto_SHA224_Init" >&6; }
52342if test "x$ac_cv_lib_crypto_SHA224_Init" = xyes; then :
52343  ac_cv_libcrypto_dummy=yes
52344else
52345  ac_cv_libcrypto_sha224=no
52346fi
52347
52348    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Update in -lcrypto" >&5
52349$as_echo_n "checking for SHA224_Update in -lcrypto... " >&6; }
52350if ${ac_cv_lib_crypto_SHA224_Update+:} false; then :
52351  $as_echo_n "(cached) " >&6
52352else
52353  ac_check_lib_save_LIBS=$LIBS
52354LIBS="-lcrypto  $LIBS"
52355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52356/* end confdefs.h.  */
52357
52358/* Override any GCC internal prototype to avoid an error.
52359   Use char because int might match the return type of a GCC
52360   builtin and then its argument prototype would still apply.  */
52361#ifdef __cplusplus
52362extern "C"
52363#endif
52364char SHA224_Update ();
52365int
52366main ()
52367{
52368return SHA224_Update ();
52369  ;
52370  return 0;
52371}
52372_ACEOF
52373if ac_fn_c_try_link "$LINENO"; then :
52374  ac_cv_lib_crypto_SHA224_Update=yes
52375else
52376  ac_cv_lib_crypto_SHA224_Update=no
52377fi
52378rm -f core conftest.err conftest.$ac_objext \
52379    conftest$ac_exeext conftest.$ac_ext
52380LIBS=$ac_check_lib_save_LIBS
52381fi
52382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Update" >&5
52383$as_echo "$ac_cv_lib_crypto_SHA224_Update" >&6; }
52384if test "x$ac_cv_lib_crypto_SHA224_Update" = xyes; then :
52385  ac_cv_libcrypto_dummy=yes
52386else
52387  ac_cv_libcrypto_sha224=no
52388fi
52389
52390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224_Final in -lcrypto" >&5
52391$as_echo_n "checking for SHA224_Final in -lcrypto... " >&6; }
52392if ${ac_cv_lib_crypto_SHA224_Final+:} false; then :
52393  $as_echo_n "(cached) " >&6
52394else
52395  ac_check_lib_save_LIBS=$LIBS
52396LIBS="-lcrypto  $LIBS"
52397cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398/* end confdefs.h.  */
52399
52400/* Override any GCC internal prototype to avoid an error.
52401   Use char because int might match the return type of a GCC
52402   builtin and then its argument prototype would still apply.  */
52403#ifdef __cplusplus
52404extern "C"
52405#endif
52406char SHA224_Final ();
52407int
52408main ()
52409{
52410return SHA224_Final ();
52411  ;
52412  return 0;
52413}
52414_ACEOF
52415if ac_fn_c_try_link "$LINENO"; then :
52416  ac_cv_lib_crypto_SHA224_Final=yes
52417else
52418  ac_cv_lib_crypto_SHA224_Final=no
52419fi
52420rm -f core conftest.err conftest.$ac_objext \
52421    conftest$ac_exeext conftest.$ac_ext
52422LIBS=$ac_check_lib_save_LIBS
52423fi
52424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA224_Final" >&5
52425$as_echo "$ac_cv_lib_crypto_SHA224_Final" >&6; }
52426if test "x$ac_cv_lib_crypto_SHA224_Final" = xyes; then :
52427  ac_cv_libcrypto_dummy=yes
52428else
52429  ac_cv_libcrypto_sha224=no
52430fi
52431
52432
52433fi
52434
52435  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha224" = xlibcrypto; then :
52436  ac_cv_libcrypto=yes
52437fi
52438
52439fi
52440
52441    ac_cv_libcrypto_sha256=no
52442
52443    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 :
52444  ac_cv_libcrypto_evp_md=yes
52445
52446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
52447$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
52448if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
52449  $as_echo_n "(cached) " >&6
52450else
52451  ac_check_lib_save_LIBS=$LIBS
52452LIBS="-lcrypto  $LIBS"
52453cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454/* end confdefs.h.  */
52455
52456/* Override any GCC internal prototype to avoid an error.
52457   Use char because int might match the return type of a GCC
52458   builtin and then its argument prototype would still apply.  */
52459#ifdef __cplusplus
52460extern "C"
52461#endif
52462char EVP_MD_CTX_new ();
52463int
52464main ()
52465{
52466return EVP_MD_CTX_new ();
52467  ;
52468  return 0;
52469}
52470_ACEOF
52471if ac_fn_c_try_link "$LINENO"; then :
52472  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
52473else
52474  ac_cv_lib_crypto_EVP_MD_CTX_new=no
52475fi
52476rm -f core conftest.err conftest.$ac_objext \
52477    conftest$ac_exeext conftest.$ac_ext
52478LIBS=$ac_check_lib_save_LIBS
52479fi
52480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
52481$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
52482if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
52483  ac_cv_libcrypto_dummy=yes
52484else
52485  ac_cv_libcrypto_dummy=no
52486fi
52487
52488
52489  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
52490      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
52491$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
52492if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
52493  $as_echo_n "(cached) " >&6
52494else
52495  ac_check_lib_save_LIBS=$LIBS
52496LIBS="-lcrypto  $LIBS"
52497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52498/* end confdefs.h.  */
52499
52500/* Override any GCC internal prototype to avoid an error.
52501   Use char because int might match the return type of a GCC
52502   builtin and then its argument prototype would still apply.  */
52503#ifdef __cplusplus
52504extern "C"
52505#endif
52506char EVP_MD_CTX_free ();
52507int
52508main ()
52509{
52510return EVP_MD_CTX_free ();
52511  ;
52512  return 0;
52513}
52514_ACEOF
52515if ac_fn_c_try_link "$LINENO"; then :
52516  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
52517else
52518  ac_cv_lib_crypto_EVP_MD_CTX_free=no
52519fi
52520rm -f core conftest.err conftest.$ac_objext \
52521    conftest$ac_exeext conftest.$ac_ext
52522LIBS=$ac_check_lib_save_LIBS
52523fi
52524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
52525$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
52526if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
52527  ac_cv_libcrypto_dummy=yes
52528else
52529  ac_cv_libcrypto_evp_md=no
52530fi
52531
52532
52533else
52534      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
52535$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
52536if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
52537  $as_echo_n "(cached) " >&6
52538else
52539  ac_check_lib_save_LIBS=$LIBS
52540LIBS="-lcrypto  $LIBS"
52541cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542/* end confdefs.h.  */
52543
52544/* Override any GCC internal prototype to avoid an error.
52545   Use char because int might match the return type of a GCC
52546   builtin and then its argument prototype would still apply.  */
52547#ifdef __cplusplus
52548extern "C"
52549#endif
52550char EVP_MD_CTX_init ();
52551int
52552main ()
52553{
52554return EVP_MD_CTX_init ();
52555  ;
52556  return 0;
52557}
52558_ACEOF
52559if ac_fn_c_try_link "$LINENO"; then :
52560  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
52561else
52562  ac_cv_lib_crypto_EVP_MD_CTX_init=no
52563fi
52564rm -f core conftest.err conftest.$ac_objext \
52565    conftest$ac_exeext conftest.$ac_ext
52566LIBS=$ac_check_lib_save_LIBS
52567fi
52568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_init" >&5
52569$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
52570if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
52571  ac_cv_libcrypto_dummy=yes
52572else
52573  ac_cv_libcrypto_evp_md=no
52574fi
52575
52576    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
52577$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
52578if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
52579  $as_echo_n "(cached) " >&6
52580else
52581  ac_check_lib_save_LIBS=$LIBS
52582LIBS="-lcrypto  $LIBS"
52583cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52584/* end confdefs.h.  */
52585
52586/* Override any GCC internal prototype to avoid an error.
52587   Use char because int might match the return type of a GCC
52588   builtin and then its argument prototype would still apply.  */
52589#ifdef __cplusplus
52590extern "C"
52591#endif
52592char EVP_MD_CTX_cleanup ();
52593int
52594main ()
52595{
52596return EVP_MD_CTX_cleanup ();
52597  ;
52598  return 0;
52599}
52600_ACEOF
52601if ac_fn_c_try_link "$LINENO"; then :
52602  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
52603else
52604  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=no
52605fi
52606rm -f core conftest.err conftest.$ac_objext \
52607    conftest$ac_exeext conftest.$ac_ext
52608LIBS=$ac_check_lib_save_LIBS
52609fi
52610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&5
52611$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
52612if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
52613  ac_cv_libcrypto_dummy=yes
52614else
52615  ac_cv_libcrypto_evp_md=no
52616fi
52617
52618
52619    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
52620$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
52621if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
52622  $as_echo_n "(cached) " >&6
52623else
52624  ac_check_lib_save_LIBS=$LIBS
52625LIBS="-lcrypto  $LIBS"
52626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52627/* end confdefs.h.  */
52628
52629/* Override any GCC internal prototype to avoid an error.
52630   Use char because int might match the return type of a GCC
52631   builtin and then its argument prototype would still apply.  */
52632#ifdef __cplusplus
52633extern "C"
52634#endif
52635char ERR_remove_thread_state ();
52636int
52637main ()
52638{
52639return ERR_remove_thread_state ();
52640  ;
52641  return 0;
52642}
52643_ACEOF
52644if ac_fn_c_try_link "$LINENO"; then :
52645  ac_cv_lib_crypto_ERR_remove_thread_state=yes
52646else
52647  ac_cv_lib_crypto_ERR_remove_thread_state=no
52648fi
52649rm -f core conftest.err conftest.$ac_objext \
52650    conftest$ac_exeext conftest.$ac_ext
52651LIBS=$ac_check_lib_save_LIBS
52652fi
52653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
52654$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
52655if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
52656  ac_cv_libcrypto_dummy=yes
52657else
52658  ac_cv_libcrypto_evp_md=no
52659fi
52660
52661
52662fi
52663
52664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
52665$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
52666if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
52667  $as_echo_n "(cached) " >&6
52668else
52669  ac_check_lib_save_LIBS=$LIBS
52670LIBS="-lcrypto  $LIBS"
52671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52672/* end confdefs.h.  */
52673
52674/* Override any GCC internal prototype to avoid an error.
52675   Use char because int might match the return type of a GCC
52676   builtin and then its argument prototype would still apply.  */
52677#ifdef __cplusplus
52678extern "C"
52679#endif
52680char EVP_DigestInit_ex ();
52681int
52682main ()
52683{
52684return EVP_DigestInit_ex ();
52685  ;
52686  return 0;
52687}
52688_ACEOF
52689if ac_fn_c_try_link "$LINENO"; then :
52690  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
52691else
52692  ac_cv_lib_crypto_EVP_DigestInit_ex=no
52693fi
52694rm -f core conftest.err conftest.$ac_objext \
52695    conftest$ac_exeext conftest.$ac_ext
52696LIBS=$ac_check_lib_save_LIBS
52697fi
52698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
52699$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
52700if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
52701  ac_cv_libcrypto_dummy=yes
52702else
52703  ac_cv_libcrypto_evp_md=no
52704fi
52705
52706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
52707$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
52708if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
52709  $as_echo_n "(cached) " >&6
52710else
52711  ac_check_lib_save_LIBS=$LIBS
52712LIBS="-lcrypto  $LIBS"
52713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52714/* end confdefs.h.  */
52715
52716/* Override any GCC internal prototype to avoid an error.
52717   Use char because int might match the return type of a GCC
52718   builtin and then its argument prototype would still apply.  */
52719#ifdef __cplusplus
52720extern "C"
52721#endif
52722char EVP_DigestUpdate ();
52723int
52724main ()
52725{
52726return EVP_DigestUpdate ();
52727  ;
52728  return 0;
52729}
52730_ACEOF
52731if ac_fn_c_try_link "$LINENO"; then :
52732  ac_cv_lib_crypto_EVP_DigestUpdate=yes
52733else
52734  ac_cv_lib_crypto_EVP_DigestUpdate=no
52735fi
52736rm -f core conftest.err conftest.$ac_objext \
52737    conftest$ac_exeext conftest.$ac_ext
52738LIBS=$ac_check_lib_save_LIBS
52739fi
52740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
52741$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
52742if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
52743  ac_cv_libcrypto_dummy=yes
52744else
52745  ac_cv_libcrypto_evp_md=no
52746fi
52747
52748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
52749$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
52750if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
52751  $as_echo_n "(cached) " >&6
52752else
52753  ac_check_lib_save_LIBS=$LIBS
52754LIBS="-lcrypto  $LIBS"
52755cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52756/* end confdefs.h.  */
52757
52758/* Override any GCC internal prototype to avoid an error.
52759   Use char because int might match the return type of a GCC
52760   builtin and then its argument prototype would still apply.  */
52761#ifdef __cplusplus
52762extern "C"
52763#endif
52764char EVP_DigestFinal_ex ();
52765int
52766main ()
52767{
52768return EVP_DigestFinal_ex ();
52769  ;
52770  return 0;
52771}
52772_ACEOF
52773if ac_fn_c_try_link "$LINENO"; then :
52774  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
52775else
52776  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
52777fi
52778rm -f core conftest.err conftest.$ac_objext \
52779    conftest$ac_exeext conftest.$ac_ext
52780LIBS=$ac_check_lib_save_LIBS
52781fi
52782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
52783$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
52784if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
52785  ac_cv_libcrypto_dummy=yes
52786else
52787  ac_cv_libcrypto_evp_md=no
52788fi
52789
52790
52791  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
52792  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52794as_fn_error 1 "Missing OpenSSL EVP MD support
52795See \`config.log' for more details" "$LINENO" 5; }
52796
52797fi
52798
52799  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
52800
52801$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
52802
52803
52804fi
52805
52806  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
52807
52808$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
52809
52810
52811fi
52812
52813fi
52814
52815    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
52816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha256 in -lcrypto" >&5
52817$as_echo_n "checking for EVP_sha256 in -lcrypto... " >&6; }
52818if ${ac_cv_lib_crypto_EVP_sha256+:} false; then :
52819  $as_echo_n "(cached) " >&6
52820else
52821  ac_check_lib_save_LIBS=$LIBS
52822LIBS="-lcrypto  $LIBS"
52823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52824/* end confdefs.h.  */
52825
52826/* Override any GCC internal prototype to avoid an error.
52827   Use char because int might match the return type of a GCC
52828   builtin and then its argument prototype would still apply.  */
52829#ifdef __cplusplus
52830extern "C"
52831#endif
52832char EVP_sha256 ();
52833int
52834main ()
52835{
52836return EVP_sha256 ();
52837  ;
52838  return 0;
52839}
52840_ACEOF
52841if ac_fn_c_try_link "$LINENO"; then :
52842  ac_cv_lib_crypto_EVP_sha256=yes
52843else
52844  ac_cv_lib_crypto_EVP_sha256=no
52845fi
52846rm -f core conftest.err conftest.$ac_objext \
52847    conftest$ac_exeext conftest.$ac_ext
52848LIBS=$ac_check_lib_save_LIBS
52849fi
52850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha256" >&5
52851$as_echo "$ac_cv_lib_crypto_EVP_sha256" >&6; }
52852if test "x$ac_cv_lib_crypto_EVP_sha256" = xyes; then :
52853  ac_cv_libcrypto_sha256=libcrypto_evp
52854else
52855  ac_cv_libcrypto_sha256=no
52856fi
52857
52858
52859  if test "x$ac_cv_libcrypto_sha256" = xlibcrypto_evp; then :
52860
52861$as_echo "#define HAVE_EVP_SHA256 1" >>confdefs.h
52862
52863
52864fi
52865
52866fi
52867
52868    if test "x$ac_cv_libcrypto_sha256" = xno; then :
52869  for ac_header in openssl/sha.h
52870do :
52871  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
52872if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
52873  cat >>confdefs.h <<_ACEOF
52874#define HAVE_OPENSSL_SHA_H 1
52875_ACEOF
52876
52877fi
52878
52879done
52880
52881
52882  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
52883  ac_cv_libcrypto_sha256=no
52884else
52885  ac_cv_libcrypto_sha256=libcrypto
52886
52887    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Init in -lcrypto" >&5
52888$as_echo_n "checking for SHA256_Init in -lcrypto... " >&6; }
52889if ${ac_cv_lib_crypto_SHA256_Init+:} false; then :
52890  $as_echo_n "(cached) " >&6
52891else
52892  ac_check_lib_save_LIBS=$LIBS
52893LIBS="-lcrypto  $LIBS"
52894cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52895/* end confdefs.h.  */
52896
52897/* Override any GCC internal prototype to avoid an error.
52898   Use char because int might match the return type of a GCC
52899   builtin and then its argument prototype would still apply.  */
52900#ifdef __cplusplus
52901extern "C"
52902#endif
52903char SHA256_Init ();
52904int
52905main ()
52906{
52907return SHA256_Init ();
52908  ;
52909  return 0;
52910}
52911_ACEOF
52912if ac_fn_c_try_link "$LINENO"; then :
52913  ac_cv_lib_crypto_SHA256_Init=yes
52914else
52915  ac_cv_lib_crypto_SHA256_Init=no
52916fi
52917rm -f core conftest.err conftest.$ac_objext \
52918    conftest$ac_exeext conftest.$ac_ext
52919LIBS=$ac_check_lib_save_LIBS
52920fi
52921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Init" >&5
52922$as_echo "$ac_cv_lib_crypto_SHA256_Init" >&6; }
52923if test "x$ac_cv_lib_crypto_SHA256_Init" = xyes; then :
52924  ac_cv_libcrypto_dummy=yes
52925else
52926  ac_cv_libcrypto_sha256=no
52927fi
52928
52929    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Update in -lcrypto" >&5
52930$as_echo_n "checking for SHA256_Update in -lcrypto... " >&6; }
52931if ${ac_cv_lib_crypto_SHA256_Update+:} false; then :
52932  $as_echo_n "(cached) " >&6
52933else
52934  ac_check_lib_save_LIBS=$LIBS
52935LIBS="-lcrypto  $LIBS"
52936cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52937/* end confdefs.h.  */
52938
52939/* Override any GCC internal prototype to avoid an error.
52940   Use char because int might match the return type of a GCC
52941   builtin and then its argument prototype would still apply.  */
52942#ifdef __cplusplus
52943extern "C"
52944#endif
52945char SHA256_Update ();
52946int
52947main ()
52948{
52949return SHA256_Update ();
52950  ;
52951  return 0;
52952}
52953_ACEOF
52954if ac_fn_c_try_link "$LINENO"; then :
52955  ac_cv_lib_crypto_SHA256_Update=yes
52956else
52957  ac_cv_lib_crypto_SHA256_Update=no
52958fi
52959rm -f core conftest.err conftest.$ac_objext \
52960    conftest$ac_exeext conftest.$ac_ext
52961LIBS=$ac_check_lib_save_LIBS
52962fi
52963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Update" >&5
52964$as_echo "$ac_cv_lib_crypto_SHA256_Update" >&6; }
52965if test "x$ac_cv_lib_crypto_SHA256_Update" = xyes; then :
52966  ac_cv_libcrypto_dummy=yes
52967else
52968  ac_cv_libcrypto_sha256=no
52969fi
52970
52971    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256_Final in -lcrypto" >&5
52972$as_echo_n "checking for SHA256_Final in -lcrypto... " >&6; }
52973if ${ac_cv_lib_crypto_SHA256_Final+:} false; then :
52974  $as_echo_n "(cached) " >&6
52975else
52976  ac_check_lib_save_LIBS=$LIBS
52977LIBS="-lcrypto  $LIBS"
52978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52979/* end confdefs.h.  */
52980
52981/* Override any GCC internal prototype to avoid an error.
52982   Use char because int might match the return type of a GCC
52983   builtin and then its argument prototype would still apply.  */
52984#ifdef __cplusplus
52985extern "C"
52986#endif
52987char SHA256_Final ();
52988int
52989main ()
52990{
52991return SHA256_Final ();
52992  ;
52993  return 0;
52994}
52995_ACEOF
52996if ac_fn_c_try_link "$LINENO"; then :
52997  ac_cv_lib_crypto_SHA256_Final=yes
52998else
52999  ac_cv_lib_crypto_SHA256_Final=no
53000fi
53001rm -f core conftest.err conftest.$ac_objext \
53002    conftest$ac_exeext conftest.$ac_ext
53003LIBS=$ac_check_lib_save_LIBS
53004fi
53005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256_Final" >&5
53006$as_echo "$ac_cv_lib_crypto_SHA256_Final" >&6; }
53007if test "x$ac_cv_lib_crypto_SHA256_Final" = xyes; then :
53008  ac_cv_libcrypto_dummy=yes
53009else
53010  ac_cv_libcrypto_sha256=no
53011fi
53012
53013
53014fi
53015
53016  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha256" = xlibcrypto; then :
53017  ac_cv_libcrypto=yes
53018fi
53019
53020fi
53021
53022    ac_cv_libcrypto_sha512=no
53023
53024    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 :
53025  ac_cv_libcrypto_evp_md=yes
53026
53027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
53028$as_echo_n "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
53029if ${ac_cv_lib_crypto_EVP_MD_CTX_new+:} false; then :
53030  $as_echo_n "(cached) " >&6
53031else
53032  ac_check_lib_save_LIBS=$LIBS
53033LIBS="-lcrypto  $LIBS"
53034cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53035/* end confdefs.h.  */
53036
53037/* Override any GCC internal prototype to avoid an error.
53038   Use char because int might match the return type of a GCC
53039   builtin and then its argument prototype would still apply.  */
53040#ifdef __cplusplus
53041extern "C"
53042#endif
53043char EVP_MD_CTX_new ();
53044int
53045main ()
53046{
53047return EVP_MD_CTX_new ();
53048  ;
53049  return 0;
53050}
53051_ACEOF
53052if ac_fn_c_try_link "$LINENO"; then :
53053  ac_cv_lib_crypto_EVP_MD_CTX_new=yes
53054else
53055  ac_cv_lib_crypto_EVP_MD_CTX_new=no
53056fi
53057rm -f core conftest.err conftest.$ac_objext \
53058    conftest$ac_exeext conftest.$ac_ext
53059LIBS=$ac_check_lib_save_LIBS
53060fi
53061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
53062$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_new" >&6; }
53063if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
53064  ac_cv_libcrypto_dummy=yes
53065else
53066  ac_cv_libcrypto_dummy=no
53067fi
53068
53069
53070  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_new" = xyes; then :
53071      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_free in -lcrypto" >&5
53072$as_echo_n "checking for EVP_MD_CTX_free in -lcrypto... " >&6; }
53073if ${ac_cv_lib_crypto_EVP_MD_CTX_free+:} false; then :
53074  $as_echo_n "(cached) " >&6
53075else
53076  ac_check_lib_save_LIBS=$LIBS
53077LIBS="-lcrypto  $LIBS"
53078cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53079/* end confdefs.h.  */
53080
53081/* Override any GCC internal prototype to avoid an error.
53082   Use char because int might match the return type of a GCC
53083   builtin and then its argument prototype would still apply.  */
53084#ifdef __cplusplus
53085extern "C"
53086#endif
53087char EVP_MD_CTX_free ();
53088int
53089main ()
53090{
53091return EVP_MD_CTX_free ();
53092  ;
53093  return 0;
53094}
53095_ACEOF
53096if ac_fn_c_try_link "$LINENO"; then :
53097  ac_cv_lib_crypto_EVP_MD_CTX_free=yes
53098else
53099  ac_cv_lib_crypto_EVP_MD_CTX_free=no
53100fi
53101rm -f core conftest.err conftest.$ac_objext \
53102    conftest$ac_exeext conftest.$ac_ext
53103LIBS=$ac_check_lib_save_LIBS
53104fi
53105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_free" >&5
53106$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_free" >&6; }
53107if test "x$ac_cv_lib_crypto_EVP_MD_CTX_free" = xyes; then :
53108  ac_cv_libcrypto_dummy=yes
53109else
53110  ac_cv_libcrypto_evp_md=no
53111fi
53112
53113
53114else
53115      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_init in -lcrypto" >&5
53116$as_echo_n "checking for EVP_MD_CTX_init in -lcrypto... " >&6; }
53117if ${ac_cv_lib_crypto_EVP_MD_CTX_init+:} false; then :
53118  $as_echo_n "(cached) " >&6
53119else
53120  ac_check_lib_save_LIBS=$LIBS
53121LIBS="-lcrypto  $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 EVP_MD_CTX_init ();
53132int
53133main ()
53134{
53135return EVP_MD_CTX_init ();
53136  ;
53137  return 0;
53138}
53139_ACEOF
53140if ac_fn_c_try_link "$LINENO"; then :
53141  ac_cv_lib_crypto_EVP_MD_CTX_init=yes
53142else
53143  ac_cv_lib_crypto_EVP_MD_CTX_init=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_crypto_EVP_MD_CTX_init" >&5
53150$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_init" >&6; }
53151if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
53152  ac_cv_libcrypto_dummy=yes
53153else
53154  ac_cv_libcrypto_evp_md=no
53155fi
53156
53157    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_cleanup in -lcrypto" >&5
53158$as_echo_n "checking for EVP_MD_CTX_cleanup in -lcrypto... " >&6; }
53159if ${ac_cv_lib_crypto_EVP_MD_CTX_cleanup+:} false; then :
53160  $as_echo_n "(cached) " >&6
53161else
53162  ac_check_lib_save_LIBS=$LIBS
53163LIBS="-lcrypto  $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 EVP_MD_CTX_cleanup ();
53174int
53175main ()
53176{
53177return EVP_MD_CTX_cleanup ();
53178  ;
53179  return 0;
53180}
53181_ACEOF
53182if ac_fn_c_try_link "$LINENO"; then :
53183  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=yes
53184else
53185  ac_cv_lib_crypto_EVP_MD_CTX_cleanup=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_crypto_EVP_MD_CTX_cleanup" >&5
53192$as_echo "$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" >&6; }
53193if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
53194  ac_cv_libcrypto_dummy=yes
53195else
53196  ac_cv_libcrypto_evp_md=no
53197fi
53198
53199
53200    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
53201$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
53202if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
53203  $as_echo_n "(cached) " >&6
53204else
53205  ac_check_lib_save_LIBS=$LIBS
53206LIBS="-lcrypto  $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 ERR_remove_thread_state ();
53217int
53218main ()
53219{
53220return ERR_remove_thread_state ();
53221  ;
53222  return 0;
53223}
53224_ACEOF
53225if ac_fn_c_try_link "$LINENO"; then :
53226  ac_cv_lib_crypto_ERR_remove_thread_state=yes
53227else
53228  ac_cv_lib_crypto_ERR_remove_thread_state=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_crypto_ERR_remove_thread_state" >&5
53235$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
53236if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
53237  ac_cv_libcrypto_dummy=yes
53238else
53239  ac_cv_libcrypto_evp_md=no
53240fi
53241
53242
53243fi
53244
53245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestInit_ex in -lcrypto" >&5
53246$as_echo_n "checking for EVP_DigestInit_ex in -lcrypto... " >&6; }
53247if ${ac_cv_lib_crypto_EVP_DigestInit_ex+:} false; then :
53248  $as_echo_n "(cached) " >&6
53249else
53250  ac_check_lib_save_LIBS=$LIBS
53251LIBS="-lcrypto  $LIBS"
53252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53253/* end confdefs.h.  */
53254
53255/* Override any GCC internal prototype to avoid an error.
53256   Use char because int might match the return type of a GCC
53257   builtin and then its argument prototype would still apply.  */
53258#ifdef __cplusplus
53259extern "C"
53260#endif
53261char EVP_DigestInit_ex ();
53262int
53263main ()
53264{
53265return EVP_DigestInit_ex ();
53266  ;
53267  return 0;
53268}
53269_ACEOF
53270if ac_fn_c_try_link "$LINENO"; then :
53271  ac_cv_lib_crypto_EVP_DigestInit_ex=yes
53272else
53273  ac_cv_lib_crypto_EVP_DigestInit_ex=no
53274fi
53275rm -f core conftest.err conftest.$ac_objext \
53276    conftest$ac_exeext conftest.$ac_ext
53277LIBS=$ac_check_lib_save_LIBS
53278fi
53279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestInit_ex" >&5
53280$as_echo "$ac_cv_lib_crypto_EVP_DigestInit_ex" >&6; }
53281if test "x$ac_cv_lib_crypto_EVP_DigestInit_ex" = xyes; then :
53282  ac_cv_libcrypto_dummy=yes
53283else
53284  ac_cv_libcrypto_evp_md=no
53285fi
53286
53287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5
53288$as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; }
53289if ${ac_cv_lib_crypto_EVP_DigestUpdate+:} false; then :
53290  $as_echo_n "(cached) " >&6
53291else
53292  ac_check_lib_save_LIBS=$LIBS
53293LIBS="-lcrypto  $LIBS"
53294cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53295/* end confdefs.h.  */
53296
53297/* Override any GCC internal prototype to avoid an error.
53298   Use char because int might match the return type of a GCC
53299   builtin and then its argument prototype would still apply.  */
53300#ifdef __cplusplus
53301extern "C"
53302#endif
53303char EVP_DigestUpdate ();
53304int
53305main ()
53306{
53307return EVP_DigestUpdate ();
53308  ;
53309  return 0;
53310}
53311_ACEOF
53312if ac_fn_c_try_link "$LINENO"; then :
53313  ac_cv_lib_crypto_EVP_DigestUpdate=yes
53314else
53315  ac_cv_lib_crypto_EVP_DigestUpdate=no
53316fi
53317rm -f core conftest.err conftest.$ac_objext \
53318    conftest$ac_exeext conftest.$ac_ext
53319LIBS=$ac_check_lib_save_LIBS
53320fi
53321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5
53322$as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; }
53323if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = xyes; then :
53324  ac_cv_libcrypto_dummy=yes
53325else
53326  ac_cv_libcrypto_evp_md=no
53327fi
53328
53329  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestFinal_ex in -lcrypto" >&5
53330$as_echo_n "checking for EVP_DigestFinal_ex in -lcrypto... " >&6; }
53331if ${ac_cv_lib_crypto_EVP_DigestFinal_ex+:} false; then :
53332  $as_echo_n "(cached) " >&6
53333else
53334  ac_check_lib_save_LIBS=$LIBS
53335LIBS="-lcrypto  $LIBS"
53336cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53337/* end confdefs.h.  */
53338
53339/* Override any GCC internal prototype to avoid an error.
53340   Use char because int might match the return type of a GCC
53341   builtin and then its argument prototype would still apply.  */
53342#ifdef __cplusplus
53343extern "C"
53344#endif
53345char EVP_DigestFinal_ex ();
53346int
53347main ()
53348{
53349return EVP_DigestFinal_ex ();
53350  ;
53351  return 0;
53352}
53353_ACEOF
53354if ac_fn_c_try_link "$LINENO"; then :
53355  ac_cv_lib_crypto_EVP_DigestFinal_ex=yes
53356else
53357  ac_cv_lib_crypto_EVP_DigestFinal_ex=no
53358fi
53359rm -f core conftest.err conftest.$ac_objext \
53360    conftest$ac_exeext conftest.$ac_ext
53361LIBS=$ac_check_lib_save_LIBS
53362fi
53363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestFinal_ex" >&5
53364$as_echo "$ac_cv_lib_crypto_EVP_DigestFinal_ex" >&6; }
53365if test "x$ac_cv_lib_crypto_EVP_DigestFinal_ex" = xyes; then :
53366  ac_cv_libcrypto_dummy=yes
53367else
53368  ac_cv_libcrypto_evp_md=no
53369fi
53370
53371
53372  if test "x$ac_cv_enable_openssl_evp_md" = xyes && "x$ac_cv_libcrypto_evp_md" = xno; then :
53373  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53374$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53375as_fn_error 1 "Missing OpenSSL EVP MD support
53376See \`config.log' for more details" "$LINENO" 5; }
53377
53378fi
53379
53380  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_init" = xyes; then :
53381
53382$as_echo "#define HAVE_EVP_MD_CTX_INIT 1" >>confdefs.h
53383
53384
53385fi
53386
53387  if test "x$ac_cv_lib_crypto_EVP_MD_CTX_cleanup" = xyes; then :
53388
53389$as_echo "#define HAVE_EVP_MD_CTX_CLEANUP 1" >>confdefs.h
53390
53391
53392fi
53393
53394fi
53395
53396    if test "x$ac_cv_libcrypto_evp_md" = xyes; then :
53397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_sha512 in -lcrypto" >&5
53398$as_echo_n "checking for EVP_sha512 in -lcrypto... " >&6; }
53399if ${ac_cv_lib_crypto_EVP_sha512+:} false; then :
53400  $as_echo_n "(cached) " >&6
53401else
53402  ac_check_lib_save_LIBS=$LIBS
53403LIBS="-lcrypto  $LIBS"
53404cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53405/* end confdefs.h.  */
53406
53407/* Override any GCC internal prototype to avoid an error.
53408   Use char because int might match the return type of a GCC
53409   builtin and then its argument prototype would still apply.  */
53410#ifdef __cplusplus
53411extern "C"
53412#endif
53413char EVP_sha512 ();
53414int
53415main ()
53416{
53417return EVP_sha512 ();
53418  ;
53419  return 0;
53420}
53421_ACEOF
53422if ac_fn_c_try_link "$LINENO"; then :
53423  ac_cv_lib_crypto_EVP_sha512=yes
53424else
53425  ac_cv_lib_crypto_EVP_sha512=no
53426fi
53427rm -f core conftest.err conftest.$ac_objext \
53428    conftest$ac_exeext conftest.$ac_ext
53429LIBS=$ac_check_lib_save_LIBS
53430fi
53431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_sha512" >&5
53432$as_echo "$ac_cv_lib_crypto_EVP_sha512" >&6; }
53433if test "x$ac_cv_lib_crypto_EVP_sha512" = xyes; then :
53434  ac_cv_libcrypto_sha512=libcrypto_evp
53435else
53436  ac_cv_libcrypto_sha512=no
53437fi
53438
53439
53440  if test "x$ac_cv_libcrypto_sha512" = xlibcrypto_evp; then :
53441
53442$as_echo "#define HAVE_EVP_SHA512 1" >>confdefs.h
53443
53444
53445fi
53446
53447fi
53448
53449    if test "x$ac_cv_libcrypto_sha512" = xno; then :
53450  for ac_header in openssl/sha.h
53451do :
53452  ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default"
53453if test "x$ac_cv_header_openssl_sha_h" = xyes; then :
53454  cat >>confdefs.h <<_ACEOF
53455#define HAVE_OPENSSL_SHA_H 1
53456_ACEOF
53457
53458fi
53459
53460done
53461
53462
53463  if test "x$ac_cv_header_openssl_sha_h" = xno; then :
53464  ac_cv_libcrypto_sha512=no
53465else
53466  ac_cv_libcrypto_sha512=libcrypto
53467
53468    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Init in -lcrypto" >&5
53469$as_echo_n "checking for SHA512_Init in -lcrypto... " >&6; }
53470if ${ac_cv_lib_crypto_SHA512_Init+:} false; then :
53471  $as_echo_n "(cached) " >&6
53472else
53473  ac_check_lib_save_LIBS=$LIBS
53474LIBS="-lcrypto  $LIBS"
53475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53476/* end confdefs.h.  */
53477
53478/* Override any GCC internal prototype to avoid an error.
53479   Use char because int might match the return type of a GCC
53480   builtin and then its argument prototype would still apply.  */
53481#ifdef __cplusplus
53482extern "C"
53483#endif
53484char SHA512_Init ();
53485int
53486main ()
53487{
53488return SHA512_Init ();
53489  ;
53490  return 0;
53491}
53492_ACEOF
53493if ac_fn_c_try_link "$LINENO"; then :
53494  ac_cv_lib_crypto_SHA512_Init=yes
53495else
53496  ac_cv_lib_crypto_SHA512_Init=no
53497fi
53498rm -f core conftest.err conftest.$ac_objext \
53499    conftest$ac_exeext conftest.$ac_ext
53500LIBS=$ac_check_lib_save_LIBS
53501fi
53502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Init" >&5
53503$as_echo "$ac_cv_lib_crypto_SHA512_Init" >&6; }
53504if test "x$ac_cv_lib_crypto_SHA512_Init" = xyes; then :
53505  ac_cv_libcrypto_dummy=yes
53506else
53507  ac_cv_libcrypto_sha512=no
53508fi
53509
53510    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Update in -lcrypto" >&5
53511$as_echo_n "checking for SHA512_Update in -lcrypto... " >&6; }
53512if ${ac_cv_lib_crypto_SHA512_Update+:} false; then :
53513  $as_echo_n "(cached) " >&6
53514else
53515  ac_check_lib_save_LIBS=$LIBS
53516LIBS="-lcrypto  $LIBS"
53517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53518/* end confdefs.h.  */
53519
53520/* Override any GCC internal prototype to avoid an error.
53521   Use char because int might match the return type of a GCC
53522   builtin and then its argument prototype would still apply.  */
53523#ifdef __cplusplus
53524extern "C"
53525#endif
53526char SHA512_Update ();
53527int
53528main ()
53529{
53530return SHA512_Update ();
53531  ;
53532  return 0;
53533}
53534_ACEOF
53535if ac_fn_c_try_link "$LINENO"; then :
53536  ac_cv_lib_crypto_SHA512_Update=yes
53537else
53538  ac_cv_lib_crypto_SHA512_Update=no
53539fi
53540rm -f core conftest.err conftest.$ac_objext \
53541    conftest$ac_exeext conftest.$ac_ext
53542LIBS=$ac_check_lib_save_LIBS
53543fi
53544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Update" >&5
53545$as_echo "$ac_cv_lib_crypto_SHA512_Update" >&6; }
53546if test "x$ac_cv_lib_crypto_SHA512_Update" = xyes; then :
53547  ac_cv_libcrypto_dummy=yes
53548else
53549  ac_cv_libcrypto_sha512=no
53550fi
53551
53552    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512_Final in -lcrypto" >&5
53553$as_echo_n "checking for SHA512_Final in -lcrypto... " >&6; }
53554if ${ac_cv_lib_crypto_SHA512_Final+:} false; then :
53555  $as_echo_n "(cached) " >&6
53556else
53557  ac_check_lib_save_LIBS=$LIBS
53558LIBS="-lcrypto  $LIBS"
53559cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53560/* end confdefs.h.  */
53561
53562/* Override any GCC internal prototype to avoid an error.
53563   Use char because int might match the return type of a GCC
53564   builtin and then its argument prototype would still apply.  */
53565#ifdef __cplusplus
53566extern "C"
53567#endif
53568char SHA512_Final ();
53569int
53570main ()
53571{
53572return SHA512_Final ();
53573  ;
53574  return 0;
53575}
53576_ACEOF
53577if ac_fn_c_try_link "$LINENO"; then :
53578  ac_cv_lib_crypto_SHA512_Final=yes
53579else
53580  ac_cv_lib_crypto_SHA512_Final=no
53581fi
53582rm -f core conftest.err conftest.$ac_objext \
53583    conftest$ac_exeext conftest.$ac_ext
53584LIBS=$ac_check_lib_save_LIBS
53585fi
53586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512_Final" >&5
53587$as_echo "$ac_cv_lib_crypto_SHA512_Final" >&6; }
53588if test "x$ac_cv_lib_crypto_SHA512_Final" = xyes; then :
53589  ac_cv_libcrypto_dummy=yes
53590else
53591  ac_cv_libcrypto_sha512=no
53592fi
53593
53594
53595fi
53596
53597  if test "x$ac_cv_libcrypto" = xno && test "x$ac_cv_libcrypto_sha512" = xlibcrypto; then :
53598  ac_cv_libcrypto=yes
53599fi
53600
53601fi
53602
53603fi
53604
53605    if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_md5" = xno; then :
53606  ac_cv_libhmac_md5=local
53607else
53608  ac_cv_libhmac_md5=$ac_cv_libcrypto_md5
53609fi
53610
53611  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha1" = xno; then :
53612  ac_cv_libhmac_sha1=local
53613else
53614  ac_cv_libhmac_sha1=$ac_cv_libcrypto_sha1
53615fi
53616
53617  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha224" = xno; then :
53618  ac_cv_libhmac_sha224=local
53619else
53620  ac_cv_libhmac_sha224=$ac_cv_libcrypto_sha224
53621fi
53622
53623  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha256" = xno; then :
53624  ac_cv_libhmac_sha256=local
53625else
53626  ac_cv_libhmac_sha256=$ac_cv_libcrypto_sha256
53627fi
53628
53629  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_sha512" = xno; then :
53630  ac_cv_libhmac_sha512=local
53631else
53632  ac_cv_libhmac_sha512=$ac_cv_libcrypto_sha512
53633fi
53634
53635  ac_cv_libhmac_CPPFLAGS="-I../libhmac";
53636  ac_cv_libhmac_LIBADD="../libhmac/libhmac.la";
53637
53638  ac_cv_libhmac=local
53639
53640
53641
53642$as_echo "#define HAVE_LOCAL_LIBHMAC 1" >>confdefs.h
53643
53644    HAVE_LOCAL_LIBHMAC=1
53645
53646
53647fi
53648
53649   if test "x$ac_cv_libhmac" = xlocal; then
53650  HAVE_LOCAL_LIBHMAC_TRUE=
53651  HAVE_LOCAL_LIBHMAC_FALSE='#'
53652else
53653  HAVE_LOCAL_LIBHMAC_TRUE='#'
53654  HAVE_LOCAL_LIBHMAC_FALSE=
53655fi
53656
53657  if test "x$ac_cv_libhmac_CPPFLAGS" != "x"; then :
53658  LIBHMAC_CPPFLAGS=$ac_cv_libhmac_CPPFLAGS
53659
53660
53661fi
53662  if test "x$ac_cv_libhmac_LIBADD" != "x"; then :
53663  LIBHMAC_LIBADD=$ac_cv_libhmac_LIBADD
53664
53665
53666fi
53667
53668  if test "x$ac_cv_libhmac" = xyes; then :
53669  ax_libhmac_pc_libs_private=-lhmac
53670
53671
53672fi
53673
53674  if test "x$ac_cv_libhmac" = xyes; then :
53675  ax_libhmac_spec_requires=libhmac
53676
53677    ax_libhmac_spec_build_requires=libhmac-devel
53678
53679
53680fi
53681
53682
53683
53684
53685# Check whether --with-libcaes was given.
53686if test "${with_libcaes+set}" = set; then :
53687  withval=$with_libcaes; ac_cv_with_libcaes=$withval
53688else
53689  ac_cv_with_libcaes=auto-detect
53690fi
53691
53692    { $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
53693$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; }
53694if ${ac_cv_with_libcaes+:} false; then :
53695  $as_echo_n "(cached) " >&6
53696else
53697  ac_cv_with_libcaes=auto-detect
53698fi
53699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcaes" >&5
53700$as_echo "$ac_cv_with_libcaes" >&6; }
53701
53702    if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcaes" = xno; then :
53703  ac_cv_libcaes=no
53704else
53705  ac_cv_libcaes=check
53706        if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect; then :
53707  if test -d "$ac_cv_with_libcaes"; then :
53708  CFLAGS="$CFLAGS -I${ac_cv_with_libcaes}/include"
53709        LDFLAGS="$LDFLAGS -L${ac_cv_with_libcaes}/lib"
53710else
53711  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53712$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53713as_fn_error 1 "no such directory: $ac_cv_with_libcaes
53714See \`config.log' for more details" "$LINENO" 5; }
53715
53716fi
53717
53718else
53719        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
53720
53721pkg_failed=no
53722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes" >&5
53723$as_echo_n "checking for libcaes... " >&6; }
53724
53725if test -n "$libcaes_CFLAGS"; then
53726    pkg_cv_libcaes_CFLAGS="$libcaes_CFLAGS"
53727 elif test -n "$PKG_CONFIG"; then
53728    if test -n "$PKG_CONFIG" && \
53729    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5
53730  ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5
53731  ac_status=$?
53732  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53733  test $ac_status = 0; }; then
53734  pkg_cv_libcaes_CFLAGS=`$PKG_CONFIG --cflags "libcaes >= 20161025" 2>/dev/null`
53735		      test "x$?" != "x0" && pkg_failed=yes
53736else
53737  pkg_failed=yes
53738fi
53739 else
53740    pkg_failed=untried
53741fi
53742if test -n "$libcaes_LIBS"; then
53743    pkg_cv_libcaes_LIBS="$libcaes_LIBS"
53744 elif test -n "$PKG_CONFIG"; then
53745    if test -n "$PKG_CONFIG" && \
53746    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5
53747  ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5
53748  ac_status=$?
53749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53750  test $ac_status = 0; }; then
53751  pkg_cv_libcaes_LIBS=`$PKG_CONFIG --libs "libcaes >= 20161025" 2>/dev/null`
53752		      test "x$?" != "x0" && pkg_failed=yes
53753else
53754  pkg_failed=yes
53755fi
53756 else
53757    pkg_failed=untried
53758fi
53759
53760
53761
53762if test $pkg_failed = yes; then
53763   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
53764$as_echo "no" >&6; }
53765
53766if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53767        _pkg_short_errors_supported=yes
53768else
53769        _pkg_short_errors_supported=no
53770fi
53771        if test $_pkg_short_errors_supported = yes; then
53772	        libcaes_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcaes >= 20161025" 2>&1`
53773        else
53774	        libcaes_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcaes >= 20161025" 2>&1`
53775        fi
53776	# Put the nasty error message in config.log where it belongs
53777	echo "$libcaes_PKG_ERRORS" >&5
53778
53779	ac_cv_libcaes=check
53780elif test $pkg_failed = untried; then
53781     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
53782$as_echo "no" >&6; }
53783	ac_cv_libcaes=check
53784else
53785	libcaes_CFLAGS=$pkg_cv_libcaes_CFLAGS
53786	libcaes_LIBS=$pkg_cv_libcaes_LIBS
53787        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
53788$as_echo "yes" >&6; }
53789	ac_cv_libcaes=yes
53790fi
53791
53792fi
53793      if test "x$ac_cv_libcaes" = xyes; then :
53794  ac_cv_libcaes_CPPFLAGS="$pkg_cv_libcaes_CFLAGS"
53795        ac_cv_libcaes_LIBADD="$pkg_cv_libcaes_LIBS"
53796fi
53797
53798fi
53799
53800    if test "x$ac_cv_libcaes" = xcheck; then :
53801        for ac_header in libcaes.h
53802do :
53803  ac_fn_c_check_header_mongrel "$LINENO" "libcaes.h" "ac_cv_header_libcaes_h" "$ac_includes_default"
53804if test "x$ac_cv_header_libcaes_h" = xyes; then :
53805  cat >>confdefs.h <<_ACEOF
53806#define HAVE_LIBCAES_H 1
53807_ACEOF
53808
53809fi
53810
53811done
53812
53813
53814      if test "x$ac_cv_header_libcaes_h" = xno; then :
53815  ac_cv_libcaes=no
53816else
53817          ac_cv_libcaes=yes
53818
53819        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_get_version in -lcaes" >&5
53820$as_echo_n "checking for libcaes_get_version in -lcaes... " >&6; }
53821if ${ac_cv_lib_caes_libcaes_get_version+:} false; then :
53822  $as_echo_n "(cached) " >&6
53823else
53824  ac_check_lib_save_LIBS=$LIBS
53825LIBS="-lcaes  $LIBS"
53826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53827/* end confdefs.h.  */
53828
53829/* Override any GCC internal prototype to avoid an error.
53830   Use char because int might match the return type of a GCC
53831   builtin and then its argument prototype would still apply.  */
53832#ifdef __cplusplus
53833extern "C"
53834#endif
53835char libcaes_get_version ();
53836int
53837main ()
53838{
53839return libcaes_get_version ();
53840  ;
53841  return 0;
53842}
53843_ACEOF
53844if ac_fn_c_try_link "$LINENO"; then :
53845  ac_cv_lib_caes_libcaes_get_version=yes
53846else
53847  ac_cv_lib_caes_libcaes_get_version=no
53848fi
53849rm -f core conftest.err conftest.$ac_objext \
53850    conftest$ac_exeext conftest.$ac_ext
53851LIBS=$ac_check_lib_save_LIBS
53852fi
53853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_get_version" >&5
53854$as_echo "$ac_cv_lib_caes_libcaes_get_version" >&6; }
53855if test "x$ac_cv_lib_caes_libcaes_get_version" = xyes; then :
53856  ac_cv_libcaes_dummy=yes
53857else
53858  ac_cv_libcaes=no
53859fi
53860
53861
53862                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_initialize in -lcaes" >&5
53863$as_echo_n "checking for libcaes_context_initialize in -lcaes... " >&6; }
53864if ${ac_cv_lib_caes_libcaes_context_initialize+:} false; then :
53865  $as_echo_n "(cached) " >&6
53866else
53867  ac_check_lib_save_LIBS=$LIBS
53868LIBS="-lcaes  $LIBS"
53869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53870/* end confdefs.h.  */
53871
53872/* Override any GCC internal prototype to avoid an error.
53873   Use char because int might match the return type of a GCC
53874   builtin and then its argument prototype would still apply.  */
53875#ifdef __cplusplus
53876extern "C"
53877#endif
53878char libcaes_context_initialize ();
53879int
53880main ()
53881{
53882return libcaes_context_initialize ();
53883  ;
53884  return 0;
53885}
53886_ACEOF
53887if ac_fn_c_try_link "$LINENO"; then :
53888  ac_cv_lib_caes_libcaes_context_initialize=yes
53889else
53890  ac_cv_lib_caes_libcaes_context_initialize=no
53891fi
53892rm -f core conftest.err conftest.$ac_objext \
53893    conftest$ac_exeext conftest.$ac_ext
53894LIBS=$ac_check_lib_save_LIBS
53895fi
53896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_initialize" >&5
53897$as_echo "$ac_cv_lib_caes_libcaes_context_initialize" >&6; }
53898if test "x$ac_cv_lib_caes_libcaes_context_initialize" = xyes; then :
53899  ac_cv_libcaes_dummy=yes
53900else
53901  ac_cv_libcaes=no
53902fi
53903
53904        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_free in -lcaes" >&5
53905$as_echo_n "checking for libcaes_context_free in -lcaes... " >&6; }
53906if ${ac_cv_lib_caes_libcaes_context_free+:} false; then :
53907  $as_echo_n "(cached) " >&6
53908else
53909  ac_check_lib_save_LIBS=$LIBS
53910LIBS="-lcaes  $LIBS"
53911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53912/* end confdefs.h.  */
53913
53914/* Override any GCC internal prototype to avoid an error.
53915   Use char because int might match the return type of a GCC
53916   builtin and then its argument prototype would still apply.  */
53917#ifdef __cplusplus
53918extern "C"
53919#endif
53920char libcaes_context_free ();
53921int
53922main ()
53923{
53924return libcaes_context_free ();
53925  ;
53926  return 0;
53927}
53928_ACEOF
53929if ac_fn_c_try_link "$LINENO"; then :
53930  ac_cv_lib_caes_libcaes_context_free=yes
53931else
53932  ac_cv_lib_caes_libcaes_context_free=no
53933fi
53934rm -f core conftest.err conftest.$ac_objext \
53935    conftest$ac_exeext conftest.$ac_ext
53936LIBS=$ac_check_lib_save_LIBS
53937fi
53938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_free" >&5
53939$as_echo "$ac_cv_lib_caes_libcaes_context_free" >&6; }
53940if test "x$ac_cv_lib_caes_libcaes_context_free" = xyes; then :
53941  ac_cv_libcaes_dummy=yes
53942else
53943  ac_cv_libcaes=no
53944fi
53945
53946        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_set_key in -lcaes" >&5
53947$as_echo_n "checking for libcaes_context_set_key in -lcaes... " >&6; }
53948if ${ac_cv_lib_caes_libcaes_context_set_key+:} false; then :
53949  $as_echo_n "(cached) " >&6
53950else
53951  ac_check_lib_save_LIBS=$LIBS
53952LIBS="-lcaes  $LIBS"
53953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53954/* end confdefs.h.  */
53955
53956/* Override any GCC internal prototype to avoid an error.
53957   Use char because int might match the return type of a GCC
53958   builtin and then its argument prototype would still apply.  */
53959#ifdef __cplusplus
53960extern "C"
53961#endif
53962char libcaes_context_set_key ();
53963int
53964main ()
53965{
53966return libcaes_context_set_key ();
53967  ;
53968  return 0;
53969}
53970_ACEOF
53971if ac_fn_c_try_link "$LINENO"; then :
53972  ac_cv_lib_caes_libcaes_context_set_key=yes
53973else
53974  ac_cv_lib_caes_libcaes_context_set_key=no
53975fi
53976rm -f core conftest.err conftest.$ac_objext \
53977    conftest$ac_exeext conftest.$ac_ext
53978LIBS=$ac_check_lib_save_LIBS
53979fi
53980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_set_key" >&5
53981$as_echo "$ac_cv_lib_caes_libcaes_context_set_key" >&6; }
53982if test "x$ac_cv_lib_caes_libcaes_context_set_key" = xyes; then :
53983  ac_cv_libcaes_dummy=yes
53984else
53985  ac_cv_libcaes=no
53986fi
53987
53988
53989                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_initialize in -lcaes" >&5
53990$as_echo_n "checking for libcaes_tweaked_context_initialize in -lcaes... " >&6; }
53991if ${ac_cv_lib_caes_libcaes_tweaked_context_initialize+:} false; then :
53992  $as_echo_n "(cached) " >&6
53993else
53994  ac_check_lib_save_LIBS=$LIBS
53995LIBS="-lcaes  $LIBS"
53996cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53997/* end confdefs.h.  */
53998
53999/* Override any GCC internal prototype to avoid an error.
54000   Use char because int might match the return type of a GCC
54001   builtin and then its argument prototype would still apply.  */
54002#ifdef __cplusplus
54003extern "C"
54004#endif
54005char libcaes_tweaked_context_initialize ();
54006int
54007main ()
54008{
54009return libcaes_tweaked_context_initialize ();
54010  ;
54011  return 0;
54012}
54013_ACEOF
54014if ac_fn_c_try_link "$LINENO"; then :
54015  ac_cv_lib_caes_libcaes_tweaked_context_initialize=yes
54016else
54017  ac_cv_lib_caes_libcaes_tweaked_context_initialize=no
54018fi
54019rm -f core conftest.err conftest.$ac_objext \
54020    conftest$ac_exeext conftest.$ac_ext
54021LIBS=$ac_check_lib_save_LIBS
54022fi
54023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&5
54024$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&6; }
54025if test "x$ac_cv_lib_caes_libcaes_tweaked_context_initialize" = xyes; then :
54026  ac_cv_libcaes_dummy=yes
54027else
54028  ac_cv_libcaes=no
54029fi
54030
54031        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_free in -lcaes" >&5
54032$as_echo_n "checking for libcaes_tweaked_context_free in -lcaes... " >&6; }
54033if ${ac_cv_lib_caes_libcaes_tweaked_context_free+:} false; then :
54034  $as_echo_n "(cached) " >&6
54035else
54036  ac_check_lib_save_LIBS=$LIBS
54037LIBS="-lcaes  $LIBS"
54038cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54039/* end confdefs.h.  */
54040
54041/* Override any GCC internal prototype to avoid an error.
54042   Use char because int might match the return type of a GCC
54043   builtin and then its argument prototype would still apply.  */
54044#ifdef __cplusplus
54045extern "C"
54046#endif
54047char libcaes_tweaked_context_free ();
54048int
54049main ()
54050{
54051return libcaes_tweaked_context_free ();
54052  ;
54053  return 0;
54054}
54055_ACEOF
54056if ac_fn_c_try_link "$LINENO"; then :
54057  ac_cv_lib_caes_libcaes_tweaked_context_free=yes
54058else
54059  ac_cv_lib_caes_libcaes_tweaked_context_free=no
54060fi
54061rm -f core conftest.err conftest.$ac_objext \
54062    conftest$ac_exeext conftest.$ac_ext
54063LIBS=$ac_check_lib_save_LIBS
54064fi
54065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_free" >&5
54066$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_free" >&6; }
54067if test "x$ac_cv_lib_caes_libcaes_tweaked_context_free" = xyes; then :
54068  ac_cv_libcaes_dummy=yes
54069else
54070  ac_cv_libcaes=no
54071fi
54072
54073        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_set_keys in -lcaes" >&5
54074$as_echo_n "checking for libcaes_tweaked_context_set_keys in -lcaes... " >&6; }
54075if ${ac_cv_lib_caes_libcaes_tweaked_context_set_keys+:} false; then :
54076  $as_echo_n "(cached) " >&6
54077else
54078  ac_check_lib_save_LIBS=$LIBS
54079LIBS="-lcaes  $LIBS"
54080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54081/* end confdefs.h.  */
54082
54083/* Override any GCC internal prototype to avoid an error.
54084   Use char because int might match the return type of a GCC
54085   builtin and then its argument prototype would still apply.  */
54086#ifdef __cplusplus
54087extern "C"
54088#endif
54089char libcaes_tweaked_context_set_keys ();
54090int
54091main ()
54092{
54093return libcaes_tweaked_context_set_keys ();
54094  ;
54095  return 0;
54096}
54097_ACEOF
54098if ac_fn_c_try_link "$LINENO"; then :
54099  ac_cv_lib_caes_libcaes_tweaked_context_set_keys=yes
54100else
54101  ac_cv_lib_caes_libcaes_tweaked_context_set_keys=no
54102fi
54103rm -f core conftest.err conftest.$ac_objext \
54104    conftest$ac_exeext conftest.$ac_ext
54105LIBS=$ac_check_lib_save_LIBS
54106fi
54107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&5
54108$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&6; }
54109if test "x$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" = xyes; then :
54110  ac_cv_libcaes_dummy=yes
54111else
54112  ac_cv_libcaes=no
54113fi
54114
54115
54116                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_cbc in -lcaes" >&5
54117$as_echo_n "checking for libcaes_crypt_cbc in -lcaes... " >&6; }
54118if ${ac_cv_lib_caes_libcaes_crypt_cbc+:} false; then :
54119  $as_echo_n "(cached) " >&6
54120else
54121  ac_check_lib_save_LIBS=$LIBS
54122LIBS="-lcaes  $LIBS"
54123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54124/* end confdefs.h.  */
54125
54126/* Override any GCC internal prototype to avoid an error.
54127   Use char because int might match the return type of a GCC
54128   builtin and then its argument prototype would still apply.  */
54129#ifdef __cplusplus
54130extern "C"
54131#endif
54132char libcaes_crypt_cbc ();
54133int
54134main ()
54135{
54136return libcaes_crypt_cbc ();
54137  ;
54138  return 0;
54139}
54140_ACEOF
54141if ac_fn_c_try_link "$LINENO"; then :
54142  ac_cv_lib_caes_libcaes_crypt_cbc=yes
54143else
54144  ac_cv_lib_caes_libcaes_crypt_cbc=no
54145fi
54146rm -f core conftest.err conftest.$ac_objext \
54147    conftest$ac_exeext conftest.$ac_ext
54148LIBS=$ac_check_lib_save_LIBS
54149fi
54150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_cbc" >&5
54151$as_echo "$ac_cv_lib_caes_libcaes_crypt_cbc" >&6; }
54152if test "x$ac_cv_lib_caes_libcaes_crypt_cbc" = xyes; then :
54153  ac_cv_libcaes_dummy=yes
54154else
54155  ac_cv_libcaes=no
54156fi
54157
54158        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ccm in -lcaes" >&5
54159$as_echo_n "checking for libcaes_crypt_ccm in -lcaes... " >&6; }
54160if ${ac_cv_lib_caes_libcaes_crypt_ccm+:} false; then :
54161  $as_echo_n "(cached) " >&6
54162else
54163  ac_check_lib_save_LIBS=$LIBS
54164LIBS="-lcaes  $LIBS"
54165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54166/* end confdefs.h.  */
54167
54168/* Override any GCC internal prototype to avoid an error.
54169   Use char because int might match the return type of a GCC
54170   builtin and then its argument prototype would still apply.  */
54171#ifdef __cplusplus
54172extern "C"
54173#endif
54174char libcaes_crypt_ccm ();
54175int
54176main ()
54177{
54178return libcaes_crypt_ccm ();
54179  ;
54180  return 0;
54181}
54182_ACEOF
54183if ac_fn_c_try_link "$LINENO"; then :
54184  ac_cv_lib_caes_libcaes_crypt_ccm=yes
54185else
54186  ac_cv_lib_caes_libcaes_crypt_ccm=no
54187fi
54188rm -f core conftest.err conftest.$ac_objext \
54189    conftest$ac_exeext conftest.$ac_ext
54190LIBS=$ac_check_lib_save_LIBS
54191fi
54192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ccm" >&5
54193$as_echo "$ac_cv_lib_caes_libcaes_crypt_ccm" >&6; }
54194if test "x$ac_cv_lib_caes_libcaes_crypt_ccm" = xyes; then :
54195  ac_cv_libcaes_dummy=yes
54196else
54197  ac_cv_libcaes=no
54198fi
54199
54200        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ecb in -lcaes" >&5
54201$as_echo_n "checking for libcaes_crypt_ecb in -lcaes... " >&6; }
54202if ${ac_cv_lib_caes_libcaes_crypt_ecb+:} false; then :
54203  $as_echo_n "(cached) " >&6
54204else
54205  ac_check_lib_save_LIBS=$LIBS
54206LIBS="-lcaes  $LIBS"
54207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54208/* end confdefs.h.  */
54209
54210/* Override any GCC internal prototype to avoid an error.
54211   Use char because int might match the return type of a GCC
54212   builtin and then its argument prototype would still apply.  */
54213#ifdef __cplusplus
54214extern "C"
54215#endif
54216char libcaes_crypt_ecb ();
54217int
54218main ()
54219{
54220return libcaes_crypt_ecb ();
54221  ;
54222  return 0;
54223}
54224_ACEOF
54225if ac_fn_c_try_link "$LINENO"; then :
54226  ac_cv_lib_caes_libcaes_crypt_ecb=yes
54227else
54228  ac_cv_lib_caes_libcaes_crypt_ecb=no
54229fi
54230rm -f core conftest.err conftest.$ac_objext \
54231    conftest$ac_exeext conftest.$ac_ext
54232LIBS=$ac_check_lib_save_LIBS
54233fi
54234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ecb" >&5
54235$as_echo "$ac_cv_lib_caes_libcaes_crypt_ecb" >&6; }
54236if test "x$ac_cv_lib_caes_libcaes_crypt_ecb" = xyes; then :
54237  ac_cv_libcaes_dummy=yes
54238else
54239  ac_cv_libcaes=no
54240fi
54241
54242        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_xts in -lcaes" >&5
54243$as_echo_n "checking for libcaes_crypt_xts in -lcaes... " >&6; }
54244if ${ac_cv_lib_caes_libcaes_crypt_xts+:} false; then :
54245  $as_echo_n "(cached) " >&6
54246else
54247  ac_check_lib_save_LIBS=$LIBS
54248LIBS="-lcaes  $LIBS"
54249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54250/* end confdefs.h.  */
54251
54252/* Override any GCC internal prototype to avoid an error.
54253   Use char because int might match the return type of a GCC
54254   builtin and then its argument prototype would still apply.  */
54255#ifdef __cplusplus
54256extern "C"
54257#endif
54258char libcaes_crypt_xts ();
54259int
54260main ()
54261{
54262return libcaes_crypt_xts ();
54263  ;
54264  return 0;
54265}
54266_ACEOF
54267if ac_fn_c_try_link "$LINENO"; then :
54268  ac_cv_lib_caes_libcaes_crypt_xts=yes
54269else
54270  ac_cv_lib_caes_libcaes_crypt_xts=no
54271fi
54272rm -f core conftest.err conftest.$ac_objext \
54273    conftest$ac_exeext conftest.$ac_ext
54274LIBS=$ac_check_lib_save_LIBS
54275fi
54276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_xts" >&5
54277$as_echo "$ac_cv_lib_caes_libcaes_crypt_xts" >&6; }
54278if test "x$ac_cv_lib_caes_libcaes_crypt_xts" = xyes; then :
54279  ac_cv_libcaes_dummy=yes
54280else
54281  ac_cv_libcaes=no
54282fi
54283
54284
54285        ac_cv_libcaes_LIBADD="-lcaes"
54286fi
54287
54288fi
54289    if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect && test "x$ac_cv_libcaes" != xyes; then :
54290  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54291$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54292as_fn_error 1 "unable to find supported libcaes in directory: $ac_cv_with_libcaes
54293See \`config.log' for more details" "$LINENO" 5; }
54294
54295fi
54296
54297fi
54298
54299  if test "x$ac_cv_libcaes" = xyes; then :
54300
54301$as_echo "#define HAVE_LIBCAES 1" >>confdefs.h
54302
54303
54304fi
54305
54306  if test "x$ac_cv_libcaes" = xyes; then :
54307  ac_cv_libcaes_aes=libcaes
54308else
54309  ac_cv_libcaes_aes=no
54310fi
54311
54312  if test "x$ac_cv_libcaes" = xyes; then :
54313  HAVE_LIBCAES=1
54314
54315else
54316  HAVE_LIBCAES=0
54317
54318
54319fi
54320
54321
54322    if test "x$ac_cv_libcaes" != xyes; then :
54323
54324
54325# Check whether --with-openssl was given.
54326if test "${with_openssl+set}" = set; then :
54327  withval=$with_openssl; ac_cv_with_openssl=$withval
54328else
54329  ac_cv_with_openssl=auto-detect
54330fi
54331
54332    { $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
54333$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; }
54334if ${ac_cv_with_openssl+:} false; then :
54335  $as_echo_n "(cached) " >&6
54336else
54337  ac_cv_with_openssl=auto-detect
54338fi
54339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_openssl" >&5
54340$as_echo "$ac_cv_with_openssl" >&6; }
54341
54342
54343  # Check whether --enable-openssl-evp-cipher was given.
54344if test "${enable_openssl_evp_cipher+set}" = set; then :
54345  enableval=$enable_openssl_evp_cipher; ac_cv_enable_openssl_evp_cipher=$enableval
54346else
54347  ac_cv_enable_openssl_evp_cipher=auto-detect
54348fi
54349
54350    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable" >&5
54351$as_echo_n "checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable... " >&6; }
54352if ${ac_cv_enable_openssl_evp_cipher+:} false; then :
54353  $as_echo_n "(cached) " >&6
54354else
54355  ac_cv_enable_openssl_evp_cipher=auto-detect
54356fi
54357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_cipher" >&5
54358$as_echo "$ac_cv_enable_openssl_evp_cipher" >&6; }
54359
54360
54361  # Check whether --enable-openssl-evp-md was given.
54362if test "${enable_openssl_evp_md+set}" = set; then :
54363  enableval=$enable_openssl_evp_md; ac_cv_enable_openssl_evp_md=$enableval
54364else
54365  ac_cv_enable_openssl_evp_md=auto-detect
54366fi
54367
54368    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP MD support, or no to disable" >&5
54369$as_echo_n "checking whether to enable enable OpenSSL EVP MD support, or no to disable... " >&6; }
54370if ${ac_cv_enable_openssl_evp_md+:} false; then :
54371  $as_echo_n "(cached) " >&6
54372else
54373  ac_cv_enable_openssl_evp_md=auto-detect
54374fi
54375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_md" >&5
54376$as_echo "$ac_cv_enable_openssl_evp_md" >&6; }
54377
54378  if test "x$ac_cv_enable_static_executables" = xno; then :
54379      if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_openssl" = xno; then :
54380  ac_cv_libcrypto=no
54381else
54382      if test "x$ac_cv_with_openssl" != x && test "x$ac_cv_with_openssl" != xauto-detect; then :
54383  if test -d "$ac_cv_with_openssl"; then :
54384  CFLAGS="$CFLAGS -I${ac_cv_with_openssl}/include"
54385        LDFLAGS="$LDFLAGS -L${ac_cv_with_openssl}/lib"
54386else
54387  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54388$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54389as_fn_error 1 "no such directory: $ac_cv_with_openssl
54390See \`config.log' for more details" "$LINENO" 5; }
54391
54392fi
54393else
54394        if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
54395
54396pkg_failed=no
54397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
54398$as_echo_n "checking for openssl... " >&6; }
54399
54400if test -n "$openssl_CFLAGS"; then
54401    pkg_cv_openssl_CFLAGS="$openssl_CFLAGS"
54402 elif test -n "$PKG_CONFIG"; then
54403    if test -n "$PKG_CONFIG" && \
54404    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
54405  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
54406  ac_status=$?
54407  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54408  test $ac_status = 0; }; then
54409  pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
54410		      test "x$?" != "x0" && pkg_failed=yes
54411else
54412  pkg_failed=yes
54413fi
54414 else
54415    pkg_failed=untried
54416fi
54417if test -n "$openssl_LIBS"; then
54418    pkg_cv_openssl_LIBS="$openssl_LIBS"
54419 elif test -n "$PKG_CONFIG"; then
54420    if test -n "$PKG_CONFIG" && \
54421    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
54422  ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
54423  ac_status=$?
54424  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54425  test $ac_status = 0; }; then
54426  pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
54427		      test "x$?" != "x0" && pkg_failed=yes
54428else
54429  pkg_failed=yes
54430fi
54431 else
54432    pkg_failed=untried
54433fi
54434
54435
54436
54437if test $pkg_failed = yes; then
54438   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54439$as_echo "no" >&6; }
54440
54441if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
54442        _pkg_short_errors_supported=yes
54443else
54444        _pkg_short_errors_supported=no
54445fi
54446        if test $_pkg_short_errors_supported = yes; then
54447	        openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
54448        else
54449	        openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
54450        fi
54451	# Put the nasty error message in config.log where it belongs
54452	echo "$openssl_PKG_ERRORS" >&5
54453
54454	ac_cv_libcrypto=no
54455          ac_cv_libcrypto_evp=no
54456elif test $pkg_failed = untried; then
54457     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54458$as_echo "no" >&6; }
54459	ac_cv_libcrypto=no
54460          ac_cv_libcrypto_evp=no
54461else
54462	openssl_CFLAGS=$pkg_cv_openssl_CFLAGS
54463	openssl_LIBS=$pkg_cv_openssl_LIBS
54464        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
54465$as_echo "yes" >&6; }
54466	ac_cv_libcrypto=yes
54467          ac_cv_libcrypto_evp=yes
54468fi
54469
54470fi
54471      if test "x$ac_cv_libcrypto" = xyes; then :
54472  ac_cv_libcrypto_CPPFLAGS="$pkg_cv_openssl_CFLAGS"
54473        ac_cv_libcrypto_LIBADD="$pkg_cv_openssl_LIBS"
54474fi
54475
54476fi
54477
54478    if test "x$ac_cv_libcrypto" != xyes; then :
54479        for ac_header in openssl/opensslv.h
54480do :
54481  ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
54482if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
54483  cat >>confdefs.h <<_ACEOF
54484#define HAVE_OPENSSL_OPENSSLV_H 1
54485_ACEOF
54486
54487fi
54488
54489done
54490
54491
54492      for ac_header in openssl/evp.h
54493do :
54494  ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
54495if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
54496  cat >>confdefs.h <<_ACEOF
54497#define HAVE_OPENSSL_EVP_H 1
54498_ACEOF
54499
54500fi
54501
54502done
54503
54504
54505  if test "x$ac_cv_header_openssl_evp_h" = xno; then :
54506  ac_cv_libcrypto=no
54507    ac_cv_libcrypto_evp=no
54508else
54509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl/evp.h can be used in combination with zlib.h" >&5
54510$as_echo_n "checking if openssl/evp.h can be used in combination with zlib.h... " >&6; }
54511if ${ac_cv_openssl_evp_zlib_compatible+:} false; then :
54512  $as_echo_n "(cached) " >&6
54513else
54514  ac_ext=c
54515ac_cpp='$CPP $CPPFLAGS'
54516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518ac_compiler_gnu=$ac_cv_c_compiler_gnu
54519
54520    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54521/* end confdefs.h.  */
54522#include <zlib.h>
54523#include <openssl/evp.h>
54524int
54525main ()
54526{
54527
54528  ;
54529  return 0;
54530}
54531_ACEOF
54532if ac_fn_c_try_link "$LINENO"; then :
54533  ac_cv_openssl_evp_zlib_compatible=yes
54534else
54535  ac_cv_openssl_evp_zlib_compatible=no
54536fi
54537rm -f core conftest.err conftest.$ac_objext \
54538    conftest$ac_exeext conftest.$ac_ext
54539    ac_ext=c
54540ac_cpp='$CPP $CPPFLAGS'
54541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543ac_compiler_gnu=$ac_cv_c_compiler_gnu
54544
54545fi
54546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_evp_zlib_compatible" >&5
54547$as_echo "$ac_cv_openssl_evp_zlib_compatible" >&6; }
54548
54549
54550    if test "x$ac_cv_openssl_evp_zlib_compatible" = xyes; then :
54551  ac_cv_libcrypto=yes
54552      ac_cv_libcrypto_evp=yes
54553else
54554  ac_cv_libcrypto=no
54555      ac_cv_libcrypto_evp=no
54556fi
54557
54558fi
54559
54560
54561      if test "x$ac_cv_libcrypto_evp" != xyes && test "$ac_cv_header_openssl_opensslv" = xyes; then :
54562  ac_cv_libcrypto=yes
54563fi
54564
54565fi
54566
54567        if test "x$ac_cv_libcrypto" = xyes && test "x$ac_cv_libcrypto_evp" = xyes; then :
54568
54569$as_echo "#define HAVE_OPENSSL_EVP_H 1" >>confdefs.h
54570
54571      HAVE_OPENSSL_EVP_H=1
54572
54573else
54574  HAVE_OPENSSL_EVP_H=0
54575
54576
54577fi
54578
54579    if test "x$ac_cv_libcrypto" != xno; then :
54580
54581$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
54582
54583
54584      ac_cv_libcrypto_LIBADD="-lcrypto"
54585
54586            case $host in #(
54587  *cygwin*) :
54588    ac_cv_libcrypto_LIBADD="-lcrypto -lz" ;; #(
54589  *) :
54590     ;;
54591esac
54592
54593            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
54594$as_echo_n "checking for dlopen in -ldl... " >&6; }
54595if ${ac_cv_lib_dl_dlopen+:} false; then :
54596  $as_echo_n "(cached) " >&6
54597else
54598  ac_check_lib_save_LIBS=$LIBS
54599LIBS="-ldl  $LIBS"
54600cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54601/* end confdefs.h.  */
54602
54603/* Override any GCC internal prototype to avoid an error.
54604   Use char because int might match the return type of a GCC
54605   builtin and then its argument prototype would still apply.  */
54606#ifdef __cplusplus
54607extern "C"
54608#endif
54609char dlopen ();
54610int
54611main ()
54612{
54613return dlopen ();
54614  ;
54615  return 0;
54616}
54617_ACEOF
54618if ac_fn_c_try_link "$LINENO"; then :
54619  ac_cv_lib_dl_dlopen=yes
54620else
54621  ac_cv_lib_dl_dlopen=no
54622fi
54623rm -f core conftest.err conftest.$ac_objext \
54624    conftest$ac_exeext conftest.$ac_ext
54625LIBS=$ac_check_lib_save_LIBS
54626fi
54627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
54628$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
54629if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
54630  LIBDL_LIBADD="-ldl"
54631
54632fi
54633
54634
54635fi
54636
54637fi
54638
54639fi
54640
54641  if test "x$ac_cv_libcrypto_CPPFLAGS" != "x"; then :
54642  LIBCRYPTO_CPPFLAGS=$ac_cv_libcrypto_CPPFLAGS
54643
54644
54645fi
54646  if test "x$ac_cv_libcrypto_LIBADD" != "x"; then :
54647  LIBCRYPTO_LIBADD=$ac_cv_libcrypto_LIBADD
54648
54649
54650fi
54651
54652  if test "x$ac_cv_libcrypto" != xno; then :
54653  ax_libcrypto_pc_libs_private=-lcrypto
54654
54655
54656fi
54657
54658  if test "x$ac_cv_libcrypto" != xno; then :
54659  ax_libcrypto_spec_requires=openssl
54660
54661    ax_libcrypto_spec_build_requires=openssl-devel
54662
54663
54664fi
54665
54666
54667  if test "x$ac_cv_libcrypto" != xno; then :
54668    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 :
54669  ac_cv_libcrypto_evp_cipher=yes
54670
54671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
54672$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
54673if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
54674  $as_echo_n "(cached) " >&6
54675else
54676  ac_check_lib_save_LIBS=$LIBS
54677LIBS="-lcrypto  $LIBS"
54678cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54679/* end confdefs.h.  */
54680
54681/* Override any GCC internal prototype to avoid an error.
54682   Use char because int might match the return type of a GCC
54683   builtin and then its argument prototype would still apply.  */
54684#ifdef __cplusplus
54685extern "C"
54686#endif
54687char EVP_CIPHER_CTX_new ();
54688int
54689main ()
54690{
54691return EVP_CIPHER_CTX_new ();
54692  ;
54693  return 0;
54694}
54695_ACEOF
54696if ac_fn_c_try_link "$LINENO"; then :
54697  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
54698else
54699  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
54700fi
54701rm -f core conftest.err conftest.$ac_objext \
54702    conftest$ac_exeext conftest.$ac_ext
54703LIBS=$ac_check_lib_save_LIBS
54704fi
54705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
54706$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
54707if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
54708  ac_cv_libcrypto_dummy=yes
54709else
54710  ac_cv_libcrypto_dummy=no
54711fi
54712
54713
54714  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
54715      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
54716$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
54717if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
54718  $as_echo_n "(cached) " >&6
54719else
54720  ac_check_lib_save_LIBS=$LIBS
54721LIBS="-lcrypto  $LIBS"
54722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54723/* end confdefs.h.  */
54724
54725/* Override any GCC internal prototype to avoid an error.
54726   Use char because int might match the return type of a GCC
54727   builtin and then its argument prototype would still apply.  */
54728#ifdef __cplusplus
54729extern "C"
54730#endif
54731char EVP_CIPHER_CTX_free ();
54732int
54733main ()
54734{
54735return EVP_CIPHER_CTX_free ();
54736  ;
54737  return 0;
54738}
54739_ACEOF
54740if ac_fn_c_try_link "$LINENO"; then :
54741  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
54742else
54743  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
54744fi
54745rm -f core conftest.err conftest.$ac_objext \
54746    conftest$ac_exeext conftest.$ac_ext
54747LIBS=$ac_check_lib_save_LIBS
54748fi
54749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
54750$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
54751if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
54752  ac_cv_libcrypto_dummy=yes
54753else
54754  ac_cv_libcrypto_evp_cipher=no
54755fi
54756
54757
54758else
54759      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
54760$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
54761if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
54762  $as_echo_n "(cached) " >&6
54763else
54764  ac_check_lib_save_LIBS=$LIBS
54765LIBS="-lcrypto  $LIBS"
54766cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54767/* end confdefs.h.  */
54768
54769/* Override any GCC internal prototype to avoid an error.
54770   Use char because int might match the return type of a GCC
54771   builtin and then its argument prototype would still apply.  */
54772#ifdef __cplusplus
54773extern "C"
54774#endif
54775char EVP_CIPHER_CTX_init ();
54776int
54777main ()
54778{
54779return EVP_CIPHER_CTX_init ();
54780  ;
54781  return 0;
54782}
54783_ACEOF
54784if ac_fn_c_try_link "$LINENO"; then :
54785  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
54786else
54787  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
54788fi
54789rm -f core conftest.err conftest.$ac_objext \
54790    conftest$ac_exeext conftest.$ac_ext
54791LIBS=$ac_check_lib_save_LIBS
54792fi
54793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
54794$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
54795if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
54796  ac_cv_libcrypto_dummy=yes
54797else
54798  ac_cv_libcrypto_evp_cipher=no
54799fi
54800
54801    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
54802$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
54803if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
54804  $as_echo_n "(cached) " >&6
54805else
54806  ac_check_lib_save_LIBS=$LIBS
54807LIBS="-lcrypto  $LIBS"
54808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54809/* end confdefs.h.  */
54810
54811/* Override any GCC internal prototype to avoid an error.
54812   Use char because int might match the return type of a GCC
54813   builtin and then its argument prototype would still apply.  */
54814#ifdef __cplusplus
54815extern "C"
54816#endif
54817char EVP_CIPHER_CTX_cleanup ();
54818int
54819main ()
54820{
54821return EVP_CIPHER_CTX_cleanup ();
54822  ;
54823  return 0;
54824}
54825_ACEOF
54826if ac_fn_c_try_link "$LINENO"; then :
54827  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
54828else
54829  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
54830fi
54831rm -f core conftest.err conftest.$ac_objext \
54832    conftest$ac_exeext conftest.$ac_ext
54833LIBS=$ac_check_lib_save_LIBS
54834fi
54835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
54836$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
54837if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
54838  ac_cv_libcrypto_dummy=yes
54839else
54840  ac_cv_libcrypto_evp_cipher=no
54841fi
54842
54843
54844    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
54845$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
54846if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
54847  $as_echo_n "(cached) " >&6
54848else
54849  ac_check_lib_save_LIBS=$LIBS
54850LIBS="-lcrypto  $LIBS"
54851cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54852/* end confdefs.h.  */
54853
54854/* Override any GCC internal prototype to avoid an error.
54855   Use char because int might match the return type of a GCC
54856   builtin and then its argument prototype would still apply.  */
54857#ifdef __cplusplus
54858extern "C"
54859#endif
54860char ERR_remove_thread_state ();
54861int
54862main ()
54863{
54864return ERR_remove_thread_state ();
54865  ;
54866  return 0;
54867}
54868_ACEOF
54869if ac_fn_c_try_link "$LINENO"; then :
54870  ac_cv_lib_crypto_ERR_remove_thread_state=yes
54871else
54872  ac_cv_lib_crypto_ERR_remove_thread_state=no
54873fi
54874rm -f core conftest.err conftest.$ac_objext \
54875    conftest$ac_exeext conftest.$ac_ext
54876LIBS=$ac_check_lib_save_LIBS
54877fi
54878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
54879$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
54880if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
54881  ac_cv_libcrypto_dummy=yes
54882else
54883  ac_cv_libcrypto_evp_cipher=no
54884fi
54885
54886
54887fi
54888
54889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
54890$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
54891if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
54892  $as_echo_n "(cached) " >&6
54893else
54894  ac_check_lib_save_LIBS=$LIBS
54895LIBS="-lcrypto  $LIBS"
54896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54897/* end confdefs.h.  */
54898
54899/* Override any GCC internal prototype to avoid an error.
54900   Use char because int might match the return type of a GCC
54901   builtin and then its argument prototype would still apply.  */
54902#ifdef __cplusplus
54903extern "C"
54904#endif
54905char EVP_CIPHER_CTX_set_padding ();
54906int
54907main ()
54908{
54909return EVP_CIPHER_CTX_set_padding ();
54910  ;
54911  return 0;
54912}
54913_ACEOF
54914if ac_fn_c_try_link "$LINENO"; then :
54915  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
54916else
54917  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
54918fi
54919rm -f core conftest.err conftest.$ac_objext \
54920    conftest$ac_exeext conftest.$ac_ext
54921LIBS=$ac_check_lib_save_LIBS
54922fi
54923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
54924$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
54925if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
54926  ac_cv_libcrypto_dummy=yes
54927else
54928  ac_cv_libcrypto_evp_cipher=no
54929fi
54930
54931
54932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
54933$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
54934if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
54935  $as_echo_n "(cached) " >&6
54936else
54937  ac_check_lib_save_LIBS=$LIBS
54938LIBS="-lcrypto  $LIBS"
54939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54940/* end confdefs.h.  */
54941
54942/* Override any GCC internal prototype to avoid an error.
54943   Use char because int might match the return type of a GCC
54944   builtin and then its argument prototype would still apply.  */
54945#ifdef __cplusplus
54946extern "C"
54947#endif
54948char EVP_CipherInit_ex ();
54949int
54950main ()
54951{
54952return EVP_CipherInit_ex ();
54953  ;
54954  return 0;
54955}
54956_ACEOF
54957if ac_fn_c_try_link "$LINENO"; then :
54958  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
54959else
54960  ac_cv_lib_crypto_EVP_CipherInit_ex=no
54961fi
54962rm -f core conftest.err conftest.$ac_objext \
54963    conftest$ac_exeext conftest.$ac_ext
54964LIBS=$ac_check_lib_save_LIBS
54965fi
54966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
54967$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
54968if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
54969  ac_cv_libcrypto_dummy=yes
54970else
54971  ac_cv_libcrypto_evp_cipher=no
54972fi
54973
54974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
54975$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
54976if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
54977  $as_echo_n "(cached) " >&6
54978else
54979  ac_check_lib_save_LIBS=$LIBS
54980LIBS="-lcrypto  $LIBS"
54981cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54982/* end confdefs.h.  */
54983
54984/* Override any GCC internal prototype to avoid an error.
54985   Use char because int might match the return type of a GCC
54986   builtin and then its argument prototype would still apply.  */
54987#ifdef __cplusplus
54988extern "C"
54989#endif
54990char EVP_CipherUpdate ();
54991int
54992main ()
54993{
54994return EVP_CipherUpdate ();
54995  ;
54996  return 0;
54997}
54998_ACEOF
54999if ac_fn_c_try_link "$LINENO"; then :
55000  ac_cv_lib_crypto_EVP_CipherUpdate=yes
55001else
55002  ac_cv_lib_crypto_EVP_CipherUpdate=no
55003fi
55004rm -f core conftest.err conftest.$ac_objext \
55005    conftest$ac_exeext conftest.$ac_ext
55006LIBS=$ac_check_lib_save_LIBS
55007fi
55008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
55009$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
55010if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
55011  ac_cv_libcrypto_dummy=yes
55012else
55013  ac_cv_libcrypto_evp_cipher=no
55014fi
55015
55016  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
55017$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
55018if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
55019  $as_echo_n "(cached) " >&6
55020else
55021  ac_check_lib_save_LIBS=$LIBS
55022LIBS="-lcrypto  $LIBS"
55023cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55024/* end confdefs.h.  */
55025
55026/* Override any GCC internal prototype to avoid an error.
55027   Use char because int might match the return type of a GCC
55028   builtin and then its argument prototype would still apply.  */
55029#ifdef __cplusplus
55030extern "C"
55031#endif
55032char EVP_CipherFinal_ex ();
55033int
55034main ()
55035{
55036return EVP_CipherFinal_ex ();
55037  ;
55038  return 0;
55039}
55040_ACEOF
55041if ac_fn_c_try_link "$LINENO"; then :
55042  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
55043else
55044  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
55045fi
55046rm -f core conftest.err conftest.$ac_objext \
55047    conftest$ac_exeext conftest.$ac_ext
55048LIBS=$ac_check_lib_save_LIBS
55049fi
55050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
55051$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
55052if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
55053  ac_cv_libcrypto_dummy=yes
55054else
55055  ac_cv_libcrypto_evp_cipher=no
55056fi
55057
55058
55059  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then :
55060  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55061$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55062as_fn_error 1 "Missing OpenSSL EVP CIPHER support
55063See \`config.log' for more details" "$LINENO" 5; }
55064
55065fi
55066
55067  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
55068
55069$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
55070
55071
55072fi
55073
55074  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
55075
55076$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
55077
55078
55079fi
55080
55081fi
55082
55083  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
55084  ac_cv_libcrypto_aes_cbc=no
55085else
55086  ac_cv_libcrypto_aes_cbc=libcrypto_evp
55087
55088    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_cbc in -lcrypto" >&5
55089$as_echo_n "checking for EVP_aes_128_cbc in -lcrypto... " >&6; }
55090if ${ac_cv_lib_crypto_EVP_aes_128_cbc+:} false; then :
55091  $as_echo_n "(cached) " >&6
55092else
55093  ac_check_lib_save_LIBS=$LIBS
55094LIBS="-lcrypto  $LIBS"
55095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55096/* end confdefs.h.  */
55097
55098/* Override any GCC internal prototype to avoid an error.
55099   Use char because int might match the return type of a GCC
55100   builtin and then its argument prototype would still apply.  */
55101#ifdef __cplusplus
55102extern "C"
55103#endif
55104char EVP_aes_128_cbc ();
55105int
55106main ()
55107{
55108return EVP_aes_128_cbc ();
55109  ;
55110  return 0;
55111}
55112_ACEOF
55113if ac_fn_c_try_link "$LINENO"; then :
55114  ac_cv_lib_crypto_EVP_aes_128_cbc=yes
55115else
55116  ac_cv_lib_crypto_EVP_aes_128_cbc=no
55117fi
55118rm -f core conftest.err conftest.$ac_objext \
55119    conftest$ac_exeext conftest.$ac_ext
55120LIBS=$ac_check_lib_save_LIBS
55121fi
55122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_cbc" >&5
55123$as_echo "$ac_cv_lib_crypto_EVP_aes_128_cbc" >&6; }
55124if test "x$ac_cv_lib_crypto_EVP_aes_128_cbc" = xyes; then :
55125  ac_cv_libcrypto_dummy=yes
55126else
55127  ac_cv_libcrypto_aes_cbc=no
55128fi
55129
55130    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_cbc in -lcrypto" >&5
55131$as_echo_n "checking for EVP_aes_192_cbc in -lcrypto... " >&6; }
55132if ${ac_cv_lib_crypto_EVP_aes_192_cbc+:} false; then :
55133  $as_echo_n "(cached) " >&6
55134else
55135  ac_check_lib_save_LIBS=$LIBS
55136LIBS="-lcrypto  $LIBS"
55137cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55138/* end confdefs.h.  */
55139
55140/* Override any GCC internal prototype to avoid an error.
55141   Use char because int might match the return type of a GCC
55142   builtin and then its argument prototype would still apply.  */
55143#ifdef __cplusplus
55144extern "C"
55145#endif
55146char EVP_aes_192_cbc ();
55147int
55148main ()
55149{
55150return EVP_aes_192_cbc ();
55151  ;
55152  return 0;
55153}
55154_ACEOF
55155if ac_fn_c_try_link "$LINENO"; then :
55156  ac_cv_lib_crypto_EVP_aes_192_cbc=yes
55157else
55158  ac_cv_lib_crypto_EVP_aes_192_cbc=no
55159fi
55160rm -f core conftest.err conftest.$ac_objext \
55161    conftest$ac_exeext conftest.$ac_ext
55162LIBS=$ac_check_lib_save_LIBS
55163fi
55164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_cbc" >&5
55165$as_echo "$ac_cv_lib_crypto_EVP_aes_192_cbc" >&6; }
55166if test "x$ac_cv_lib_crypto_EVP_aes_192_cbc" = xyes; then :
55167  ac_cv_libcrypto_dummy=yes
55168else
55169  ac_cv_libcrypto_aes_cbc=no
55170fi
55171
55172    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_cbc in -lcrypto" >&5
55173$as_echo_n "checking for EVP_aes_256_cbc in -lcrypto... " >&6; }
55174if ${ac_cv_lib_crypto_EVP_aes_256_cbc+:} false; then :
55175  $as_echo_n "(cached) " >&6
55176else
55177  ac_check_lib_save_LIBS=$LIBS
55178LIBS="-lcrypto  $LIBS"
55179cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55180/* end confdefs.h.  */
55181
55182/* Override any GCC internal prototype to avoid an error.
55183   Use char because int might match the return type of a GCC
55184   builtin and then its argument prototype would still apply.  */
55185#ifdef __cplusplus
55186extern "C"
55187#endif
55188char EVP_aes_256_cbc ();
55189int
55190main ()
55191{
55192return EVP_aes_256_cbc ();
55193  ;
55194  return 0;
55195}
55196_ACEOF
55197if ac_fn_c_try_link "$LINENO"; then :
55198  ac_cv_lib_crypto_EVP_aes_256_cbc=yes
55199else
55200  ac_cv_lib_crypto_EVP_aes_256_cbc=no
55201fi
55202rm -f core conftest.err conftest.$ac_objext \
55203    conftest$ac_exeext conftest.$ac_ext
55204LIBS=$ac_check_lib_save_LIBS
55205fi
55206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_cbc" >&5
55207$as_echo "$ac_cv_lib_crypto_EVP_aes_256_cbc" >&6; }
55208if test "x$ac_cv_lib_crypto_EVP_aes_256_cbc" = xyes; then :
55209  ac_cv_libcrypto_dummy=yes
55210else
55211  ac_cv_libcrypto_aes_cbc=no
55212fi
55213
55214
55215    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 :
55216
55217$as_echo "#define HAVE_EVP_CRYPTO_AES_CBC 1" >>confdefs.h
55218
55219
55220fi
55221
55222fi
55223
55224  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 :
55225  ac_cv_libcrypto_evp_cipher=yes
55226
55227    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
55228$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
55229if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
55230  $as_echo_n "(cached) " >&6
55231else
55232  ac_check_lib_save_LIBS=$LIBS
55233LIBS="-lcrypto  $LIBS"
55234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55235/* end confdefs.h.  */
55236
55237/* Override any GCC internal prototype to avoid an error.
55238   Use char because int might match the return type of a GCC
55239   builtin and then its argument prototype would still apply.  */
55240#ifdef __cplusplus
55241extern "C"
55242#endif
55243char EVP_CIPHER_CTX_new ();
55244int
55245main ()
55246{
55247return EVP_CIPHER_CTX_new ();
55248  ;
55249  return 0;
55250}
55251_ACEOF
55252if ac_fn_c_try_link "$LINENO"; then :
55253  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
55254else
55255  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
55256fi
55257rm -f core conftest.err conftest.$ac_objext \
55258    conftest$ac_exeext conftest.$ac_ext
55259LIBS=$ac_check_lib_save_LIBS
55260fi
55261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
55262$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
55263if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
55264  ac_cv_libcrypto_dummy=yes
55265else
55266  ac_cv_libcrypto_dummy=no
55267fi
55268
55269
55270  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
55271      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
55272$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
55273if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
55274  $as_echo_n "(cached) " >&6
55275else
55276  ac_check_lib_save_LIBS=$LIBS
55277LIBS="-lcrypto  $LIBS"
55278cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55279/* end confdefs.h.  */
55280
55281/* Override any GCC internal prototype to avoid an error.
55282   Use char because int might match the return type of a GCC
55283   builtin and then its argument prototype would still apply.  */
55284#ifdef __cplusplus
55285extern "C"
55286#endif
55287char EVP_CIPHER_CTX_free ();
55288int
55289main ()
55290{
55291return EVP_CIPHER_CTX_free ();
55292  ;
55293  return 0;
55294}
55295_ACEOF
55296if ac_fn_c_try_link "$LINENO"; then :
55297  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
55298else
55299  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
55300fi
55301rm -f core conftest.err conftest.$ac_objext \
55302    conftest$ac_exeext conftest.$ac_ext
55303LIBS=$ac_check_lib_save_LIBS
55304fi
55305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
55306$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
55307if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
55308  ac_cv_libcrypto_dummy=yes
55309else
55310  ac_cv_libcrypto_evp_cipher=no
55311fi
55312
55313
55314else
55315      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
55316$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
55317if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
55318  $as_echo_n "(cached) " >&6
55319else
55320  ac_check_lib_save_LIBS=$LIBS
55321LIBS="-lcrypto  $LIBS"
55322cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55323/* end confdefs.h.  */
55324
55325/* Override any GCC internal prototype to avoid an error.
55326   Use char because int might match the return type of a GCC
55327   builtin and then its argument prototype would still apply.  */
55328#ifdef __cplusplus
55329extern "C"
55330#endif
55331char EVP_CIPHER_CTX_init ();
55332int
55333main ()
55334{
55335return EVP_CIPHER_CTX_init ();
55336  ;
55337  return 0;
55338}
55339_ACEOF
55340if ac_fn_c_try_link "$LINENO"; then :
55341  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
55342else
55343  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
55344fi
55345rm -f core conftest.err conftest.$ac_objext \
55346    conftest$ac_exeext conftest.$ac_ext
55347LIBS=$ac_check_lib_save_LIBS
55348fi
55349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
55350$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
55351if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
55352  ac_cv_libcrypto_dummy=yes
55353else
55354  ac_cv_libcrypto_evp_cipher=no
55355fi
55356
55357    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
55358$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
55359if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
55360  $as_echo_n "(cached) " >&6
55361else
55362  ac_check_lib_save_LIBS=$LIBS
55363LIBS="-lcrypto  $LIBS"
55364cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55365/* end confdefs.h.  */
55366
55367/* Override any GCC internal prototype to avoid an error.
55368   Use char because int might match the return type of a GCC
55369   builtin and then its argument prototype would still apply.  */
55370#ifdef __cplusplus
55371extern "C"
55372#endif
55373char EVP_CIPHER_CTX_cleanup ();
55374int
55375main ()
55376{
55377return EVP_CIPHER_CTX_cleanup ();
55378  ;
55379  return 0;
55380}
55381_ACEOF
55382if ac_fn_c_try_link "$LINENO"; then :
55383  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
55384else
55385  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
55386fi
55387rm -f core conftest.err conftest.$ac_objext \
55388    conftest$ac_exeext conftest.$ac_ext
55389LIBS=$ac_check_lib_save_LIBS
55390fi
55391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
55392$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
55393if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
55394  ac_cv_libcrypto_dummy=yes
55395else
55396  ac_cv_libcrypto_evp_cipher=no
55397fi
55398
55399
55400    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
55401$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
55402if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
55403  $as_echo_n "(cached) " >&6
55404else
55405  ac_check_lib_save_LIBS=$LIBS
55406LIBS="-lcrypto  $LIBS"
55407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55408/* end confdefs.h.  */
55409
55410/* Override any GCC internal prototype to avoid an error.
55411   Use char because int might match the return type of a GCC
55412   builtin and then its argument prototype would still apply.  */
55413#ifdef __cplusplus
55414extern "C"
55415#endif
55416char ERR_remove_thread_state ();
55417int
55418main ()
55419{
55420return ERR_remove_thread_state ();
55421  ;
55422  return 0;
55423}
55424_ACEOF
55425if ac_fn_c_try_link "$LINENO"; then :
55426  ac_cv_lib_crypto_ERR_remove_thread_state=yes
55427else
55428  ac_cv_lib_crypto_ERR_remove_thread_state=no
55429fi
55430rm -f core conftest.err conftest.$ac_objext \
55431    conftest$ac_exeext conftest.$ac_ext
55432LIBS=$ac_check_lib_save_LIBS
55433fi
55434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
55435$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
55436if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
55437  ac_cv_libcrypto_dummy=yes
55438else
55439  ac_cv_libcrypto_evp_cipher=no
55440fi
55441
55442
55443fi
55444
55445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
55446$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
55447if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
55448  $as_echo_n "(cached) " >&6
55449else
55450  ac_check_lib_save_LIBS=$LIBS
55451LIBS="-lcrypto  $LIBS"
55452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55453/* end confdefs.h.  */
55454
55455/* Override any GCC internal prototype to avoid an error.
55456   Use char because int might match the return type of a GCC
55457   builtin and then its argument prototype would still apply.  */
55458#ifdef __cplusplus
55459extern "C"
55460#endif
55461char EVP_CIPHER_CTX_set_padding ();
55462int
55463main ()
55464{
55465return EVP_CIPHER_CTX_set_padding ();
55466  ;
55467  return 0;
55468}
55469_ACEOF
55470if ac_fn_c_try_link "$LINENO"; then :
55471  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
55472else
55473  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
55474fi
55475rm -f core conftest.err conftest.$ac_objext \
55476    conftest$ac_exeext conftest.$ac_ext
55477LIBS=$ac_check_lib_save_LIBS
55478fi
55479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
55480$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
55481if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
55482  ac_cv_libcrypto_dummy=yes
55483else
55484  ac_cv_libcrypto_evp_cipher=no
55485fi
55486
55487
55488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
55489$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
55490if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
55491  $as_echo_n "(cached) " >&6
55492else
55493  ac_check_lib_save_LIBS=$LIBS
55494LIBS="-lcrypto  $LIBS"
55495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55496/* end confdefs.h.  */
55497
55498/* Override any GCC internal prototype to avoid an error.
55499   Use char because int might match the return type of a GCC
55500   builtin and then its argument prototype would still apply.  */
55501#ifdef __cplusplus
55502extern "C"
55503#endif
55504char EVP_CipherInit_ex ();
55505int
55506main ()
55507{
55508return EVP_CipherInit_ex ();
55509  ;
55510  return 0;
55511}
55512_ACEOF
55513if ac_fn_c_try_link "$LINENO"; then :
55514  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
55515else
55516  ac_cv_lib_crypto_EVP_CipherInit_ex=no
55517fi
55518rm -f core conftest.err conftest.$ac_objext \
55519    conftest$ac_exeext conftest.$ac_ext
55520LIBS=$ac_check_lib_save_LIBS
55521fi
55522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
55523$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
55524if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
55525  ac_cv_libcrypto_dummy=yes
55526else
55527  ac_cv_libcrypto_evp_cipher=no
55528fi
55529
55530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
55531$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
55532if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
55533  $as_echo_n "(cached) " >&6
55534else
55535  ac_check_lib_save_LIBS=$LIBS
55536LIBS="-lcrypto  $LIBS"
55537cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55538/* end confdefs.h.  */
55539
55540/* Override any GCC internal prototype to avoid an error.
55541   Use char because int might match the return type of a GCC
55542   builtin and then its argument prototype would still apply.  */
55543#ifdef __cplusplus
55544extern "C"
55545#endif
55546char EVP_CipherUpdate ();
55547int
55548main ()
55549{
55550return EVP_CipherUpdate ();
55551  ;
55552  return 0;
55553}
55554_ACEOF
55555if ac_fn_c_try_link "$LINENO"; then :
55556  ac_cv_lib_crypto_EVP_CipherUpdate=yes
55557else
55558  ac_cv_lib_crypto_EVP_CipherUpdate=no
55559fi
55560rm -f core conftest.err conftest.$ac_objext \
55561    conftest$ac_exeext conftest.$ac_ext
55562LIBS=$ac_check_lib_save_LIBS
55563fi
55564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
55565$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
55566if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
55567  ac_cv_libcrypto_dummy=yes
55568else
55569  ac_cv_libcrypto_evp_cipher=no
55570fi
55571
55572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
55573$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
55574if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
55575  $as_echo_n "(cached) " >&6
55576else
55577  ac_check_lib_save_LIBS=$LIBS
55578LIBS="-lcrypto  $LIBS"
55579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55580/* end confdefs.h.  */
55581
55582/* Override any GCC internal prototype to avoid an error.
55583   Use char because int might match the return type of a GCC
55584   builtin and then its argument prototype would still apply.  */
55585#ifdef __cplusplus
55586extern "C"
55587#endif
55588char EVP_CipherFinal_ex ();
55589int
55590main ()
55591{
55592return EVP_CipherFinal_ex ();
55593  ;
55594  return 0;
55595}
55596_ACEOF
55597if ac_fn_c_try_link "$LINENO"; then :
55598  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
55599else
55600  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
55601fi
55602rm -f core conftest.err conftest.$ac_objext \
55603    conftest$ac_exeext conftest.$ac_ext
55604LIBS=$ac_check_lib_save_LIBS
55605fi
55606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
55607$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
55608if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
55609  ac_cv_libcrypto_dummy=yes
55610else
55611  ac_cv_libcrypto_evp_cipher=no
55612fi
55613
55614
55615  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then :
55616  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55617$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55618as_fn_error 1 "Missing OpenSSL EVP CIPHER support
55619See \`config.log' for more details" "$LINENO" 5; }
55620
55621fi
55622
55623  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
55624
55625$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
55626
55627
55628fi
55629
55630  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
55631
55632$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
55633
55634
55635fi
55636
55637fi
55638
55639  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
55640  ac_cv_libcrypto_aes_ecb=no
55641else
55642  ac_cv_libcrypto_aes_ecb=libcrypto_evp
55643
55644    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_ecb in -lcrypto" >&5
55645$as_echo_n "checking for EVP_aes_128_ecb in -lcrypto... " >&6; }
55646if ${ac_cv_lib_crypto_EVP_aes_128_ecb+:} false; then :
55647  $as_echo_n "(cached) " >&6
55648else
55649  ac_check_lib_save_LIBS=$LIBS
55650LIBS="-lcrypto  $LIBS"
55651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55652/* end confdefs.h.  */
55653
55654/* Override any GCC internal prototype to avoid an error.
55655   Use char because int might match the return type of a GCC
55656   builtin and then its argument prototype would still apply.  */
55657#ifdef __cplusplus
55658extern "C"
55659#endif
55660char EVP_aes_128_ecb ();
55661int
55662main ()
55663{
55664return EVP_aes_128_ecb ();
55665  ;
55666  return 0;
55667}
55668_ACEOF
55669if ac_fn_c_try_link "$LINENO"; then :
55670  ac_cv_lib_crypto_EVP_aes_128_ecb=yes
55671else
55672  ac_cv_lib_crypto_EVP_aes_128_ecb=no
55673fi
55674rm -f core conftest.err conftest.$ac_objext \
55675    conftest$ac_exeext conftest.$ac_ext
55676LIBS=$ac_check_lib_save_LIBS
55677fi
55678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_ecb" >&5
55679$as_echo "$ac_cv_lib_crypto_EVP_aes_128_ecb" >&6; }
55680if test "x$ac_cv_lib_crypto_EVP_aes_128_ecb" = xyes; then :
55681  ac_cv_libcrypto_dummy=yes
55682else
55683  ac_cv_libcrypto_aes_ecb=no
55684fi
55685
55686    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_ecb in -lcrypto" >&5
55687$as_echo_n "checking for EVP_aes_192_ecb in -lcrypto... " >&6; }
55688if ${ac_cv_lib_crypto_EVP_aes_192_ecb+:} false; then :
55689  $as_echo_n "(cached) " >&6
55690else
55691  ac_check_lib_save_LIBS=$LIBS
55692LIBS="-lcrypto  $LIBS"
55693cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55694/* end confdefs.h.  */
55695
55696/* Override any GCC internal prototype to avoid an error.
55697   Use char because int might match the return type of a GCC
55698   builtin and then its argument prototype would still apply.  */
55699#ifdef __cplusplus
55700extern "C"
55701#endif
55702char EVP_aes_192_ecb ();
55703int
55704main ()
55705{
55706return EVP_aes_192_ecb ();
55707  ;
55708  return 0;
55709}
55710_ACEOF
55711if ac_fn_c_try_link "$LINENO"; then :
55712  ac_cv_lib_crypto_EVP_aes_192_ecb=yes
55713else
55714  ac_cv_lib_crypto_EVP_aes_192_ecb=no
55715fi
55716rm -f core conftest.err conftest.$ac_objext \
55717    conftest$ac_exeext conftest.$ac_ext
55718LIBS=$ac_check_lib_save_LIBS
55719fi
55720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_ecb" >&5
55721$as_echo "$ac_cv_lib_crypto_EVP_aes_192_ecb" >&6; }
55722if test "x$ac_cv_lib_crypto_EVP_aes_192_ecb" = xyes; then :
55723  ac_cv_libcrypto_dummy=yes
55724else
55725  ac_cv_libcrypto_aes_ecb=no
55726fi
55727
55728    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_ecb in -lcrypto" >&5
55729$as_echo_n "checking for EVP_aes_256_ecb in -lcrypto... " >&6; }
55730if ${ac_cv_lib_crypto_EVP_aes_256_ecb+:} false; then :
55731  $as_echo_n "(cached) " >&6
55732else
55733  ac_check_lib_save_LIBS=$LIBS
55734LIBS="-lcrypto  $LIBS"
55735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55736/* end confdefs.h.  */
55737
55738/* Override any GCC internal prototype to avoid an error.
55739   Use char because int might match the return type of a GCC
55740   builtin and then its argument prototype would still apply.  */
55741#ifdef __cplusplus
55742extern "C"
55743#endif
55744char EVP_aes_256_ecb ();
55745int
55746main ()
55747{
55748return EVP_aes_256_ecb ();
55749  ;
55750  return 0;
55751}
55752_ACEOF
55753if ac_fn_c_try_link "$LINENO"; then :
55754  ac_cv_lib_crypto_EVP_aes_256_ecb=yes
55755else
55756  ac_cv_lib_crypto_EVP_aes_256_ecb=no
55757fi
55758rm -f core conftest.err conftest.$ac_objext \
55759    conftest$ac_exeext conftest.$ac_ext
55760LIBS=$ac_check_lib_save_LIBS
55761fi
55762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_ecb" >&5
55763$as_echo "$ac_cv_lib_crypto_EVP_aes_256_ecb" >&6; }
55764if test "x$ac_cv_lib_crypto_EVP_aes_256_ecb" = xyes; then :
55765  ac_cv_libcrypto_dummy=yes
55766else
55767  ac_cv_libcrypto_aes_ecb=no
55768fi
55769
55770
55771    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 :
55772
55773$as_echo "#define HAVE_EVP_CRYPTO_AES_ECB 1" >>confdefs.h
55774
55775
55776fi
55777
55778fi
55779
55780
55781    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
55782  ac_cv_libcrypto_aes=no
55783else
55784  ac_cv_libcrypto_aes=libcrypto_evp
55785fi
55786
55787    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
55788  for ac_header in openssl/aes.h
55789do :
55790  ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default"
55791if test "x$ac_cv_header_openssl_aes_h" = xyes; then :
55792  cat >>confdefs.h <<_ACEOF
55793#define HAVE_OPENSSL_AES_H 1
55794_ACEOF
55795
55796fi
55797
55798done
55799
55800
55801  if test "x$ac_cv_header_openssl_aes_h" = xno; then :
55802  ac_cv_libcrypto_aes_cbc=no
55803    ac_cv_libcrypto_aes_ecb=no
55804else
55805  ac_cv_libcrypto_aes_cbc=libcrypto
55806    ac_cv_libcrypto_aes_ecb=libcrypto
55807
55808    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_decrypt_key in -lcrypto" >&5
55809$as_echo_n "checking for AES_set_decrypt_key in -lcrypto... " >&6; }
55810if ${ac_cv_lib_crypto_AES_set_decrypt_key+:} false; then :
55811  $as_echo_n "(cached) " >&6
55812else
55813  ac_check_lib_save_LIBS=$LIBS
55814LIBS="-lcrypto  $LIBS"
55815cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55816/* end confdefs.h.  */
55817
55818/* Override any GCC internal prototype to avoid an error.
55819   Use char because int might match the return type of a GCC
55820   builtin and then its argument prototype would still apply.  */
55821#ifdef __cplusplus
55822extern "C"
55823#endif
55824char AES_set_decrypt_key ();
55825int
55826main ()
55827{
55828return AES_set_decrypt_key ();
55829  ;
55830  return 0;
55831}
55832_ACEOF
55833if ac_fn_c_try_link "$LINENO"; then :
55834  ac_cv_lib_crypto_AES_set_decrypt_key=yes
55835else
55836  ac_cv_lib_crypto_AES_set_decrypt_key=no
55837fi
55838rm -f core conftest.err conftest.$ac_objext \
55839    conftest$ac_exeext conftest.$ac_ext
55840LIBS=$ac_check_lib_save_LIBS
55841fi
55842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_set_decrypt_key" >&5
55843$as_echo "$ac_cv_lib_crypto_AES_set_decrypt_key" >&6; }
55844if test "x$ac_cv_lib_crypto_AES_set_decrypt_key" = xyes; then :
55845  ac_cv_libcrypto_dummy=yes
55846else
55847  ac_cv_libcrypto_aes_cbc=no,
55848      ac_cv_libcrypto_aes_ecb=no
55849fi
55850
55851    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_encrypt_key in -lcrypto" >&5
55852$as_echo_n "checking for AES_set_encrypt_key in -lcrypto... " >&6; }
55853if ${ac_cv_lib_crypto_AES_set_encrypt_key+:} 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 AES_set_encrypt_key ();
55868int
55869main ()
55870{
55871return AES_set_encrypt_key ();
55872  ;
55873  return 0;
55874}
55875_ACEOF
55876if ac_fn_c_try_link "$LINENO"; then :
55877  ac_cv_lib_crypto_AES_set_encrypt_key=yes
55878else
55879  ac_cv_lib_crypto_AES_set_encrypt_key=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_AES_set_encrypt_key" >&5
55886$as_echo "$ac_cv_lib_crypto_AES_set_encrypt_key" >&6; }
55887if test "x$ac_cv_lib_crypto_AES_set_encrypt_key" = xyes; then :
55888  ac_cv_libcrypto_dummy=yes
55889else
55890  ac_cv_libcrypto_aes_cbc=no,
55891      ac_cv_libcrypto_aes_ecb=no
55892fi
55893
55894
55895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_cbc_encrypt in -lcrypto" >&5
55896$as_echo_n "checking for AES_cbc_encrypt in -lcrypto... " >&6; }
55897if ${ac_cv_lib_crypto_AES_cbc_encrypt+:} false; then :
55898  $as_echo_n "(cached) " >&6
55899else
55900  ac_check_lib_save_LIBS=$LIBS
55901LIBS="-lcrypto  $LIBS"
55902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55903/* end confdefs.h.  */
55904
55905/* Override any GCC internal prototype to avoid an error.
55906   Use char because int might match the return type of a GCC
55907   builtin and then its argument prototype would still apply.  */
55908#ifdef __cplusplus
55909extern "C"
55910#endif
55911char AES_cbc_encrypt ();
55912int
55913main ()
55914{
55915return AES_cbc_encrypt ();
55916  ;
55917  return 0;
55918}
55919_ACEOF
55920if ac_fn_c_try_link "$LINENO"; then :
55921  ac_cv_lib_crypto_AES_cbc_encrypt=yes
55922else
55923  ac_cv_lib_crypto_AES_cbc_encrypt=no
55924fi
55925rm -f core conftest.err conftest.$ac_objext \
55926    conftest$ac_exeext conftest.$ac_ext
55927LIBS=$ac_check_lib_save_LIBS
55928fi
55929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_cbc_encrypt" >&5
55930$as_echo "$ac_cv_lib_crypto_AES_cbc_encrypt" >&6; }
55931if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then :
55932  ac_cv_libcrypto_dummy=yes
55933else
55934  ac_cv_libcrypto_aes_cbc=no
55935fi
55936
55937
55938    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_ecb_encrypt in -lcrypto" >&5
55939$as_echo_n "checking for AES_ecb_encrypt in -lcrypto... " >&6; }
55940if ${ac_cv_lib_crypto_AES_ecb_encrypt+:} false; then :
55941  $as_echo_n "(cached) " >&6
55942else
55943  ac_check_lib_save_LIBS=$LIBS
55944LIBS="-lcrypto  $LIBS"
55945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55946/* end confdefs.h.  */
55947
55948/* Override any GCC internal prototype to avoid an error.
55949   Use char because int might match the return type of a GCC
55950   builtin and then its argument prototype would still apply.  */
55951#ifdef __cplusplus
55952extern "C"
55953#endif
55954char AES_ecb_encrypt ();
55955int
55956main ()
55957{
55958return AES_ecb_encrypt ();
55959  ;
55960  return 0;
55961}
55962_ACEOF
55963if ac_fn_c_try_link "$LINENO"; then :
55964  ac_cv_lib_crypto_AES_ecb_encrypt=yes
55965else
55966  ac_cv_lib_crypto_AES_ecb_encrypt=no
55967fi
55968rm -f core conftest.err conftest.$ac_objext \
55969    conftest$ac_exeext conftest.$ac_ext
55970LIBS=$ac_check_lib_save_LIBS
55971fi
55972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_ecb_encrypt" >&5
55973$as_echo "$ac_cv_lib_crypto_AES_ecb_encrypt" >&6; }
55974if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then :
55975  ac_cv_libcrypto_dummy=yes
55976else
55977  ac_cv_libcrypto_aes_ecb=no
55978fi
55979
55980
55981    if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then :
55982
55983$as_echo "#define HAVE_AES_CBC_ENCRYPT 1" >>confdefs.h
55984
55985
55986fi
55987
55988    if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then :
55989
55990$as_echo "#define HAVE_AES_ECB_ENCRYPT 1" >>confdefs.h
55991
55992
55993fi
55994
55995fi
55996
55997  if test "x$ac_cv_libcrypto" = xno; then :
55998  if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
55999  ac_cv_libcrypto=yes
56000fi
56001
56002fi
56003
56004    if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
56005  ac_cv_libcrypto_aes=no
56006else
56007  ac_cv_libcrypto_aes=libcrypto
56008fi
56009
56010fi
56011
56012    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 :
56013  ac_cv_libcrypto_evp_cipher=yes
56014
56015    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5
56016$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; }
56017if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then :
56018  $as_echo_n "(cached) " >&6
56019else
56020  ac_check_lib_save_LIBS=$LIBS
56021LIBS="-lcrypto  $LIBS"
56022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56023/* end confdefs.h.  */
56024
56025/* Override any GCC internal prototype to avoid an error.
56026   Use char because int might match the return type of a GCC
56027   builtin and then its argument prototype would still apply.  */
56028#ifdef __cplusplus
56029extern "C"
56030#endif
56031char EVP_CIPHER_CTX_new ();
56032int
56033main ()
56034{
56035return EVP_CIPHER_CTX_new ();
56036  ;
56037  return 0;
56038}
56039_ACEOF
56040if ac_fn_c_try_link "$LINENO"; then :
56041  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes
56042else
56043  ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no
56044fi
56045rm -f core conftest.err conftest.$ac_objext \
56046    conftest$ac_exeext conftest.$ac_ext
56047LIBS=$ac_check_lib_save_LIBS
56048fi
56049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5
56050$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; }
56051if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
56052  ac_cv_libcrypto_dummy=yes
56053else
56054  ac_cv_libcrypto_dummy=no
56055fi
56056
56057
56058  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then :
56059      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5
56060$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; }
56061if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then :
56062  $as_echo_n "(cached) " >&6
56063else
56064  ac_check_lib_save_LIBS=$LIBS
56065LIBS="-lcrypto  $LIBS"
56066cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56067/* end confdefs.h.  */
56068
56069/* Override any GCC internal prototype to avoid an error.
56070   Use char because int might match the return type of a GCC
56071   builtin and then its argument prototype would still apply.  */
56072#ifdef __cplusplus
56073extern "C"
56074#endif
56075char EVP_CIPHER_CTX_free ();
56076int
56077main ()
56078{
56079return EVP_CIPHER_CTX_free ();
56080  ;
56081  return 0;
56082}
56083_ACEOF
56084if ac_fn_c_try_link "$LINENO"; then :
56085  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes
56086else
56087  ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no
56088fi
56089rm -f core conftest.err conftest.$ac_objext \
56090    conftest$ac_exeext conftest.$ac_ext
56091LIBS=$ac_check_lib_save_LIBS
56092fi
56093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5
56094$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; }
56095if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then :
56096  ac_cv_libcrypto_dummy=yes
56097else
56098  ac_cv_libcrypto_evp_cipher=no
56099fi
56100
56101
56102else
56103      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5
56104$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; }
56105if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then :
56106  $as_echo_n "(cached) " >&6
56107else
56108  ac_check_lib_save_LIBS=$LIBS
56109LIBS="-lcrypto  $LIBS"
56110cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56111/* end confdefs.h.  */
56112
56113/* Override any GCC internal prototype to avoid an error.
56114   Use char because int might match the return type of a GCC
56115   builtin and then its argument prototype would still apply.  */
56116#ifdef __cplusplus
56117extern "C"
56118#endif
56119char EVP_CIPHER_CTX_init ();
56120int
56121main ()
56122{
56123return EVP_CIPHER_CTX_init ();
56124  ;
56125  return 0;
56126}
56127_ACEOF
56128if ac_fn_c_try_link "$LINENO"; then :
56129  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes
56130else
56131  ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no
56132fi
56133rm -f core conftest.err conftest.$ac_objext \
56134    conftest$ac_exeext conftest.$ac_ext
56135LIBS=$ac_check_lib_save_LIBS
56136fi
56137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5
56138$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; }
56139if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
56140  ac_cv_libcrypto_dummy=yes
56141else
56142  ac_cv_libcrypto_evp_cipher=no
56143fi
56144
56145    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5
56146$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; }
56147if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then :
56148  $as_echo_n "(cached) " >&6
56149else
56150  ac_check_lib_save_LIBS=$LIBS
56151LIBS="-lcrypto  $LIBS"
56152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56153/* end confdefs.h.  */
56154
56155/* Override any GCC internal prototype to avoid an error.
56156   Use char because int might match the return type of a GCC
56157   builtin and then its argument prototype would still apply.  */
56158#ifdef __cplusplus
56159extern "C"
56160#endif
56161char EVP_CIPHER_CTX_cleanup ();
56162int
56163main ()
56164{
56165return EVP_CIPHER_CTX_cleanup ();
56166  ;
56167  return 0;
56168}
56169_ACEOF
56170if ac_fn_c_try_link "$LINENO"; then :
56171  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes
56172else
56173  ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no
56174fi
56175rm -f core conftest.err conftest.$ac_objext \
56176    conftest$ac_exeext conftest.$ac_ext
56177LIBS=$ac_check_lib_save_LIBS
56178fi
56179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5
56180$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; }
56181if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
56182  ac_cv_libcrypto_dummy=yes
56183else
56184  ac_cv_libcrypto_evp_cipher=no
56185fi
56186
56187
56188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5
56189$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; }
56190if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then :
56191  $as_echo_n "(cached) " >&6
56192else
56193  ac_check_lib_save_LIBS=$LIBS
56194LIBS="-lcrypto  $LIBS"
56195cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56196/* end confdefs.h.  */
56197
56198/* Override any GCC internal prototype to avoid an error.
56199   Use char because int might match the return type of a GCC
56200   builtin and then its argument prototype would still apply.  */
56201#ifdef __cplusplus
56202extern "C"
56203#endif
56204char ERR_remove_thread_state ();
56205int
56206main ()
56207{
56208return ERR_remove_thread_state ();
56209  ;
56210  return 0;
56211}
56212_ACEOF
56213if ac_fn_c_try_link "$LINENO"; then :
56214  ac_cv_lib_crypto_ERR_remove_thread_state=yes
56215else
56216  ac_cv_lib_crypto_ERR_remove_thread_state=no
56217fi
56218rm -f core conftest.err conftest.$ac_objext \
56219    conftest$ac_exeext conftest.$ac_ext
56220LIBS=$ac_check_lib_save_LIBS
56221fi
56222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5
56223$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; }
56224if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then :
56225  ac_cv_libcrypto_dummy=yes
56226else
56227  ac_cv_libcrypto_evp_cipher=no
56228fi
56229
56230
56231fi
56232
56233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
56234$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; }
56235if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then :
56236  $as_echo_n "(cached) " >&6
56237else
56238  ac_check_lib_save_LIBS=$LIBS
56239LIBS="-lcrypto  $LIBS"
56240cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56241/* end confdefs.h.  */
56242
56243/* Override any GCC internal prototype to avoid an error.
56244   Use char because int might match the return type of a GCC
56245   builtin and then its argument prototype would still apply.  */
56246#ifdef __cplusplus
56247extern "C"
56248#endif
56249char EVP_CIPHER_CTX_set_padding ();
56250int
56251main ()
56252{
56253return EVP_CIPHER_CTX_set_padding ();
56254  ;
56255  return 0;
56256}
56257_ACEOF
56258if ac_fn_c_try_link "$LINENO"; then :
56259  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes
56260else
56261  ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no
56262fi
56263rm -f core conftest.err conftest.$ac_objext \
56264    conftest$ac_exeext conftest.$ac_ext
56265LIBS=$ac_check_lib_save_LIBS
56266fi
56267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
56268$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; }
56269if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then :
56270  ac_cv_libcrypto_dummy=yes
56271else
56272  ac_cv_libcrypto_evp_cipher=no
56273fi
56274
56275
56276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5
56277$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; }
56278if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then :
56279  $as_echo_n "(cached) " >&6
56280else
56281  ac_check_lib_save_LIBS=$LIBS
56282LIBS="-lcrypto  $LIBS"
56283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56284/* end confdefs.h.  */
56285
56286/* Override any GCC internal prototype to avoid an error.
56287   Use char because int might match the return type of a GCC
56288   builtin and then its argument prototype would still apply.  */
56289#ifdef __cplusplus
56290extern "C"
56291#endif
56292char EVP_CipherInit_ex ();
56293int
56294main ()
56295{
56296return EVP_CipherInit_ex ();
56297  ;
56298  return 0;
56299}
56300_ACEOF
56301if ac_fn_c_try_link "$LINENO"; then :
56302  ac_cv_lib_crypto_EVP_CipherInit_ex=yes
56303else
56304  ac_cv_lib_crypto_EVP_CipherInit_ex=no
56305fi
56306rm -f core conftest.err conftest.$ac_objext \
56307    conftest$ac_exeext conftest.$ac_ext
56308LIBS=$ac_check_lib_save_LIBS
56309fi
56310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5
56311$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; }
56312if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then :
56313  ac_cv_libcrypto_dummy=yes
56314else
56315  ac_cv_libcrypto_evp_cipher=no
56316fi
56317
56318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5
56319$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; }
56320if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then :
56321  $as_echo_n "(cached) " >&6
56322else
56323  ac_check_lib_save_LIBS=$LIBS
56324LIBS="-lcrypto  $LIBS"
56325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56326/* end confdefs.h.  */
56327
56328/* Override any GCC internal prototype to avoid an error.
56329   Use char because int might match the return type of a GCC
56330   builtin and then its argument prototype would still apply.  */
56331#ifdef __cplusplus
56332extern "C"
56333#endif
56334char EVP_CipherUpdate ();
56335int
56336main ()
56337{
56338return EVP_CipherUpdate ();
56339  ;
56340  return 0;
56341}
56342_ACEOF
56343if ac_fn_c_try_link "$LINENO"; then :
56344  ac_cv_lib_crypto_EVP_CipherUpdate=yes
56345else
56346  ac_cv_lib_crypto_EVP_CipherUpdate=no
56347fi
56348rm -f core conftest.err conftest.$ac_objext \
56349    conftest$ac_exeext conftest.$ac_ext
56350LIBS=$ac_check_lib_save_LIBS
56351fi
56352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5
56353$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; }
56354if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then :
56355  ac_cv_libcrypto_dummy=yes
56356else
56357  ac_cv_libcrypto_evp_cipher=no
56358fi
56359
56360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5
56361$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; }
56362if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then :
56363  $as_echo_n "(cached) " >&6
56364else
56365  ac_check_lib_save_LIBS=$LIBS
56366LIBS="-lcrypto  $LIBS"
56367cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56368/* end confdefs.h.  */
56369
56370/* Override any GCC internal prototype to avoid an error.
56371   Use char because int might match the return type of a GCC
56372   builtin and then its argument prototype would still apply.  */
56373#ifdef __cplusplus
56374extern "C"
56375#endif
56376char EVP_CipherFinal_ex ();
56377int
56378main ()
56379{
56380return EVP_CipherFinal_ex ();
56381  ;
56382  return 0;
56383}
56384_ACEOF
56385if ac_fn_c_try_link "$LINENO"; then :
56386  ac_cv_lib_crypto_EVP_CipherFinal_ex=yes
56387else
56388  ac_cv_lib_crypto_EVP_CipherFinal_ex=no
56389fi
56390rm -f core conftest.err conftest.$ac_objext \
56391    conftest$ac_exeext conftest.$ac_ext
56392LIBS=$ac_check_lib_save_LIBS
56393fi
56394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5
56395$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; }
56396if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then :
56397  ac_cv_libcrypto_dummy=yes
56398else
56399  ac_cv_libcrypto_evp_cipher=no
56400fi
56401
56402
56403  if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then :
56404  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
56405$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
56406as_fn_error 1 "Missing OpenSSL EVP CIPHER support
56407See \`config.log' for more details" "$LINENO" 5; }
56408
56409fi
56410
56411  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then :
56412
56413$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h
56414
56415
56416fi
56417
56418  if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then :
56419
56420$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h
56421
56422
56423fi
56424
56425fi
56426
56427  if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then :
56428  ac_cv_libcrypto_aes_xts=no
56429else
56430  ac_cv_libcrypto_aes_xts=libcrypto_evp
56431
56432    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_xts in -lcrypto" >&5
56433$as_echo_n "checking for EVP_aes_128_xts in -lcrypto... " >&6; }
56434if ${ac_cv_lib_crypto_EVP_aes_128_xts+:} 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 EVP_aes_128_xts ();
56449int
56450main ()
56451{
56452return EVP_aes_128_xts ();
56453  ;
56454  return 0;
56455}
56456_ACEOF
56457if ac_fn_c_try_link "$LINENO"; then :
56458  ac_cv_lib_crypto_EVP_aes_128_xts=yes
56459else
56460  ac_cv_lib_crypto_EVP_aes_128_xts=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_EVP_aes_128_xts" >&5
56467$as_echo "$ac_cv_lib_crypto_EVP_aes_128_xts" >&6; }
56468if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes; then :
56469  ac_cv_libcrypto_dummy=yes
56470else
56471  ac_cv_libcrypto_aes_xts=no
56472fi
56473
56474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_xts in -lcrypto" >&5
56475$as_echo_n "checking for EVP_aes_256_xts in -lcrypto... " >&6; }
56476if ${ac_cv_lib_crypto_EVP_aes_256_xts+:} 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 EVP_aes_256_xts ();
56491int
56492main ()
56493{
56494return EVP_aes_256_xts ();
56495  ;
56496  return 0;
56497}
56498_ACEOF
56499if ac_fn_c_try_link "$LINENO"; then :
56500  ac_cv_lib_crypto_EVP_aes_256_xts=yes
56501else
56502  ac_cv_lib_crypto_EVP_aes_256_xts=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_EVP_aes_256_xts" >&5
56509$as_echo "$ac_cv_lib_crypto_EVP_aes_256_xts" >&6; }
56510if test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then :
56511  ac_cv_libcrypto_dummy=yes
56512else
56513  ac_cv_libcrypto_aes_xts=no
56514fi
56515
56516
56517        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`EVP_CipherInit_ex' can be used with duplicate keys" >&5
56518$as_echo_n "checking if \`EVP_CipherInit_ex' can be used with duplicate keys... " >&6; }
56519if ${ac_cv_openssl_xts_duplicate_keys+:} false; then :
56520  $as_echo_n "(cached) " >&6
56521else
56522  ac_ext=c
56523ac_cpp='$CPP $CPPFLAGS'
56524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56526ac_compiler_gnu=$ac_cv_c_compiler_gnu
56527
56528    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56529/* end confdefs.h.  */
56530#include <openssl/err.h>
56531#include <openssl/evp.h>
56532int
56533main ()
56534{
56535unsigned char key[ 16 ] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
56536EVP_CIPHER_CTX ctx;
56537int result;
56538
56539EVP_CIPHER_CTX_init( &ctx );
56540result = EVP_CipherInit_ex(ctx, EVP_aes_128_xts(), NULL, key, key, 0);
56541EVP_CIPHER_CTX_cleanup( &ctx );
56542
56543return( result == 1 );
56544  ;
56545  return 0;
56546}
56547_ACEOF
56548if ac_fn_c_try_link "$LINENO"; then :
56549  ac_cv_openssl_xts_duplicate_keys=yes
56550else
56551  ac_cv_openssl_xts_duplicate_keys=no
56552fi
56553rm -f core conftest.err conftest.$ac_objext \
56554    conftest$ac_exeext conftest.$ac_ext
56555    ac_ext=c
56556ac_cpp='$CPP $CPPFLAGS'
56557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559ac_compiler_gnu=$ac_cv_c_compiler_gnu
56560
56561fi
56562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_xts_duplicate_keys" >&5
56563$as_echo "$ac_cv_openssl_xts_duplicate_keys" >&6; }
56564
56565    if test "x$ac_cv_openssl_xts_duplicate_keys" = xno; then :
56566  ac_cv_libcrypto_aes_xts=no
56567else
56568  if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then :
56569
56570$as_echo "#define HAVE_EVP_CRYPTO_AES_XTS 1" >>confdefs.h
56571
56572
56573fi
56574
56575fi
56576
56577fi
56578
56579fi
56580
56581    if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_cbc" = xno; then :
56582  ac_cv_libcaes_aes_cbc=local
56583else
56584  ac_cv_libcaes_aes_cbc=$ac_cv_libcrypto_aes_cbc
56585fi
56586
56587  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then :
56588  ac_cv_libcaes_aes_ecb=local
56589else
56590  ac_cv_libcaes_aes_ecb=$ac_cv_libcrypto_aes_ecb
56591fi
56592
56593  if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_xts" = xno; then :
56594  ac_cv_libcaes_aes_xts=local
56595else
56596  ac_cv_libcaes_aes_xts=$ac_cv_libcrypto_aes_xts
56597fi
56598
56599  ac_cv_libcaes_CPPFLAGS="-I../libcaes";
56600  ac_cv_libcaes_LIBADD="../libcaes/libcaes.la";
56601
56602  ac_cv_libcaes=local
56603
56604
56605
56606$as_echo "#define HAVE_LOCAL_LIBCAES 1" >>confdefs.h
56607
56608    HAVE_LOCAL_LIBCAES=1
56609
56610
56611fi
56612
56613   if test "x$ac_cv_libcaes" = xlocal; then
56614  HAVE_LOCAL_LIBCAES_TRUE=
56615  HAVE_LOCAL_LIBCAES_FALSE='#'
56616else
56617  HAVE_LOCAL_LIBCAES_TRUE='#'
56618  HAVE_LOCAL_LIBCAES_FALSE=
56619fi
56620
56621  if test "x$ac_cv_libcaes_CPPFLAGS" != "x"; then :
56622  LIBCAES_CPPFLAGS=$ac_cv_libcaes_CPPFLAGS
56623
56624
56625fi
56626  if test "x$ac_cv_libcaes_LIBADD" != "x"; then :
56627  LIBCAES_LIBADD=$ac_cv_libcaes_LIBADD
56628
56629
56630fi
56631
56632  if test "x$ac_cv_libcaes" = xyes; then :
56633  ax_libcaes_pc_libs_private=-lcaes
56634
56635
56636fi
56637
56638  if test "x$ac_cv_libcaes" = xyes; then :
56639  ax_libcaes_spec_requires=libcaes
56640
56641    ax_libcaes_spec_build_requires=libcaes-devel
56642
56643
56644fi
56645
56646
56647  for ac_func in bindtextdomain
56648do :
56649  ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain"
56650if test "x$ac_cv_func_bindtextdomain" = xyes; then :
56651  cat >>confdefs.h <<_ACEOF
56652#define HAVE_BINDTEXTDOMAIN 1
56653_ACEOF
56654
56655fi
56656done
56657
56658
56659
56660
56661
56662# Check whether --with-pyprefix was given.
56663if test "${with_pyprefix+set}" = set; then :
56664  withval=$with_pyprefix; ac_cv_with_pyprefix=$withval
56665else
56666  ac_cv_with_pyprefix=no
56667fi
56668
56669    { $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
56670$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; }
56671if ${ac_cv_with_pyprefix+:} false; then :
56672  $as_echo_n "(cached) " >&6
56673else
56674  ac_cv_with_pyprefix=no
56675fi
56676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5
56677$as_echo "$ac_cv_with_pyprefix" >&6; }
56678
56679
56680
56681  # Check whether --enable-python was given.
56682if test "${enable_python+set}" = set; then :
56683  enableval=$enable_python; ac_cv_enable_python=$enableval
56684else
56685  ac_cv_enable_python=no
56686fi
56687
56688    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5
56689$as_echo_n "checking whether to enable build Python bindings... " >&6; }
56690if ${ac_cv_enable_python+:} false; then :
56691  $as_echo_n "(cached) " >&6
56692else
56693  ac_cv_enable_python=no
56694fi
56695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5
56696$as_echo "$ac_cv_enable_python" >&6; }
56697
56698
56699# Check whether --with-pythondir was given.
56700if test "${with_pythondir+set}" = set; then :
56701  withval=$with_pythondir; ac_cv_with_pythondir=$withval
56702else
56703  ac_cv_with_pythondir=no
56704fi
56705
56706    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5
56707$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; }
56708if ${ac_cv_with_pythondir+:} false; then :
56709  $as_echo_n "(cached) " >&6
56710else
56711  ac_cv_with_pythondir=no
56712fi
56713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5
56714$as_echo "$ac_cv_with_pythondir" >&6; }
56715
56716
56717  # Check whether --enable-python2 was given.
56718if test "${enable_python2+set}" = set; then :
56719  enableval=$enable_python2; ac_cv_enable_python2=$enableval
56720else
56721  ac_cv_enable_python2=no
56722fi
56723
56724    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5
56725$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; }
56726if ${ac_cv_enable_python2+:} false; then :
56727  $as_echo_n "(cached) " >&6
56728else
56729  ac_cv_enable_python2=no
56730fi
56731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5
56732$as_echo "$ac_cv_enable_python2" >&6; }
56733
56734
56735# Check whether --with-pythondir2 was given.
56736if test "${with_pythondir2+set}" = set; then :
56737  withval=$with_pythondir2; ac_cv_with_pythondir2=$withval
56738else
56739  ac_cv_with_pythondir2=no
56740fi
56741
56742    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5
56743$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; }
56744if ${ac_cv_with_pythondir2+:} false; then :
56745  $as_echo_n "(cached) " >&6
56746else
56747  ac_cv_with_pythondir2=no
56748fi
56749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5
56750$as_echo "$ac_cv_with_pythondir2" >&6; }
56751
56752
56753  # Check whether --enable-python3 was given.
56754if test "${enable_python3+set}" = set; then :
56755  enableval=$enable_python3; ac_cv_enable_python3=$enableval
56756else
56757  ac_cv_enable_python3=no
56758fi
56759
56760    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5
56761$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; }
56762if ${ac_cv_enable_python3+:} false; then :
56763  $as_echo_n "(cached) " >&6
56764else
56765  ac_cv_enable_python3=no
56766fi
56767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5
56768$as_echo "$ac_cv_enable_python3" >&6; }
56769
56770
56771# Check whether --with-pythondir3 was given.
56772if test "${with_pythondir3+set}" = set; then :
56773  withval=$with_pythondir3; ac_cv_with_pythondir3=$withval
56774else
56775  ac_cv_with_pythondir3=no
56776fi
56777
56778    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5
56779$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; }
56780if ${ac_cv_with_pythondir3+:} false; then :
56781  $as_echo_n "(cached) " >&6
56782else
56783  ac_cv_with_pythondir3=no
56784fi
56785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5
56786$as_echo "$ac_cv_with_pythondir3" >&6; }
56787
56788  if test "x${ac_cv_enable_python}" != xno; then :
56789  if test "x${PYTHON_VERSION}" != x; then :
56790  ax_python_progs="python${PYTHON_VERSION}"
56791else
56792  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"
56793fi
56794  for ac_prog in $ax_python_progs
56795do
56796  # Extract the first word of "$ac_prog", so it can be a program name with args.
56797set dummy $ac_prog; ac_word=$2
56798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
56799$as_echo_n "checking for $ac_word... " >&6; }
56800if ${ac_cv_prog_PYTHON+:} false; then :
56801  $as_echo_n "(cached) " >&6
56802else
56803  if test -n "$PYTHON"; then
56804  ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
56805else
56806as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56807for as_dir in $PATH
56808do
56809  IFS=$as_save_IFS
56810  test -z "$as_dir" && as_dir=.
56811    for ac_exec_ext in '' $ac_executable_extensions; do
56812  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
56813    ac_cv_prog_PYTHON="$ac_prog"
56814    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
56815    break 2
56816  fi
56817done
56818  done
56819IFS=$as_save_IFS
56820
56821fi
56822fi
56823PYTHON=$ac_cv_prog_PYTHON
56824if test -n "$PYTHON"; then
56825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
56826$as_echo "$PYTHON" >&6; }
56827else
56828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
56829$as_echo "no" >&6; }
56830fi
56831
56832
56833  test -n "$PYTHON" && break
56834done
56835
56836  if test "x${PYTHON}" != x; then :
56837  ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
56838    ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
56839    PYTHON_PLATFORM=$ax_prog_python_platform
56840
56841
56842else
56843  as_fn_error $? "Unable to find python" "$LINENO" 5
56844
56845fi
56846  PYTHON=$PYTHON
56847
56848
56849  if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then :
56850  for ac_prog in python${PYTHON_VERSION}-config
56851do
56852  # Extract the first word of "$ac_prog", so it can be a program name with args.
56853set dummy $ac_prog; ac_word=$2
56854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
56855$as_echo_n "checking for $ac_word... " >&6; }
56856if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
56857  $as_echo_n "(cached) " >&6
56858else
56859  if test -n "$PYTHON_CONFIG"; then
56860  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
56861else
56862as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56863for as_dir in $PATH
56864do
56865  IFS=$as_save_IFS
56866  test -z "$as_dir" && as_dir=.
56867    for ac_exec_ext in '' $ac_executable_extensions; do
56868  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
56869    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
56870    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
56871    break 2
56872  fi
56873done
56874  done
56875IFS=$as_save_IFS
56876
56877fi
56878fi
56879PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
56880if test -n "$PYTHON_CONFIG"; then
56881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
56882$as_echo "$PYTHON_CONFIG" >&6; }
56883else
56884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
56885$as_echo "no" >&6; }
56886fi
56887
56888
56889  test -n "$PYTHON_CONFIG" && break
56890done
56891
56892
56893fi
56894  if test "x${PYTHON_CONFIG}" = x; then :
56895  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
56896do
56897  # Extract the first word of "$ac_prog", so it can be a program name with args.
56898set dummy $ac_prog; ac_word=$2
56899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
56900$as_echo_n "checking for $ac_word... " >&6; }
56901if ${ac_cv_prog_PYTHON_CONFIG+:} false; then :
56902  $as_echo_n "(cached) " >&6
56903else
56904  if test -n "$PYTHON_CONFIG"; then
56905  ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test.
56906else
56907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56908for as_dir in $PATH
56909do
56910  IFS=$as_save_IFS
56911  test -z "$as_dir" && as_dir=.
56912    for ac_exec_ext in '' $ac_executable_extensions; do
56913  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
56914    ac_cv_prog_PYTHON_CONFIG="$ac_prog"
56915    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
56916    break 2
56917  fi
56918done
56919  done
56920IFS=$as_save_IFS
56921
56922fi
56923fi
56924PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG
56925if test -n "$PYTHON_CONFIG"; then
56926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
56927$as_echo "$PYTHON_CONFIG" >&6; }
56928else
56929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
56930$as_echo "no" >&6; }
56931fi
56932
56933
56934  test -n "$PYTHON_CONFIG" && break
56935done
56936
56937
56938fi
56939  if test "x${PYTHON_CONFIG}" = x; then :
56940  as_fn_error $? "Unable to find python-config" "$LINENO" 5
56941
56942fi
56943  PYTHON_CONFIG=$PYTHON_CONFIG
56944
56945
56946
56947  if test "x${PYTHON_CONFIG}" != x; then :
56948      PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`;
56949
56950    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
56951$as_echo_n "checking for Python includes... " >&6; }
56952    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5
56953$as_echo "$PYTHON_INCLUDES" >&6; }
56954
56955        PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`;
56956
56957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5
56958$as_echo_n "checking for Python libraries... " >&6; }
56959    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
56960$as_echo "$PYTHON_LDFLAGS" >&6; }
56961
56962        case $host_os in #(
56963  cygwin*) :
56964    PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #(
56965  *) :
56966     ;; #(
56967  *) :
56968     ;;
56969esac
56970
56971        BACKUP_CPPFLAGS="${CPPFLAGS}"
56972    CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}"
56973
56974    for ac_header in Python.h
56975do :
56976  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
56977if test "x$ac_cv_header_Python_h" = xyes; then :
56978  cat >>confdefs.h <<_ACEOF
56979#define HAVE_PYTHON_H 1
56980_ACEOF
56981 ac_cv_header_python_h=yes
56982else
56983  ac_cv_header_python_h=no
56984fi
56985
56986done
56987
56988
56989    CPPFLAGS="${BACKUP_CPPFLAGS}"
56990
56991fi
56992
56993  if test "x${ac_cv_header_python_h}" != xyes; then :
56994  ac_cv_enable_python=no
56995else
56996  ac_cv_enable_python=${ax_prog_python_version}
56997    PYTHON_CPPFLAGS=$PYTHON_INCLUDES
56998
56999
57000    PYTHON_LDFLAGS=$PYTHON_LDFLAGS
57001
57002
57003        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57004  ax_python_prefix="\${prefix}"
57005else
57006  ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null`
57007fi
57008
57009    PYTHON_PREFIX=$ax_python_prefix
57010
57011
57012        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57013  ax_python_exec_prefix="\${exec_prefix}"
57014else
57015  ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null`
57016fi
57017
57018    PYTHON_EXEC_PREFIX=$ax_python_exec_prefix
57019
57020
57021        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`;
57022
57023    if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then :
57024  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57025  ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}"
57026else
57027  ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
57028fi
57029else
57030  ax_python_pythondir=$ac_cv_with_pythondir
57031fi
57032
57033    pythondir=$ax_python_pythondir
57034
57035
57036        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`;
57037    ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
57038
57039    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57040  ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}"
57041else
57042  ax_python_pyexecdir=$ax_python_library_dir
57043fi
57044
57045    pyexecdir=$ax_python_pyexecdir
57046
57047
57048    PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix
57049
57050
57051    PYTHON_PACKAGE_DIR=$ax_python_library_dir
57052
57053
57054fi
57055
57056fi
57057
57058  if test "x${ac_cv_enable_python2}" != xno; then :
57059  ax_python2_progs="python2 python2.7 python2.6 python2.5"
57060  for ac_prog in $ax_python2_progs
57061do
57062  # Extract the first word of "$ac_prog", so it can be a program name with args.
57063set dummy $ac_prog; ac_word=$2
57064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57065$as_echo_n "checking for $ac_word... " >&6; }
57066if ${ac_cv_prog_PYTHON2+:} false; then :
57067  $as_echo_n "(cached) " >&6
57068else
57069  if test -n "$PYTHON2"; then
57070  ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test.
57071else
57072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57073for as_dir in $PATH
57074do
57075  IFS=$as_save_IFS
57076  test -z "$as_dir" && as_dir=.
57077    for ac_exec_ext in '' $ac_executable_extensions; do
57078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57079    ac_cv_prog_PYTHON2="$ac_prog"
57080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57081    break 2
57082  fi
57083done
57084  done
57085IFS=$as_save_IFS
57086
57087fi
57088fi
57089PYTHON2=$ac_cv_prog_PYTHON2
57090if test -n "$PYTHON2"; then
57091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5
57092$as_echo "$PYTHON2" >&6; }
57093else
57094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57095$as_echo "no" >&6; }
57096fi
57097
57098
57099  test -n "$PYTHON2" && break
57100done
57101
57102  if test "x${PYTHON2}" != x; then :
57103  ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
57104    PYTHON2_VERSION=$ax_prog_python2_version
57105
57106
57107    ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
57108    PYTHON2_PLATFORM=$ax_prog_python2_platform
57109
57110
57111else
57112  as_fn_error $? "Unable to find python2" "$LINENO" 5
57113
57114fi
57115  PYTHON2=$PYTHON2
57116
57117
57118  if test "x${PYTHON2_CONFIG}" = x; then :
57119  for ac_prog in python2-config python2.7-config python2.6-config python2.5-config
57120do
57121  # Extract the first word of "$ac_prog", so it can be a program name with args.
57122set dummy $ac_prog; ac_word=$2
57123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57124$as_echo_n "checking for $ac_word... " >&6; }
57125if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then :
57126  $as_echo_n "(cached) " >&6
57127else
57128  if test -n "$PYTHON2_CONFIG"; then
57129  ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test.
57130else
57131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57132for as_dir in $PATH
57133do
57134  IFS=$as_save_IFS
57135  test -z "$as_dir" && as_dir=.
57136    for ac_exec_ext in '' $ac_executable_extensions; do
57137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57138    ac_cv_prog_PYTHON2_CONFIG="$ac_prog"
57139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57140    break 2
57141  fi
57142done
57143  done
57144IFS=$as_save_IFS
57145
57146fi
57147fi
57148PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG
57149if test -n "$PYTHON2_CONFIG"; then
57150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5
57151$as_echo "$PYTHON2_CONFIG" >&6; }
57152else
57153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57154$as_echo "no" >&6; }
57155fi
57156
57157
57158  test -n "$PYTHON2_CONFIG" && break
57159done
57160
57161
57162fi
57163  if test "x${PYTHON2_CONFIG}" = x; then :
57164  as_fn_error $? "Unable to find python2-config" "$LINENO" 5
57165
57166fi
57167  PYTHON2_CONFIG=$PYTHON2_CONFIG
57168
57169
57170
57171  if test "x${PYTHON2_CONFIG}" != x; then :
57172      PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`;
57173
57174    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5
57175$as_echo_n "checking for Python verison 2 includes... " >&6; }
57176    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5
57177$as_echo "$PYTHON2_INCLUDES" >&6; }
57178
57179        PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`;
57180
57181    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5
57182$as_echo_n "checking for Python 2 libraries... " >&6; }
57183    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5
57184$as_echo "$PYTHON2_LDFLAGS" >&6; }
57185
57186        case $host_os in #(
57187  cygwin*) :
57188    PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #(
57189  *) :
57190     ;; #(
57191  *) :
57192     ;;
57193esac
57194
57195        BACKUP_CPPFLAGS="${CPPFLAGS}"
57196    CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}"
57197
57198    for ac_header in Python.h
57199do :
57200  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
57201if test "x$ac_cv_header_Python_h" = xyes; then :
57202  cat >>confdefs.h <<_ACEOF
57203#define HAVE_PYTHON_H 1
57204_ACEOF
57205 ac_cv_header_python2_h=yes
57206else
57207  ac_cv_header_python2_h=no
57208fi
57209
57210done
57211
57212
57213    CPPFLAGS="${BACKUP_CPPFLAGS}"
57214
57215fi
57216
57217  if test "x${ac_cv_header_python2_h}" != xyes; then :
57218  ac_cv_enable_python2=no
57219else
57220  ac_cv_enable_python2=$PYTHON2_VERSION
57221    PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES
57222
57223
57224    PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS
57225
57226
57227        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57228  ax_python2_prefix="\${prefix}"
57229else
57230  ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null`
57231fi
57232
57233    PYTHON2_PREFIX=$ax_python2_prefix
57234
57235
57236        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57237  ax_python2_exec_prefix="\${exec_prefix}"
57238else
57239  ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null`
57240fi
57241
57242    PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix
57243
57244
57245        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`;
57246
57247    if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then :
57248  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57249  ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}"
57250else
57251  ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
57252fi
57253else
57254  ax_python2_pythondir=$ac_cv_with_pythondir2
57255fi
57256
57257    pythondir2=$ax_python2_pythondir
57258
57259
57260        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`;
57261    ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
57262
57263    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57264  ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}"
57265else
57266  ax_python2_pyexecdir=$ax_python2_library_dir
57267fi
57268
57269    pyexecdir2=$ax_python2_pyexecdir
57270
57271
57272    PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix
57273
57274
57275    PYTHON2_PACKAGE_DIR=$ax_python2_library_dir
57276
57277
57278fi
57279
57280fi
57281
57282  if test "x${ac_cv_enable_python3}" != xno; then :
57283  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"
57284  for ac_prog in $ax_python3_progs
57285do
57286  # Extract the first word of "$ac_prog", so it can be a program name with args.
57287set dummy $ac_prog; ac_word=$2
57288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57289$as_echo_n "checking for $ac_word... " >&6; }
57290if ${ac_cv_prog_PYTHON3+:} false; then :
57291  $as_echo_n "(cached) " >&6
57292else
57293  if test -n "$PYTHON3"; then
57294  ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test.
57295else
57296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57297for as_dir in $PATH
57298do
57299  IFS=$as_save_IFS
57300  test -z "$as_dir" && as_dir=.
57301    for ac_exec_ext in '' $ac_executable_extensions; do
57302  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57303    ac_cv_prog_PYTHON3="$ac_prog"
57304    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57305    break 2
57306  fi
57307done
57308  done
57309IFS=$as_save_IFS
57310
57311fi
57312fi
57313PYTHON3=$ac_cv_prog_PYTHON3
57314if test -n "$PYTHON3"; then
57315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
57316$as_echo "$PYTHON3" >&6; }
57317else
57318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57319$as_echo "no" >&6; }
57320fi
57321
57322
57323  test -n "$PYTHON3" && break
57324done
57325
57326  if test "x${PYTHON3}" != x; then :
57327  ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`;
57328    PYTHON3_VERSION=$ax_prog_python3_version
57329
57330
57331    ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`;
57332    PYTHON3_PLATFORM=$ax_prog_python3_platform
57333
57334
57335else
57336  as_fn_error $? "Unable to find python3" "$LINENO" 5
57337
57338fi
57339  PYTHON3=$PYTHON3
57340
57341
57342  if test "x${PYTHON3_CONFIG}" = x; then :
57343  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
57344do
57345  # Extract the first word of "$ac_prog", so it can be a program name with args.
57346set dummy $ac_prog; ac_word=$2
57347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57348$as_echo_n "checking for $ac_word... " >&6; }
57349if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then :
57350  $as_echo_n "(cached) " >&6
57351else
57352  if test -n "$PYTHON3_CONFIG"; then
57353  ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test.
57354else
57355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57356for as_dir in $PATH
57357do
57358  IFS=$as_save_IFS
57359  test -z "$as_dir" && as_dir=.
57360    for ac_exec_ext in '' $ac_executable_extensions; do
57361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57362    ac_cv_prog_PYTHON3_CONFIG="$ac_prog"
57363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57364    break 2
57365  fi
57366done
57367  done
57368IFS=$as_save_IFS
57369
57370fi
57371fi
57372PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG
57373if test -n "$PYTHON3_CONFIG"; then
57374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
57375$as_echo "$PYTHON3_CONFIG" >&6; }
57376else
57377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57378$as_echo "no" >&6; }
57379fi
57380
57381
57382  test -n "$PYTHON3_CONFIG" && break
57383done
57384
57385
57386fi
57387  if test "x${PYTHON3_CONFIG}" = x; then :
57388  as_fn_error $? "Unable to find python3-config" "$LINENO" 5
57389
57390fi
57391  PYTHON3_CONFIG=$PYTHON3_CONFIG
57392
57393
57394
57395  if test "x${PYTHON3_CONFIG}" != x; then :
57396      PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`;
57397
57398    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5
57399$as_echo_n "checking for Python verison 3 includes... " >&6; }
57400    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5
57401$as_echo "$PYTHON3_INCLUDES" >&6; }
57402
57403        PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`;
57404
57405    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5
57406$as_echo_n "checking for Python 3 libraries... " >&6; }
57407    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5
57408$as_echo "$PYTHON3_LDFLAGS" >&6; }
57409
57410        case $host_os in #(
57411  cygwin*) :
57412    PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #(
57413  *) :
57414     ;; #(
57415  *) :
57416     ;;
57417esac
57418
57419        BACKUP_CPPFLAGS="${CPPFLAGS}"
57420    CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}"
57421
57422    for ac_header in Python.h
57423do :
57424  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
57425if test "x$ac_cv_header_Python_h" = xyes; then :
57426  cat >>confdefs.h <<_ACEOF
57427#define HAVE_PYTHON_H 1
57428_ACEOF
57429 ac_cv_header_python3_h=yes
57430else
57431  ac_cv_header_python3_h=no
57432fi
57433
57434done
57435
57436
57437    CPPFLAGS="${BACKUP_CPPFLAGS}"
57438
57439fi
57440
57441  if test "x${ac_cv_header_python3_h}" != xyes; then :
57442  ac_cv_enable_python3=no
57443else
57444  ac_cv_enable_python3=$PYTHON3_VERSION
57445    PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES
57446
57447
57448    PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS
57449
57450
57451        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57452  ax_python3_prefix="\${prefix}"
57453else
57454  ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null`
57455fi
57456
57457    PYTHON3_PREFIX=$ax_python3_prefix
57458
57459
57460        if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57461  ax_python3_exec_prefix="\${exec_prefix}"
57462else
57463  ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null`
57464fi
57465
57466    PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix
57467
57468
57469        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`;
57470
57471    if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then :
57472  if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57473  ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}"
57474else
57475  ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null`
57476fi
57477else
57478  ax_python3_pythondir=$ac_cv_with_pythondir3
57479fi
57480
57481    pythondir3=$ax_python3_pythondir
57482
57483
57484        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`;
57485    ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`;
57486
57487    if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then :
57488  ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}"
57489else
57490  ax_python3_pyexecdir=$ax_python3_library_dir
57491fi
57492
57493    pyexecdir3=$ax_python3_pyexecdir
57494
57495
57496    PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix
57497
57498
57499    PYTHON3_PACKAGE_DIR=$ax_python3_library_dir
57500
57501
57502fi
57503
57504fi
57505
57506   if test "x${ac_cv_enable_python}" != xno; then
57507  HAVE_PYTHON_TRUE=
57508  HAVE_PYTHON_FALSE='#'
57509else
57510  HAVE_PYTHON_TRUE='#'
57511  HAVE_PYTHON_FALSE=
57512fi
57513
57514
57515   if test "x${ac_cv_enable_python2}" != xno; then
57516  HAVE_PYTHON2_TRUE=
57517  HAVE_PYTHON2_FALSE='#'
57518else
57519  HAVE_PYTHON2_TRUE='#'
57520  HAVE_PYTHON2_FALSE=
57521fi
57522
57523
57524   if test "x${ac_cv_enable_python3}" != xno; then
57525  HAVE_PYTHON3_TRUE=
57526  HAVE_PYTHON3_FALSE='#'
57527else
57528  HAVE_PYTHON3_TRUE='#'
57529  HAVE_PYTHON3_FALSE=
57530fi
57531
57532
57533   if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then
57534  HAVE_PYTHON_TESTS_TRUE=
57535  HAVE_PYTHON_TESTS_FALSE='#'
57536else
57537  HAVE_PYTHON_TESTS_TRUE='#'
57538  HAVE_PYTHON_TESTS_FALSE=
57539fi
57540
57541
57542  if test "x${ac_cv_enable_python}" = xno; then :
57543  if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
57544  if test "x${ac_cv_enable_python2}" != xno; then :
57545  ac_cv_enable_python=${ac_cv_enable_python2}
57546else
57547  ac_cv_enable_python=""
57548fi
57549      if test "x${ac_cv_enable_python3}" != xno; then :
57550  if test "x${ac_cv_enable_python}" != x; then :
57551  ac_cv_enable_python="${ac_cv_enable_python}, "
57552fi
57553        ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}"
57554fi
57555
57556fi
57557
57558fi
57559
57560
57561if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then :
57562    for ac_header in stdarg.h varargs.h
57563do :
57564  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
57565ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
57566if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
57567  cat >>confdefs.h <<_ACEOF
57568#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
57569_ACEOF
57570
57571fi
57572
57573done
57574
57575
57576  if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then :
57577  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57578$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57579as_fn_error 1 "Missing headers: stdarg.h and varargs.h
57580See \`config.log' for more details" "$LINENO" 5; }
57581
57582fi
57583
57584fi
57585
57586
57587
57588# Check whether --with-libfuse was given.
57589if test "${with_libfuse+set}" = set; then :
57590  withval=$with_libfuse; ac_cv_with_libfuse=$withval
57591else
57592  ac_cv_with_libfuse=auto-detect
57593fi
57594
57595    { $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
57596$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; }
57597if ${ac_cv_with_libfuse+:} false; then :
57598  $as_echo_n "(cached) " >&6
57599else
57600  ac_cv_with_libfuse=auto-detect
57601fi
57602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5
57603$as_echo "$ac_cv_with_libfuse" >&6; }
57604
57605      if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then :
57606  if test -d "$ac_cv_with_libfuse"; then :
57607  CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include"
57608      LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib"
57609else
57610  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5
57611$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;}
57612
57613fi
57614
57615fi
57616
57617  if test "x$ac_cv_with_libfuse" = xno; then :
57618  ac_cv_libfuse=no
57619else
57620      if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then :
57621
57622pkg_failed=no
57623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5
57624$as_echo_n "checking for fuse... " >&6; }
57625
57626if test -n "$fuse_CFLAGS"; then
57627    pkg_cv_fuse_CFLAGS="$fuse_CFLAGS"
57628 elif test -n "$PKG_CONFIG"; then
57629    if test -n "$PKG_CONFIG" && \
57630    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
57631  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
57632  ac_status=$?
57633  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
57634  test $ac_status = 0; }; then
57635  pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
57636		      test "x$?" != "x0" && pkg_failed=yes
57637else
57638  pkg_failed=yes
57639fi
57640 else
57641    pkg_failed=untried
57642fi
57643if test -n "$fuse_LIBS"; then
57644    pkg_cv_fuse_LIBS="$fuse_LIBS"
57645 elif test -n "$PKG_CONFIG"; then
57646    if test -n "$PKG_CONFIG" && \
57647    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
57648  ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
57649  ac_status=$?
57650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
57651  test $ac_status = 0; }; then
57652  pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
57653		      test "x$?" != "x0" && pkg_failed=yes
57654else
57655  pkg_failed=yes
57656fi
57657 else
57658    pkg_failed=untried
57659fi
57660
57661
57662
57663if test $pkg_failed = yes; then
57664   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57665$as_echo "no" >&6; }
57666
57667if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
57668        _pkg_short_errors_supported=yes
57669else
57670        _pkg_short_errors_supported=no
57671fi
57672        if test $_pkg_short_errors_supported = yes; then
57673	        fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
57674        else
57675	        fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1`
57676        fi
57677	# Put the nasty error message in config.log where it belongs
57678	echo "$fuse_PKG_ERRORS" >&5
57679
57680	ac_cv_libfuse=no
57681elif test $pkg_failed = untried; then
57682     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57683$as_echo "no" >&6; }
57684	ac_cv_libfuse=no
57685else
57686	fuse_CFLAGS=$pkg_cv_fuse_CFLAGS
57687	fuse_LIBS=$pkg_cv_fuse_LIBS
57688        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
57689$as_echo "yes" >&6; }
57690	ac_cv_libfuse=libfuse
57691fi
57692
57693fi
57694
57695    if test "x$ac_cv_libfuse" = xlibfuse; then :
57696  ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS"
57697      ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS"
57698else
57699        for ac_header in fuse.h
57700do :
57701  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
57702if test "x$ac_cv_header_fuse_h" = xyes; then :
57703  cat >>confdefs.h <<_ACEOF
57704#define HAVE_FUSE_H 1
57705_ACEOF
57706 ac_cv_header_fuse_h=yes
57707else
57708  ac_cv_header_fuse_h=no
57709fi
57710
57711done
57712
57713
57714            if test "x$ac_cv_header_fuse_h" = xno; then :
57715  { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;}
57716        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
57717        for ac_header in fuse.h
57718do :
57719  ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
57720if test "x$ac_cv_header_fuse_h" = xyes; then :
57721  cat >>confdefs.h <<_ACEOF
57722#define HAVE_FUSE_H 1
57723_ACEOF
57724
57725fi
57726
57727done
57728
57729
57730fi
57731
57732      if test "x$ac_cv_header_fuse_h" = xno; then :
57733  ac_cv_libfuse=no
57734else
57735          ac_cv_libfuse=libfuse
57736
57737        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5
57738$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; }
57739if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then :
57740  $as_echo_n "(cached) " >&6
57741else
57742  ac_check_lib_save_LIBS=$LIBS
57743LIBS="-lfuse  $LIBS"
57744cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57745/* end confdefs.h.  */
57746
57747/* Override any GCC internal prototype to avoid an error.
57748   Use char because int might match the return type of a GCC
57749   builtin and then its argument prototype would still apply.  */
57750#ifdef __cplusplus
57751extern "C"
57752#endif
57753char fuse_daemonize ();
57754int
57755main ()
57756{
57757return fuse_daemonize ();
57758  ;
57759  return 0;
57760}
57761_ACEOF
57762if ac_fn_c_try_link "$LINENO"; then :
57763  ac_cv_lib_fuse_fuse_daemonize=yes
57764else
57765  ac_cv_lib_fuse_fuse_daemonize=no
57766fi
57767rm -f core conftest.err conftest.$ac_objext \
57768    conftest$ac_exeext conftest.$ac_ext
57769LIBS=$ac_check_lib_save_LIBS
57770fi
57771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5
57772$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; }
57773if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then :
57774  ac_cv_libfuse_dummy=yes
57775else
57776  ac_cv_libfuse=no
57777fi
57778
57779        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5
57780$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; }
57781if ${ac_cv_lib_fuse_fuse_destroy+:} false; then :
57782  $as_echo_n "(cached) " >&6
57783else
57784  ac_check_lib_save_LIBS=$LIBS
57785LIBS="-lfuse  $LIBS"
57786cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57787/* end confdefs.h.  */
57788
57789/* Override any GCC internal prototype to avoid an error.
57790   Use char because int might match the return type of a GCC
57791   builtin and then its argument prototype would still apply.  */
57792#ifdef __cplusplus
57793extern "C"
57794#endif
57795char fuse_destroy ();
57796int
57797main ()
57798{
57799return fuse_destroy ();
57800  ;
57801  return 0;
57802}
57803_ACEOF
57804if ac_fn_c_try_link "$LINENO"; then :
57805  ac_cv_lib_fuse_fuse_destroy=yes
57806else
57807  ac_cv_lib_fuse_fuse_destroy=no
57808fi
57809rm -f core conftest.err conftest.$ac_objext \
57810    conftest$ac_exeext conftest.$ac_ext
57811LIBS=$ac_check_lib_save_LIBS
57812fi
57813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5
57814$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; }
57815if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then :
57816  ac_cv_libfuse_dummy=yes
57817else
57818  ac_cv_libfuse=no
57819fi
57820
57821        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5
57822$as_echo_n "checking for fuse_mount in -lfuse... " >&6; }
57823if ${ac_cv_lib_fuse_fuse_mount+:} false; then :
57824  $as_echo_n "(cached) " >&6
57825else
57826  ac_check_lib_save_LIBS=$LIBS
57827LIBS="-lfuse  $LIBS"
57828cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57829/* end confdefs.h.  */
57830
57831/* Override any GCC internal prototype to avoid an error.
57832   Use char because int might match the return type of a GCC
57833   builtin and then its argument prototype would still apply.  */
57834#ifdef __cplusplus
57835extern "C"
57836#endif
57837char fuse_mount ();
57838int
57839main ()
57840{
57841return fuse_mount ();
57842  ;
57843  return 0;
57844}
57845_ACEOF
57846if ac_fn_c_try_link "$LINENO"; then :
57847  ac_cv_lib_fuse_fuse_mount=yes
57848else
57849  ac_cv_lib_fuse_fuse_mount=no
57850fi
57851rm -f core conftest.err conftest.$ac_objext \
57852    conftest$ac_exeext conftest.$ac_ext
57853LIBS=$ac_check_lib_save_LIBS
57854fi
57855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5
57856$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; }
57857if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then :
57858  ac_cv_libfuse_dummy=yes
57859else
57860  ac_cv_libfuse=no
57861fi
57862
57863        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5
57864$as_echo_n "checking for fuse_new in -lfuse... " >&6; }
57865if ${ac_cv_lib_fuse_fuse_new+:} false; then :
57866  $as_echo_n "(cached) " >&6
57867else
57868  ac_check_lib_save_LIBS=$LIBS
57869LIBS="-lfuse  $LIBS"
57870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57871/* end confdefs.h.  */
57872
57873/* Override any GCC internal prototype to avoid an error.
57874   Use char because int might match the return type of a GCC
57875   builtin and then its argument prototype would still apply.  */
57876#ifdef __cplusplus
57877extern "C"
57878#endif
57879char fuse_new ();
57880int
57881main ()
57882{
57883return fuse_new ();
57884  ;
57885  return 0;
57886}
57887_ACEOF
57888if ac_fn_c_try_link "$LINENO"; then :
57889  ac_cv_lib_fuse_fuse_new=yes
57890else
57891  ac_cv_lib_fuse_fuse_new=no
57892fi
57893rm -f core conftest.err conftest.$ac_objext \
57894    conftest$ac_exeext conftest.$ac_ext
57895LIBS=$ac_check_lib_save_LIBS
57896fi
57897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5
57898$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; }
57899if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then :
57900  ac_cv_libfuse_dummy=yes
57901else
57902  ac_cv_libfuse=no
57903fi
57904
57905
57906        ac_cv_libfuse_LIBADD="-lfuse";
57907
57908fi
57909
57910fi
57911
57912        if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then :
57913  CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26"
57914      for ac_header in osxfuse/fuse.h
57915do :
57916  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
57917if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
57918  cat >>confdefs.h <<_ACEOF
57919#define HAVE_OSXFUSE_FUSE_H 1
57920_ACEOF
57921
57922fi
57923
57924done
57925
57926
57927            if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
57928  { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;}
57929        CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
57930        for ac_header in osxfuse/fuse.h
57931do :
57932  ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default"
57933if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then :
57934  cat >>confdefs.h <<_ACEOF
57935#define HAVE_OSXFUSE_FUSE_H 1
57936_ACEOF
57937
57938fi
57939
57940done
57941
57942
57943fi
57944
57945      if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then :
57946  ac_cv_libfuse=no
57947else
57948          ac_cv_libfuse=libosxfuse
57949
57950        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5
57951$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; }
57952if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then :
57953  $as_echo_n "(cached) " >&6
57954else
57955  ac_check_lib_save_LIBS=$LIBS
57956LIBS="-losxfuse  $LIBS"
57957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57958/* end confdefs.h.  */
57959
57960/* Override any GCC internal prototype to avoid an error.
57961   Use char because int might match the return type of a GCC
57962   builtin and then its argument prototype would still apply.  */
57963#ifdef __cplusplus
57964extern "C"
57965#endif
57966char fuse_daemonize ();
57967int
57968main ()
57969{
57970return fuse_daemonize ();
57971  ;
57972  return 0;
57973}
57974_ACEOF
57975if ac_fn_c_try_link "$LINENO"; then :
57976  ac_cv_lib_osxfuse_fuse_daemonize=yes
57977else
57978  ac_cv_lib_osxfuse_fuse_daemonize=no
57979fi
57980rm -f core conftest.err conftest.$ac_objext \
57981    conftest$ac_exeext conftest.$ac_ext
57982LIBS=$ac_check_lib_save_LIBS
57983fi
57984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5
57985$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; }
57986if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then :
57987  ac_cv_libfuse_dummy=yes
57988else
57989  ac_cv_libfuse=no
57990fi
57991
57992        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5
57993$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; }
57994if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then :
57995  $as_echo_n "(cached) " >&6
57996else
57997  ac_check_lib_save_LIBS=$LIBS
57998LIBS="-losxfuse  $LIBS"
57999cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58000/* end confdefs.h.  */
58001
58002/* Override any GCC internal prototype to avoid an error.
58003   Use char because int might match the return type of a GCC
58004   builtin and then its argument prototype would still apply.  */
58005#ifdef __cplusplus
58006extern "C"
58007#endif
58008char fuse_destroy ();
58009int
58010main ()
58011{
58012return fuse_destroy ();
58013  ;
58014  return 0;
58015}
58016_ACEOF
58017if ac_fn_c_try_link "$LINENO"; then :
58018  ac_cv_lib_osxfuse_fuse_destroy=yes
58019else
58020  ac_cv_lib_osxfuse_fuse_destroy=no
58021fi
58022rm -f core conftest.err conftest.$ac_objext \
58023    conftest$ac_exeext conftest.$ac_ext
58024LIBS=$ac_check_lib_save_LIBS
58025fi
58026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5
58027$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; }
58028if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then :
58029  ac_cv_libfuse_dummy=yes
58030else
58031  ac_cv_libfuse=no
58032fi
58033
58034        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5
58035$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; }
58036if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then :
58037  $as_echo_n "(cached) " >&6
58038else
58039  ac_check_lib_save_LIBS=$LIBS
58040LIBS="-losxfuse  $LIBS"
58041cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58042/* end confdefs.h.  */
58043
58044/* Override any GCC internal prototype to avoid an error.
58045   Use char because int might match the return type of a GCC
58046   builtin and then its argument prototype would still apply.  */
58047#ifdef __cplusplus
58048extern "C"
58049#endif
58050char fuse_mount ();
58051int
58052main ()
58053{
58054return fuse_mount ();
58055  ;
58056  return 0;
58057}
58058_ACEOF
58059if ac_fn_c_try_link "$LINENO"; then :
58060  ac_cv_lib_osxfuse_fuse_mount=yes
58061else
58062  ac_cv_lib_osxfuse_fuse_mount=no
58063fi
58064rm -f core conftest.err conftest.$ac_objext \
58065    conftest$ac_exeext conftest.$ac_ext
58066LIBS=$ac_check_lib_save_LIBS
58067fi
58068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5
58069$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; }
58070if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then :
58071  ac_cv_libfuse_dummy=yes
58072else
58073  ac_cv_libfuse=no
58074fi
58075
58076        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5
58077$as_echo_n "checking for fuse_new in -losxfuse... " >&6; }
58078if ${ac_cv_lib_osxfuse_fuse_new+:} false; then :
58079  $as_echo_n "(cached) " >&6
58080else
58081  ac_check_lib_save_LIBS=$LIBS
58082LIBS="-losxfuse  $LIBS"
58083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084/* end confdefs.h.  */
58085
58086/* Override any GCC internal prototype to avoid an error.
58087   Use char because int might match the return type of a GCC
58088   builtin and then its argument prototype would still apply.  */
58089#ifdef __cplusplus
58090extern "C"
58091#endif
58092char fuse_new ();
58093int
58094main ()
58095{
58096return fuse_new ();
58097  ;
58098  return 0;
58099}
58100_ACEOF
58101if ac_fn_c_try_link "$LINENO"; then :
58102  ac_cv_lib_osxfuse_fuse_new=yes
58103else
58104  ac_cv_lib_osxfuse_fuse_new=no
58105fi
58106rm -f core conftest.err conftest.$ac_objext \
58107    conftest$ac_exeext conftest.$ac_ext
58108LIBS=$ac_check_lib_save_LIBS
58109fi
58110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5
58111$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; }
58112if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then :
58113  ac_cv_libfuse_dummy=yes
58114else
58115  ac_cv_libfuse=no
58116fi
58117
58118
58119        ac_cv_libfuse_LIBADD="-losxfuse";
58120
58121fi
58122
58123fi
58124
58125fi
58126
58127  if test "x$ac_cv_libfuse" = xlibfuse; then :
58128
58129$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h
58130
58131
58132fi
58133  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
58134
58135$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h
58136
58137
58138fi
58139
58140  if test "x$ac_cv_libfuse" != xno; then :
58141  HAVE_LIBFUSE=1
58142
58143else
58144  HAVE_LIBFUSE=0
58145
58146
58147fi
58148
58149
58150  if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then :
58151  LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS
58152
58153
58154fi
58155  if test "x$ac_cv_libfuse_LIBADD" != "x"; then :
58156  LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD
58157
58158
58159fi
58160
58161  if test "x$ac_cv_libfuse" = xlibfuse; then :
58162  ax_libfuse_pc_libs_private=-lfuse
58163
58164
58165fi
58166  if test "x$ac_cv_libfuse" = xlibosxfuse; then :
58167  ax_libfuse_pc_libs_private=-losxfuse
58168
58169
58170fi
58171
58172  if test "x$ac_cv_libfuse" = xlibfuse; then :
58173  ax_libfuse_spec_requires=fuse-libs
58174
58175    ax_libfuse_spec_build_requires=fuse-devel
58176
58177
58178fi
58179
58180
58181for ac_header in signal.h sys/signal.h unistd.h
58182do :
58183  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58184ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58185if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
58186  cat >>confdefs.h <<_ACEOF
58187#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58188_ACEOF
58189
58190fi
58191
58192done
58193
58194
58195  for ac_func in close getopt setvbuf
58196do :
58197  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58198ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58199if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58200  cat >>confdefs.h <<_ACEOF
58201#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58202_ACEOF
58203
58204fi
58205done
58206
58207
58208  if test "x$ac_cv_func_close" != xyes; then :
58209  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58210$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58211as_fn_error 1 "Missing function: close
58212See \`config.log' for more details" "$LINENO" 5; }
58213
58214fi
58215
58216    for ac_header in errno.h
58217do :
58218  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
58219if test "x$ac_cv_header_errno_h" = xyes; then :
58220  cat >>confdefs.h <<_ACEOF
58221#define HAVE_ERRNO_H 1
58222_ACEOF
58223
58224fi
58225
58226done
58227
58228
58229  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
58230$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
58231if ${ac_cv_header_time+:} false; then :
58232  $as_echo_n "(cached) " >&6
58233else
58234  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58235/* end confdefs.h.  */
58236#include <sys/types.h>
58237#include <sys/time.h>
58238#include <time.h>
58239
58240int
58241main ()
58242{
58243if ((struct tm *) 0)
58244return 0;
58245  ;
58246  return 0;
58247}
58248_ACEOF
58249if ac_fn_c_try_compile "$LINENO"; then :
58250  ac_cv_header_time=yes
58251else
58252  ac_cv_header_time=no
58253fi
58254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58255fi
58256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
58257$as_echo "$ac_cv_header_time" >&6; }
58258if test $ac_cv_header_time = yes; then
58259
58260$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
58261
58262fi
58263
58264
58265    if test "x$ac_cv_enable_winapi" = xno; then :
58266  for ac_func in clock_gettime getegid geteuid time
58267do :
58268  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58269ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58270if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58271  cat >>confdefs.h <<_ACEOF
58272#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58273_ACEOF
58274
58275fi
58276done
58277
58278
58279fi
58280
58281
58282if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then :
58283  case $host in #(
58284  *cygwin* | *mingw* | *msys*) :
58285
58286$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h
58287
58288      HAVE_DLLMAIN=1
58289
58290
58291      LIBFSAPFS_DLL_EXPORT="-DLIBFSAPFS_DLL_EXPORT"
58292
58293
58294      LIBFSAPFS_DLL_IMPORT="-DLIBFSAPFS_DLL_IMPORT"
58295
58296       ;; #(
58297  *) :
58298     ;;
58299esac
58300
58301fi
58302
58303
58304for ac_header in dlfcn.h
58305do :
58306  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
58307if test "x$ac_cv_header_dlfcn_h" = xyes; then :
58308  cat >>confdefs.h <<_ACEOF
58309#define HAVE_DLFCN_H 1
58310_ACEOF
58311
58312fi
58313
58314done
58315
58316
58317  for ac_func in fmemopen getopt mkstemp setenv tzset unlink
58318do :
58319  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58320ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58321if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58322  cat >>confdefs.h <<_ACEOF
58323#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58324_ACEOF
58325
58326fi
58327done
58328
58329
58330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
58331$as_echo_n "checking for dlsym in -ldl... " >&6; }
58332if ${ac_cv_lib_dl_dlsym+:} false; then :
58333  $as_echo_n "(cached) " >&6
58334else
58335  ac_check_lib_save_LIBS=$LIBS
58336LIBS="-ldl  $LIBS"
58337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58338/* end confdefs.h.  */
58339
58340/* Override any GCC internal prototype to avoid an error.
58341   Use char because int might match the return type of a GCC
58342   builtin and then its argument prototype would still apply.  */
58343#ifdef __cplusplus
58344extern "C"
58345#endif
58346char dlsym ();
58347int
58348main ()
58349{
58350return dlsym ();
58351  ;
58352  return 0;
58353}
58354_ACEOF
58355if ac_fn_c_try_link "$LINENO"; then :
58356  ac_cv_lib_dl_dlsym=yes
58357else
58358  ac_cv_lib_dl_dlsym=no
58359fi
58360rm -f core conftest.err conftest.$ac_objext \
58361    conftest$ac_exeext conftest.$ac_ext
58362LIBS=$ac_check_lib_save_LIBS
58363fi
58364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
58365$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
58366if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
58367  cat >>confdefs.h <<_ACEOF
58368#define HAVE_LIBDL 1
58369_ACEOF
58370
58371  LIBS="-ldl $LIBS"
58372
58373fi
58374
58375
58376  if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then :
58377
58378$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h
58379
58380
58381fi
58382
58383 if test "x${LIB_FUZZING_ENGINE}" != x; then
58384  HAVE_LIB_FUZZING_ENGINE_TRUE=
58385  HAVE_LIB_FUZZING_ENGINE_FALSE='#'
58386else
58387  HAVE_LIB_FUZZING_ENGINE_TRUE='#'
58388  HAVE_LIB_FUZZING_ENGINE_FALSE=
58389fi
58390
58391  LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}"
58392
58393
58394
58395CFLAGS="$CFLAGS -Wall";
58396
58397if 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_zlib" != xno || test "x$ac_cv_libhmac" = xyes || test "x$ac_cv_libcaes" = xyes || test "x$ac_cv_libcrypto" != xno; then :
58398  libfsapfs_spec_requires=Requires:
58399
58400
58401fi
58402
58403if test "x$ac_cv_libfuse" != xno; then :
58404  libfsapfs_spec_tools_build_requires=BuildRequires:
58405
58406
58407fi
58408
58409DPKG_DATE=`date -R 2> /dev/null`
58410
58411
58412SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null`
58413
58414
58415ac_config_files="$ac_config_files Makefile"
58416
58417ac_config_files="$ac_config_files include/Makefile"
58418
58419ac_config_files="$ac_config_files common/Makefile"
58420
58421ac_config_files="$ac_config_files libcerror/Makefile"
58422
58423ac_config_files="$ac_config_files libcthreads/Makefile"
58424
58425ac_config_files="$ac_config_files libcdata/Makefile"
58426
58427ac_config_files="$ac_config_files libclocale/Makefile"
58428
58429ac_config_files="$ac_config_files libcnotify/Makefile"
58430
58431ac_config_files="$ac_config_files libcsplit/Makefile"
58432
58433ac_config_files="$ac_config_files libuna/Makefile"
58434
58435ac_config_files="$ac_config_files libcfile/Makefile"
58436
58437ac_config_files="$ac_config_files libcpath/Makefile"
58438
58439ac_config_files="$ac_config_files libbfio/Makefile"
58440
58441ac_config_files="$ac_config_files libfcache/Makefile"
58442
58443ac_config_files="$ac_config_files libfdata/Makefile"
58444
58445ac_config_files="$ac_config_files libfdatetime/Makefile"
58446
58447ac_config_files="$ac_config_files libfguid/Makefile"
58448
58449ac_config_files="$ac_config_files libhmac/Makefile"
58450
58451ac_config_files="$ac_config_files libcaes/Makefile"
58452
58453ac_config_files="$ac_config_files libfsapfs/Makefile"
58454
58455ac_config_files="$ac_config_files pyfsapfs/Makefile"
58456
58457ac_config_files="$ac_config_files pyfsapfs-python2/Makefile"
58458
58459ac_config_files="$ac_config_files pyfsapfs-python3/Makefile"
58460
58461ac_config_files="$ac_config_files fsapfstools/Makefile"
58462
58463ac_config_files="$ac_config_files po/Makefile.in"
58464
58465ac_config_files="$ac_config_files po/Makevars"
58466
58467ac_config_files="$ac_config_files manuals/Makefile"
58468
58469ac_config_files="$ac_config_files tests/Makefile"
58470
58471ac_config_files="$ac_config_files ossfuzz/Makefile"
58472
58473ac_config_files="$ac_config_files msvscpp/Makefile"
58474
58475ac_config_files="$ac_config_files include/libfsapfs.h"
58476
58477ac_config_files="$ac_config_files include/libfsapfs/definitions.h"
58478
58479ac_config_files="$ac_config_files include/libfsapfs/features.h"
58480
58481ac_config_files="$ac_config_files include/libfsapfs/types.h"
58482
58483ac_config_files="$ac_config_files libfsapfs/libfsapfs_definitions.h"
58484
58485ac_config_files="$ac_config_files common/types.h"
58486
58487ac_config_files="$ac_config_files dpkg/changelog"
58488
58489ac_config_files="$ac_config_files libfsapfs/libfsapfs.rc"
58490
58491ac_config_files="$ac_config_files libfsapfs.pc"
58492
58493ac_config_files="$ac_config_files libfsapfs.spec"
58494
58495ac_config_headers="$ac_config_headers common/config.h"
58496
58497
58498cat >confcache <<\_ACEOF
58499# This file is a shell script that caches the results of configure
58500# tests run on this system so they can be shared between configure
58501# scripts and configure runs, see configure's option --config-cache.
58502# It is not useful on other systems.  If it contains results you don't
58503# want to keep, you may remove or edit it.
58504#
58505# config.status only pays attention to the cache file if you give it
58506# the --recheck option to rerun configure.
58507#
58508# `ac_cv_env_foo' variables (set or unset) will be overridden when
58509# loading this file, other *unset* `ac_cv_foo' will be assigned the
58510# following values.
58511
58512_ACEOF
58513
58514# The following way of writing the cache mishandles newlines in values,
58515# but we know of no workaround that is simple, portable, and efficient.
58516# So, we kill variables containing newlines.
58517# Ultrix sh set writes to stderr and can't be redirected directly,
58518# and sets the high bit in the cache file unless we assign to the vars.
58519(
58520  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58521    eval ac_val=\$$ac_var
58522    case $ac_val in #(
58523    *${as_nl}*)
58524      case $ac_var in #(
58525      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58526$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58527      esac
58528      case $ac_var in #(
58529      _ | IFS | as_nl) ;; #(
58530      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58531      *) { eval $ac_var=; unset $ac_var;} ;;
58532      esac ;;
58533    esac
58534  done
58535
58536  (set) 2>&1 |
58537    case $as_nl`(ac_space=' '; set) 2>&1` in #(
58538    *${as_nl}ac_space=\ *)
58539      # `set' does not quote correctly, so add quotes: double-quote
58540      # substitution turns \\\\ into \\, and sed turns \\ into \.
58541      sed -n \
58542	"s/'/'\\\\''/g;
58543	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58544      ;; #(
58545    *)
58546      # `set' quotes correctly as required by POSIX, so do not add quotes.
58547      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58548      ;;
58549    esac |
58550    sort
58551) |
58552  sed '
58553     /^ac_cv_env_/b end
58554     t clear
58555     :clear
58556     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58557     t end
58558     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58559     :end' >>confcache
58560if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58561  if test -w "$cache_file"; then
58562    if test "x$cache_file" != "x/dev/null"; then
58563      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58564$as_echo "$as_me: updating cache $cache_file" >&6;}
58565      if test ! -f "$cache_file" || test -h "$cache_file"; then
58566	cat confcache >"$cache_file"
58567      else
58568        case $cache_file in #(
58569        */* | ?:*)
58570	  mv -f confcache "$cache_file"$$ &&
58571	  mv -f "$cache_file"$$ "$cache_file" ;; #(
58572        *)
58573	  mv -f confcache "$cache_file" ;;
58574	esac
58575      fi
58576    fi
58577  else
58578    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58579$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58580  fi
58581fi
58582rm -f confcache
58583
58584test "x$prefix" = xNONE && prefix=$ac_default_prefix
58585# Let make expand exec_prefix.
58586test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
58587
58588DEFS=-DHAVE_CONFIG_H
58589
58590ac_libobjs=
58591ac_ltlibobjs=
58592U=
58593for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
58594  # 1. Remove the extension, and $U if already installed.
58595  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
58596  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
58597  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
58598  #    will be set to the directory where LIBOBJS objects are built.
58599  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
58600  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
58601done
58602LIBOBJS=$ac_libobjs
58603
58604LTLIBOBJS=$ac_ltlibobjs
58605
58606
58607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
58608$as_echo_n "checking that generated files are newer than configure... " >&6; }
58609   if test -n "$am_sleep_pid"; then
58610     # Hide warnings about reused PIDs.
58611     wait $am_sleep_pid 2>/dev/null
58612   fi
58613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
58614$as_echo "done" >&6; }
58615 if test -n "$EXEEXT"; then
58616  am__EXEEXT_TRUE=
58617  am__EXEEXT_FALSE='#'
58618else
58619  am__EXEEXT_TRUE='#'
58620  am__EXEEXT_FALSE=
58621fi
58622
58623if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
58624  as_fn_error $? "conditional \"AMDEP\" was never defined.
58625Usually this means the macro was only invoked conditionally." "$LINENO" 5
58626fi
58627if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
58628  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
58629Usually this means the macro was only invoked conditionally." "$LINENO" 5
58630fi
58631if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
58632  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
58633Usually this means the macro was only invoked conditionally." "$LINENO" 5
58634fi
58635if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then
58636  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined.
58637Usually this means the macro was only invoked conditionally." "$LINENO" 5
58638fi
58639if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then
58640  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined.
58641Usually this means the macro was only invoked conditionally." "$LINENO" 5
58642fi
58643if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then
58644  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined.
58645Usually this means the macro was only invoked conditionally." "$LINENO" 5
58646fi
58647if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then
58648  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined.
58649Usually this means the macro was only invoked conditionally." "$LINENO" 5
58650fi
58651if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then
58652  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined.
58653Usually this means the macro was only invoked conditionally." "$LINENO" 5
58654fi
58655if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then
58656  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined.
58657Usually this means the macro was only invoked conditionally." "$LINENO" 5
58658fi
58659if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then
58660  as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined.
58661Usually this means the macro was only invoked conditionally." "$LINENO" 5
58662fi
58663if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then
58664  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined.
58665Usually this means the macro was only invoked conditionally." "$LINENO" 5
58666fi
58667if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then
58668  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined.
58669Usually this means the macro was only invoked conditionally." "$LINENO" 5
58670fi
58671if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then
58672  as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined.
58673Usually this means the macro was only invoked conditionally." "$LINENO" 5
58674fi
58675if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then
58676  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined.
58677Usually this means the macro was only invoked conditionally." "$LINENO" 5
58678fi
58679if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then
58680  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined.
58681Usually this means the macro was only invoked conditionally." "$LINENO" 5
58682fi
58683if test -z "${HAVE_LOCAL_LIBFDATETIME_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATETIME_FALSE}"; then
58684  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATETIME\" was never defined.
58685Usually this means the macro was only invoked conditionally." "$LINENO" 5
58686fi
58687if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then
58688  as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined.
58689Usually this means the macro was only invoked conditionally." "$LINENO" 5
58690fi
58691if test -z "${HAVE_LOCAL_LIBHMAC_TRUE}" && test -z "${HAVE_LOCAL_LIBHMAC_FALSE}"; then
58692  as_fn_error $? "conditional \"HAVE_LOCAL_LIBHMAC\" was never defined.
58693Usually this means the macro was only invoked conditionally." "$LINENO" 5
58694fi
58695if test -z "${HAVE_LOCAL_LIBCAES_TRUE}" && test -z "${HAVE_LOCAL_LIBCAES_FALSE}"; then
58696  as_fn_error $? "conditional \"HAVE_LOCAL_LIBCAES\" was never defined.
58697Usually this means the macro was only invoked conditionally." "$LINENO" 5
58698fi
58699if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
58700  as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
58701Usually this means the macro was only invoked conditionally." "$LINENO" 5
58702fi
58703if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then
58704  as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined.
58705Usually this means the macro was only invoked conditionally." "$LINENO" 5
58706fi
58707if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then
58708  as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined.
58709Usually this means the macro was only invoked conditionally." "$LINENO" 5
58710fi
58711if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then
58712  as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined.
58713Usually this means the macro was only invoked conditionally." "$LINENO" 5
58714fi
58715if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then
58716  as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined.
58717Usually this means the macro was only invoked conditionally." "$LINENO" 5
58718fi
58719
58720: "${CONFIG_STATUS=./config.status}"
58721ac_write_fail=0
58722ac_clean_files_save=$ac_clean_files
58723ac_clean_files="$ac_clean_files $CONFIG_STATUS"
58724{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
58725$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
58726as_write_fail=0
58727cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
58728#! $SHELL
58729# Generated by $as_me.
58730# Run this file to recreate the current configuration.
58731# Compiler output produced by configure, useful for debugging
58732# configure, is in config.log if it exists.
58733
58734debug=false
58735ac_cs_recheck=false
58736ac_cs_silent=false
58737
58738SHELL=\${CONFIG_SHELL-$SHELL}
58739export SHELL
58740_ASEOF
58741cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
58742## -------------------- ##
58743## M4sh Initialization. ##
58744## -------------------- ##
58745
58746# Be more Bourne compatible
58747DUALCASE=1; export DUALCASE # for MKS sh
58748if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
58749  emulate sh
58750  NULLCMD=:
58751  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
58752  # is contrary to our usage.  Disable this feature.
58753  alias -g '${1+"$@"}'='"$@"'
58754  setopt NO_GLOB_SUBST
58755else
58756  case `(set -o) 2>/dev/null` in #(
58757  *posix*) :
58758    set -o posix ;; #(
58759  *) :
58760     ;;
58761esac
58762fi
58763
58764
58765as_nl='
58766'
58767export as_nl
58768# Printing a long string crashes Solaris 7 /usr/bin/printf.
58769as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
58770as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
58771as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
58772# Prefer a ksh shell builtin over an external printf program on Solaris,
58773# but without wasting forks for bash or zsh.
58774if test -z "$BASH_VERSION$ZSH_VERSION" \
58775    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
58776  as_echo='print -r --'
58777  as_echo_n='print -rn --'
58778elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
58779  as_echo='printf %s\n'
58780  as_echo_n='printf %s'
58781else
58782  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58783    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58784    as_echo_n='/usr/ucb/echo -n'
58785  else
58786    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58787    as_echo_n_body='eval
58788      arg=$1;
58789      case $arg in #(
58790      *"$as_nl"*)
58791	expr "X$arg" : "X\\(.*\\)$as_nl";
58792	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
58793      esac;
58794      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
58795    '
58796    export as_echo_n_body
58797    as_echo_n='sh -c $as_echo_n_body as_echo'
58798  fi
58799  export as_echo_body
58800  as_echo='sh -c $as_echo_body as_echo'
58801fi
58802
58803# The user is always right.
58804if test "${PATH_SEPARATOR+set}" != set; then
58805  PATH_SEPARATOR=:
58806  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
58807    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
58808      PATH_SEPARATOR=';'
58809  }
58810fi
58811
58812
58813# IFS
58814# We need space, tab and new line, in precisely that order.  Quoting is
58815# there to prevent editors from complaining about space-tab.
58816# (If _AS_PATH_WALK were called with IFS unset, it would disable word
58817# splitting by setting IFS to empty value.)
58818IFS=" ""	$as_nl"
58819
58820# Find who we are.  Look in the path if we contain no directory separator.
58821as_myself=
58822case $0 in #((
58823  *[\\/]* ) as_myself=$0 ;;
58824  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58825for as_dir in $PATH
58826do
58827  IFS=$as_save_IFS
58828  test -z "$as_dir" && as_dir=.
58829    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
58830  done
58831IFS=$as_save_IFS
58832
58833     ;;
58834esac
58835# We did not find ourselves, most probably we were run as `sh COMMAND'
58836# in which case we are not to be found in the path.
58837if test "x$as_myself" = x; then
58838  as_myself=$0
58839fi
58840if test ! -f "$as_myself"; then
58841  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
58842  exit 1
58843fi
58844
58845# Unset variables that we do not need and which cause bugs (e.g. in
58846# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
58847# suppresses any "Segmentation fault" message there.  '((' could
58848# trigger a bug in pdksh 5.2.14.
58849for as_var in BASH_ENV ENV MAIL MAILPATH
58850do eval test x\${$as_var+set} = xset \
58851  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
58852done
58853PS1='$ '
58854PS2='> '
58855PS4='+ '
58856
58857# NLS nuisances.
58858LC_ALL=C
58859export LC_ALL
58860LANGUAGE=C
58861export LANGUAGE
58862
58863# CDPATH.
58864(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
58865
58866
58867# as_fn_error STATUS ERROR [LINENO LOG_FD]
58868# ----------------------------------------
58869# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
58870# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
58871# script with STATUS, using 1 if that was 0.
58872as_fn_error ()
58873{
58874  as_status=$1; test $as_status -eq 0 && as_status=1
58875  if test "$4"; then
58876    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
58877    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
58878  fi
58879  $as_echo "$as_me: error: $2" >&2
58880  as_fn_exit $as_status
58881} # as_fn_error
58882
58883
58884# as_fn_set_status STATUS
58885# -----------------------
58886# Set $? to STATUS, without forking.
58887as_fn_set_status ()
58888{
58889  return $1
58890} # as_fn_set_status
58891
58892# as_fn_exit STATUS
58893# -----------------
58894# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
58895as_fn_exit ()
58896{
58897  set +e
58898  as_fn_set_status $1
58899  exit $1
58900} # as_fn_exit
58901
58902# as_fn_unset VAR
58903# ---------------
58904# Portably unset VAR.
58905as_fn_unset ()
58906{
58907  { eval $1=; unset $1;}
58908}
58909as_unset=as_fn_unset
58910# as_fn_append VAR VALUE
58911# ----------------------
58912# Append the text in VALUE to the end of the definition contained in VAR. Take
58913# advantage of any shell optimizations that allow amortized linear growth over
58914# repeated appends, instead of the typical quadratic growth present in naive
58915# implementations.
58916if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
58917  eval 'as_fn_append ()
58918  {
58919    eval $1+=\$2
58920  }'
58921else
58922  as_fn_append ()
58923  {
58924    eval $1=\$$1\$2
58925  }
58926fi # as_fn_append
58927
58928# as_fn_arith ARG...
58929# ------------------
58930# Perform arithmetic evaluation on the ARGs, and store the result in the
58931# global $as_val. Take advantage of shells that can avoid forks. The arguments
58932# must be portable across $(()) and expr.
58933if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
58934  eval 'as_fn_arith ()
58935  {
58936    as_val=$(( $* ))
58937  }'
58938else
58939  as_fn_arith ()
58940  {
58941    as_val=`expr "$@" || test $? -eq 1`
58942  }
58943fi # as_fn_arith
58944
58945
58946if expr a : '\(a\)' >/dev/null 2>&1 &&
58947   test "X`expr 00001 : '.*\(...\)'`" = X001; then
58948  as_expr=expr
58949else
58950  as_expr=false
58951fi
58952
58953if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
58954  as_basename=basename
58955else
58956  as_basename=false
58957fi
58958
58959if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
58960  as_dirname=dirname
58961else
58962  as_dirname=false
58963fi
58964
58965as_me=`$as_basename -- "$0" ||
58966$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
58967	 X"$0" : 'X\(//\)$' \| \
58968	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
58969$as_echo X/"$0" |
58970    sed '/^.*\/\([^/][^/]*\)\/*$/{
58971	    s//\1/
58972	    q
58973	  }
58974	  /^X\/\(\/\/\)$/{
58975	    s//\1/
58976	    q
58977	  }
58978	  /^X\/\(\/\).*/{
58979	    s//\1/
58980	    q
58981	  }
58982	  s/.*/./; q'`
58983
58984# Avoid depending upon Character Ranges.
58985as_cr_letters='abcdefghijklmnopqrstuvwxyz'
58986as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
58987as_cr_Letters=$as_cr_letters$as_cr_LETTERS
58988as_cr_digits='0123456789'
58989as_cr_alnum=$as_cr_Letters$as_cr_digits
58990
58991ECHO_C= ECHO_N= ECHO_T=
58992case `echo -n x` in #(((((
58993-n*)
58994  case `echo 'xy\c'` in
58995  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
58996  xy)  ECHO_C='\c';;
58997  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
58998       ECHO_T='	';;
58999  esac;;
59000*)
59001  ECHO_N='-n';;
59002esac
59003
59004rm -f conf$$ conf$$.exe conf$$.file
59005if test -d conf$$.dir; then
59006  rm -f conf$$.dir/conf$$.file
59007else
59008  rm -f conf$$.dir
59009  mkdir conf$$.dir 2>/dev/null
59010fi
59011if (echo >conf$$.file) 2>/dev/null; then
59012  if ln -s conf$$.file conf$$ 2>/dev/null; then
59013    as_ln_s='ln -s'
59014    # ... but there are two gotchas:
59015    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59016    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59017    # In both cases, we have to default to `cp -pR'.
59018    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59019      as_ln_s='cp -pR'
59020  elif ln conf$$.file conf$$ 2>/dev/null; then
59021    as_ln_s=ln
59022  else
59023    as_ln_s='cp -pR'
59024  fi
59025else
59026  as_ln_s='cp -pR'
59027fi
59028rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59029rmdir conf$$.dir 2>/dev/null
59030
59031
59032# as_fn_mkdir_p
59033# -------------
59034# Create "$as_dir" as a directory, including parents if necessary.
59035as_fn_mkdir_p ()
59036{
59037
59038  case $as_dir in #(
59039  -*) as_dir=./$as_dir;;
59040  esac
59041  test -d "$as_dir" || eval $as_mkdir_p || {
59042    as_dirs=
59043    while :; do
59044      case $as_dir in #(
59045      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59046      *) as_qdir=$as_dir;;
59047      esac
59048      as_dirs="'$as_qdir' $as_dirs"
59049      as_dir=`$as_dirname -- "$as_dir" ||
59050$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59051	 X"$as_dir" : 'X\(//\)[^/]' \| \
59052	 X"$as_dir" : 'X\(//\)$' \| \
59053	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59054$as_echo X"$as_dir" |
59055    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59056	    s//\1/
59057	    q
59058	  }
59059	  /^X\(\/\/\)[^/].*/{
59060	    s//\1/
59061	    q
59062	  }
59063	  /^X\(\/\/\)$/{
59064	    s//\1/
59065	    q
59066	  }
59067	  /^X\(\/\).*/{
59068	    s//\1/
59069	    q
59070	  }
59071	  s/.*/./; q'`
59072      test -d "$as_dir" && break
59073    done
59074    test -z "$as_dirs" || eval "mkdir $as_dirs"
59075  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
59076
59077
59078} # as_fn_mkdir_p
59079if mkdir -p . 2>/dev/null; then
59080  as_mkdir_p='mkdir -p "$as_dir"'
59081else
59082  test -d ./-p && rmdir ./-p
59083  as_mkdir_p=false
59084fi
59085
59086
59087# as_fn_executable_p FILE
59088# -----------------------
59089# Test if FILE is an executable regular file.
59090as_fn_executable_p ()
59091{
59092  test -f "$1" && test -x "$1"
59093} # as_fn_executable_p
59094as_test_x='test -x'
59095as_executable_p=as_fn_executable_p
59096
59097# Sed expression to map a string onto a valid CPP name.
59098as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59099
59100# Sed expression to map a string onto a valid variable name.
59101as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59102
59103
59104exec 6>&1
59105## ----------------------------------- ##
59106## Main body of $CONFIG_STATUS script. ##
59107## ----------------------------------- ##
59108_ASEOF
59109test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59110
59111cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59112# Save the log message, to keep $0 and so on meaningful, and to
59113# report actual input values of CONFIG_FILES etc. instead of their
59114# values after options handling.
59115ac_log="
59116This file was extended by libfsapfs $as_me 20210424, which was
59117generated by GNU Autoconf 2.69.  Invocation command line was
59118
59119  CONFIG_FILES    = $CONFIG_FILES
59120  CONFIG_HEADERS  = $CONFIG_HEADERS
59121  CONFIG_LINKS    = $CONFIG_LINKS
59122  CONFIG_COMMANDS = $CONFIG_COMMANDS
59123  $ $0 $@
59124
59125on `(hostname || uname -n) 2>/dev/null | sed 1q`
59126"
59127
59128_ACEOF
59129
59130case $ac_config_files in *"
59131"*) set x $ac_config_files; shift; ac_config_files=$*;;
59132esac
59133
59134case $ac_config_headers in *"
59135"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59136esac
59137
59138
59139cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59140# Files that config.status was made for.
59141config_files="$ac_config_files"
59142config_headers="$ac_config_headers"
59143config_commands="$ac_config_commands"
59144
59145_ACEOF
59146
59147cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59148ac_cs_usage="\
59149\`$as_me' instantiates files and other configuration actions
59150from templates according to the current configuration.  Unless the files
59151and actions are specified as TAGs, all are instantiated by default.
59152
59153Usage: $0 [OPTION]... [TAG]...
59154
59155  -h, --help       print this help, then exit
59156  -V, --version    print version number and configuration settings, then exit
59157      --config     print configuration, then exit
59158  -q, --quiet, --silent
59159                   do not print progress messages
59160  -d, --debug      don't remove temporary files
59161      --recheck    update $as_me by reconfiguring in the same conditions
59162      --file=FILE[:TEMPLATE]
59163                   instantiate the configuration file FILE
59164      --header=FILE[:TEMPLATE]
59165                   instantiate the configuration header FILE
59166
59167Configuration files:
59168$config_files
59169
59170Configuration headers:
59171$config_headers
59172
59173Configuration commands:
59174$config_commands
59175
59176Report bugs to <joachim.metz@gmail.com>."
59177
59178_ACEOF
59179cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59180ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
59181ac_cs_version="\\
59182libfsapfs config.status 20210424
59183configured by $0, generated by GNU Autoconf 2.69,
59184  with options \\"\$ac_cs_config\\"
59185
59186Copyright (C) 2012 Free Software Foundation, Inc.
59187This config.status script is free software; the Free Software Foundation
59188gives unlimited permission to copy, distribute and modify it."
59189
59190ac_pwd='$ac_pwd'
59191srcdir='$srcdir'
59192INSTALL='$INSTALL'
59193MKDIR_P='$MKDIR_P'
59194AWK='$AWK'
59195test -n "\$AWK" || AWK=awk
59196_ACEOF
59197
59198cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59199# The default lists apply if the user does not specify any file.
59200ac_need_defaults=:
59201while test $# != 0
59202do
59203  case $1 in
59204  --*=?*)
59205    ac_option=`expr "X$1" : 'X\([^=]*\)='`
59206    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59207    ac_shift=:
59208    ;;
59209  --*=)
59210    ac_option=`expr "X$1" : 'X\([^=]*\)='`
59211    ac_optarg=
59212    ac_shift=:
59213    ;;
59214  *)
59215    ac_option=$1
59216    ac_optarg=$2
59217    ac_shift=shift
59218    ;;
59219  esac
59220
59221  case $ac_option in
59222  # Handling of the options.
59223  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59224    ac_cs_recheck=: ;;
59225  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59226    $as_echo "$ac_cs_version"; exit ;;
59227  --config | --confi | --conf | --con | --co | --c )
59228    $as_echo "$ac_cs_config"; exit ;;
59229  --debug | --debu | --deb | --de | --d | -d )
59230    debug=: ;;
59231  --file | --fil | --fi | --f )
59232    $ac_shift
59233    case $ac_optarg in
59234    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59235    '') as_fn_error $? "missing file argument" ;;
59236    esac
59237    as_fn_append CONFIG_FILES " '$ac_optarg'"
59238    ac_need_defaults=false;;
59239  --header | --heade | --head | --hea )
59240    $ac_shift
59241    case $ac_optarg in
59242    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59243    esac
59244    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59245    ac_need_defaults=false;;
59246  --he | --h)
59247    # Conflict between --help and --header
59248    as_fn_error $? "ambiguous option: \`$1'
59249Try \`$0 --help' for more information.";;
59250  --help | --hel | -h )
59251    $as_echo "$ac_cs_usage"; exit ;;
59252  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59253  | -silent | --silent | --silen | --sile | --sil | --si | --s)
59254    ac_cs_silent=: ;;
59255
59256  # This is an error.
59257  -*) as_fn_error $? "unrecognized option: \`$1'
59258Try \`$0 --help' for more information." ;;
59259
59260  *) as_fn_append ac_config_targets " $1"
59261     ac_need_defaults=false ;;
59262
59263  esac
59264  shift
59265done
59266
59267ac_configure_extra_args=
59268
59269if $ac_cs_silent; then
59270  exec 6>/dev/null
59271  ac_configure_extra_args="$ac_configure_extra_args --silent"
59272fi
59273
59274_ACEOF
59275cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59276if \$ac_cs_recheck; then
59277  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59278  shift
59279  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59280  CONFIG_SHELL='$SHELL'
59281  export CONFIG_SHELL
59282  exec "\$@"
59283fi
59284
59285_ACEOF
59286cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59287exec 5>>config.log
59288{
59289  echo
59290  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59291## Running $as_me. ##
59292_ASBOX
59293  $as_echo "$ac_log"
59294} >&5
59295
59296_ACEOF
59297cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59298#
59299# INIT-COMMANDS
59300#
59301AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
59302
59303
59304# The HP-UX ksh and POSIX shell print the target directory to stdout
59305# if CDPATH is set.
59306(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59307
59308sed_quote_subst='$sed_quote_subst'
59309double_quote_subst='$double_quote_subst'
59310delay_variable_subst='$delay_variable_subst'
59311AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
59312DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
59313OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59314macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59315macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59316enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59317enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59318pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59319enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59320shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
59321SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59322ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59323PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
59324host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59325host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59326host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59327build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59328build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59329build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59330SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59331Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59332GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59333EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59334FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59335LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59336NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59337LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59338max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59339ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59340exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59341lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59342lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59343lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59344lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
59345lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
59346reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59347reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59348deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59349file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59350file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
59351want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
59352sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
59353AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59354AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59355archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
59356STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59357RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59358old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59359old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59360old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
59361lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
59362CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
59363CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
59364compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
59365GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
59366lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
59367lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
59368lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
59369lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
59370lt_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"`'
59371lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
59372nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
59373lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
59374lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
59375objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
59376MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
59377lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
59378lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
59379lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
59380lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
59381lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
59382need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
59383MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
59384DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
59385NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
59386LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
59387OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
59388OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
59389libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
59390shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
59391extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59392archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
59393enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
59394export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
59395whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
59396compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
59397old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
59398old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59399archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
59400archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59401module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
59402module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59403with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
59404allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
59405no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
59406hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
59407hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
59408hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
59409hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
59410hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
59411hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
59412hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
59413inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
59414link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
59415always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
59416export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
59417exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
59418include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
59419prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
59420postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
59421file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
59422variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
59423need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
59424need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
59425version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
59426runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
59427shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
59428shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
59429libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
59430library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
59431soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
59432install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
59433postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59434postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59435finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
59436finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
59437hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
59438sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
59439configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
59440configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
59441hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
59442enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
59443enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
59444enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
59445old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
59446striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
59447compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
59448predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
59449postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
59450predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
59451postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
59452compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
59453LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
59454reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
59455reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59456old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59457compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
59458GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
59459lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
59460lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
59461lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
59462lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
59463lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
59464archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
59465enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
59466export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59467whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59468compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
59469old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59470old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59471archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59472archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59473module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59474module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59475with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
59476allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
59477no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
59478hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59479hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
59480hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
59481hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
59482hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
59483hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
59484hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
59485inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
59486link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
59487always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
59488export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59489exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
59490include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
59491prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59492postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59493file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
59494hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
59495compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
59496predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
59497postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
59498predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
59499postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
59500compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
59501
59502LTCC='$LTCC'
59503LTCFLAGS='$LTCFLAGS'
59504compiler='$compiler_DEFAULT'
59505
59506# A function that is used when there is no print builtin or printf.
59507func_fallback_echo ()
59508{
59509  eval 'cat <<_LTECHO_EOF
59510\$1
59511_LTECHO_EOF'
59512}
59513
59514# Quote evaled strings.
59515for var in AS \
59516DLLTOOL \
59517OBJDUMP \
59518SHELL \
59519ECHO \
59520PATH_SEPARATOR \
59521SED \
59522GREP \
59523EGREP \
59524FGREP \
59525LD \
59526NM \
59527LN_S \
59528lt_SP2NL \
59529lt_NL2SP \
59530reload_flag \
59531deplibs_check_method \
59532file_magic_cmd \
59533file_magic_glob \
59534want_nocaseglob \
59535sharedlib_from_linklib_cmd \
59536AR \
59537AR_FLAGS \
59538archiver_list_spec \
59539STRIP \
59540RANLIB \
59541CC \
59542CFLAGS \
59543compiler \
59544lt_cv_sys_global_symbol_pipe \
59545lt_cv_sys_global_symbol_to_cdecl \
59546lt_cv_sys_global_symbol_to_import \
59547lt_cv_sys_global_symbol_to_c_name_address \
59548lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
59549lt_cv_nm_interface \
59550nm_file_list_spec \
59551lt_cv_truncate_bin \
59552lt_prog_compiler_no_builtin_flag \
59553lt_prog_compiler_pic \
59554lt_prog_compiler_wl \
59555lt_prog_compiler_static \
59556lt_cv_prog_compiler_c_o \
59557need_locks \
59558MANIFEST_TOOL \
59559DSYMUTIL \
59560NMEDIT \
59561LIPO \
59562OTOOL \
59563OTOOL64 \
59564shrext_cmds \
59565export_dynamic_flag_spec \
59566whole_archive_flag_spec \
59567compiler_needs_object \
59568with_gnu_ld \
59569allow_undefined_flag \
59570no_undefined_flag \
59571hardcode_libdir_flag_spec \
59572hardcode_libdir_separator \
59573exclude_expsyms \
59574include_expsyms \
59575file_list_spec \
59576variables_saved_for_relink \
59577libname_spec \
59578library_names_spec \
59579soname_spec \
59580install_override_mode \
59581finish_eval \
59582old_striplib \
59583striplib \
59584compiler_lib_search_dirs \
59585predep_objects \
59586postdep_objects \
59587predeps \
59588postdeps \
59589compiler_lib_search_path \
59590LD_CXX \
59591reload_flag_CXX \
59592compiler_CXX \
59593lt_prog_compiler_no_builtin_flag_CXX \
59594lt_prog_compiler_pic_CXX \
59595lt_prog_compiler_wl_CXX \
59596lt_prog_compiler_static_CXX \
59597lt_cv_prog_compiler_c_o_CXX \
59598export_dynamic_flag_spec_CXX \
59599whole_archive_flag_spec_CXX \
59600compiler_needs_object_CXX \
59601with_gnu_ld_CXX \
59602allow_undefined_flag_CXX \
59603no_undefined_flag_CXX \
59604hardcode_libdir_flag_spec_CXX \
59605hardcode_libdir_separator_CXX \
59606exclude_expsyms_CXX \
59607include_expsyms_CXX \
59608file_list_spec_CXX \
59609compiler_lib_search_dirs_CXX \
59610predep_objects_CXX \
59611postdep_objects_CXX \
59612predeps_CXX \
59613postdeps_CXX \
59614compiler_lib_search_path_CXX; do
59615    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
59616    *[\\\\\\\`\\"\\\$]*)
59617      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
59618      ;;
59619    *)
59620      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
59621      ;;
59622    esac
59623done
59624
59625# Double-quote double-evaled strings.
59626for var in reload_cmds \
59627old_postinstall_cmds \
59628old_postuninstall_cmds \
59629old_archive_cmds \
59630extract_expsyms_cmds \
59631old_archive_from_new_cmds \
59632old_archive_from_expsyms_cmds \
59633archive_cmds \
59634archive_expsym_cmds \
59635module_cmds \
59636module_expsym_cmds \
59637export_symbols_cmds \
59638prelink_cmds \
59639postlink_cmds \
59640postinstall_cmds \
59641postuninstall_cmds \
59642finish_cmds \
59643sys_lib_search_path_spec \
59644configure_time_dlsearch_path \
59645configure_time_lt_sys_library_path \
59646reload_cmds_CXX \
59647old_archive_cmds_CXX \
59648old_archive_from_new_cmds_CXX \
59649old_archive_from_expsyms_cmds_CXX \
59650archive_cmds_CXX \
59651archive_expsym_cmds_CXX \
59652module_cmds_CXX \
59653module_expsym_cmds_CXX \
59654export_symbols_cmds_CXX \
59655prelink_cmds_CXX \
59656postlink_cmds_CXX; do
59657    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
59658    *[\\\\\\\`\\"\\\$]*)
59659      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
59660      ;;
59661    *)
59662      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
59663      ;;
59664    esac
59665done
59666
59667ac_aux_dir='$ac_aux_dir'
59668
59669# See if we are running on zsh, and set the options that allow our
59670# commands through without removal of \ escapes INIT.
59671if test -n "\${ZSH_VERSION+set}"; then
59672   setopt NO_GLOB_SUBST
59673fi
59674
59675
59676    PACKAGE='$PACKAGE'
59677    VERSION='$VERSION'
59678    RM='$RM'
59679    ofile='$ofile'
59680
59681
59682
59683
59684
59685# Capture the value of obsolete ALL_LINGUAS because we need it to compute
59686    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
59687    # from automake < 1.5.
59688    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
59689    # Capture the value of LINGUAS because we need it to compute CATALOGS.
59690    LINGUAS="${LINGUAS-%UNSET%}"
59691
59692
59693_ACEOF
59694
59695cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59696
59697# Handling of arguments.
59698for ac_config_target in $ac_config_targets
59699do
59700  case $ac_config_target in
59701    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
59702    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
59703    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
59704    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
59705    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
59706    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
59707    "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;;
59708    "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;;
59709    "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;;
59710    "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;;
59711    "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;;
59712    "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;;
59713    "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;;
59714    "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;;
59715    "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;;
59716    "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;;
59717    "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;;
59718    "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;;
59719    "libfdatetime/Makefile") CONFIG_FILES="$CONFIG_FILES libfdatetime/Makefile" ;;
59720    "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;;
59721    "libhmac/Makefile") CONFIG_FILES="$CONFIG_FILES libhmac/Makefile" ;;
59722    "libcaes/Makefile") CONFIG_FILES="$CONFIG_FILES libcaes/Makefile" ;;
59723    "libfsapfs/Makefile") CONFIG_FILES="$CONFIG_FILES libfsapfs/Makefile" ;;
59724    "pyfsapfs/Makefile") CONFIG_FILES="$CONFIG_FILES pyfsapfs/Makefile" ;;
59725    "pyfsapfs-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyfsapfs-python2/Makefile" ;;
59726    "pyfsapfs-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyfsapfs-python3/Makefile" ;;
59727    "fsapfstools/Makefile") CONFIG_FILES="$CONFIG_FILES fsapfstools/Makefile" ;;
59728    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
59729    "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;;
59730    "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;;
59731    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
59732    "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;;
59733    "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;;
59734    "include/libfsapfs.h") CONFIG_FILES="$CONFIG_FILES include/libfsapfs.h" ;;
59735    "include/libfsapfs/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libfsapfs/definitions.h" ;;
59736    "include/libfsapfs/features.h") CONFIG_FILES="$CONFIG_FILES include/libfsapfs/features.h" ;;
59737    "include/libfsapfs/types.h") CONFIG_FILES="$CONFIG_FILES include/libfsapfs/types.h" ;;
59738    "libfsapfs/libfsapfs_definitions.h") CONFIG_FILES="$CONFIG_FILES libfsapfs/libfsapfs_definitions.h" ;;
59739    "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;;
59740    "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;;
59741    "libfsapfs/libfsapfs.rc") CONFIG_FILES="$CONFIG_FILES libfsapfs/libfsapfs.rc" ;;
59742    "libfsapfs.pc") CONFIG_FILES="$CONFIG_FILES libfsapfs.pc" ;;
59743    "libfsapfs.spec") CONFIG_FILES="$CONFIG_FILES libfsapfs.spec" ;;
59744    "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;;
59745
59746  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
59747  esac
59748done
59749
59750
59751# If the user did not use the arguments to specify the items to instantiate,
59752# then the envvar interface is used.  Set only those that are not.
59753# We use the long form for the default assignment because of an extremely
59754# bizarre bug on SunOS 4.1.3.
59755if $ac_need_defaults; then
59756  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
59757  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
59758  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
59759fi
59760
59761# Have a temporary directory for convenience.  Make it in the build tree
59762# simply because there is no reason against having it here, and in addition,
59763# creating and moving files from /tmp can sometimes cause problems.
59764# Hook for its removal unless debugging.
59765# Note that there is a small window in which the directory will not be cleaned:
59766# after its creation but before its name has been assigned to `$tmp'.
59767$debug ||
59768{
59769  tmp= ac_tmp=
59770  trap 'exit_status=$?
59771  : "${ac_tmp:=$tmp}"
59772  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
59773' 0
59774  trap 'as_fn_exit 1' 1 2 13 15
59775}
59776# Create a (secure) tmp directory for tmp files.
59777
59778{
59779  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
59780  test -d "$tmp"
59781}  ||
59782{
59783  tmp=./conf$$-$RANDOM
59784  (umask 077 && mkdir "$tmp")
59785} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
59786ac_tmp=$tmp
59787
59788# Set up the scripts for CONFIG_FILES section.
59789# No need to generate them if there are no CONFIG_FILES.
59790# This happens for instance with `./config.status config.h'.
59791if test -n "$CONFIG_FILES"; then
59792
59793
59794ac_cr=`echo X | tr X '\015'`
59795# On cygwin, bash can eat \r inside `` if the user requested igncr.
59796# But we know of no other shell where ac_cr would be empty at this
59797# point, so we can use a bashism as a fallback.
59798if test "x$ac_cr" = x; then
59799  eval ac_cr=\$\'\\r\'
59800fi
59801ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
59802if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
59803  ac_cs_awk_cr='\\r'
59804else
59805  ac_cs_awk_cr=$ac_cr
59806fi
59807
59808echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
59809_ACEOF
59810
59811
59812{
59813  echo "cat >conf$$subs.awk <<_ACEOF" &&
59814  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
59815  echo "_ACEOF"
59816} >conf$$subs.sh ||
59817  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
59818ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
59819ac_delim='%!_!# '
59820for ac_last_try in false false false false false :; do
59821  . ./conf$$subs.sh ||
59822    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
59823
59824  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
59825  if test $ac_delim_n = $ac_delim_num; then
59826    break
59827  elif $ac_last_try; then
59828    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
59829  else
59830    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
59831  fi
59832done
59833rm -f conf$$subs.sh
59834
59835cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59836cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
59837_ACEOF
59838sed -n '
59839h
59840s/^/S["/; s/!.*/"]=/
59841p
59842g
59843s/^[^!]*!//
59844:repl
59845t repl
59846s/'"$ac_delim"'$//
59847t delim
59848:nl
59849h
59850s/\(.\{148\}\)..*/\1/
59851t more1
59852s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
59853p
59854n
59855b repl
59856:more1
59857s/["\\]/\\&/g; s/^/"/; s/$/"\\/
59858p
59859g
59860s/.\{148\}//
59861t nl
59862:delim
59863h
59864s/\(.\{148\}\)..*/\1/
59865t more2
59866s/["\\]/\\&/g; s/^/"/; s/$/"/
59867p
59868b
59869:more2
59870s/["\\]/\\&/g; s/^/"/; s/$/"\\/
59871p
59872g
59873s/.\{148\}//
59874t delim
59875' <conf$$subs.awk | sed '
59876/^[^""]/{
59877  N
59878  s/\n//
59879}
59880' >>$CONFIG_STATUS || ac_write_fail=1
59881rm -f conf$$subs.awk
59882cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59883_ACAWK
59884cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
59885  for (key in S) S_is_set[key] = 1
59886  FS = ""
59887
59888}
59889{
59890  line = $ 0
59891  nfields = split(line, field, "@")
59892  substed = 0
59893  len = length(field[1])
59894  for (i = 2; i < nfields; i++) {
59895    key = field[i]
59896    keylen = length(key)
59897    if (S_is_set[key]) {
59898      value = S[key]
59899      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
59900      len += length(value) + length(field[++i])
59901      substed = 1
59902    } else
59903      len += 1 + keylen
59904  }
59905
59906  print line
59907}
59908
59909_ACAWK
59910_ACEOF
59911cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59912if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
59913  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
59914else
59915  cat
59916fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
59917  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
59918_ACEOF
59919
59920# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
59921# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
59922# trailing colons and then remove the whole line if VPATH becomes empty
59923# (actually we leave an empty line to preserve line numbers).
59924if test "x$srcdir" = x.; then
59925  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
59926h
59927s///
59928s/^/:/
59929s/[	 ]*$/:/
59930s/:\$(srcdir):/:/g
59931s/:\${srcdir}:/:/g
59932s/:@srcdir@:/:/g
59933s/^:*//
59934s/:*$//
59935x
59936s/\(=[	 ]*\).*/\1/
59937G
59938s/\n//
59939s/^[^=]*=[	 ]*$//
59940}'
59941fi
59942
59943cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59944fi # test -n "$CONFIG_FILES"
59945
59946# Set up the scripts for CONFIG_HEADERS section.
59947# No need to generate them if there are no CONFIG_HEADERS.
59948# This happens for instance with `./config.status Makefile'.
59949if test -n "$CONFIG_HEADERS"; then
59950cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
59951BEGIN {
59952_ACEOF
59953
59954# Transform confdefs.h into an awk script `defines.awk', embedded as
59955# here-document in config.status, that substitutes the proper values into
59956# config.h.in to produce config.h.
59957
59958# Create a delimiter string that does not exist in confdefs.h, to ease
59959# handling of long lines.
59960ac_delim='%!_!# '
59961for ac_last_try in false false :; do
59962  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
59963  if test -z "$ac_tt"; then
59964    break
59965  elif $ac_last_try; then
59966    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
59967  else
59968    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
59969  fi
59970done
59971
59972# For the awk script, D is an array of macro values keyed by name,
59973# likewise P contains macro parameters if any.  Preserve backslash
59974# newline sequences.
59975
59976ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
59977sed -n '
59978s/.\{148\}/&'"$ac_delim"'/g
59979t rset
59980:rset
59981s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
59982t def
59983d
59984:def
59985s/\\$//
59986t bsnl
59987s/["\\]/\\&/g
59988s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
59989D["\1"]=" \3"/p
59990s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
59991d
59992:bsnl
59993s/["\\]/\\&/g
59994s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
59995D["\1"]=" \3\\\\\\n"\\/p
59996t cont
59997s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
59998t cont
59999d
60000:cont
60001n
60002s/.\{148\}/&'"$ac_delim"'/g
60003t clear
60004:clear
60005s/\\$//
60006t bsnlc
60007s/["\\]/\\&/g; s/^/"/; s/$/"/p
60008d
60009:bsnlc
60010s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60011b cont
60012' <confdefs.h | sed '
60013s/'"$ac_delim"'/"\\\
60014"/g' >>$CONFIG_STATUS || ac_write_fail=1
60015
60016cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60017  for (key in D) D_is_set[key] = 1
60018  FS = ""
60019}
60020/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60021  line = \$ 0
60022  split(line, arg, " ")
60023  if (arg[1] == "#") {
60024    defundef = arg[2]
60025    mac1 = arg[3]
60026  } else {
60027    defundef = substr(arg[1], 2)
60028    mac1 = arg[2]
60029  }
60030  split(mac1, mac2, "(") #)
60031  macro = mac2[1]
60032  prefix = substr(line, 1, index(line, defundef) - 1)
60033  if (D_is_set[macro]) {
60034    # Preserve the white space surrounding the "#".
60035    print prefix "define", macro P[macro] D[macro]
60036    next
60037  } else {
60038    # Replace #undef with comments.  This is necessary, for example,
60039    # in the case of _POSIX_SOURCE, which is predefined and required
60040    # on some systems where configure will not decide to define it.
60041    if (defundef == "undef") {
60042      print "/*", prefix defundef, macro, "*/"
60043      next
60044    }
60045  }
60046}
60047{ print }
60048_ACAWK
60049_ACEOF
60050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60051  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
60052fi # test -n "$CONFIG_HEADERS"
60053
60054
60055eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60056shift
60057for ac_tag
60058do
60059  case $ac_tag in
60060  :[FHLC]) ac_mode=$ac_tag; continue;;
60061  esac
60062  case $ac_mode$ac_tag in
60063  :[FHL]*:*);;
60064  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
60065  :[FH]-) ac_tag=-:-;;
60066  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60067  esac
60068  ac_save_IFS=$IFS
60069  IFS=:
60070  set x $ac_tag
60071  IFS=$ac_save_IFS
60072  shift
60073  ac_file=$1
60074  shift
60075
60076  case $ac_mode in
60077  :L) ac_source=$1;;
60078  :[FH])
60079    ac_file_inputs=
60080    for ac_f
60081    do
60082      case $ac_f in
60083      -) ac_f="$ac_tmp/stdin";;
60084      *) # Look for the file first in the build tree, then in the source tree
60085	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
60086	 # because $ac_f cannot contain `:'.
60087	 test -f "$ac_f" ||
60088	   case $ac_f in
60089	   [\\/$]*) false;;
60090	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60091	   esac ||
60092	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60093      esac
60094      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60095      as_fn_append ac_file_inputs " '$ac_f'"
60096    done
60097
60098    # Let's still pretend it is `configure' which instantiates (i.e., don't
60099    # use $as_me), people would be surprised to read:
60100    #    /* config.h.  Generated by config.status.  */
60101    configure_input='Generated from '`
60102	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60103	`' by configure.'
60104    if test x"$ac_file" != x-; then
60105      configure_input="$ac_file.  $configure_input"
60106      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60107$as_echo "$as_me: creating $ac_file" >&6;}
60108    fi
60109    # Neutralize special characters interpreted by sed in replacement strings.
60110    case $configure_input in #(
60111    *\&* | *\|* | *\\* )
60112       ac_sed_conf_input=`$as_echo "$configure_input" |
60113       sed 's/[\\\\&|]/\\\\&/g'`;; #(
60114    *) ac_sed_conf_input=$configure_input;;
60115    esac
60116
60117    case $ac_tag in
60118    *:-:* | *:-) cat >"$ac_tmp/stdin" \
60119      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
60120    esac
60121    ;;
60122  esac
60123
60124  ac_dir=`$as_dirname -- "$ac_file" ||
60125$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60126	 X"$ac_file" : 'X\(//\)[^/]' \| \
60127	 X"$ac_file" : 'X\(//\)$' \| \
60128	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60129$as_echo X"$ac_file" |
60130    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60131	    s//\1/
60132	    q
60133	  }
60134	  /^X\(\/\/\)[^/].*/{
60135	    s//\1/
60136	    q
60137	  }
60138	  /^X\(\/\/\)$/{
60139	    s//\1/
60140	    q
60141	  }
60142	  /^X\(\/\).*/{
60143	    s//\1/
60144	    q
60145	  }
60146	  s/.*/./; q'`
60147  as_dir="$ac_dir"; as_fn_mkdir_p
60148  ac_builddir=.
60149
60150case "$ac_dir" in
60151.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60152*)
60153  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60154  # A ".." for each directory in $ac_dir_suffix.
60155  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60156  case $ac_top_builddir_sub in
60157  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60158  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60159  esac ;;
60160esac
60161ac_abs_top_builddir=$ac_pwd
60162ac_abs_builddir=$ac_pwd$ac_dir_suffix
60163# for backward compatibility:
60164ac_top_builddir=$ac_top_build_prefix
60165
60166case $srcdir in
60167  .)  # We are building in place.
60168    ac_srcdir=.
60169    ac_top_srcdir=$ac_top_builddir_sub
60170    ac_abs_top_srcdir=$ac_pwd ;;
60171  [\\/]* | ?:[\\/]* )  # Absolute name.
60172    ac_srcdir=$srcdir$ac_dir_suffix;
60173    ac_top_srcdir=$srcdir
60174    ac_abs_top_srcdir=$srcdir ;;
60175  *) # Relative name.
60176    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60177    ac_top_srcdir=$ac_top_build_prefix$srcdir
60178    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60179esac
60180ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60181
60182
60183  case $ac_mode in
60184  :F)
60185  #
60186  # CONFIG_FILE
60187  #
60188
60189  case $INSTALL in
60190  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60191  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60192  esac
60193  ac_MKDIR_P=$MKDIR_P
60194  case $MKDIR_P in
60195  [\\/$]* | ?:[\\/]* ) ;;
60196  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60197  esac
60198_ACEOF
60199
60200cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60201# If the template does not know about datarootdir, expand it.
60202# FIXME: This hack should be removed a few years after 2.60.
60203ac_datarootdir_hack=; ac_datarootdir_seen=
60204ac_sed_dataroot='
60205/datarootdir/ {
60206  p
60207  q
60208}
60209/@datadir@/p
60210/@docdir@/p
60211/@infodir@/p
60212/@localedir@/p
60213/@mandir@/p'
60214case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60215*datarootdir*) ac_datarootdir_seen=yes;;
60216*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60217  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60218$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60219_ACEOF
60220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60221  ac_datarootdir_hack='
60222  s&@datadir@&$datadir&g
60223  s&@docdir@&$docdir&g
60224  s&@infodir@&$infodir&g
60225  s&@localedir@&$localedir&g
60226  s&@mandir@&$mandir&g
60227  s&\\\${datarootdir}&$datarootdir&g' ;;
60228esac
60229_ACEOF
60230
60231# Neutralize VPATH when `$srcdir' = `.'.
60232# Shell code in configure.ac might set extrasub.
60233# FIXME: do we really want to maintain this feature?
60234cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60235ac_sed_extra="$ac_vpsub
60236$extrasub
60237_ACEOF
60238cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60239:t
60240/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60241s|@configure_input@|$ac_sed_conf_input|;t t
60242s&@top_builddir@&$ac_top_builddir_sub&;t t
60243s&@top_build_prefix@&$ac_top_build_prefix&;t t
60244s&@srcdir@&$ac_srcdir&;t t
60245s&@abs_srcdir@&$ac_abs_srcdir&;t t
60246s&@top_srcdir@&$ac_top_srcdir&;t t
60247s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60248s&@builddir@&$ac_builddir&;t t
60249s&@abs_builddir@&$ac_abs_builddir&;t t
60250s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60251s&@INSTALL@&$ac_INSTALL&;t t
60252s&@MKDIR_P@&$ac_MKDIR_P&;t t
60253$ac_datarootdir_hack
60254"
60255eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
60256  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
60257
60258test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60259  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
60260  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
60261      "$ac_tmp/out"`; test -z "$ac_out"; } &&
60262  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60263which seems to be undefined.  Please make sure it is defined" >&5
60264$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60265which seems to be undefined.  Please make sure it is defined" >&2;}
60266
60267  rm -f "$ac_tmp/stdin"
60268  case $ac_file in
60269  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
60270  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
60271  esac \
60272  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
60273 ;;
60274  :H)
60275  #
60276  # CONFIG_HEADER
60277  #
60278  if test x"$ac_file" != x-; then
60279    {
60280      $as_echo "/* $configure_input  */" \
60281      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
60282    } >"$ac_tmp/config.h" \
60283      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
60284    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
60285      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60286$as_echo "$as_me: $ac_file is unchanged" >&6;}
60287    else
60288      rm -f "$ac_file"
60289      mv "$ac_tmp/config.h" "$ac_file" \
60290	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
60291    fi
60292  else
60293    $as_echo "/* $configure_input  */" \
60294      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
60295      || as_fn_error $? "could not create -" "$LINENO" 5
60296  fi
60297# Compute "$ac_file"'s index in $config_headers.
60298_am_arg="$ac_file"
60299_am_stamp_count=1
60300for _am_header in $config_headers :; do
60301  case $_am_header in
60302    $_am_arg | $_am_arg:* )
60303      break ;;
60304    * )
60305      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60306  esac
60307done
60308echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60309$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60310	 X"$_am_arg" : 'X\(//\)[^/]' \| \
60311	 X"$_am_arg" : 'X\(//\)$' \| \
60312	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60313$as_echo X"$_am_arg" |
60314    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60315	    s//\1/
60316	    q
60317	  }
60318	  /^X\(\/\/\)[^/].*/{
60319	    s//\1/
60320	    q
60321	  }
60322	  /^X\(\/\/\)$/{
60323	    s//\1/
60324	    q
60325	  }
60326	  /^X\(\/\).*/{
60327	    s//\1/
60328	    q
60329	  }
60330	  s/.*/./; q'`/stamp-h$_am_stamp_count
60331 ;;
60332
60333  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60334$as_echo "$as_me: executing $ac_file commands" >&6;}
60335 ;;
60336  esac
60337
60338
60339  case $ac_file$ac_mode in
60340    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
60341  # Older Autoconf quotes --file arguments for eval, but not when files
60342  # are listed without --file.  Let's play safe and only enable the eval
60343  # if we detect the quoting.
60344  # TODO: see whether this extra hack can be removed once we start
60345  # requiring Autoconf 2.70 or later.
60346  case $CONFIG_FILES in #(
60347  *\'*) :
60348    eval set x "$CONFIG_FILES" ;; #(
60349  *) :
60350    set x $CONFIG_FILES ;; #(
60351  *) :
60352     ;;
60353esac
60354  shift
60355  # Used to flag and report bootstrapping failures.
60356  am_rc=0
60357  for am_mf
60358  do
60359    # Strip MF so we end up with the name of the file.
60360    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
60361    # Check whether this is an Automake generated Makefile which includes
60362    # dependency-tracking related rules and includes.
60363    # Grep'ing the whole file directly is not great: AIX grep has a line
60364    # limit of 2048, but all sed's we know have understand at least 4000.
60365    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
60366      || continue
60367    am_dirpart=`$as_dirname -- "$am_mf" ||
60368$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60369	 X"$am_mf" : 'X\(//\)[^/]' \| \
60370	 X"$am_mf" : 'X\(//\)$' \| \
60371	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
60372$as_echo X"$am_mf" |
60373    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60374	    s//\1/
60375	    q
60376	  }
60377	  /^X\(\/\/\)[^/].*/{
60378	    s//\1/
60379	    q
60380	  }
60381	  /^X\(\/\/\)$/{
60382	    s//\1/
60383	    q
60384	  }
60385	  /^X\(\/\).*/{
60386	    s//\1/
60387	    q
60388	  }
60389	  s/.*/./; q'`
60390    am_filepart=`$as_basename -- "$am_mf" ||
60391$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
60392	 X"$am_mf" : 'X\(//\)$' \| \
60393	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
60394$as_echo X/"$am_mf" |
60395    sed '/^.*\/\([^/][^/]*\)\/*$/{
60396	    s//\1/
60397	    q
60398	  }
60399	  /^X\/\(\/\/\)$/{
60400	    s//\1/
60401	    q
60402	  }
60403	  /^X\/\(\/\).*/{
60404	    s//\1/
60405	    q
60406	  }
60407	  s/.*/./; q'`
60408    { echo "$as_me:$LINENO: cd "$am_dirpart" \
60409      && sed -e '/# am--include-marker/d' "$am_filepart" \
60410        | $MAKE -f - am--depfiles" >&5
60411   (cd "$am_dirpart" \
60412      && sed -e '/# am--include-marker/d' "$am_filepart" \
60413        | $MAKE -f - am--depfiles) >&5 2>&5
60414   ac_status=$?
60415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60416   (exit $ac_status); } || am_rc=$?
60417  done
60418  if test $am_rc -ne 0; then
60419    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60421as_fn_error $? "Something went wrong bootstrapping makefile fragments
60422    for automatic dependency tracking.  If GNU make was not used, consider
60423    re-running the configure script with MAKE=\"gmake\" (or whatever is
60424    necessary).  You can also try re-running configure with the
60425    '--disable-dependency-tracking' option to at least be able to build
60426    the package (albeit without support for automatic dependency tracking).
60427See \`config.log' for more details" "$LINENO" 5; }
60428  fi
60429  { am_dirpart=; unset am_dirpart;}
60430  { am_filepart=; unset am_filepart;}
60431  { am_mf=; unset am_mf;}
60432  { am_rc=; unset am_rc;}
60433  rm -f conftest-deps.mk
60434}
60435 ;;
60436    "libtool":C)
60437
60438    # See if we are running on zsh, and set the options that allow our
60439    # commands through without removal of \ escapes.
60440    if test -n "${ZSH_VERSION+set}"; then
60441      setopt NO_GLOB_SUBST
60442    fi
60443
60444    cfgfile=${ofile}T
60445    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60446    $RM "$cfgfile"
60447
60448    cat <<_LT_EOF >> "$cfgfile"
60449#! $SHELL
60450# Generated automatically by $as_me ($PACKAGE) $VERSION
60451# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60452# NOTE: Changes made to this file will be lost: look at ltmain.sh.
60453
60454# Provide generalized library-building support services.
60455# Written by Gordon Matzigkeit, 1996
60456
60457# Copyright (C) 2014 Free Software Foundation, Inc.
60458# This is free software; see the source for copying conditions.  There is NO
60459# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
60460
60461# GNU Libtool is free software; you can redistribute it and/or modify
60462# it under the terms of the GNU General Public License as published by
60463# the Free Software Foundation; either version 2 of of the License, or
60464# (at your option) any later version.
60465#
60466# As a special exception to the GNU General Public License, if you
60467# distribute this file as part of a program or library that is built
60468# using GNU Libtool, you may include this file under the  same
60469# distribution terms that you use for the rest of that program.
60470#
60471# GNU Libtool is distributed in the hope that it will be useful, but
60472# WITHOUT ANY WARRANTY; without even the implied warranty of
60473# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60474# GNU General Public License for more details.
60475#
60476# You should have received a copy of the GNU General Public License
60477# along with this program.  If not, see <http://www.gnu.org/licenses/>.
60478
60479
60480# The names of the tagged configurations supported by this script.
60481available_tags='CXX '
60482
60483# Configured defaults for sys_lib_dlsearch_path munging.
60484: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
60485
60486# ### BEGIN LIBTOOL CONFIG
60487
60488# Assembler program.
60489AS=$lt_AS
60490
60491# DLL creation program.
60492DLLTOOL=$lt_DLLTOOL
60493
60494# Object dumper program.
60495OBJDUMP=$lt_OBJDUMP
60496
60497# Which release of libtool.m4 was used?
60498macro_version=$macro_version
60499macro_revision=$macro_revision
60500
60501# Whether or not to build shared libraries.
60502build_libtool_libs=$enable_shared
60503
60504# Whether or not to build static libraries.
60505build_old_libs=$enable_static
60506
60507# What type of objects to build.
60508pic_mode=$pic_mode
60509
60510# Whether or not to optimize for fast installation.
60511fast_install=$enable_fast_install
60512
60513# Shared archive member basename,for filename based shared library versioning on AIX.
60514shared_archive_member_spec=$shared_archive_member_spec
60515
60516# Shell to use when invoking shell scripts.
60517SHELL=$lt_SHELL
60518
60519# An echo program that protects backslashes.
60520ECHO=$lt_ECHO
60521
60522# The PATH separator for the build system.
60523PATH_SEPARATOR=$lt_PATH_SEPARATOR
60524
60525# The host system.
60526host_alias=$host_alias
60527host=$host
60528host_os=$host_os
60529
60530# The build system.
60531build_alias=$build_alias
60532build=$build
60533build_os=$build_os
60534
60535# A sed program that does not truncate output.
60536SED=$lt_SED
60537
60538# Sed that helps us avoid accidentally triggering echo(1) options like -n.
60539Xsed="\$SED -e 1s/^X//"
60540
60541# A grep program that handles long lines.
60542GREP=$lt_GREP
60543
60544# An ERE matcher.
60545EGREP=$lt_EGREP
60546
60547# A literal string matcher.
60548FGREP=$lt_FGREP
60549
60550# A BSD- or MS-compatible name lister.
60551NM=$lt_NM
60552
60553# Whether we need soft or hard links.
60554LN_S=$lt_LN_S
60555
60556# What is the maximum length of a command?
60557max_cmd_len=$max_cmd_len
60558
60559# Object file suffix (normally "o").
60560objext=$ac_objext
60561
60562# Executable file suffix (normally "").
60563exeext=$exeext
60564
60565# whether the shell understands "unset".
60566lt_unset=$lt_unset
60567
60568# turn spaces into newlines.
60569SP2NL=$lt_lt_SP2NL
60570
60571# turn newlines into spaces.
60572NL2SP=$lt_lt_NL2SP
60573
60574# convert \$build file names to \$host format.
60575to_host_file_cmd=$lt_cv_to_host_file_cmd
60576
60577# convert \$build files to toolchain format.
60578to_tool_file_cmd=$lt_cv_to_tool_file_cmd
60579
60580# Method to check whether dependent libraries are shared objects.
60581deplibs_check_method=$lt_deplibs_check_method
60582
60583# Command to use when deplibs_check_method = "file_magic".
60584file_magic_cmd=$lt_file_magic_cmd
60585
60586# How to find potential files when deplibs_check_method = "file_magic".
60587file_magic_glob=$lt_file_magic_glob
60588
60589# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
60590want_nocaseglob=$lt_want_nocaseglob
60591
60592# Command to associate shared and link libraries.
60593sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
60594
60595# The archiver.
60596AR=$lt_AR
60597
60598# Flags to create an archive.
60599AR_FLAGS=$lt_AR_FLAGS
60600
60601# How to feed a file listing to the archiver.
60602archiver_list_spec=$lt_archiver_list_spec
60603
60604# A symbol stripping program.
60605STRIP=$lt_STRIP
60606
60607# Commands used to install an old-style archive.
60608RANLIB=$lt_RANLIB
60609old_postinstall_cmds=$lt_old_postinstall_cmds
60610old_postuninstall_cmds=$lt_old_postuninstall_cmds
60611
60612# Whether to use a lock for old archive extraction.
60613lock_old_archive_extraction=$lock_old_archive_extraction
60614
60615# A C compiler.
60616LTCC=$lt_CC
60617
60618# LTCC compiler flags.
60619LTCFLAGS=$lt_CFLAGS
60620
60621# Take the output of nm and produce a listing of raw symbols and C names.
60622global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
60623
60624# Transform the output of nm in a proper C declaration.
60625global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
60626
60627# Transform the output of nm into a list of symbols to manually relocate.
60628global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
60629
60630# Transform the output of nm in a C name address pair.
60631global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
60632
60633# Transform the output of nm in a C name address pair when lib prefix is needed.
60634global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
60635
60636# The name lister interface.
60637nm_interface=$lt_lt_cv_nm_interface
60638
60639# Specify filename containing input files for \$NM.
60640nm_file_list_spec=$lt_nm_file_list_spec
60641
60642# The root where to search for dependent libraries,and where our libraries should be installed.
60643lt_sysroot=$lt_sysroot
60644
60645# Command to truncate a binary pipe.
60646lt_truncate_bin=$lt_lt_cv_truncate_bin
60647
60648# The name of the directory that contains temporary libtool files.
60649objdir=$objdir
60650
60651# Used to examine libraries when file_magic_cmd begins with "file".
60652MAGIC_CMD=$MAGIC_CMD
60653
60654# Must we lock files when doing compilation?
60655need_locks=$lt_need_locks
60656
60657# Manifest tool.
60658MANIFEST_TOOL=$lt_MANIFEST_TOOL
60659
60660# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
60661DSYMUTIL=$lt_DSYMUTIL
60662
60663# Tool to change global to local symbols on Mac OS X.
60664NMEDIT=$lt_NMEDIT
60665
60666# Tool to manipulate fat objects and archives on Mac OS X.
60667LIPO=$lt_LIPO
60668
60669# ldd/readelf like tool for Mach-O binaries on Mac OS X.
60670OTOOL=$lt_OTOOL
60671
60672# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
60673OTOOL64=$lt_OTOOL64
60674
60675# Old archive suffix (normally "a").
60676libext=$libext
60677
60678# Shared library suffix (normally ".so").
60679shrext_cmds=$lt_shrext_cmds
60680
60681# The commands to extract the exported symbol list from a shared archive.
60682extract_expsyms_cmds=$lt_extract_expsyms_cmds
60683
60684# Variables whose values should be saved in libtool wrapper scripts and
60685# restored at link time.
60686variables_saved_for_relink=$lt_variables_saved_for_relink
60687
60688# Do we need the "lib" prefix for modules?
60689need_lib_prefix=$need_lib_prefix
60690
60691# Do we need a version for libraries?
60692need_version=$need_version
60693
60694# Library versioning type.
60695version_type=$version_type
60696
60697# Shared library runtime path variable.
60698runpath_var=$runpath_var
60699
60700# Shared library path variable.
60701shlibpath_var=$shlibpath_var
60702
60703# Is shlibpath searched before the hard-coded library search path?
60704shlibpath_overrides_runpath=$shlibpath_overrides_runpath
60705
60706# Format of library name prefix.
60707libname_spec=$lt_libname_spec
60708
60709# List of archive names.  First name is the real one, the rest are links.
60710# The last name is the one that the linker finds with -lNAME
60711library_names_spec=$lt_library_names_spec
60712
60713# The coded name of the library, if different from the real name.
60714soname_spec=$lt_soname_spec
60715
60716# Permission mode override for installation of shared libraries.
60717install_override_mode=$lt_install_override_mode
60718
60719# Command to use after installation of a shared archive.
60720postinstall_cmds=$lt_postinstall_cmds
60721
60722# Command to use after uninstallation of a shared archive.
60723postuninstall_cmds=$lt_postuninstall_cmds
60724
60725# Commands used to finish a libtool library installation in a directory.
60726finish_cmds=$lt_finish_cmds
60727
60728# As "finish_cmds", except a single script fragment to be evaled but
60729# not shown.
60730finish_eval=$lt_finish_eval
60731
60732# Whether we should hardcode library paths into libraries.
60733hardcode_into_libs=$hardcode_into_libs
60734
60735# Compile-time system search path for libraries.
60736sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
60737
60738# Detected run-time system search path for libraries.
60739sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
60740
60741# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
60742configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
60743
60744# Whether dlopen is supported.
60745dlopen_support=$enable_dlopen
60746
60747# Whether dlopen of programs is supported.
60748dlopen_self=$enable_dlopen_self
60749
60750# Whether dlopen of statically linked programs is supported.
60751dlopen_self_static=$enable_dlopen_self_static
60752
60753# Commands to strip libraries.
60754old_striplib=$lt_old_striplib
60755striplib=$lt_striplib
60756
60757
60758# The linker used to build libraries.
60759LD=$lt_LD
60760
60761# How to create reloadable object files.
60762reload_flag=$lt_reload_flag
60763reload_cmds=$lt_reload_cmds
60764
60765# Commands used to build an old-style archive.
60766old_archive_cmds=$lt_old_archive_cmds
60767
60768# A language specific compiler.
60769CC=$lt_compiler
60770
60771# Is the compiler the GNU compiler?
60772with_gcc=$GCC
60773
60774# Compiler flag to turn off builtin functions.
60775no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
60776
60777# Additional compiler flags for building library objects.
60778pic_flag=$lt_lt_prog_compiler_pic
60779
60780# How to pass a linker flag through the compiler.
60781wl=$lt_lt_prog_compiler_wl
60782
60783# Compiler flag to prevent dynamic linking.
60784link_static_flag=$lt_lt_prog_compiler_static
60785
60786# Does compiler simultaneously support -c and -o options?
60787compiler_c_o=$lt_lt_cv_prog_compiler_c_o
60788
60789# Whether or not to add -lc for building shared libraries.
60790build_libtool_need_lc=$archive_cmds_need_lc
60791
60792# Whether or not to disallow shared libs when runtime libs are static.
60793allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
60794
60795# Compiler flag to allow reflexive dlopens.
60796export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
60797
60798# Compiler flag to generate shared objects directly from archives.
60799whole_archive_flag_spec=$lt_whole_archive_flag_spec
60800
60801# Whether the compiler copes with passing no objects directly.
60802compiler_needs_object=$lt_compiler_needs_object
60803
60804# Create an old-style archive from a shared archive.
60805old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
60806
60807# Create a temporary old-style archive to link instead of a shared archive.
60808old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
60809
60810# Commands used to build a shared archive.
60811archive_cmds=$lt_archive_cmds
60812archive_expsym_cmds=$lt_archive_expsym_cmds
60813
60814# Commands used to build a loadable module if different from building
60815# a shared archive.
60816module_cmds=$lt_module_cmds
60817module_expsym_cmds=$lt_module_expsym_cmds
60818
60819# Whether we are building with GNU ld or not.
60820with_gnu_ld=$lt_with_gnu_ld
60821
60822# Flag that allows shared libraries with undefined symbols to be built.
60823allow_undefined_flag=$lt_allow_undefined_flag
60824
60825# Flag that enforces no undefined symbols.
60826no_undefined_flag=$lt_no_undefined_flag
60827
60828# Flag to hardcode \$libdir into a binary during linking.
60829# This must work even if \$libdir does not exist
60830hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
60831
60832# Whether we need a single "-rpath" flag with a separated argument.
60833hardcode_libdir_separator=$lt_hardcode_libdir_separator
60834
60835# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
60836# DIR into the resulting binary.
60837hardcode_direct=$hardcode_direct
60838
60839# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
60840# DIR into the resulting binary and the resulting library dependency is
60841# "absolute",i.e impossible to change by setting \$shlibpath_var if the
60842# library is relocated.
60843hardcode_direct_absolute=$hardcode_direct_absolute
60844
60845# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
60846# into the resulting binary.
60847hardcode_minus_L=$hardcode_minus_L
60848
60849# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
60850# into the resulting binary.
60851hardcode_shlibpath_var=$hardcode_shlibpath_var
60852
60853# Set to "yes" if building a shared library automatically hardcodes DIR
60854# into the library and all subsequent libraries and executables linked
60855# against it.
60856hardcode_automatic=$hardcode_automatic
60857
60858# Set to yes if linker adds runtime paths of dependent libraries
60859# to runtime path list.
60860inherit_rpath=$inherit_rpath
60861
60862# Whether libtool must link a program against all its dependency libraries.
60863link_all_deplibs=$link_all_deplibs
60864
60865# Set to "yes" if exported symbols are required.
60866always_export_symbols=$always_export_symbols
60867
60868# The commands to list exported symbols.
60869export_symbols_cmds=$lt_export_symbols_cmds
60870
60871# Symbols that should not be listed in the preloaded symbols.
60872exclude_expsyms=$lt_exclude_expsyms
60873
60874# Symbols that must always be exported.
60875include_expsyms=$lt_include_expsyms
60876
60877# Commands necessary for linking programs (against libraries) with templates.
60878prelink_cmds=$lt_prelink_cmds
60879
60880# Commands necessary for finishing linking programs.
60881postlink_cmds=$lt_postlink_cmds
60882
60883# Specify filename containing input files.
60884file_list_spec=$lt_file_list_spec
60885
60886# How to hardcode a shared library path into an executable.
60887hardcode_action=$hardcode_action
60888
60889# The directories searched by this compiler when creating a shared library.
60890compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
60891
60892# Dependencies to place before and after the objects being linked to
60893# create a shared library.
60894predep_objects=$lt_predep_objects
60895postdep_objects=$lt_postdep_objects
60896predeps=$lt_predeps
60897postdeps=$lt_postdeps
60898
60899# The library search path used internally by the compiler when linking
60900# a shared library.
60901compiler_lib_search_path=$lt_compiler_lib_search_path
60902
60903# ### END LIBTOOL CONFIG
60904
60905_LT_EOF
60906
60907    cat <<'_LT_EOF' >> "$cfgfile"
60908
60909# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
60910
60911# func_munge_path_list VARIABLE PATH
60912# -----------------------------------
60913# VARIABLE is name of variable containing _space_ separated list of
60914# directories to be munged by the contents of PATH, which is string
60915# having a format:
60916# "DIR[:DIR]:"
60917#       string "DIR[ DIR]" will be prepended to VARIABLE
60918# ":DIR[:DIR]"
60919#       string "DIR[ DIR]" will be appended to VARIABLE
60920# "DIRP[:DIRP]::[DIRA:]DIRA"
60921#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
60922#       "DIRA[ DIRA]" will be appended to VARIABLE
60923# "DIR[:DIR]"
60924#       VARIABLE will be replaced by "DIR[ DIR]"
60925func_munge_path_list ()
60926{
60927    case x$2 in
60928    x)
60929        ;;
60930    *:)
60931        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
60932        ;;
60933    x:*)
60934        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
60935        ;;
60936    *::*)
60937        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
60938        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
60939        ;;
60940    *)
60941        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
60942        ;;
60943    esac
60944}
60945
60946
60947# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
60948func_cc_basename ()
60949{
60950    for cc_temp in $*""; do
60951      case $cc_temp in
60952        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
60953        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
60954        \-*) ;;
60955        *) break;;
60956      esac
60957    done
60958    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
60959}
60960
60961
60962# ### END FUNCTIONS SHARED WITH CONFIGURE
60963
60964_LT_EOF
60965
60966  case $host_os in
60967  aix3*)
60968    cat <<\_LT_EOF >> "$cfgfile"
60969# AIX sometimes has problems with the GCC collect2 program.  For some
60970# reason, if we set the COLLECT_NAMES environment variable, the problems
60971# vanish in a puff of smoke.
60972if test set != "${COLLECT_NAMES+set}"; then
60973  COLLECT_NAMES=
60974  export COLLECT_NAMES
60975fi
60976_LT_EOF
60977    ;;
60978  esac
60979
60980
60981ltmain=$ac_aux_dir/ltmain.sh
60982
60983
60984  # We use sed instead of cat because bash on DJGPP gets confused if
60985  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
60986  # text mode, it properly converts lines to CR/LF.  This bash problem
60987  # is reportedly fixed, but why not run on old versions too?
60988  sed '$q' "$ltmain" >> "$cfgfile" \
60989     || (rm -f "$cfgfile"; exit 1)
60990
60991   mv -f "$cfgfile" "$ofile" ||
60992    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
60993  chmod +x "$ofile"
60994
60995
60996    cat <<_LT_EOF >> "$ofile"
60997
60998# ### BEGIN LIBTOOL TAG CONFIG: CXX
60999
61000# The linker used to build libraries.
61001LD=$lt_LD_CXX
61002
61003# How to create reloadable object files.
61004reload_flag=$lt_reload_flag_CXX
61005reload_cmds=$lt_reload_cmds_CXX
61006
61007# Commands used to build an old-style archive.
61008old_archive_cmds=$lt_old_archive_cmds_CXX
61009
61010# A language specific compiler.
61011CC=$lt_compiler_CXX
61012
61013# Is the compiler the GNU compiler?
61014with_gcc=$GCC_CXX
61015
61016# Compiler flag to turn off builtin functions.
61017no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61018
61019# Additional compiler flags for building library objects.
61020pic_flag=$lt_lt_prog_compiler_pic_CXX
61021
61022# How to pass a linker flag through the compiler.
61023wl=$lt_lt_prog_compiler_wl_CXX
61024
61025# Compiler flag to prevent dynamic linking.
61026link_static_flag=$lt_lt_prog_compiler_static_CXX
61027
61028# Does compiler simultaneously support -c and -o options?
61029compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61030
61031# Whether or not to add -lc for building shared libraries.
61032build_libtool_need_lc=$archive_cmds_need_lc_CXX
61033
61034# Whether or not to disallow shared libs when runtime libs are static.
61035allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61036
61037# Compiler flag to allow reflexive dlopens.
61038export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61039
61040# Compiler flag to generate shared objects directly from archives.
61041whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61042
61043# Whether the compiler copes with passing no objects directly.
61044compiler_needs_object=$lt_compiler_needs_object_CXX
61045
61046# Create an old-style archive from a shared archive.
61047old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61048
61049# Create a temporary old-style archive to link instead of a shared archive.
61050old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61051
61052# Commands used to build a shared archive.
61053archive_cmds=$lt_archive_cmds_CXX
61054archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61055
61056# Commands used to build a loadable module if different from building
61057# a shared archive.
61058module_cmds=$lt_module_cmds_CXX
61059module_expsym_cmds=$lt_module_expsym_cmds_CXX
61060
61061# Whether we are building with GNU ld or not.
61062with_gnu_ld=$lt_with_gnu_ld_CXX
61063
61064# Flag that allows shared libraries with undefined symbols to be built.
61065allow_undefined_flag=$lt_allow_undefined_flag_CXX
61066
61067# Flag that enforces no undefined symbols.
61068no_undefined_flag=$lt_no_undefined_flag_CXX
61069
61070# Flag to hardcode \$libdir into a binary during linking.
61071# This must work even if \$libdir does not exist
61072hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61073
61074# Whether we need a single "-rpath" flag with a separated argument.
61075hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61076
61077# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
61078# DIR into the resulting binary.
61079hardcode_direct=$hardcode_direct_CXX
61080
61081# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
61082# DIR into the resulting binary and the resulting library dependency is
61083# "absolute",i.e impossible to change by setting \$shlibpath_var if the
61084# library is relocated.
61085hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61086
61087# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61088# into the resulting binary.
61089hardcode_minus_L=$hardcode_minus_L_CXX
61090
61091# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61092# into the resulting binary.
61093hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61094
61095# Set to "yes" if building a shared library automatically hardcodes DIR
61096# into the library and all subsequent libraries and executables linked
61097# against it.
61098hardcode_automatic=$hardcode_automatic_CXX
61099
61100# Set to yes if linker adds runtime paths of dependent libraries
61101# to runtime path list.
61102inherit_rpath=$inherit_rpath_CXX
61103
61104# Whether libtool must link a program against all its dependency libraries.
61105link_all_deplibs=$link_all_deplibs_CXX
61106
61107# Set to "yes" if exported symbols are required.
61108always_export_symbols=$always_export_symbols_CXX
61109
61110# The commands to list exported symbols.
61111export_symbols_cmds=$lt_export_symbols_cmds_CXX
61112
61113# Symbols that should not be listed in the preloaded symbols.
61114exclude_expsyms=$lt_exclude_expsyms_CXX
61115
61116# Symbols that must always be exported.
61117include_expsyms=$lt_include_expsyms_CXX
61118
61119# Commands necessary for linking programs (against libraries) with templates.
61120prelink_cmds=$lt_prelink_cmds_CXX
61121
61122# Commands necessary for finishing linking programs.
61123postlink_cmds=$lt_postlink_cmds_CXX
61124
61125# Specify filename containing input files.
61126file_list_spec=$lt_file_list_spec_CXX
61127
61128# How to hardcode a shared library path into an executable.
61129hardcode_action=$hardcode_action_CXX
61130
61131# The directories searched by this compiler when creating a shared library.
61132compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61133
61134# Dependencies to place before and after the objects being linked to
61135# create a shared library.
61136predep_objects=$lt_predep_objects_CXX
61137postdep_objects=$lt_postdep_objects_CXX
61138predeps=$lt_predeps_CXX
61139postdeps=$lt_postdeps_CXX
61140
61141# The library search path used internally by the compiler when linking
61142# a shared library.
61143compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61144
61145# ### END LIBTOOL TAG CONFIG: CXX
61146_LT_EOF
61147
61148 ;;
61149    "po-directories":C)
61150    for ac_file in $CONFIG_FILES; do
61151      # Support "outfile[:infile[:infile...]]"
61152      case "$ac_file" in
61153        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
61154      esac
61155      # PO directories have a Makefile.in generated from Makefile.in.in.
61156      case "$ac_file" in */Makefile.in)
61157        # Adjust a relative srcdir.
61158        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
61159        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
61160        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
61161        # In autoconf-2.13 it is called $ac_given_srcdir.
61162        # In autoconf-2.50 it is called $srcdir.
61163        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
61164        case "$ac_given_srcdir" in
61165          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
61166          /*) top_srcdir="$ac_given_srcdir" ;;
61167          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
61168        esac
61169        # Treat a directory as a PO directory if and only if it has a
61170        # POTFILES.in file. This allows packages to have multiple PO
61171        # directories under different names or in different locations.
61172        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
61173          rm -f "$ac_dir/POTFILES"
61174          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
61175          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
61176          POMAKEFILEDEPS="POTFILES.in"
61177          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
61178          # on $ac_dir but don't depend on user-specified configuration
61179          # parameters.
61180          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
61181            # The LINGUAS file contains the set of available languages.
61182            if test -n "$OBSOLETE_ALL_LINGUAS"; then
61183              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
61184            fi
61185            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
61186            # Hide the ALL_LINGUAS assigment from automake < 1.5.
61187            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
61188            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
61189          else
61190            # The set of available languages was given in configure.in.
61191            # Hide the ALL_LINGUAS assigment from automake < 1.5.
61192            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
61193          fi
61194          # Compute POFILES
61195          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
61196          # Compute UPDATEPOFILES
61197          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
61198          # Compute DUMMYPOFILES
61199          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
61200          # Compute GMOFILES
61201          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
61202          case "$ac_given_srcdir" in
61203            .) srcdirpre= ;;
61204            *) srcdirpre='$(srcdir)/' ;;
61205          esac
61206          POFILES=
61207          UPDATEPOFILES=
61208          DUMMYPOFILES=
61209          GMOFILES=
61210          for lang in $ALL_LINGUAS; do
61211            POFILES="$POFILES $srcdirpre$lang.po"
61212            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
61213            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
61214            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
61215          done
61216          # CATALOGS depends on both $ac_dir and the user's LINGUAS
61217          # environment variable.
61218          INST_LINGUAS=
61219          if test -n "$ALL_LINGUAS"; then
61220            for presentlang in $ALL_LINGUAS; do
61221              useit=no
61222              if test "%UNSET%" != "$LINGUAS"; then
61223                desiredlanguages="$LINGUAS"
61224              else
61225                desiredlanguages="$ALL_LINGUAS"
61226              fi
61227              for desiredlang in $desiredlanguages; do
61228                # Use the presentlang catalog if desiredlang is
61229                #   a. equal to presentlang, or
61230                #   b. a variant of presentlang (because in this case,
61231                #      presentlang can be used as a fallback for messages
61232                #      which are not translated in the desiredlang catalog).
61233                case "$desiredlang" in
61234                  "$presentlang"*) useit=yes;;
61235                esac
61236              done
61237              if test $useit = yes; then
61238                INST_LINGUAS="$INST_LINGUAS $presentlang"
61239              fi
61240            done
61241          fi
61242          CATALOGS=
61243          if test -n "$INST_LINGUAS"; then
61244            for lang in $INST_LINGUAS; do
61245              CATALOGS="$CATALOGS $lang.gmo"
61246            done
61247          fi
61248          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
61249          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"
61250          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
61251            if test -f "$f"; then
61252              case "$f" in
61253                *.orig | *.bak | *~) ;;
61254                *) cat "$f" >> "$ac_dir/Makefile" ;;
61255              esac
61256            fi
61257          done
61258        fi
61259        ;;
61260      esac
61261    done ;;
61262
61263  esac
61264done # for ac_tag
61265
61266
61267as_fn_exit 0
61268_ACEOF
61269ac_clean_files=$ac_clean_files_save
61270
61271test $ac_write_fail = 0 ||
61272  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
61273
61274
61275# configure is writing to config.log, and then calls config.status.
61276# config.status does its own redirection, appending to config.log.
61277# Unfortunately, on DOS this fails, as config.log is still kept open
61278# by configure, so config.status won't be able to write to it; its
61279# output is simply discarded.  So we exec the FD to /dev/null,
61280# effectively closing config.log, so it can be properly (re)opened and
61281# appended to by config.status.  When coming back to configure, we
61282# need to make the FD available again.
61283if test "$no_create" != yes; then
61284  ac_cs_success=:
61285  ac_config_status_args=
61286  test "$silent" = yes &&
61287    ac_config_status_args="$ac_config_status_args --quiet"
61288  exec 5>/dev/null
61289  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
61290  exec 5>>config.log
61291  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
61292  # would make configure fail if this is the last instruction.
61293  $ac_cs_success || as_fn_exit 1
61294fi
61295if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
61296  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
61297$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
61298fi
61299
61300
61301{ $as_echo "$as_me:${as_lineno-$LINENO}:
61302Building:
61303   libcerror support:                           $ac_cv_libcerror
61304   libcthreads support:                         $ac_cv_libcthreads
61305   libcdata support:                            $ac_cv_libcdata
61306   libclocale support:                          $ac_cv_libclocale
61307   libcnotify support:                          $ac_cv_libcnotify
61308   libcsplit support:                           $ac_cv_libcsplit
61309   libuna support:                              $ac_cv_libuna
61310   libcfile support:                            $ac_cv_libcfile
61311   libcpath support:                            $ac_cv_libcpath
61312   libbfio support:                             $ac_cv_libbfio
61313   libfcache support:                           $ac_cv_libfcache
61314   libfdata support:                            $ac_cv_libfdata
61315   libfdatetime support:                        $ac_cv_libfdatetime
61316   libfguid support:                            $ac_cv_libfguid
61317   DEFLATE compression support:                 $ac_cv_uncompress
61318   libhmac support:                             $ac_cv_libhmac
61319   SHA256 support:                              $ac_cv_libhmac_sha256
61320   libcaes support:                             $ac_cv_libcaes
61321   AES-ECB support:                             $ac_cv_libcaes_aes_ecb
61322   AES-XTS support:                             $ac_cv_libcaes_aes_xts
61323   FUSE support:                                $ac_cv_libfuse
61324
61325Features:
61326   Multi-threading support:                     $ac_cv_libcthreads_multi_threading
61327   Wide character type support:                 $ac_cv_enable_wide_character_type
61328   fsapfstools are build as static executables: $ac_cv_enable_static_executables
61329   Python (pyfsapfs) support:                   $ac_cv_enable_python
61330   Verbose output:                              $ac_cv_enable_verbose_output
61331   Debug output:                                $ac_cv_enable_debug_output
61332" >&5
61333$as_echo "$as_me:
61334Building:
61335   libcerror support:                           $ac_cv_libcerror
61336   libcthreads support:                         $ac_cv_libcthreads
61337   libcdata support:                            $ac_cv_libcdata
61338   libclocale support:                          $ac_cv_libclocale
61339   libcnotify support:                          $ac_cv_libcnotify
61340   libcsplit support:                           $ac_cv_libcsplit
61341   libuna support:                              $ac_cv_libuna
61342   libcfile support:                            $ac_cv_libcfile
61343   libcpath support:                            $ac_cv_libcpath
61344   libbfio support:                             $ac_cv_libbfio
61345   libfcache support:                           $ac_cv_libfcache
61346   libfdata support:                            $ac_cv_libfdata
61347   libfdatetime support:                        $ac_cv_libfdatetime
61348   libfguid support:                            $ac_cv_libfguid
61349   DEFLATE compression support:                 $ac_cv_uncompress
61350   libhmac support:                             $ac_cv_libhmac
61351   SHA256 support:                              $ac_cv_libhmac_sha256
61352   libcaes support:                             $ac_cv_libcaes
61353   AES-ECB support:                             $ac_cv_libcaes_aes_ecb
61354   AES-XTS support:                             $ac_cv_libcaes_aes_xts
61355   FUSE support:                                $ac_cv_libfuse
61356
61357Features:
61358   Multi-threading support:                     $ac_cv_libcthreads_multi_threading
61359   Wide character type support:                 $ac_cv_enable_wide_character_type
61360   fsapfstools are build as static executables: $ac_cv_enable_static_executables
61361   Python (pyfsapfs) support:                   $ac_cv_enable_python
61362   Verbose output:                              $ac_cv_enable_verbose_output
61363   Debug output:                                $ac_cv_enable_debug_output
61364" >&6;};
61365
61366